Skip to content

Commit 41b5ea0

Browse files
gcf-owl-bot[bot]vchudnov-gdaniel-sanche
authored
docs: Minor formatting (#757)
* docs: Minor formatting chore: Update gapic-generator-python to v1.11.5 build: Update rules_python to 0.24.0 PiperOrigin-RevId: 563436317 Source-Link: googleapis/googleapis@42fd37b Source-Link: googleapis/googleapis-gen@280264c Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMjgwMjY0Y2EwMmZiOTMxNmI0MjM3YTk2ZDBhZjFhMjM0M2E4MWE1NiJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Victor Chudnovsky <[email protected]> Co-authored-by: Daniel Sanche <[email protected]>
1 parent d0d3054 commit 41b5ea0

File tree

23 files changed

+61
-15
lines changed

23 files changed

+61
-15
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
from google.cloud.firestore_admin_v1.types import index as gfa_index
5555
from google.cloud.firestore_admin_v1.types import operation as gfa_operation
5656
from google.cloud.location import locations_pb2 # type: ignore
57-
from google.longrunning import operations_pb2
57+
from google.longrunning import operations_pb2 # type: ignore
5858
from google.protobuf import empty_pb2 # type: ignore
5959
from google.protobuf import field_mask_pb2 # type: ignore
6060
from .transports.base import FirestoreAdminTransport, DEFAULT_CLIENT_INFO
@@ -1453,6 +1453,7 @@ async def sample_create_database():
14531453
database, which will become the final
14541454
component of the database's resource
14551455
name.
1456+
14561457
The value must be set to "(default)".
14571458
14581459
This corresponds to the ``database_id`` field

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
from google.cloud.firestore_admin_v1.types import index as gfa_index
5959
from google.cloud.firestore_admin_v1.types import operation as gfa_operation
6060
from google.cloud.location import locations_pb2 # type: ignore
61-
from google.longrunning import operations_pb2
61+
from google.longrunning import operations_pb2 # type: ignore
6262
from google.protobuf import empty_pb2 # type: ignore
6363
from google.protobuf import field_mask_pb2 # type: ignore
6464
from .transports.base import FirestoreAdminTransport, DEFAULT_CLIENT_INFO
@@ -1684,6 +1684,7 @@ def sample_create_database():
16841684
database, which will become the final
16851685
component of the database's resource
16861686
name.
1687+
16871688
The value must be set to "(default)".
16881689
16891690
This corresponds to the ``database_id`` field

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
from google.cloud.firestore_admin_v1.types import firestore_admin
3333
from google.cloud.firestore_admin_v1.types import index
3434
from google.cloud.location import locations_pb2 # type: ignore
35-
from google.longrunning import operations_pb2
3635
from google.longrunning import operations_pb2 # type: ignore
3736
from google.protobuf import empty_pb2 # type: ignore
3837

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
from google.cloud.firestore_admin_v1.types import firestore_admin
3131
from google.cloud.firestore_admin_v1.types import index
3232
from google.cloud.location import locations_pb2 # type: ignore
33-
from google.longrunning import operations_pb2
3433
from google.longrunning import operations_pb2 # type: ignore
3534
from google.protobuf import empty_pb2 # type: ignore
3635
from .base import FirestoreAdminTransport, DEFAULT_CLIENT_INFO

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
from google.cloud.firestore_admin_v1.types import firestore_admin
3131
from google.cloud.firestore_admin_v1.types import index
3232
from google.cloud.location import locations_pb2 # type: ignore
33-
from google.longrunning import operations_pb2
3433
from google.longrunning import operations_pb2 # type: ignore
3534
from google.protobuf import empty_pb2 # type: ignore
3635
from .base import FirestoreAdminTransport, DEFAULT_CLIENT_INFO

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
from google.protobuf import json_format
3030
from google.api_core import operations_v1
3131
from google.cloud.location import locations_pb2 # type: ignore
32-
from google.longrunning import operations_pb2
3332
from requests import __version__ as requests_version
3433
import dataclasses
3534
import re
@@ -46,8 +45,8 @@
4645
from google.cloud.firestore_admin_v1.types import field
4746
from google.cloud.firestore_admin_v1.types import firestore_admin
4847
from google.cloud.firestore_admin_v1.types import index
49-
from google.longrunning import operations_pb2 # type: ignore
5048
from google.protobuf import empty_pb2 # type: ignore
49+
from google.longrunning import operations_pb2 # type: ignore
5150

5251
from .base import (
5352
FirestoreAdminTransport,

google/cloud/firestore_admin_v1/types/database.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,12 +104,14 @@ class ConcurrencyMode(proto.Enum):
104104
Use pessimistic concurrency control by
105105
default. This mode is available for Cloud
106106
Firestore databases.
107+
107108
This is the default setting for Cloud Firestore.
108109
OPTIMISTIC_WITH_ENTITY_GROUPS (3):
109110
Use optimistic concurrency control with
110111
entity groups by default.
111112
This is the only available mode for Cloud
112113
Datastore.
114+
113115
This mode is also available for Cloud Firestore
114116
with Datastore Mode but is not recommended.
115117
"""

google/cloud/firestore_admin_v1/types/field.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232

3333
class Field(proto.Message):
3434
r"""Represents a single field in the database.
35+
3536
Fields are grouped by their "Collection Group", which represent
3637
all collections in the database with the same id.
3738

google/cloud/firestore_admin_v1/types/firestore_admin.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ class CreateDatabaseRequest(proto.Message):
8080
Required. The ID to use for the database,
8181
which will become the final component of the
8282
database's resource name.
83+
8384
The value must be set to "(default)".
8485
"""
8586

google/cloud/firestore_admin_v1/types/index.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ class Index(proto.Message):
4444
that is the child of a specific document,
4545
specified at query time, and that has the same
4646
collection id.
47+
4748
Indexes with a collection group query scope
4849
specified allow queries against all collections
4950
descended from a specific document, specified at

0 commit comments

Comments
 (0)