Skip to content
This repository was archived by the owner on Mar 2, 2026. It is now read-only.

Commit 36438bc

Browse files
committed
feat: update image to us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/python-librarian-generator@sha256:b8058df4c45e9a6e07f6b4d65b458d0d059241dd34c814f151c8bf6b89211209
1 parent 3cf72aa commit 36438bc

58 files changed

Lines changed: 540 additions & 2655 deletions

Some content is hidden

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

.librarian/state.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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

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]]

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

Lines changed: 14 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -13,36 +13,32 @@
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
import abc
2117
from typing import Awaitable, Callable, Dict, Optional, Sequence, Union
2218

19+
from google.cloud.firestore_admin_v1 import gapic_version as package_version
20+
21+
import google.auth # type: ignore
2322
import google.api_core
2423
from google.api_core import exceptions as core_exceptions
25-
from google.api_core import gapic_v1, operations_v1
24+
from google.api_core import gapic_v1
2625
from google.api_core import retry as retries
27-
import google.auth # type: ignore
26+
from google.api_core import operations_v1
2827
from google.auth import credentials as ga_credentials # type: ignore
29-
from google.cloud.location import locations_pb2 # type: ignore
30-
from google.longrunning import operations_pb2 # type: ignore
3128
from google.oauth2 import service_account # type: ignore
3229
import google.protobuf
33-
from google.protobuf import empty_pb2 # type: ignore
3430

35-
from google.cloud.firestore_admin_v1 import gapic_version as package_version
36-
from google.cloud.firestore_admin_v1.types import (
37-
backup,
38-
database,
39-
field,
40-
firestore_admin,
41-
index,
42-
schedule,
43-
)
31+
from google.cloud.firestore_admin_v1.types import backup
32+
from google.cloud.firestore_admin_v1.types import database
33+
from google.cloud.firestore_admin_v1.types import field
34+
from google.cloud.firestore_admin_v1.types import firestore_admin
35+
from google.cloud.firestore_admin_v1.types import index
36+
from google.cloud.firestore_admin_v1.types import schedule
4437
from google.cloud.firestore_admin_v1.types import user_creds
4538
from google.cloud.firestore_admin_v1.types import user_creds as gfa_user_creds
39+
from google.cloud.location import locations_pb2 # type: ignore
40+
from google.longrunning import operations_pb2 # type: ignore
41+
from google.protobuf import empty_pb2 # type: ignore
4642

4743
DEFAULT_CLIENT_INFO = gapic_v1.client_info.ClientInfo(
4844
gapic_version=package_version.__version__

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

Lines changed: 15 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -13,40 +13,36 @@
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
import json
2117
import logging as std_logging
2218
import pickle
23-
from typing import Callable, Dict, Optional, Sequence, Tuple, Union
2419
import warnings
20+
from typing import Callable, Dict, Optional, Sequence, Tuple, Union
2521

26-
from google.api_core import gapic_v1, grpc_helpers, operations_v1
22+
from google.api_core import grpc_helpers
23+
from google.api_core import operations_v1
24+
from google.api_core import gapic_v1
2725
import google.auth # type: ignore
2826
from google.auth import credentials as ga_credentials # type: ignore
2927
from google.auth.transport.grpc import SslCredentials # type: ignore
30-
from google.cloud.location import locations_pb2 # type: ignore
31-
from google.longrunning import operations_pb2 # type: ignore
32-
from google.protobuf import empty_pb2 # type: ignore
3328
from google.protobuf.json_format import MessageToJson
3429
import google.protobuf.message
30+
3531
import grpc # type: ignore
3632
import proto # type: ignore
3733

38-
from google.cloud.firestore_admin_v1.types import (
39-
backup,
40-
database,
41-
field,
42-
firestore_admin,
43-
index,
44-
schedule,
45-
)
34+
from google.cloud.firestore_admin_v1.types import backup
35+
from google.cloud.firestore_admin_v1.types import database
36+
from google.cloud.firestore_admin_v1.types import field
37+
from google.cloud.firestore_admin_v1.types import firestore_admin
38+
from google.cloud.firestore_admin_v1.types import index
39+
from google.cloud.firestore_admin_v1.types import schedule
4640
from google.cloud.firestore_admin_v1.types import user_creds
4741
from google.cloud.firestore_admin_v1.types import user_creds as gfa_user_creds
48-
49-
from .base import DEFAULT_CLIENT_INFO, FirestoreAdminTransport
42+
from google.cloud.location import locations_pb2 # type: ignore
43+
from google.longrunning import operations_pb2 # type: ignore
44+
from google.protobuf import empty_pb2 # type: ignore
45+
from .base import FirestoreAdminTransport, DEFAULT_CLIENT_INFO
5046

5147
try:
5248
from google.api_core import client_logging # type: ignore

0 commit comments

Comments
 (0)