Skip to content

Commit 39238a7

Browse files
chore: use gapic-generator-python 0.51.2 (#68)
- [ ] 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
1 parent b520d66 commit 39238a7

File tree

34 files changed

+171
-171
lines changed

34 files changed

+171
-171
lines changed

packages/google-cloud-appengine-admin/google/cloud/appengine_admin_v1/services/applications/client.py

+9-9
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
from distutils import util
1818
import os
1919
import re
20-
from typing import Callable, Dict, Optional, Sequence, Tuple, Type, Union
20+
from typing import Dict, Optional, Sequence, Tuple, Type, Union
2121
import pkg_resources
2222

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

339339
def get_application(
340340
self,
341-
request: appengine.GetApplicationRequest = None,
341+
request: Union[appengine.GetApplicationRequest, dict] = None,
342342
*,
343343
retry: retries.Retry = gapic_v1.method.DEFAULT,
344344
timeout: float = None,
@@ -347,7 +347,7 @@ def get_application(
347347
r"""Gets information about an application.
348348
349349
Args:
350-
request (google.cloud.appengine_admin_v1.types.GetApplicationRequest):
350+
request (Union[google.cloud.appengine_admin_v1.types.GetApplicationRequest, dict]):
351351
The request object. Request message for
352352
`Applications.GetApplication`.
353353
retry (google.api_core.retry.Retry): Designation of what errors, if any,
@@ -389,7 +389,7 @@ def get_application(
389389

390390
def create_application(
391391
self,
392-
request: appengine.CreateApplicationRequest = None,
392+
request: Union[appengine.CreateApplicationRequest, dict] = None,
393393
*,
394394
retry: retries.Retry = gapic_v1.method.DEFAULT,
395395
timeout: float = None,
@@ -408,7 +408,7 @@ def create_application(
408408
Billing <https://cloud.google.com/appengine/docs/standard/python/console/>`__.
409409
410410
Args:
411-
request (google.cloud.appengine_admin_v1.types.CreateApplicationRequest):
411+
request (Union[google.cloud.appengine_admin_v1.types.CreateApplicationRequest, dict]):
412412
The request object. Request message for
413413
`Applications.CreateApplication`.
414414
retry (google.api_core.retry.Retry): Designation of what errors, if any,
@@ -453,7 +453,7 @@ def create_application(
453453

454454
def update_application(
455455
self,
456-
request: appengine.UpdateApplicationRequest = None,
456+
request: Union[appengine.UpdateApplicationRequest, dict] = None,
457457
*,
458458
retry: retries.Retry = gapic_v1.method.DEFAULT,
459459
timeout: float = None,
@@ -468,7 +468,7 @@ def update_application(
468468
the application.
469469
470470
Args:
471-
request (google.cloud.appengine_admin_v1.types.UpdateApplicationRequest):
471+
request (Union[google.cloud.appengine_admin_v1.types.UpdateApplicationRequest, dict]):
472472
The request object. Request message for
473473
`Applications.UpdateApplication`.
474474
retry (google.api_core.retry.Retry): Designation of what errors, if any,
@@ -519,7 +519,7 @@ def update_application(
519519

520520
def repair_application(
521521
self,
522-
request: appengine.RepairApplicationRequest = None,
522+
request: Union[appengine.RepairApplicationRequest, dict] = None,
523523
*,
524524
retry: retries.Retry = gapic_v1.method.DEFAULT,
525525
timeout: float = None,
@@ -538,7 +538,7 @@ def repair_application(
538538
Cloud Console Activity Log.
539539
540540
Args:
541-
request (google.cloud.appengine_admin_v1.types.RepairApplicationRequest):
541+
request (Union[google.cloud.appengine_admin_v1.types.RepairApplicationRequest, dict]):
542542
The request object. Request message for
543543
'Applications.RepairApplication'.
544544
retry (google.api_core.retry.Retry): Designation of what errors, if any,

packages/google-cloud-appengine-admin/google/cloud/appengine_admin_v1/services/applications/transports/base.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ def __init__(
124124
**scopes_kwargs, quota_project_id=quota_project_id
125125
)
126126

127-
# If the credentials is service account credentials, then always try to use self signed JWT.
127+
# If the credentials are service account credentials, then always try to use self signed JWT.
128128
if (
129129
always_use_jwt_access
130130
and isinstance(credentials, service_account.Credentials)

packages/google-cloud-appengine-admin/google/cloud/appengine_admin_v1/services/applications/transports/grpc.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -83,16 +83,16 @@ def __init__(
8383
api_mtls_endpoint (Optional[str]): Deprecated. The mutual TLS endpoint.
8484
If provided, it overrides the ``host`` argument and tries to create
8585
a mutual TLS channel with client SSL credentials from
86-
``client_cert_source`` or applicatin default SSL credentials.
86+
``client_cert_source`` or application default SSL credentials.
8787
client_cert_source (Optional[Callable[[], Tuple[bytes, bytes]]]):
8888
Deprecated. A callback to provide client SSL certificate bytes and
8989
private key bytes, both in PEM format. It is ignored if
9090
``api_mtls_endpoint`` is None.
9191
ssl_channel_credentials (grpc.ChannelCredentials): SSL credentials
92-
for grpc channel. It is ignored if ``channel`` is provided.
92+
for the grpc channel. It is ignored if ``channel`` is provided.
9393
client_cert_source_for_mtls (Optional[Callable[[], Tuple[bytes, bytes]]]):
9494
A callback to provide client certificate bytes and private key bytes,
95-
both in PEM format. It is used to configure mutual TLS channel. It is
95+
both in PEM format. It is used to configure a mutual TLS channel. It is
9696
ignored if ``channel`` or ``ssl_channel_credentials`` is provided.
9797
quota_project_id (Optional[str]): An optional project to use for billing
9898
and quota.

packages/google-cloud-appengine-admin/google/cloud/appengine_admin_v1/services/applications/transports/grpc_asyncio.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -130,16 +130,16 @@ def __init__(
130130
api_mtls_endpoint (Optional[str]): Deprecated. The mutual TLS endpoint.
131131
If provided, it overrides the ``host`` argument and tries to create
132132
a mutual TLS channel with client SSL credentials from
133-
``client_cert_source`` or applicatin default SSL credentials.
133+
``client_cert_source`` or application default SSL credentials.
134134
client_cert_source (Optional[Callable[[], Tuple[bytes, bytes]]]):
135135
Deprecated. A callback to provide client SSL certificate bytes and
136136
private key bytes, both in PEM format. It is ignored if
137137
``api_mtls_endpoint`` is None.
138138
ssl_channel_credentials (grpc.ChannelCredentials): SSL credentials
139-
for grpc channel. It is ignored if ``channel`` is provided.
139+
for the grpc channel. It is ignored if ``channel`` is provided.
140140
client_cert_source_for_mtls (Optional[Callable[[], Tuple[bytes, bytes]]]):
141141
A callback to provide client certificate bytes and private key bytes,
142-
both in PEM format. It is used to configure mutual TLS channel. It is
142+
both in PEM format. It is used to configure a mutual TLS channel. It is
143143
ignored if ``channel`` or ``ssl_channel_credentials`` is provided.
144144
quota_project_id (Optional[str]): An optional project to use for billing
145145
and quota.

packages/google-cloud-appengine-admin/google/cloud/appengine_admin_v1/services/authorized_certificates/client.py

+11-11
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
from distutils import util
1818
import os
1919
import re
20-
from typing import Callable, Dict, Optional, Sequence, Tuple, Type, Union
20+
from typing import Dict, Optional, Sequence, Tuple, Type, Union
2121
import pkg_resources
2222

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

344344
def list_authorized_certificates(
345345
self,
346-
request: appengine.ListAuthorizedCertificatesRequest = None,
346+
request: Union[appengine.ListAuthorizedCertificatesRequest, dict] = None,
347347
*,
348348
retry: retries.Retry = gapic_v1.method.DEFAULT,
349349
timeout: float = None,
@@ -353,7 +353,7 @@ def list_authorized_certificates(
353353
administer.
354354
355355
Args:
356-
request (google.cloud.appengine_admin_v1.types.ListAuthorizedCertificatesRequest):
356+
request (Union[google.cloud.appengine_admin_v1.types.ListAuthorizedCertificatesRequest, dict]):
357357
The request object. Request message for
358358
`AuthorizedCertificates.ListAuthorizedCertificates`.
359359
retry (google.api_core.retry.Retry): Designation of what errors, if any,
@@ -405,7 +405,7 @@ def list_authorized_certificates(
405405

406406
def get_authorized_certificate(
407407
self,
408-
request: appengine.GetAuthorizedCertificateRequest = None,
408+
request: Union[appengine.GetAuthorizedCertificateRequest, dict] = None,
409409
*,
410410
retry: retries.Retry = gapic_v1.method.DEFAULT,
411411
timeout: float = None,
@@ -414,7 +414,7 @@ def get_authorized_certificate(
414414
r"""Gets the specified SSL certificate.
415415
416416
Args:
417-
request (google.cloud.appengine_admin_v1.types.GetAuthorizedCertificateRequest):
417+
request (Union[google.cloud.appengine_admin_v1.types.GetAuthorizedCertificateRequest, dict]):
418418
The request object. Request message for
419419
`AuthorizedCertificates.GetAuthorizedCertificate`.
420420
retry (google.api_core.retry.Retry): Designation of what errors, if any,
@@ -460,7 +460,7 @@ def get_authorized_certificate(
460460

461461
def create_authorized_certificate(
462462
self,
463-
request: appengine.CreateAuthorizedCertificateRequest = None,
463+
request: Union[appengine.CreateAuthorizedCertificateRequest, dict] = None,
464464
*,
465465
retry: retries.Retry = gapic_v1.method.DEFAULT,
466466
timeout: float = None,
@@ -469,7 +469,7 @@ def create_authorized_certificate(
469469
r"""Uploads the specified SSL certificate.
470470
471471
Args:
472-
request (google.cloud.appengine_admin_v1.types.CreateAuthorizedCertificateRequest):
472+
request (Union[google.cloud.appengine_admin_v1.types.CreateAuthorizedCertificateRequest, dict]):
473473
The request object. Request message for
474474
`AuthorizedCertificates.CreateAuthorizedCertificate`.
475475
retry (google.api_core.retry.Retry): Designation of what errors, if any,
@@ -515,7 +515,7 @@ def create_authorized_certificate(
515515

516516
def update_authorized_certificate(
517517
self,
518-
request: appengine.UpdateAuthorizedCertificateRequest = None,
518+
request: Union[appengine.UpdateAuthorizedCertificateRequest, dict] = None,
519519
*,
520520
retry: retries.Retry = gapic_v1.method.DEFAULT,
521521
timeout: float = None,
@@ -529,7 +529,7 @@ def update_authorized_certificate(
529529
updated.
530530
531531
Args:
532-
request (google.cloud.appengine_admin_v1.types.UpdateAuthorizedCertificateRequest):
532+
request (Union[google.cloud.appengine_admin_v1.types.UpdateAuthorizedCertificateRequest, dict]):
533533
The request object. Request message for
534534
`AuthorizedCertificates.UpdateAuthorizedCertificate`.
535535
retry (google.api_core.retry.Retry): Designation of what errors, if any,
@@ -575,7 +575,7 @@ def update_authorized_certificate(
575575

576576
def delete_authorized_certificate(
577577
self,
578-
request: appengine.DeleteAuthorizedCertificateRequest = None,
578+
request: Union[appengine.DeleteAuthorizedCertificateRequest, dict] = None,
579579
*,
580580
retry: retries.Retry = gapic_v1.method.DEFAULT,
581581
timeout: float = None,
@@ -584,7 +584,7 @@ def delete_authorized_certificate(
584584
r"""Deletes the specified SSL certificate.
585585
586586
Args:
587-
request (google.cloud.appengine_admin_v1.types.DeleteAuthorizedCertificateRequest):
587+
request (Union[google.cloud.appengine_admin_v1.types.DeleteAuthorizedCertificateRequest, dict]):
588588
The request object. Request message for
589589
`AuthorizedCertificates.DeleteAuthorizedCertificate`.
590590
retry (google.api_core.retry.Retry): Designation of what errors, if any,

packages/google-cloud-appengine-admin/google/cloud/appengine_admin_v1/services/authorized_certificates/transports/base.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def __init__(
123123
**scopes_kwargs, quota_project_id=quota_project_id
124124
)
125125

126-
# If the credentials is service account credentials, then always try to use self signed JWT.
126+
# If the credentials are service account credentials, then always try to use self signed JWT.
127127
if (
128128
always_use_jwt_access
129129
and isinstance(credentials, service_account.Credentials)

packages/google-cloud-appengine-admin/google/cloud/appengine_admin_v1/services/authorized_certificates/transports/grpc.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -84,16 +84,16 @@ def __init__(
8484
api_mtls_endpoint (Optional[str]): Deprecated. The mutual TLS endpoint.
8585
If provided, it overrides the ``host`` argument and tries to create
8686
a mutual TLS channel with client SSL credentials from
87-
``client_cert_source`` or applicatin default SSL credentials.
87+
``client_cert_source`` or application default SSL credentials.
8888
client_cert_source (Optional[Callable[[], Tuple[bytes, bytes]]]):
8989
Deprecated. A callback to provide client SSL certificate bytes and
9090
private key bytes, both in PEM format. It is ignored if
9191
``api_mtls_endpoint`` is None.
9292
ssl_channel_credentials (grpc.ChannelCredentials): SSL credentials
93-
for grpc channel. It is ignored if ``channel`` is provided.
93+
for the grpc channel. It is ignored if ``channel`` is provided.
9494
client_cert_source_for_mtls (Optional[Callable[[], Tuple[bytes, bytes]]]):
9595
A callback to provide client certificate bytes and private key bytes,
96-
both in PEM format. It is used to configure mutual TLS channel. It is
96+
both in PEM format. It is used to configure a mutual TLS channel. It is
9797
ignored if ``channel`` or ``ssl_channel_credentials`` is provided.
9898
quota_project_id (Optional[str]): An optional project to use for billing
9999
and quota.

packages/google-cloud-appengine-admin/google/cloud/appengine_admin_v1/services/authorized_certificates/transports/grpc_asyncio.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -131,16 +131,16 @@ def __init__(
131131
api_mtls_endpoint (Optional[str]): Deprecated. The mutual TLS endpoint.
132132
If provided, it overrides the ``host`` argument and tries to create
133133
a mutual TLS channel with client SSL credentials from
134-
``client_cert_source`` or applicatin default SSL credentials.
134+
``client_cert_source`` or application default SSL credentials.
135135
client_cert_source (Optional[Callable[[], Tuple[bytes, bytes]]]):
136136
Deprecated. A callback to provide client SSL certificate bytes and
137137
private key bytes, both in PEM format. It is ignored if
138138
``api_mtls_endpoint`` is None.
139139
ssl_channel_credentials (grpc.ChannelCredentials): SSL credentials
140-
for grpc channel. It is ignored if ``channel`` is provided.
140+
for the grpc channel. It is ignored if ``channel`` is provided.
141141
client_cert_source_for_mtls (Optional[Callable[[], Tuple[bytes, bytes]]]):
142142
A callback to provide client certificate bytes and private key bytes,
143-
both in PEM format. It is used to configure mutual TLS channel. It is
143+
both in PEM format. It is used to configure a mutual TLS channel. It is
144144
ignored if ``channel`` or ``ssl_channel_credentials`` is provided.
145145
quota_project_id (Optional[str]): An optional project to use for billing
146146
and quota.

packages/google-cloud-appengine-admin/google/cloud/appengine_admin_v1/services/authorized_domains/client.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
from distutils import util
1818
import os
1919
import re
20-
from typing import Callable, Dict, Optional, Sequence, Tuple, Type, Union
20+
from typing import Dict, Optional, Sequence, Tuple, Type, Union
2121
import pkg_resources
2222

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

343343
def list_authorized_domains(
344344
self,
345-
request: appengine.ListAuthorizedDomainsRequest = None,
345+
request: Union[appengine.ListAuthorizedDomainsRequest, dict] = None,
346346
*,
347347
retry: retries.Retry = gapic_v1.method.DEFAULT,
348348
timeout: float = None,
@@ -352,7 +352,7 @@ def list_authorized_domains(
352352
administer.
353353
354354
Args:
355-
request (google.cloud.appengine_admin_v1.types.ListAuthorizedDomainsRequest):
355+
request (Union[google.cloud.appengine_admin_v1.types.ListAuthorizedDomainsRequest, dict]):
356356
The request object. Request message for
357357
`AuthorizedDomains.ListAuthorizedDomains`.
358358
retry (google.api_core.retry.Retry): Designation of what errors, if any,

packages/google-cloud-appengine-admin/google/cloud/appengine_admin_v1/services/authorized_domains/transports/base.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def __init__(
121121
**scopes_kwargs, quota_project_id=quota_project_id
122122
)
123123

124-
# If the credentials is service account credentials, then always try to use self signed JWT.
124+
# If the credentials are service account credentials, then always try to use self signed JWT.
125125
if (
126126
always_use_jwt_access
127127
and isinstance(credentials, service_account.Credentials)

packages/google-cloud-appengine-admin/google/cloud/appengine_admin_v1/services/authorized_domains/transports/grpc.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -82,16 +82,16 @@ def __init__(
8282
api_mtls_endpoint (Optional[str]): Deprecated. The mutual TLS endpoint.
8383
If provided, it overrides the ``host`` argument and tries to create
8484
a mutual TLS channel with client SSL credentials from
85-
``client_cert_source`` or applicatin default SSL credentials.
85+
``client_cert_source`` or application default SSL credentials.
8686
client_cert_source (Optional[Callable[[], Tuple[bytes, bytes]]]):
8787
Deprecated. A callback to provide client SSL certificate bytes and
8888
private key bytes, both in PEM format. It is ignored if
8989
``api_mtls_endpoint`` is None.
9090
ssl_channel_credentials (grpc.ChannelCredentials): SSL credentials
91-
for grpc channel. It is ignored if ``channel`` is provided.
91+
for the grpc channel. It is ignored if ``channel`` is provided.
9292
client_cert_source_for_mtls (Optional[Callable[[], Tuple[bytes, bytes]]]):
9393
A callback to provide client certificate bytes and private key bytes,
94-
both in PEM format. It is used to configure mutual TLS channel. It is
94+
both in PEM format. It is used to configure a mutual TLS channel. It is
9595
ignored if ``channel`` or ``ssl_channel_credentials`` is provided.
9696
quota_project_id (Optional[str]): An optional project to use for billing
9797
and quota.

packages/google-cloud-appengine-admin/google/cloud/appengine_admin_v1/services/authorized_domains/transports/grpc_asyncio.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -129,16 +129,16 @@ def __init__(
129129
api_mtls_endpoint (Optional[str]): Deprecated. The mutual TLS endpoint.
130130
If provided, it overrides the ``host`` argument and tries to create
131131
a mutual TLS channel with client SSL credentials from
132-
``client_cert_source`` or applicatin default SSL credentials.
132+
``client_cert_source`` or application default SSL credentials.
133133
client_cert_source (Optional[Callable[[], Tuple[bytes, bytes]]]):
134134
Deprecated. A callback to provide client SSL certificate bytes and
135135
private key bytes, both in PEM format. It is ignored if
136136
``api_mtls_endpoint`` is None.
137137
ssl_channel_credentials (grpc.ChannelCredentials): SSL credentials
138-
for grpc channel. It is ignored if ``channel`` is provided.
138+
for the grpc channel. It is ignored if ``channel`` is provided.
139139
client_cert_source_for_mtls (Optional[Callable[[], Tuple[bytes, bytes]]]):
140140
A callback to provide client certificate bytes and private key bytes,
141-
both in PEM format. It is used to configure mutual TLS channel. It is
141+
both in PEM format. It is used to configure a mutual TLS channel. It is
142142
ignored if ``channel`` or ``ssl_channel_credentials`` is provided.
143143
quota_project_id (Optional[str]): An optional project to use for billing
144144
and quota.

0 commit comments

Comments
 (0)