Skip to content

Commit cdd926a

Browse files
authored
chore: librarian update image pull request: 20251216T191850Z (#1144)
feat: update image to us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/python-librarian-generator@sha256:b8058df4c45e9a6e07f6b4d65b458d0d059241dd34c814f151c8bf6b89211209
1 parent 9f9f182 commit cdd926a

Some content is hidden

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

62 files changed

+525
-923
lines changed

.librarian/generator-input/setup.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,6 @@
9090
install_requires=dependencies,
9191
extras_require=extras,
9292
python_requires=">=3.7",
93-
scripts=[
94-
"scripts/fixup_firestore_v1_keywords.py",
95-
"scripts/fixup_firestore_admin_v1_keywords.py",
96-
],
9793
include_package_data=True,
9894
zip_safe=False,
9995
)

.librarian/state.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
image: us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/python-librarian-generator@sha256:eec191fc4904c204cd717c79812cd66997b5559776483ee223f69c8f43e99224
1+
image: us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/python-librarian-generator@sha256:b8058df4c45e9a6e07f6b4d65b458d0d059241dd34c814f151c8bf6b89211209
22
libraries:
33
- id: google-cloud-firestore
44
version: 2.21.0
5-
last_generated_commit: 659ea6e98acc7d58661ce2aa7b4cf76a7ef3fd42
5+
last_generated_commit: 1a9d00bed77e6db82ff67764ffe14e3b5209f5cd
66
apis:
77
- path: google/firestore/v1
88
service_config: firestore_v1.yaml

google/cloud/firestore_admin_v1/services/__init__.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,3 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
17-
# DO NOT EDIT THIS FILE OUTSIDE OF `.librarian/generator-input`
18-
# The source of truth for this file is `.librarian/generator-input`

google/cloud/firestore_admin_v1/services/firestore_admin/__init__.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,8 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
17-
# DO NOT EDIT THIS FILE OUTSIDE OF `.librarian/generator-input`
18-
# The source of truth for this file is `.librarian/generator-input`
19-
20-
from .async_client import FirestoreAdminAsyncClient
2116
from .client import FirestoreAdminClient
17+
from .async_client import FirestoreAdminAsyncClient
2218

