Skip to content

Commit 8d2c63c

Browse files
chore: Use gapic-generator-python 0.65.0 (#127)
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 440970084 Source-Link: googleapis/googleapis@5e0a3d5 Source-Link: googleapis/googleapis-gen@b0c628a Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYjBjNjI4YTNmYWRlNzY4ZjIyNWQ3Njk5Mjc5MWVhMWJhMmE4ODFiZSJ9 docs: fix type in docstring for map fields
1 parent 54c8727 commit 8d2c63c

File tree

45 files changed

+607
-211
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+607
-211
lines changed

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
from collections import OrderedDict
1717
import functools
1818
import re
19-
from typing import Dict, Optional, Sequence, Tuple, Type, Union
19+
from typing import Dict, Mapping, Optional, Sequence, Tuple, Type, Union
2020
import pkg_resources
2121

2222
from google.api_core.client_options import ClientOptions
@@ -293,7 +293,6 @@ async def create_application(
293293
`Managing Projects, Applications, and
294294
Billing <https://cloud.google.com/appengine/docs/standard/python/console/>`__.
295295
296-
297296
.. code-block:: python
298297
299298
from google.cloud import appengine_admin_v1
@@ -380,7 +379,6 @@ async def update_application(
380379
- ``default_cookie_expiration`` - Cookie expiration policy for
381380
the application.
382381
383-
384382
.. code-block:: python
385383
386384
from google.cloud import appengine_admin_v1
@@ -477,7 +475,6 @@ async def repair_application(
477475
. If the deletion was recent, the numeric ID can be found in the
478476
Cloud Console Activity Log.
479477
480-
481478
.. code-block:: python
482479
483480
from google.cloud import appengine_admin_v1

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
from collections import OrderedDict
1717
import os
1818
import re
19-
from typing import Dict, Optional, Sequence, Tuple, Type, Union
19+
from typing import Dict, Mapping, Optional, Sequence, Tuple, Type, Union
2020
import pkg_resources
2121

2222
from google.api_core import client_options as client_options_lib
@@ -500,7 +500,6 @@ def create_application(
500500
`Managing Projects, Applications, and
501501
Billing <https://cloud.google.com/appengine/docs/standard/python/console/>`__.
502502
503-
504503
.. code-block:: python
505504
506505
from google.cloud import appengine_admin_v1
@@ -588,7 +587,6 @@ def update_application(
588587
- ``default_cookie_expiration`` - Cookie expiration policy for
589588
the application.
590589
591-
592590
.. code-block:: python
593591
594592
from google.cloud import appengine_admin_v1
@@ -686,7 +684,6 @@ def repair_application(
686684
. If the deletion was recent, the numeric ID can be found in the
687685
Cloud Console Activity Log.
688686
689-
690687
.. code-block:: python
691688
692689
from google.cloud import appengine_admin_v1

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ def __init__(
8787
always_use_jwt_access (Optional[bool]): Whether self signed JWT should
8888
be used for service account credentials.
8989
"""
90+
9091
# Save the hostname. Default to port 443 (HTTPS) if none is specified.
9192
if ":" not in host:
9293
host += ":443"
@@ -199,5 +200,9 @@ def repair_application(
199200
]:
200201
raise NotImplementedError()
201202

203+
@property
204+
def kind(self) -> str:
205+
raise NotImplementedError()
206+
202207

203208
__all__ = ("ApplicationsTransport",)

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -378,5 +378,9 @@ def repair_application(
378378
def close(self):
379379
self.grpc_channel.close()
380380

381+
@property
382+
def kind(self) -> str:
383+
return "grpc"
384+
381385

382386
__all__ = ("ApplicationsGrpcTransport",)

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
from collections import OrderedDict
1717
import functools
1818
import re
19-
from typing import Dict, Optional, Sequence, Tuple, Type, Union
19+
from typing import Dict, Mapping, Optional, Sequence, Tuple, Type, Union
2020
import pkg_resources
2121

2222
from google.api_core.client_options import ClientOptions
@@ -219,7 +219,6 @@ async def list_authorized_certificates(
219219
r"""Lists all SSL certificates the user is authorized to
220220
administer.
221221
222-
223222
.. code-block:: python
224223
225224
from google.cloud import appengine_admin_v1
@@ -460,7 +459,6 @@ async def update_authorized_certificate(
460459
certificate. The certificate ``display_name`` may also be
461460
updated.
462461
463-
464462
.. code-block:: python
465463
466464
from google.cloud import appengine_admin_v1

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
from collections import OrderedDict
1717
import os
1818
import re
19-
from typing import Dict, Optional, Sequence, Tuple, Type, Union
19+
from typing import Dict, Mapping, Optional, Sequence, Tuple, Type, Union
2020
import pkg_resources
2121

2222
from google.api_core import client_options as client_options_lib
@@ -420,7 +420,6 @@ def list_authorized_certificates(
420420
r"""Lists all SSL certificates the user is authorized to
421421
administer.
422422
423-
424423
.. code-block:: python
425424
426425
from google.cloud import appengine_admin_v1
@@ -670,7 +669,6 @@ def update_authorized_certificate(
670669
certificate. The certificate ``display_name`` may also be
671670
updated.
672671
673-
674672
.. code-block:: python
675673
676674
from google.cloud import appengine_admin_v1

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ def __init__(
8686
always_use_jwt_access (Optional[bool]): Whether self signed JWT should
8787
be used for service account credentials.
8888
"""
89+
8990
# Save the hostname. Default to port 443 (HTTPS) if none is specified.
9091
if ":" not in host:
9192
host += ":443"
@@ -219,5 +220,9 @@ def delete_authorized_certificate(
219220
]:
220221
raise NotImplementedError()
221222

223+
@property
224+
def kind(self) -> str:
225+
raise NotImplementedError()
226+
222227

223228
__all__ = ("AuthorizedCertificatesTransport",)

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -387,5 +387,9 @@ def delete_authorized_certificate(
387387
def close(self):
388388
self.grpc_channel.close()
389389

390+
@property
391+
def kind(self) -> str:
392+
return "grpc"
393+
390394

391395
__all__ = ("AuthorizedCertificatesGrpcTransport",)

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
from collections import OrderedDict
1717
import functools
1818
import re
19-
from typing import Dict, Optional, Sequence, Tuple, Type, Union
19+
from typing import Dict, Mapping, Optional, Sequence, Tuple, Type, Union
2020
import pkg_resources
2121

2222
from google.api_core.client_options import ClientOptions
@@ -215,7 +215,6 @@ async def list_authorized_domains(
215215
r"""Lists all domains the user is authorized to
216216
administer.
217217
218-
219218
.. code-block:: python
220219
221220
from google.cloud import appengine_admin_v1

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
from collections import OrderedDict
1717
import os
1818
import re
19-
from typing import Dict, Optional, Sequence, Tuple, Type, Union
19+
from typing import Dict, Mapping, Optional, Sequence, Tuple, Type, Union
2020
import pkg_resources
2121

2222
from google.api_core import client_options as client_options_lib
@@ -419,7 +419,6 @@ def list_authorized_domains(
419419
r"""Lists all domains the user is authorized to
420420
administer.
421421
422-
423422
.. code-block:: python
424423
425424
from google.cloud import appengine_admin_v1

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ def __init__(
8484
always_use_jwt_access (Optional[bool]): Whether self signed JWT should
8585
be used for service account credentials.
8686
"""
87+
8788
# Save the hostname. Default to port 443 (HTTPS) if none is specified.
8889
if ":" not in host:
8990
host += ":443"
@@ -152,5 +153,9 @@ def list_authorized_domains(
152153
]:
153154
raise NotImplementedError()
154155

156+
@property
157+
def kind(self) -> str:
158+
raise NotImplementedError()
159+
155160

156161
__all__ = ("AuthorizedDomainsTransport",)

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,5 +262,9 @@ def list_authorized_domains(
262262
def close(self):
263263
self.grpc_channel.close()
264264

265+
@property
266+
def kind(self) -> str:
267+
return "grpc"
268+
265269

266270
__all__ = ("AuthorizedDomainsGrpcTransport",)

packages/google-cloud-appengine-admin/google/cloud/appengine_admin_v1/services/domain_mappings/async_client.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
from collections import OrderedDict
1717
import functools
1818
import re
19-
from typing import Dict, Optional, Sequence, Tuple, Type, Union
19+
from typing import Dict, Mapping, Optional, Sequence, Tuple, Type, Union
2020
import pkg_resources
2121

2222
from google.api_core.client_options import ClientOptions
@@ -374,7 +374,6 @@ async def create_domain_mapping(
374374
list of available authorized domains, see
375375
```AuthorizedDomains.ListAuthorizedDomains`` <>`__.
376376
377-
378377
.. code-block:: python
379378
380379
from google.cloud import appengine_admin_v1
@@ -466,7 +465,6 @@ async def update_domain_mapping(
466465
administer the associated domain in order to update a
467466
``DomainMapping`` resource.
468467
469-
470468
.. code-block:: python
471469
472470
from google.cloud import appengine_admin_v1
@@ -556,7 +554,6 @@ async def delete_domain_mapping(
556554
to administer the associated domain in order to delete a
557555
``DomainMapping`` resource.
558556
559-
560557
.. code-block:: python
561558
562559
from google.cloud import appengine_admin_v1

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
from collections import OrderedDict
1717
import os
1818
import re
19-
from typing import Dict, Optional, Sequence, Tuple, Type, Union
19+
from typing import Dict, Mapping, Optional, Sequence, Tuple, Type, Union
2020
import pkg_resources
2121

2222
from google.api_core import client_options as client_options_lib
@@ -580,7 +580,6 @@ def create_domain_mapping(
580580
list of available authorized domains, see
581581
```AuthorizedDomains.ListAuthorizedDomains`` <>`__.
582582
583-
584583
.. code-block:: python
585584
586585
from google.cloud import appengine_admin_v1
@@ -673,7 +672,6 @@ def update_domain_mapping(
673672
administer the associated domain in order to update a
674673
``DomainMapping`` resource.
675674
676-
677675
.. code-block:: python
678676
679677
from google.cloud import appengine_admin_v1
@@ -764,7 +762,6 @@ def delete_domain_mapping(
764762
to administer the associated domain in order to delete a
765763
``DomainMapping`` resource.
766764
767-
768765
.. code-block:: python
769766
770767
from google.cloud import appengine_admin_v1

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ def __init__(
8787
always_use_jwt_access (Optional[bool]): Whether self signed JWT should
8888
be used for service account credentials.
8989
"""
90+
9091
# Save the hostname. Default to port 443 (HTTPS) if none is specified.
9192
if ":" not in host:
9293
host += ":443"
@@ -216,5 +217,9 @@ def delete_domain_mapping(
216217
]:
217218
raise NotImplementedError()
218219

220+
@property
221+
def kind(self) -> str:
222+
raise NotImplementedError()
223+
219224

220225
__all__ = ("DomainMappingsTransport",)

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -389,5 +389,9 @@ def delete_domain_mapping(
389389
def close(self):
390390
self.grpc_channel.close()
391391

392+
@property
393+
def kind(self) -> str:
394+
return "grpc"
395+
392396

393397
__all__ = ("DomainMappingsGrpcTransport",)

packages/google-cloud-appengine-admin/google/cloud/appengine_admin_v1/services/firewall/async_client.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
from collections import OrderedDict
1717
import functools
1818
import re
19-
from typing import Dict, Optional, Sequence, Tuple, Type, Union
19+
from typing import Dict, Mapping, Optional, Sequence, Tuple, Type, Union
2020
import pkg_resources
2121

2222
from google.api_core.client_options import ClientOptions
@@ -304,7 +304,6 @@ async def batch_update_ingress_rules(
304304
IP range, then an "allow all" rule is explicitly added to the
305305
end of the list.
306306
307-
308307
.. code-block:: python
309308
310309
from google.cloud import appengine_admin_v1

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
from collections import OrderedDict
1717
import os
1818
import re
19-
from typing import Dict, Optional, Sequence, Tuple, Type, Union
19+
from typing import Dict, Mapping, Optional, Sequence, Tuple, Type, Union
2020
import pkg_resources
2121

2222
from google.api_core import client_options as client_options_lib
@@ -515,7 +515,6 @@ def batch_update_ingress_rules(
515515
IP range, then an "allow all" rule is explicitly added to the
516516
end of the list.
517517
518-
519518
.. code-block:: python
520519
521520
from google.cloud import appengine_admin_v1

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ def __init__(
8686
always_use_jwt_access (Optional[bool]): Whether self signed JWT should
8787
be used for service account credentials.
8888
"""
89+
8990
# Save the hostname. Default to port 443 (HTTPS) if none is specified.
9091
if ":" not in host:
9192
host += ":443"
@@ -227,5 +228,9 @@ def delete_ingress_rule(
227228
]:
228229
raise NotImplementedError()
229230

231+
@property
232+
def kind(self) -> str:
233+
raise NotImplementedError()
234+
230235

231236
__all__ = ("FirewallTransport",)

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -409,5 +409,9 @@ def delete_ingress_rule(
409409
def close(self):
410410
self.grpc_channel.close()
411411

412+
@property
413+
def kind(self) -> str:
414+
return "grpc"
415+
412416

413417
__all__ = ("FirewallGrpcTransport",)

0 commit comments

Comments
 (0)