Skip to content
Permalink
Browse files
chore: use gapic-generator-python 0.51.2 (#116)
- [ ] Regenerate this pull request now.

fix: add 'dict' annotation type to 'request'

Committer: @busunkim96
PiperOrigin-RevId: 398509016

Source-Link: googleapis/googleapis@b224dfa

Source-Link: googleapis/googleapis-gen@63a1db7
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNjNhMWRiN2EzOGQ3NGI5NjM5NTkyZjUyMWVkMWRhYWY3Mjk5YWQ5YSJ9
  • Loading branch information
gcf-owl-bot committed Sep 24, 2021
1 parent b8e5676 commit b1982e1e3d9214c93b59dbbb1f9ff00532fc6120
Showing with 108 additions and 108 deletions.
  1. +3 −3 google/cloud/servicedirectory_v1/services/lookup_service/client.py
  2. +1 −1 google/cloud/servicedirectory_v1/services/lookup_service/transports/base.py
  3. +3 −3 google/cloud/servicedirectory_v1/services/lookup_service/transports/grpc.py
  4. +3 −3 google/cloud/servicedirectory_v1/services/lookup_service/transports/grpc_asyncio.py
  5. +37 −37 google/cloud/servicedirectory_v1/services/registration_service/client.py
  6. +1 −1 google/cloud/servicedirectory_v1/services/registration_service/transports/base.py
  7. +3 −3 google/cloud/servicedirectory_v1/services/registration_service/transports/grpc.py
  8. +3 −3 google/cloud/servicedirectory_v1/services/registration_service/transports/grpc_asyncio.py
  9. +3 −3 google/cloud/servicedirectory_v1beta1/services/lookup_service/client.py
  10. +1 −1 google/cloud/servicedirectory_v1beta1/services/lookup_service/transports/base.py
  11. +3 −3 google/cloud/servicedirectory_v1beta1/services/lookup_service/transports/grpc.py
  12. +3 −3 google/cloud/servicedirectory_v1beta1/services/lookup_service/transports/grpc_asyncio.py
  13. +37 −37 google/cloud/servicedirectory_v1beta1/services/registration_service/client.py
  14. +1 −1 google/cloud/servicedirectory_v1beta1/services/registration_service/transports/base.py
  15. +3 −3 google/cloud/servicedirectory_v1beta1/services/registration_service/transports/grpc.py
  16. +3 −3 google/cloud/servicedirectory_v1beta1/services/registration_service/transports/grpc_asyncio.py
@@ -17,7 +17,7 @@
from distutils import util
import os
import re
from typing import Callable, Dict, Optional, Sequence, Tuple, Type, Union
from typing import Dict, Optional, Sequence, Tuple, Type, Union
import pkg_resources

from google.api_core import client_options as client_options_lib # type: ignore
@@ -372,7 +372,7 @@ def __init__(

def resolve_service(
self,
request: lookup_service.ResolveServiceRequest = None,
request: Union[lookup_service.ResolveServiceRequest, dict] = None,
*,
retry: retries.Retry = gapic_v1.method.DEFAULT,
timeout: float = None,
@@ -383,7 +383,7 @@ def resolve_service(
considered an active developer method.
Args:
request (google.cloud.servicedirectory_v1.types.ResolveServiceRequest):
request (Union[google.cloud.servicedirectory_v1.types.ResolveServiceRequest, dict]):
The request object. The request message for
[LookupService.ResolveService][google.cloud.servicedirectory.v1.LookupService.ResolveService].
Looks up a service by its name, returns the service and
@@ -117,7 +117,7 @@ def __init__(
**scopes_kwargs, quota_project_id=quota_project_id
)

# If the credentials is service account credentials, then always try to use self signed JWT.
# If the credentials are service account credentials, then always try to use self signed JWT.
if (
always_use_jwt_access
and isinstance(credentials, service_account.Credentials)
@@ -80,16 +80,16 @@ def __init__(
api_mtls_endpoint (Optional[str]): Deprecated. The mutual TLS endpoint.
If provided, it overrides the ``host`` argument and tries to create
a mutual TLS channel with client SSL credentials from
``client_cert_source`` or applicatin default SSL credentials.
``client_cert_source`` or application default SSL credentials.
client_cert_source (Optional[Callable[[], Tuple[bytes, bytes]]]):
Deprecated. A callback to provide client SSL certificate bytes and
private key bytes, both in PEM format. It is ignored if
``api_mtls_endpoint`` is None.
ssl_channel_credentials (grpc.ChannelCredentials): SSL credentials
for grpc channel. It is ignored if ``channel`` is provided.
for the grpc channel. It is ignored if ``channel`` is provided.
client_cert_source_for_mtls (Optional[Callable[[], Tuple[bytes, bytes]]]):
A callback to provide client certificate bytes and private key bytes,
both in PEM format. It is used to configure mutual TLS channel. It is
both in PEM format. It is used to configure a mutual TLS channel. It is
ignored if ``channel`` or ``ssl_channel_credentials`` is provided.
quota_project_id (Optional[str]): An optional project to use for billing
and quota.
@@ -127,16 +127,16 @@ def __init__(
api_mtls_endpoint (Optional[str]): Deprecated. The mutual TLS endpoint.
If provided, it overrides the ``host`` argument and tries to create
a mutual TLS channel with client SSL credentials from
``client_cert_source`` or applicatin default SSL credentials.
``client_cert_source`` or application default SSL credentials.
client_cert_source (Optional[Callable[[], Tuple[bytes, bytes]]]):
Deprecated. A callback to provide client SSL certificate bytes and
private key bytes, both in PEM format. It is ignored if
``api_mtls_endpoint`` is None.
ssl_channel_credentials (grpc.ChannelCredentials): SSL credentials
for grpc channel. It is ignored if ``channel`` is provided.
for the grpc channel. It is ignored if ``channel`` is provided.
client_cert_source_for_mtls (Optional[Callable[[], Tuple[bytes, bytes]]]):
A callback to provide client certificate bytes and private key bytes,
both in PEM format. It is used to configure mutual TLS channel. It is
both in PEM format. It is used to configure a mutual TLS channel. It is
ignored if ``channel`` or ``ssl_channel_credentials`` is provided.
quota_project_id (Optional[str]): An optional project to use for billing
and quota.
Loading

0 comments on commit b1982e1

Please sign in to comment.