Skip to content
This repository has been archived by the owner on Sep 5, 2023. It is now read-only.

Commit

Permalink
chore: upgrade gapic-generator-python to 0.46.3 (#74)
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 373649163

Source-Link: googleapis/googleapis@7e1b14e

Source-Link: googleapis/googleapis-gen@0a3c7d2

fix: add async client to %name_%version/init.py
chore: add autogenerated snippets
chore: remove auth, policy, and options from the reserved names list
feat: support self-signed JWT flow for service accounts
chore: enable GAPIC metadata generation
chore: sort subpackages in %namespace/%name/init.py
  • Loading branch information
gcf-owl-bot[bot] committed May 21, 2021
1 parent b267e2f commit a0387dd
Show file tree
Hide file tree
Showing 62 changed files with 3,191 additions and 2,209 deletions.
1 change: 0 additions & 1 deletion docs/servicedirectory_v1/registration_service.rst
Expand Up @@ -5,7 +5,6 @@ RegistrationService
:members:
:inherited-members:


.. automodule:: google.cloud.servicedirectory_v1.services.registration_service.pagers
:members:
:inherited-members:
1 change: 0 additions & 1 deletion docs/servicedirectory_v1beta1/registration_service.rst
Expand Up @@ -5,7 +5,6 @@ RegistrationService
:members:
:inherited-members:


.. automodule:: google.cloud.servicedirectory_v1beta1.services.registration_service.pagers
:members:
:inherited-members:
30 changes: 15 additions & 15 deletions google/cloud/servicedirectory/__init__.py
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-

# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -15,18 +14,19 @@
# limitations under the License.
#

from google.cloud.servicedirectory_v1.services.lookup_service.async_client import (
LookupServiceAsyncClient,
)
from google.cloud.servicedirectory_v1.services.lookup_service.client import (
LookupServiceClient,
)
from google.cloud.servicedirectory_v1.services.registration_service.async_client import (
RegistrationServiceAsyncClient,
from google.cloud.servicedirectory_v1.services.lookup_service.async_client import (
LookupServiceAsyncClient,
)
from google.cloud.servicedirectory_v1.services.registration_service.client import (
RegistrationServiceClient,
)
from google.cloud.servicedirectory_v1.services.registration_service.async_client import (
RegistrationServiceAsyncClient,
)

from google.cloud.servicedirectory_v1.types.endpoint import Endpoint
from google.cloud.servicedirectory_v1.types.lookup_service import ResolveServiceRequest
from google.cloud.servicedirectory_v1.types.lookup_service import ResolveServiceResponse
Expand Down Expand Up @@ -88,13 +88,20 @@
from google.cloud.servicedirectory_v1.types.service import Service

__all__ = (
"LookupServiceClient",
"LookupServiceAsyncClient",
"RegistrationServiceClient",
"RegistrationServiceAsyncClient",
"Endpoint",
"ResolveServiceRequest",
"ResolveServiceResponse",
"Namespace",
"CreateEndpointRequest",
"CreateNamespaceRequest",
"CreateServiceRequest",
"DeleteEndpointRequest",
"DeleteNamespaceRequest",
"DeleteServiceRequest",
"Endpoint",
"GetEndpointRequest",
"GetNamespaceRequest",
"GetServiceRequest",
Expand All @@ -104,15 +111,8 @@
"ListNamespacesResponse",
"ListServicesRequest",
"ListServicesResponse",
"LookupServiceAsyncClient",
"LookupServiceClient",
"Namespace",
"RegistrationServiceAsyncClient",
"RegistrationServiceClient",
"ResolveServiceRequest",
"ResolveServiceResponse",
"Service",
"UpdateEndpointRequest",
"UpdateNamespaceRequest",
"UpdateServiceRequest",
"Service",
)
9 changes: 6 additions & 3 deletions google/cloud/servicedirectory_v1/__init__.py
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-

# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -16,7 +15,10 @@
#

from .services.lookup_service import LookupServiceClient
from .services.lookup_service import LookupServiceAsyncClient
from .services.registration_service import RegistrationServiceClient
from .services.registration_service import RegistrationServiceAsyncClient

from .types.endpoint import Endpoint
from .types.lookup_service import ResolveServiceRequest
from .types.lookup_service import ResolveServiceResponse
Expand All @@ -41,8 +43,9 @@
from .types.registration_service import UpdateServiceRequest
from .types.service import Service


__all__ = (
"LookupServiceAsyncClient",
"RegistrationServiceAsyncClient",
"CreateEndpointRequest",
"CreateNamespaceRequest",
"CreateServiceRequest",
Expand All @@ -61,11 +64,11 @@
"ListServicesResponse",
"LookupServiceClient",
"Namespace",
"RegistrationServiceClient",
"ResolveServiceRequest",
"ResolveServiceResponse",
"Service",
"UpdateEndpointRequest",
"UpdateNamespaceRequest",
"UpdateServiceRequest",
"RegistrationServiceClient",
)
227 changes: 227 additions & 0 deletions google/cloud/servicedirectory_v1/gapic_metadata.json
@@ -0,0 +1,227 @@
{
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods",
"language": "python",
"libraryPackage": "google.cloud.servicedirectory_v1",
"protoPackage": "google.cloud.servicedirectory.v1",
"schema": "1.0",
"services": {
"LookupService": {
"clients": {
"grpc": {
"libraryClient": "LookupServiceClient",
"rpcs": {
"ResolveService": {
"methods": [
"resolve_service"
]
}
}
},
"grpc-async": {
"libraryClient": "LookupServiceAsyncClient",
"rpcs": {
"ResolveService": {
"methods": [
"resolve_service"
]
}
}
}
}
},
"RegistrationService": {
"clients": {
"grpc": {
"libraryClient": "RegistrationServiceClient",
"rpcs": {
"CreateEndpoint": {
"methods": [
"create_endpoint"
]
},
"CreateNamespace": {
"methods": [
"create_namespace"
]
},
"CreateService": {
"methods": [
"create_service"
]
},
"DeleteEndpoint": {
"methods": [
"delete_endpoint"
]
},
"DeleteNamespace": {
"methods": [
"delete_namespace"
]
},
"DeleteService": {
"methods": [
"delete_service"
]
},
"GetEndpoint": {
"methods": [
"get_endpoint"
]
},
"GetIamPolicy": {
"methods": [
"get_iam_policy"
]
},
"GetNamespace": {
"methods": [
"get_namespace"
]
},
"GetService": {
"methods": [
"get_service"
]
},
"ListEndpoints": {
"methods": [
"list_endpoints"
]
},
"ListNamespaces": {
"methods": [
"list_namespaces"
]
},
"ListServices": {
"methods": [
"list_services"
]
},
"SetIamPolicy": {
"methods": [
"set_iam_policy"
]
},
"TestIamPermissions": {
"methods": [
"test_iam_permissions"
]
},
"UpdateEndpoint": {
"methods": [
"update_endpoint"
]
},
"UpdateNamespace": {
"methods": [
"update_namespace"
]
},
"UpdateService": {
"methods": [
"update_service"
]
}
}
},
"grpc-async": {
"libraryClient": "RegistrationServiceAsyncClient",
"rpcs": {
"CreateEndpoint": {
"methods": [
"create_endpoint"
]
},
"CreateNamespace": {
"methods": [
"create_namespace"
]
},
"CreateService": {
"methods": [
"create_service"
]
},
"DeleteEndpoint": {
"methods": [
"delete_endpoint"
]
},
"DeleteNamespace": {
"methods": [
"delete_namespace"
]
},
"DeleteService": {
"methods": [
"delete_service"
]
},
"GetEndpoint": {
"methods": [
"get_endpoint"
]
},
"GetIamPolicy": {
"methods": [
"get_iam_policy"
]
},
"GetNamespace": {
"methods": [
"get_namespace"
]
},
"GetService": {
"methods": [
"get_service"
]
},
"ListEndpoints": {
"methods": [
"list_endpoints"
]
},
"ListNamespaces": {
"methods": [
"list_namespaces"
]
},
"ListServices": {
"methods": [
"list_services"
]
},
"SetIamPolicy": {
"methods": [
"set_iam_policy"
]
},
"TestIamPermissions": {
"methods": [
"test_iam_permissions"
]
},
"UpdateEndpoint": {
"methods": [
"update_endpoint"
]
},
"UpdateNamespace": {
"methods": [
"update_namespace"
]
},
"UpdateService": {
"methods": [
"update_service"
]
}
}
}
}
}
}
}
1 change: 0 additions & 1 deletion google/cloud/servicedirectory_v1/services/__init__.py
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-

# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-

# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -14,7 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#

from .client import LookupServiceClient
from .async_client import LookupServiceAsyncClient

Expand Down

0 comments on commit a0387dd

Please sign in to comment.