Skip to content

Commit 498dba2

Browse files
docs: Minor formatting (#1006)
* 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>
1 parent 43d7aec commit 498dba2

File tree

24 files changed

+59
-37
lines changed

24 files changed

+59
-37
lines changed

google/cloud/spanner_admin_database_v1/services/database_admin/async_client.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
from google.cloud.spanner_admin_database_v1.types import spanner_database_admin
5252
from google.iam.v1 import iam_policy_pb2 # type: ignore
5353
from google.iam.v1 import policy_pb2 # type: ignore
54-
from google.longrunning import operations_pb2
54+
from google.longrunning import operations_pb2 # type: ignore
5555
from google.longrunning import operations_pb2 # type: ignore
5656
from google.protobuf import empty_pb2 # type: ignore
5757
from google.protobuf import field_mask_pb2 # type: ignore
@@ -1257,8 +1257,8 @@ async def sample_set_iam_policy():
12571257
The request object. Request message for ``SetIamPolicy`` method.
12581258
resource (:class:`str`):
12591259
REQUIRED: The resource for which the
1260-
policy is being specified.
1261-
See the operation documentation for the
1260+
policy is being specified. See the
1261+
operation documentation for the
12621262
appropriate value for this field.
12631263
12641264
This corresponds to the ``resource`` field
@@ -1400,8 +1400,8 @@ async def sample_get_iam_policy():
14001400
The request object. Request message for ``GetIamPolicy`` method.
14011401
resource (:class:`str`):
14021402
REQUIRED: The resource for which the
1403-
policy is being requested.
1404-
See the operation documentation for the
1403+
policy is being requested. See the
1404+
operation documentation for the
14051405
appropriate value for this field.
14061406
14071407
This corresponds to the ``resource`` field
@@ -1555,8 +1555,8 @@ async def sample_test_iam_permissions():
15551555
The request object. Request message for ``TestIamPermissions`` method.
15561556
resource (:class:`str`):
15571557
REQUIRED: The resource for which the
1558-
policy detail is being requested.
1559-
See the operation documentation for the
1558+
policy detail is being requested. See
1559+
the operation documentation for the
15601560
appropriate value for this field.
15611561
15621562
This corresponds to the ``resource`` field

google/cloud/spanner_admin_database_v1/services/database_admin/client.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
from google.cloud.spanner_admin_database_v1.types import spanner_database_admin
5656
from google.iam.v1 import iam_policy_pb2 # type: ignore
5757
from google.iam.v1 import policy_pb2 # type: ignore
58-
from google.longrunning import operations_pb2
58+
from google.longrunning import operations_pb2 # type: ignore
5959
from google.longrunning import operations_pb2 # type: ignore
6060
from google.protobuf import empty_pb2 # type: ignore
6161
from google.protobuf import field_mask_pb2 # type: ignore
@@ -1523,8 +1523,8 @@ def sample_set_iam_policy():
15231523
The request object. Request message for ``SetIamPolicy`` method.
15241524
resource (str):
15251525
REQUIRED: The resource for which the
1526-
policy is being specified.
1527-
See the operation documentation for the
1526+
policy is being specified. See the
1527+
operation documentation for the
15281528
appropriate value for this field.
15291529
15301530
This corresponds to the ``resource`` field
@@ -1663,8 +1663,8 @@ def sample_get_iam_policy():
16631663
The request object. Request message for ``GetIamPolicy`` method.
16641664
resource (str):
16651665
REQUIRED: The resource for which the
1666-
policy is being requested.
1667-
See the operation documentation for the
1666+
policy is being requested. See the
1667+
operation documentation for the
16681668
appropriate value for this field.
16691669
16701670
This corresponds to the ``resource`` field
@@ -1805,8 +1805,8 @@ def sample_test_iam_permissions():
18051805
The request object. Request message for ``TestIamPermissions`` method.
18061806
resource (str):
18071807
REQUIRED: The resource for which the
1808-
policy detail is being requested.
1809-
See the operation documentation for the
1808+
policy detail is being requested. See
1809+
the operation documentation for the
18101810
appropriate value for this field.
18111811
18121812
This corresponds to the ``resource`` field

google/cloud/spanner_admin_database_v1/services/database_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.spanner_admin_database_v1.types import spanner_database_admin
3333
from google.iam.v1 import iam_policy_pb2 # type: ignore
3434
from google.iam.v1 import policy_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/spanner_admin_database_v1/services/database_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.spanner_admin_database_v1.types import spanner_database_admin
3131
from google.iam.v1 import iam_policy_pb2 # type: ignore
3232
from google.iam.v1 import policy_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 DatabaseAdminTransport, DEFAULT_CLIENT_INFO

google/cloud/spanner_admin_database_v1/services/database_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.spanner_admin_database_v1.types import spanner_database_admin
3131
from google.iam.v1 import iam_policy_pb2 # type: ignore
3232
from google.iam.v1 import policy_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 DatabaseAdminTransport, DEFAULT_CLIENT_INFO

google/cloud/spanner_admin_database_v1/services/database_admin/transports/rest.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828

2929
from google.protobuf import json_format
3030
from google.api_core import operations_v1
31-
from google.longrunning import operations_pb2
3231
from requests import __version__ as requests_version
3332
import dataclasses
3433
import re
@@ -46,8 +45,8 @@
4645
from google.cloud.spanner_admin_database_v1.types import spanner_database_admin
4746
from google.iam.v1 import iam_policy_pb2 # type: ignore
4847
from google.iam.v1 import policy_pb2 # type: ignore
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
DatabaseAdminTransport,

google/cloud/spanner_admin_database_v1/types/spanner_database_admin.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ class Database(proto.Message):
131131
the encryption information for the database,
132132
such as encryption state and the Cloud KMS key
133133
versions that are in use.
134+
134135
For databases that are using Google default or
135136
other types of encryption, this field is empty.
136137

google/cloud/spanner_admin_instance_v1/services/instance_admin/async_client.py

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,12 @@
5858

5959
class InstanceAdminAsyncClient:
6060
"""Cloud Spanner Instance Admin API
61+
6162
The Cloud Spanner Instance Admin API can be used to create,
6263
delete, modify and list instances. Instances are dedicated Cloud
6364
Spanner serving and storage resources to be used by Cloud
6465
Spanner databases.
66+
6567
Each instance has a "configuration", which dictates where the
6668
serving resources for the Cloud Spanner instance are located
6769
(e.g., US-central, Europe). Configurations are created by Google
@@ -1879,8 +1881,8 @@ async def sample_set_iam_policy():
18791881
The request object. Request message for ``SetIamPolicy`` method.
18801882
resource (:class:`str`):
18811883
REQUIRED: The resource for which the
1882-
policy is being specified.
1883-
See the operation documentation for the
1884+
policy is being specified. See the
1885+
operation documentation for the
18841886
appropriate value for this field.
18851887
18861888
This corresponds to the ``resource`` field
@@ -2018,8 +2020,8 @@ async def sample_get_iam_policy():
20182020
The request object. Request message for ``GetIamPolicy`` method.
20192021
resource (:class:`str`):
20202022
REQUIRED: The resource for which the
2021-
policy is being requested.
2022-
See the operation documentation for the
2023+
policy is being requested. See the
2024+
operation documentation for the
20232025
appropriate value for this field.
20242026
20252027
This corresponds to the ``resource`` field
@@ -2170,8 +2172,8 @@ async def sample_test_iam_permissions():
21702172
The request object. Request message for ``TestIamPermissions`` method.
21712173
resource (:class:`str`):
21722174
REQUIRED: The resource for which the
2173-
policy detail is being requested.
2174-
See the operation documentation for the
2175+
policy detail is being requested. See
2176+
the operation documentation for the
21752177
appropriate value for this field.
21762178
21772179
This corresponds to the ``resource`` field

google/cloud/spanner_admin_instance_v1/services/instance_admin/client.py

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,12 @@ def get_transport_class(
9898

9999
class InstanceAdminClient(metaclass=InstanceAdminClientMeta):
100100
"""Cloud Spanner Instance Admin API
101+
101102
The Cloud Spanner Instance Admin API can be used to create,
102103
delete, modify and list instances. Instances are dedicated Cloud
103104
Spanner serving and storage resources to be used by Cloud
104105
Spanner databases.
106+
105107
Each instance has a "configuration", which dictates where the
106108
serving resources for the Cloud Spanner instance are located
107109
(e.g., US-central, Europe). Configurations are created by Google
@@ -2073,8 +2075,8 @@ def sample_set_iam_policy():
20732075
The request object. Request message for ``SetIamPolicy`` method.
20742076
resource (str):
20752077
REQUIRED: The resource for which the
2076-
policy is being specified.
2077-
See the operation documentation for the
2078+
policy is being specified. See the
2079+
operation documentation for the
20782080
appropriate value for this field.
20792081
20802082
This corresponds to the ``resource`` field
@@ -2209,8 +2211,8 @@ def sample_get_iam_policy():
22092211
The request object. Request message for ``GetIamPolicy`` method.
22102212
resource (str):
22112213
REQUIRED: The resource for which the
2212-
policy is being requested.
2213-
See the operation documentation for the
2214+
policy is being requested. See the
2215+
operation documentation for the
22142216
appropriate value for this field.
22152217
22162218
This corresponds to the ``resource`` field
@@ -2348,8 +2350,8 @@ def sample_test_iam_permissions():
23482350
The request object. Request message for ``TestIamPermissions`` method.
23492351
resource (str):
23502352
REQUIRED: The resource for which the
2351-
policy detail is being requested.
2352-
See the operation documentation for the
2353+
policy detail is being requested. See
2354+
the operation documentation for the
23532355
appropriate value for this field.
23542356
23552357
This corresponds to the ``resource`` field

google/cloud/spanner_admin_instance_v1/services/instance_admin/transports/grpc.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,12 @@ class InstanceAdminGrpcTransport(InstanceAdminTransport):
3737
"""gRPC backend transport for InstanceAdmin.
3838
3939
Cloud Spanner Instance Admin API
40+
4041
The Cloud Spanner Instance Admin API can be used to create,
4142
delete, modify and list instances. Instances are dedicated Cloud
4243
Spanner serving and storage resources to be used by Cloud
4344
Spanner databases.
45+
4446
Each instance has a "configuration", which dictates where the
4547
serving resources for the Cloud Spanner instance are located
4648
(e.g., US-central, Europe). Configurations are created by Google

0 commit comments

Comments
 (0)