Skip to content

Commit

Permalink
chore: Update gapic-generator-python to v1.11.3 (#830)
Browse files Browse the repository at this point in the history
* chore: Update gapic-generator-python to v1.11.3

PiperOrigin-RevId: 546899192

Source-Link: googleapis/googleapis@e6b1691

Source-Link: googleapis/googleapis-gen@0b3917c
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMGIzOTE3YzQyMWNiZGE3ZmNiNjcwOTJlMTZjMzNmM2VhNDZmNGJjNyJ9

* 🦉 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>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] committed Jul 10, 2023
1 parent 275fb33 commit 4778d92
Show file tree
Hide file tree
Showing 13 changed files with 88 additions and 73 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1883,8 +1883,8 @@ async def get_iam_policy(
The request object. Request message for ``GetIamPolicy`` method.
resource (:class:`str`):
REQUIRED: The resource for which the
policy is being requested. See the
operation documentation for the
policy is being requested.
See the operation documentation for the
appropriate value for this field.
This corresponds to the ``resource`` field
Expand Down Expand Up @@ -2032,8 +2032,8 @@ async def set_iam_policy(
The request object. Request message for ``SetIamPolicy`` method.
resource (:class:`str`):
REQUIRED: The resource for which the
policy is being specified. See the
operation documentation for the
policy is being specified.
See the operation documentation for the
appropriate value for this field.
This corresponds to the ``resource`` field
Expand Down Expand Up @@ -2172,8 +2172,8 @@ async def test_iam_permissions(
The request object. Request message for ``TestIamPermissions`` method.
resource (:class:`str`):
REQUIRED: The resource for which the
policy detail is being requested. See
the operation documentation for the
policy detail is being requested.
See the operation documentation for the
appropriate value for this field.
This corresponds to the ``resource`` field
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2107,8 +2107,8 @@ def get_iam_policy(
The request object. Request message for ``GetIamPolicy`` method.
resource (str):
REQUIRED: The resource for which the
policy is being requested. See the
operation documentation for the
policy is being requested.
See the operation documentation for the
appropriate value for this field.
This corresponds to the ``resource`` field
Expand Down Expand Up @@ -2243,8 +2243,8 @@ def set_iam_policy(
The request object. Request message for ``SetIamPolicy`` method.
resource (str):
REQUIRED: The resource for which the
policy is being specified. See the
operation documentation for the
policy is being specified.
See the operation documentation for the
appropriate value for this field.
This corresponds to the ``resource`` field
Expand Down Expand Up @@ -2380,8 +2380,8 @@ def test_iam_permissions(
The request object. Request message for ``TestIamPermissions`` method.
resource (str):
REQUIRED: The resource for which the
policy detail is being requested. See
the operation documentation for the
policy detail is being requested.
See the operation documentation for the
appropriate value for this field.
This corresponds to the ``resource`` field
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2301,8 +2301,8 @@ async def get_iam_policy(
The request object. Request message for ``GetIamPolicy`` method.
resource (:class:`str`):
REQUIRED: The resource for which the
policy is being requested. See the
operation documentation for the
policy is being requested.
See the operation documentation for the
appropriate value for this field.
This corresponds to the ``resource`` field
Expand Down Expand Up @@ -2450,8 +2450,8 @@ async def set_iam_policy(
The request object. Request message for ``SetIamPolicy`` method.
resource (:class:`str`):
REQUIRED: The resource for which the
policy is being specified. See the
operation documentation for the
policy is being specified.
See the operation documentation for the
appropriate value for this field.
This corresponds to the ``resource`` field
Expand Down Expand Up @@ -2590,8 +2590,8 @@ async def test_iam_permissions(
The request object. Request message for ``TestIamPermissions`` method.
resource (:class:`str`):
REQUIRED: The resource for which the
policy detail is being requested. See
the operation documentation for the
policy detail is being requested.
See the operation documentation for the
appropriate value for this field.
This corresponds to the ``resource`` field
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2556,8 +2556,8 @@ def get_iam_policy(
The request object. Request message for ``GetIamPolicy`` method.
resource (str):
REQUIRED: The resource for which the
policy is being requested. See the
operation documentation for the
policy is being requested.
See the operation documentation for the
appropriate value for this field.
This corresponds to the ``resource`` field
Expand Down Expand Up @@ -2692,8 +2692,8 @@ def set_iam_policy(
The request object. Request message for ``SetIamPolicy`` method.
resource (str):
REQUIRED: The resource for which the
policy is being specified. See the
operation documentation for the
policy is being specified.
See the operation documentation for the
appropriate value for this field.
This corresponds to the ``resource`` field
Expand Down Expand Up @@ -2829,8 +2829,8 @@ def test_iam_permissions(
The request object. Request message for ``TestIamPermissions`` method.
resource (str):
REQUIRED: The resource for which the
policy detail is being requested. See
the operation documentation for the
policy detail is being requested.
See the operation documentation for the
appropriate value for this field.
This corresponds to the ``resource`` field
Expand Down
4 changes: 2 additions & 2 deletions google/cloud/bigtable_admin_v2/types/instance.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ class Type(proto.Enum):
be set on the cluster.
DEVELOPMENT (2):
DEPRECATED: Prefer PRODUCTION for all use
cases, as it no longer enforces a higher minimum
node count than DEVELOPMENT.
cases, as it no longer enforces
a higher minimum node count than DEVELOPMENT.
"""
TYPE_UNSPECIFIED = 0
PRODUCTION = 1
Expand Down
4 changes: 2 additions & 2 deletions google/cloud/bigtable_admin_v2/types/table.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,8 @@ class Table(proto.Message):
deletion_protection (bool):
Set to true to make the table protected
against data loss. i.e. deleting the following
resources through Admin APIs are prohibited: -
The table.
resources through Admin APIs are prohibited:
- The table.
- The column families in the table.
- The instance containing the table.
Note one can still delete the data stored in the
Expand Down
25 changes: 14 additions & 11 deletions google/cloud/bigtable_v2/services/bigtable/async_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -1030,8 +1030,8 @@ def generate_initial_change_stream_partitions(
Args:
request (Optional[Union[google.cloud.bigtable_v2.types.GenerateInitialChangeStreamPartitionsRequest, dict]]):
The request object. NOTE: This API is intended to be used
by Apache Beam BigtableIO. Request
message for
by Apache Beam BigtableIO.
Request message for
Bigtable.GenerateInitialChangeStreamPartitions.
table_name (:class:`str`):
Required. The unique name of the table from which to get
Expand Down Expand Up @@ -1061,8 +1061,8 @@ def generate_initial_change_stream_partitions(
Returns:
AsyncIterable[google.cloud.bigtable_v2.types.GenerateInitialChangeStreamPartitionsResponse]:
NOTE: This API is intended to be used
by Apache Beam BigtableIO. Response
message for
by Apache Beam BigtableIO.
Response message for
Bigtable.GenerateInitialChangeStreamPartitions.
"""
Expand Down Expand Up @@ -1123,15 +1123,17 @@ def read_change_stream(
metadata: Sequence[Tuple[str, str]] = (),
) -> Awaitable[AsyncIterable[bigtable.ReadChangeStreamResponse]]:
r"""NOTE: This API is intended to be used by Apache Beam
BigtableIO. Reads changes from a table's change stream.
Changes will reflect both user-initiated mutations and
mutations that are caused by garbage collection.
BigtableIO.
Reads changes from a table's change stream. Changes will
reflect both user-initiated mutations and mutations that
are caused by garbage collection.
Args:
request (Optional[Union[google.cloud.bigtable_v2.types.ReadChangeStreamRequest, dict]]):
The request object. NOTE: This API is intended to be used
by Apache Beam BigtableIO. Request
message for Bigtable.ReadChangeStream.
by Apache Beam BigtableIO.
Request message for
Bigtable.ReadChangeStream.
table_name (:class:`str`):
Required. The unique name of the table from which to
read a change stream. Values are of the form
Expand Down Expand Up @@ -1160,8 +1162,9 @@ def read_change_stream(
Returns:
AsyncIterable[google.cloud.bigtable_v2.types.ReadChangeStreamResponse]:
NOTE: This API is intended to be used
by Apache Beam BigtableIO. Response
message for Bigtable.ReadChangeStream.
by Apache Beam BigtableIO.
Response message for
Bigtable.ReadChangeStream.
"""
# Create or coerce a protobuf request object.
Expand Down
25 changes: 14 additions & 11 deletions google/cloud/bigtable_v2/services/bigtable/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -1330,8 +1330,8 @@ def generate_initial_change_stream_partitions(
Args:
request (Union[google.cloud.bigtable_v2.types.GenerateInitialChangeStreamPartitionsRequest, dict]):
The request object. NOTE: This API is intended to be used
by Apache Beam BigtableIO. Request
message for
by Apache Beam BigtableIO.
Request message for
Bigtable.GenerateInitialChangeStreamPartitions.
table_name (str):
Required. The unique name of the table from which to get
Expand Down Expand Up @@ -1361,8 +1361,8 @@ def generate_initial_change_stream_partitions(
Returns:
Iterable[google.cloud.bigtable_v2.types.GenerateInitialChangeStreamPartitionsResponse]:
NOTE: This API is intended to be used
by Apache Beam BigtableIO. Response
message for
by Apache Beam BigtableIO.
Response message for
Bigtable.GenerateInitialChangeStreamPartitions.
"""
Expand Down Expand Up @@ -1427,15 +1427,17 @@ def read_change_stream(
metadata: Sequence[Tuple[str, str]] = (),
) -> Iterable[bigtable.ReadChangeStreamResponse]:
r"""NOTE: This API is intended to be used by Apache Beam
BigtableIO. Reads changes from a table's change stream.
Changes will reflect both user-initiated mutations and
mutations that are caused by garbage collection.
BigtableIO.
Reads changes from a table's change stream. Changes will
reflect both user-initiated mutations and mutations that
are caused by garbage collection.
Args:
request (Union[google.cloud.bigtable_v2.types.ReadChangeStreamRequest, dict]):
The request object. NOTE: This API is intended to be used
by Apache Beam BigtableIO. Request
message for Bigtable.ReadChangeStream.
by Apache Beam BigtableIO.
Request message for
Bigtable.ReadChangeStream.
table_name (str):
Required. The unique name of the table from which to
read a change stream. Values are of the form
Expand Down Expand Up @@ -1464,8 +1466,9 @@ def read_change_stream(
Returns:
Iterable[google.cloud.bigtable_v2.types.ReadChangeStreamResponse]:
NOTE: This API is intended to be used
by Apache Beam BigtableIO. Response
message for Bigtable.ReadChangeStream.
by Apache Beam BigtableIO.
Response message for
Bigtable.ReadChangeStream.
"""
# Create or coerce a protobuf request object.
Expand Down
7 changes: 4 additions & 3 deletions google/cloud/bigtable_v2/services/bigtable/transports/grpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -481,9 +481,10 @@ def read_change_stream(
r"""Return a callable for the read change stream method over gRPC.
NOTE: This API is intended to be used by Apache Beam
BigtableIO. Reads changes from a table's change stream.
Changes will reflect both user-initiated mutations and
mutations that are caused by garbage collection.
BigtableIO.
Reads changes from a table's change stream. Changes will
reflect both user-initiated mutations and mutations that
are caused by garbage collection.
Returns:
Callable[[~.ReadChangeStreamRequest],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -490,9 +490,10 @@ def read_change_stream(
r"""Return a callable for the read change stream method over gRPC.
NOTE: This API is intended to be used by Apache Beam
BigtableIO. Reads changes from a table's change stream.
Changes will reflect both user-initiated mutations and
mutations that are caused by garbage collection.
BigtableIO.
Reads changes from a table's change stream. Changes will
reflect both user-initiated mutations and mutations that
are caused by garbage collection.
Returns:
Callable[[~.ReadChangeStreamRequest],
Expand Down
18 changes: 10 additions & 8 deletions google/cloud/bigtable_v2/services/bigtable/transports/rest.py
Original file line number Diff line number Diff line change
Expand Up @@ -571,8 +571,8 @@ def __call__(
Args:
request (~.bigtable.GenerateInitialChangeStreamPartitionsRequest):
The request object. NOTE: This API is intended to be used
by Apache Beam BigtableIO. Request
message for
by Apache Beam BigtableIO.
Request message for
Bigtable.GenerateInitialChangeStreamPartitions.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
Expand All @@ -583,8 +583,8 @@ def __call__(
Returns:
~.bigtable.GenerateInitialChangeStreamPartitionsResponse:
NOTE: This API is intended to be used
by Apache Beam BigtableIO. Response
message for
by Apache Beam BigtableIO.
Response message for
Bigtable.GenerateInitialChangeStreamPartitions.
"""
Expand Down Expand Up @@ -975,8 +975,9 @@ def __call__(
Args:
request (~.bigtable.ReadChangeStreamRequest):
The request object. NOTE: This API is intended to be used
by Apache Beam BigtableIO. Request
message for Bigtable.ReadChangeStream.
by Apache Beam BigtableIO.
Request message for
Bigtable.ReadChangeStream.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand All @@ -986,8 +987,9 @@ def __call__(
Returns:
~.bigtable.ReadChangeStreamResponse:
NOTE: This API is intended to be used
by Apache Beam BigtableIO. Response
message for Bigtable.ReadChangeStream.
by Apache Beam BigtableIO.
Response message for
Bigtable.ReadChangeStream.
"""

Expand Down
12 changes: 8 additions & 4 deletions google/cloud/bigtable_v2/types/bigtable.py
Original file line number Diff line number Diff line change
Expand Up @@ -749,7 +749,8 @@ class ReadModifyWriteRowResponse(proto.Message):

class GenerateInitialChangeStreamPartitionsRequest(proto.Message):
r"""NOTE: This API is intended to be used by Apache Beam
BigtableIO. Request message for
BigtableIO.
Request message for
Bigtable.GenerateInitialChangeStreamPartitions.
Attributes:
Expand Down Expand Up @@ -777,7 +778,8 @@ class GenerateInitialChangeStreamPartitionsRequest(proto.Message):

class GenerateInitialChangeStreamPartitionsResponse(proto.Message):
r"""NOTE: This API is intended to be used by Apache Beam
BigtableIO. Response message for
BigtableIO.
Response message for
Bigtable.GenerateInitialChangeStreamPartitions.
Attributes:
Expand All @@ -794,7 +796,8 @@ class GenerateInitialChangeStreamPartitionsResponse(proto.Message):

class ReadChangeStreamRequest(proto.Message):
r"""NOTE: This API is intended to be used by Apache Beam
BigtableIO. Request message for Bigtable.ReadChangeStream.
BigtableIO.
Request message for Bigtable.ReadChangeStream.
This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Expand Down Expand Up @@ -890,7 +893,8 @@ class ReadChangeStreamRequest(proto.Message):

class ReadChangeStreamResponse(proto.Message):
r"""NOTE: This API is intended to be used by Apache Beam
BigtableIO. Response message for Bigtable.ReadChangeStream.
BigtableIO.
Response message for Bigtable.ReadChangeStream.
This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Expand Down

0 comments on commit 4778d92

Please sign in to comment.