Skip to content
This repository has been archived by the owner on Sep 5, 2023. It is now read-only.

Commit

Permalink
docs: Fix formatting of request arg in docstring (#165)
Browse files Browse the repository at this point in the history
* chore: Update gapic-generator-python to v1.9.0

PiperOrigin-RevId: 517425588

Source-Link: googleapis/googleapis@33c93eb

Source-Link: googleapis/googleapis-gen@d5f5978
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZDVmNTk3ODlkMTlmYzQzMjcwZmYyMTI0OTY3ZDRlYzg5OTJiOGU4ZiJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* docs: Fix formatting of request arg in docstring

chore: Update gapic-generator-python to v1.9.1
PiperOrigin-RevId: 518604533

Source-Link: googleapis/googleapis@8a085ae

Source-Link: googleapis/googleapis-gen@b2ab4b0
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYjJhYjRiMGEwYWUyOTA3ZTgxMmMyMDkxOThhNzRlMDg5OGFmY2IwNCJ9

* 🦉 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 Mar 23, 2023
1 parent f202424 commit e44614b
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 36 deletions.
Binary file modified datastream-v1alpha1-py.tar.gz
Binary file not shown.
16 changes: 9 additions & 7 deletions google/cloud/datastream_v1/services/datastream/async_client.py
Expand Up @@ -1114,8 +1114,7 @@ async def sample_get_stream():
Args:
request (Optional[Union[google.cloud.datastream_v1.types.GetStreamRequest, dict]]):
The request object. Request message for getting a
stream.
The request object. Request message for getting a stream.
name (:class:`str`):
Required. The name of the stream
resource to get.
Expand Down Expand Up @@ -1731,7 +1730,8 @@ async def sample_lookup_stream_object():
Args:
request (Optional[Union[google.cloud.datastream_v1.types.LookupStreamObjectRequest, dict]]):
The request object. Request for looking up a specific
stream object by its source object identifier.
stream object by its source object
identifier.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -1813,8 +1813,8 @@ async def sample_list_stream_objects():
Args:
request (Optional[Union[google.cloud.datastream_v1.types.ListStreamObjectsRequest, dict]]):
The request object. Request for listing all objects for
a specific stream.
The request object. Request for listing all objects for a
specific stream.
parent (:class:`str`):
Required. The parent stream that owns
the collection of objects.
Expand Down Expand Up @@ -1929,7 +1929,8 @@ async def sample_start_backfill_job():
Args:
request (Optional[Union[google.cloud.datastream_v1.types.StartBackfillJobRequest, dict]]):
The request object. Request for manually initiating a
backfill job for a specific stream object.
backfill job for a specific stream
object.
object_ (:class:`str`):
Required. The name of the stream
object resource to start a backfill job
Expand Down Expand Up @@ -2034,7 +2035,8 @@ async def sample_stop_backfill_job():
Args:
request (Optional[Union[google.cloud.datastream_v1.types.StopBackfillJobRequest, dict]]):
The request object. Request for manually stopping a
running backfill job for a specific stream object.
running backfill job for a specific
stream object.
object_ (:class:`str`):
Required. The name of the stream
object resource to stop the backfill job
Expand Down
16 changes: 9 additions & 7 deletions google/cloud/datastream_v1/services/datastream/client.py
Expand Up @@ -1453,8 +1453,7 @@ def sample_get_stream():
Args:
request (Union[google.cloud.datastream_v1.types.GetStreamRequest, dict]):
The request object. Request message for getting a
stream.
The request object. Request message for getting a stream.
name (str):
Required. The name of the stream
resource to get.
Expand Down Expand Up @@ -2070,7 +2069,8 @@ def sample_lookup_stream_object():
Args:
request (Union[google.cloud.datastream_v1.types.LookupStreamObjectRequest, dict]):
The request object. Request for looking up a specific
stream object by its source object identifier.
stream object by its source object
identifier.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -2153,8 +2153,8 @@ def sample_list_stream_objects():
Args:
request (Union[google.cloud.datastream_v1.types.ListStreamObjectsRequest, dict]):
The request object. Request for listing all objects for
a specific stream.
The request object. Request for listing all objects for a
specific stream.
parent (str):
Required. The parent stream that owns
the collection of objects.
Expand Down Expand Up @@ -2269,7 +2269,8 @@ def sample_start_backfill_job():
Args:
request (Union[google.cloud.datastream_v1.types.StartBackfillJobRequest, dict]):
The request object. Request for manually initiating a
backfill job for a specific stream object.
backfill job for a specific stream
object.
object_ (str):
Required. The name of the stream
object resource to start a backfill job
Expand Down Expand Up @@ -2374,7 +2375,8 @@ def sample_stop_backfill_job():
Args:
request (Union[google.cloud.datastream_v1.types.StopBackfillJobRequest, dict]):
The request object. Request for manually stopping a
running backfill job for a specific stream object.
running backfill job for a specific
stream object.
object_ (str):
Required. The name of the stream
object resource to stop the backfill job
Expand Down
18 changes: 0 additions & 18 deletions google/cloud/datastream_v1/services/datastream/transports/rest.py
Expand Up @@ -1165,7 +1165,6 @@ def __call__(
request (~.datastream.CreateConnectionProfileRequest):
The request object. Request message for creating a
connection profile.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -1267,7 +1266,6 @@ def __call__(
request (~.datastream.CreatePrivateConnectionRequest):
The request object. Request for creating a private
connection.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -1467,7 +1465,6 @@ def __call__(
request (~.datastream.CreateStreamRequest):
The request object. Request message for creating a
stream.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -1565,7 +1562,6 @@ def __call__(
request (~.datastream.DeleteConnectionProfileRequest):
The request object. Request message for deleting a
connection profile.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -1656,7 +1652,6 @@ def __call__(
request (~.datastream.DeletePrivateConnectionRequest):
The request object. Request to delete a private
connection.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -1834,7 +1829,6 @@ def __call__(
request (~.datastream.DeleteStreamRequest):
The request object. Request message for deleting a
stream.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -1924,7 +1918,6 @@ def __call__(
request (~.datastream.DiscoverConnectionProfileRequest):
The request object. Request message for 'discover'
ConnectionProfile request.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -2023,7 +2016,6 @@ def __call__(
request (~.datastream.FetchStaticIpsRequest):
The request object. Request message for 'FetchStaticIps'
request.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -2115,7 +2107,6 @@ def __call__(
request (~.datastream.GetConnectionProfileRequest):
The request object. Request message for getting a
connection profile.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -2208,7 +2199,6 @@ def __call__(
request (~.datastream.GetPrivateConnectionRequest):
The request object. Request to get a private connection
configuration.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -2480,7 +2470,6 @@ def __call__(
request (~.datastream.GetStreamObjectRequest):
The request object. Request for fetching a specific
stream object.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -2572,7 +2561,6 @@ def __call__(
request (~.datastream.ListConnectionProfilesRequest):
The request object. Request message for listing
connection profiles.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -2664,7 +2652,6 @@ def __call__(
request (~.datastream.ListPrivateConnectionsRequest):
The request object. Request for listing private
connections.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -2842,7 +2829,6 @@ def __call__(
request (~.datastream.ListStreamObjectsRequest):
The request object. Request for listing all objects for a
specific stream.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -3021,7 +3007,6 @@ def __call__(
The request object. Request for looking up a specific
stream object by its source object
identifier.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -3123,7 +3108,6 @@ def __call__(
The request object. Request for manually initiating a
backfill job for a specific stream
object.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -3226,7 +3210,6 @@ def __call__(
The request object. Request for manually stopping a
running backfill job for a specific
stream object.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -3425,7 +3408,6 @@ def __call__(
request (~.datastream.UpdateStreamRequest):
The request object. Request message for updating a
stream.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down
Expand Up @@ -1650,7 +1650,6 @@ def __call__(
request (~.datastream.DiscoverConnectionProfileRequest):
The request object. Request message for 'discover'
ConnectionProfile request.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -1739,7 +1738,6 @@ def __call__(
request (~.datastream.FetchErrorsRequest):
The request object. Request message for 'FetchErrors'
request.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -1836,7 +1834,6 @@ def __call__(
request (~.datastream.FetchStaticIpsRequest):
The request object. Request message for 'FetchStaticIps'
request.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -40,7 +40,7 @@
"proto-plus >= 1.22.0, <2.0.0dev",
"proto-plus >= 1.22.2, <2.0.0dev; python_version>='3.11'",
"protobuf>=3.19.5,<5.0.0dev,!=3.20.0,!=3.20.1,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5",
"grpc-google-iam-v1 >= 0.12.4, < 1.0.0dev",
"grpc-google-iam-v1 >= 0.12.4, <1.0.0dev",
]
url = "https://github.com/googleapis/python-datastream"

Expand Down

0 comments on commit e44614b

Please sign in to comment.