2319
__all__ = (
2420
"FirestoreAdminClient",

google/cloud/firestore_admin_v1/services/firestore_admin/async_client.py

Lines changed: 13 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,12 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
17-
# DO NOT EDIT THIS FILE OUTSIDE OF `.librarian/generator-input`
18-
# The source of truth for this file is `.librarian/generator-input`
19-
20-
from collections import OrderedDict
2116
import logging as std_logging
17+
from collections import OrderedDict
2218
import re
2319
from typing import (
24-
Callable,
2520
Dict,
21+
Callable,
2622
Mapping,
2723
MutableMapping,
2824
MutableSequence,
@@ -33,15 +29,16 @@
3329
Union,
3430
)
3531

32+
from google.cloud.firestore_admin_v1 import gapic_version as package_version
33+
34+
from google.api_core.client_options import ClientOptions
3635
from google.api_core import exceptions as core_exceptions
3736
from google.api_core import gapic_v1
3837
from google.api_core import retry_async as retries
39-
from google.api_core.client_options import ClientOptions
4038
from google.auth import credentials as ga_credentials # type: ignore
4139
from google.oauth2 import service_account # type: ignore
4240
import google.protobuf
4341

44-
from google.cloud.firestore_admin_v1 import gapic_version as package_version
4542

4643
try:
4744
OptionalRetry = Union[retries.AsyncRetry, gapic_v1.method._MethodDefault, None]
@@ -50,13 +47,6 @@
5047

5148
from google.api_core import operation as gac_operation # type: ignore
5249
from google.api_core import operation_async # type: ignore
53-
from google.cloud.location import locations_pb2 # type: ignore
54-
from google.longrunning import operations_pb2 # type: ignore
55-
from google.protobuf import duration_pb2 # type: ignore
56-
from google.protobuf import empty_pb2 # type: ignore
57-
from google.protobuf import field_mask_pb2 # type: ignore
58-
from google.protobuf import timestamp_pb2 # type: ignore
59-
6050
from google.cloud.firestore_admin_v1.services.firestore_admin import pagers
6151
from google.cloud.firestore_admin_v1.types import backup
6252
from google.cloud.firestore_admin_v1.types import database
@@ -70,10 +60,15 @@
7060
from google.cloud.firestore_admin_v1.types import schedule
7161
from google.cloud.firestore_admin_v1.types import user_creds
7262
from google.cloud.firestore_admin_v1.types import user_creds as gfa_user_creds
73-
74-
from .client import FirestoreAdminClient
75-
from .transports.base import DEFAULT_CLIENT_INFO, FirestoreAdminTransport
63+
from google.cloud.location import locations_pb2 # type: ignore
64+
from google.longrunning import operations_pb2 # type: ignore
65+
from google.protobuf import duration_pb2 # type: ignore
66+
from google.protobuf import empty_pb2 # type: ignore
67+
from google.protobuf import field_mask_pb2 # type: ignore
68+
from google.protobuf import timestamp_pb2 # type: ignore
69+
from .transports.base import FirestoreAdminTransport, DEFAULT_CLIENT_INFO
7670
from .transports.grpc_asyncio import FirestoreAdminGrpcAsyncIOTransport
71+
from .client import FirestoreAdminClient
7772

7873
try:
7974
from google.api_core import client_logging # type: ignore

google/cloud/firestore_admin_v1/services/firestore_admin/client.py

Lines changed: 11 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,15 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
17-
# DO NOT EDIT THIS FILE OUTSIDE OF `.librarian/generator-input`
18-
# The source of truth for this file is `.librarian/generator-input`
19-
2016
from collections import OrderedDict
2117
from http import HTTPStatus
2218
import json
2319
import logging as std_logging
2420
import os
2521
import re
2622
from typing import (
27-
Callable,
2823
Dict,
24+
Callable,
2925
Mapping,
3026
MutableMapping,
3127
MutableSequence,
@@ -38,19 +34,19 @@
3834
)
3935
import warnings
4036

37+
from google.cloud.firestore_admin_v1 import gapic_version as package_version
38+
4139
from google.api_core import client_options as client_options_lib
4240
from google.api_core import exceptions as core_exceptions
4341
from google.api_core import gapic_v1
4442
from google.api_core import retry as retries
4543
from google.auth import credentials as ga_credentials # type: ignore
46-
from google.auth.exceptions import MutualTLSChannelError # type: ignore
4744
from google.auth.transport import mtls # type: ignore
4845
from google.auth.transport.grpc import SslCredentials # type: ignore
46+
from google.auth.exceptions import MutualTLSChannelError # type: ignore
4947
from google.oauth2 import service_account # type: ignore
5048
import google.protobuf
5149

52-
from google.cloud.firestore_admin_v1 import gapic_version as package_version
53-
5450
try:
5551
OptionalRetry = Union[retries.Retry, gapic_v1.method._MethodDefault, None]
5652
except AttributeError: # pragma: NO COVER
@@ -67,13 +63,6 @@
6763

6864
from google.api_core import operation as gac_operation # type: ignore
6965
from google.api_core import operation_async # type: ignore
70-
from google.cloud.location import locations_pb2 # type: ignore
71-
from google.longrunning import operations_pb2 # type: ignore
72-
from google.protobuf import duration_pb2 # type: ignore
73-
from google.protobuf import empty_pb2 # type: ignore
74-
from google.protobuf import field_mask_pb2 # type: ignore
75-
from google.protobuf import timestamp_pb2 # type: ignore
76-
7766
from google.cloud.firestore_admin_v1.services.firestore_admin import pagers
7867
from google.cloud.firestore_admin_v1.types import backup
7968
from google.cloud.firestore_admin_v1.types import database
@@ -87,8 +76,13 @@
8776
from google.cloud.firestore_admin_v1.types import schedule
8877
from google.cloud.firestore_admin_v1.types import user_creds
8978
from google.cloud.firestore_admin_v1.types import user_creds as gfa_user_creds
90-
91-
from .transports.base import DEFAULT_CLIENT_INFO, FirestoreAdminTransport
79+
from google.cloud.location import locations_pb2 # type: ignore
80+
from google.longrunning import operations_pb2 # type: ignore
81+
from google.protobuf import duration_pb2 # type: ignore
82+
from google.protobuf import empty_pb2 # type: ignore
83+
from google.protobuf import field_mask_pb2 # type: ignore
84+
from google.protobuf import timestamp_pb2 # type: ignore
85+
from .transports.base import FirestoreAdminTransport, DEFAULT_CLIENT_INFO
9286
from .transports.grpc import FirestoreAdminGrpcTransport
9387
from .transports.grpc_asyncio import FirestoreAdminGrpcAsyncIOTransport
9488
from .transports.rest import FirestoreAdminRestTransport

google/cloud/firestore_admin_v1/services/firestore_admin/pagers.py

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,26 +13,21 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
17-
# DO NOT EDIT THIS FILE OUTSIDE OF `.librarian/generator-input`
18-
# The source of truth for this file is `.librarian/generator-input`
19-
16+
from google.api_core import gapic_v1
17+
from google.api_core import retry as retries
18+
from google.api_core import retry_async as retries_async
2019
from typing import (
2120
Any,
2221
AsyncIterator,
2322
Awaitable,
2423
Callable,
25-
Iterator,
26-
Optional,
2724
Sequence,
2825
Tuple,
26+
Optional,
27+
Iterator,
2928
Union,
3029
)
3130

32-
from google.api_core import gapic_v1
33-
from google.api_core import retry as retries
34-
from google.api_core import retry_async as retries_async
35-
3631
try:
3732
OptionalRetry = Union[retries.Retry, gapic_v1.method._MethodDefault, None]
3833
OptionalAsyncRetry = Union[
@@ -42,7 +37,9 @@
4237
OptionalRetry = Union[retries.Retry, object, None] # type: ignore
4338
OptionalAsyncRetry = Union[retries_async.AsyncRetry, object, None] # type: ignore
4439

45-
from google.cloud.firestore_admin_v1.types import field, firestore_admin, index
40+
from google.cloud.firestore_admin_v1.types import field
41+
from google.cloud.firestore_admin_v1.types import firestore_admin
42+
from google.cloud.firestore_admin_v1.types import index
4643

4744

4845
class ListIndexesPager:

google/cloud/firestore_admin_v1/services/firestore_admin/transports/README.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
# DO NOT EDIT THIS FILE OUTSIDE OF `.librarian/generator-input`
2-
# The source of truth for this file is `.librarian/generator-input`
3-
41

52
transport inheritance structure
63
_______________________________

google/cloud/firestore_admin_v1/services/firestore_admin/transports/__init__.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,15 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
17-
# DO NOT EDIT THIS FILE OUTSIDE OF `.librarian/generator-input`
18-
# The source of truth for this file is `.librarian/generator-input`
19-
2016
from collections import OrderedDict
2117
from typing import Dict, Type
2218

2319
from .base import FirestoreAdminTransport
2420
from .grpc import FirestoreAdminGrpcTransport
2521
from .grpc_asyncio import FirestoreAdminGrpcAsyncIOTransport
26-
from .rest import FirestoreAdminRestInterceptor, FirestoreAdminRestTransport
22+
from .rest import FirestoreAdminRestTransport
23+
from .rest import FirestoreAdminRestInterceptor
24+
2725

2826
# Compile a registry of transports.
2927
_transport_registry = OrderedDict() # type: Dict[str, Type[FirestoreAdminTransport]]

0 commit comments

Comments
 (0)