Skip to content

Commit

Permalink
chore: use gapic-generator-python 0.51.2 (#68)
Browse files Browse the repository at this point in the history
- [ ] 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[bot] authored Sep 24, 2021
1 parent b520d66 commit 39238a7
Show file tree
Hide file tree
Showing 34 changed files with 171 additions and 171 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -338,7 +338,7 @@ def __init__(

def get_application(
self,
request: appengine.GetApplicationRequest = None,
request: Union[appengine.GetApplicationRequest, dict] = None,
*,
retry: retries.Retry = gapic_v1.method.DEFAULT,
timeout: float = None,
Expand All @@ -347,7 +347,7 @@ def get_application(
r"""Gets information about an application.
Args:
request (google.cloud.appengine_admin_v1.types.GetApplicationRequest):
request (Union[google.cloud.appengine_admin_v1.types.GetApplicationRequest, dict]):
The request object. Request message for
`Applications.GetApplication`.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
Expand Down Expand Up @@ -389,7 +389,7 @@ def get_application(

def create_application(
self,
request: appengine.CreateApplicationRequest = None,
request: Union[appengine.CreateApplicationRequest, dict] = None,
*,
retry: retries.Retry = gapic_v1.method.DEFAULT,
timeout: float = None,
Expand All @@ -408,7 +408,7 @@ def create_application(
Billing <https://cloud.google.com/appengine/docs/standard/python/console/>`__.
Args:
request (google.cloud.appengine_admin_v1.types.CreateApplicationRequest):
request (Union[google.cloud.appengine_admin_v1.types.CreateApplicationRequest, dict]):
The request object. Request message for
`Applications.CreateApplication`.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
Expand Down Expand Up @@ -453,7 +453,7 @@ def create_application(

def update_application(
self,
request: appengine.UpdateApplicationRequest = None,
request: Union[appengine.UpdateApplicationRequest, dict] = None,
*,
retry: retries.Retry = gapic_v1.method.DEFAULT,
timeout: float = None,
Expand All @@ -468,7 +468,7 @@ def update_application(
the application.
Args:
request (google.cloud.appengine_admin_v1.types.UpdateApplicationRequest):
request (Union[google.cloud.appengine_admin_v1.types.UpdateApplicationRequest, dict]):
The request object. Request message for
`Applications.UpdateApplication`.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
Expand Down Expand Up @@ -519,7 +519,7 @@ def update_application(

def repair_application(
self,
request: appengine.RepairApplicationRequest = None,
request: Union[appengine.RepairApplicationRequest, dict] = None,
*,
retry: retries.Retry = gapic_v1.method.DEFAULT,
timeout: float = None,
Expand All @@ -538,7 +538,7 @@ def repair_application(
Cloud Console Activity Log.
Args:
request (google.cloud.appengine_admin_v1.types.RepairApplicationRequest):
request (Union[google.cloud.appengine_admin_v1.types.RepairApplicationRequest, dict]):
The request object. Request message for
'Applications.RepairApplication'.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,16 +83,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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,16 +130,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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -343,7 +343,7 @@ def __init__(

def list_authorized_certificates(
self,
request: appengine.ListAuthorizedCertificatesRequest = None,
request: Union[appengine.ListAuthorizedCertificatesRequest, dict] = None,
*,
retry: retries.Retry = gapic_v1.method.DEFAULT,
timeout: float = None,
Expand All @@ -353,7 +353,7 @@ def list_authorized_certificates(
administer.
Args:
request (google.cloud.appengine_admin_v1.types.ListAuthorizedCertificatesRequest):
request (Union[google.cloud.appengine_admin_v1.types.ListAuthorizedCertificatesRequest, dict]):
The request object. Request message for
`AuthorizedCertificates.ListAuthorizedCertificates`.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
Expand Down Expand Up @@ -405,7 +405,7 @@ def list_authorized_certificates(

def get_authorized_certificate(
self,
request: appengine.GetAuthorizedCertificateRequest = None,
request: Union[appengine.GetAuthorizedCertificateRequest, dict] = None,
*,
retry: retries.Retry = gapic_v1.method.DEFAULT,
timeout: float = None,
Expand All @@ -414,7 +414,7 @@ def get_authorized_certificate(
r"""Gets the specified SSL certificate.
Args:
request (google.cloud.appengine_admin_v1.types.GetAuthorizedCertificateRequest):
request (Union[google.cloud.appengine_admin_v1.types.GetAuthorizedCertificateRequest, dict]):
The request object. Request message for
`AuthorizedCertificates.GetAuthorizedCertificate`.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
Expand Down Expand Up @@ -460,7 +460,7 @@ def get_authorized_certificate(

def create_authorized_certificate(
self,
request: appengine.CreateAuthorizedCertificateRequest = None,
request: Union[appengine.CreateAuthorizedCertificateRequest, dict] = None,
*,
retry: retries.Retry = gapic_v1.method.DEFAULT,
timeout: float = None,
Expand All @@ -469,7 +469,7 @@ def create_authorized_certificate(
r"""Uploads the specified SSL certificate.
Args:
request (google.cloud.appengine_admin_v1.types.CreateAuthorizedCertificateRequest):
request (Union[google.cloud.appengine_admin_v1.types.CreateAuthorizedCertificateRequest, dict]):
The request object. Request message for
`AuthorizedCertificates.CreateAuthorizedCertificate`.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
Expand Down Expand Up @@ -515,7 +515,7 @@ def create_authorized_certificate(

def update_authorized_certificate(
self,
request: appengine.UpdateAuthorizedCertificateRequest = None,
request: Union[appengine.UpdateAuthorizedCertificateRequest, dict] = None,
*,
retry: retries.Retry = gapic_v1.method.DEFAULT,
timeout: float = None,
Expand All @@ -529,7 +529,7 @@ def update_authorized_certificate(
updated.
Args:
request (google.cloud.appengine_admin_v1.types.UpdateAuthorizedCertificateRequest):
request (Union[google.cloud.appengine_admin_v1.types.UpdateAuthorizedCertificateRequest, dict]):
The request object. Request message for
`AuthorizedCertificates.UpdateAuthorizedCertificate`.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
Expand Down Expand Up @@ -575,7 +575,7 @@ def update_authorized_certificate(

def delete_authorized_certificate(
self,
request: appengine.DeleteAuthorizedCertificateRequest = None,
request: Union[appengine.DeleteAuthorizedCertificateRequest, dict] = None,
*,
retry: retries.Retry = gapic_v1.method.DEFAULT,
timeout: float = None,
Expand All @@ -584,7 +584,7 @@ def delete_authorized_certificate(
r"""Deletes the specified SSL certificate.
Args:
request (google.cloud.appengine_admin_v1.types.DeleteAuthorizedCertificateRequest):
request (Union[google.cloud.appengine_admin_v1.types.DeleteAuthorizedCertificateRequest, dict]):
The request object. Request message for
`AuthorizedCertificates.DeleteAuthorizedCertificate`.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,16 +84,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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,16 +131,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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -342,7 +342,7 @@ def __init__(

def list_authorized_domains(
self,
request: appengine.ListAuthorizedDomainsRequest = None,
request: Union[appengine.ListAuthorizedDomainsRequest, dict] = None,
*,
retry: retries.Retry = gapic_v1.method.DEFAULT,
timeout: float = None,
Expand All @@ -352,7 +352,7 @@ def list_authorized_domains(
administer.
Args:
request (google.cloud.appengine_admin_v1.types.ListAuthorizedDomainsRequest):
request (Union[google.cloud.appengine_admin_v1.types.ListAuthorizedDomainsRequest, dict]):
The request object. Request message for
`AuthorizedDomains.ListAuthorizedDomains`.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,16 +82,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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,16 +129,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.
Expand Down
Loading

0 comments on commit 39238a7

Please sign in to comment.