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

Commit e44614b

Browse files
docs: Fix formatting of request arg in docstring (#165)
* chore: Update gapic-generator-python to v1.9.0 PiperOrigin-RevId: 517425588 Source-Link: googleapis/googleapis@33c93eb Source-Link: https://github.com/googleapis/googleapis-gen/commit/d5f59789d19fc43270ff2124967d4ec8992b8e8f 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: https://github.com/googleapis/googleapis-gen/commit/b2ab4b0a0ae2907e812c209198a74e0898afcb04 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>
1 parent f202424 commit e44614b

File tree

6 files changed

+19
-36
lines changed

6 files changed

+19
-36
lines changed

datastream-v1alpha1-py.tar.gz

0 Bytes
Binary file not shown.

google/cloud/datastream_v1/services/datastream/async_client.py

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1114,8 +1114,7 @@ async def sample_get_stream():
11141114
11151115
Args:
11161116
request (Optional[Union[google.cloud.datastream_v1.types.GetStreamRequest, dict]]):
1117-
The request object. Request message for getting a
1118-
stream.
1117+
The request object. Request message for getting a stream.
11191118
name (:class:`str`):
11201119
Required. The name of the stream
11211120
resource to get.
@@ -1731,7 +1730,8 @@ async def sample_lookup_stream_object():
17311730
Args:
17321731
request (Optional[Union[google.cloud.datastream_v1.types.LookupStreamObjectRequest, dict]]):
17331732
The request object. Request for looking up a specific
1734-
stream object by its source object identifier.
1733+
stream object by its source object
1734+
identifier.
17351735
retry (google.api_core.retry.Retry): Designation of what errors, if any,
17361736
should be retried.
17371737
timeout (float): The timeout for this request.
@@ -1813,8 +1813,8 @@ async def sample_list_stream_objects():
18131813
18141814
Args:
18151815
request (Optional[Union[google.cloud.datastream_v1.types.ListStreamObjectsRequest, dict]]):
1816-
The request object. Request for listing all objects for
1817-
a specific stream.
1816+
The request object. Request for listing all objects for a
1817+
specific stream.
18181818
parent (:class:`str`):
18191819
Required. The parent stream that owns
18201820
the collection of objects.
@@ -1929,7 +1929,8 @@ async def sample_start_backfill_job():
19291929
Args:
19301930
request (Optional[Union[google.cloud.datastream_v1.types.StartBackfillJobRequest, dict]]):
19311931
The request object. Request for manually initiating a
1932-
backfill job for a specific stream object.
1932+
backfill job for a specific stream
1933+
object.
19331934
object_ (:class:`str`):
19341935
Required. The name of the stream
19351936
object resource to start a backfill job
@@ -2034,7 +2035,8 @@ async def sample_stop_backfill_job():
20342035
Args:
20352036
request (Optional[Union[google.cloud.datastream_v1.types.StopBackfillJobRequest, dict]]):
20362037
The request object. Request for manually stopping a
2037-
running backfill job for a specific stream object.
2038+
running backfill job for a specific
2039+
stream object.
20382040
object_ (:class:`str`):
20392041
Required. The name of the stream
20402042
object resource to stop the backfill job

google/cloud/datastream_v1/services/datastream/client.py

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1453,8 +1453,7 @@ def sample_get_stream():
14531453
14541454
Args:
14551455
request (Union[google.cloud.datastream_v1.types.GetStreamRequest, dict]):
1456-
The request object. Request message for getting a
1457-
stream.
1456+
The request object. Request message for getting a stream.
14581457
name (str):
14591458
Required. The name of the stream
14601459
resource to get.
@@ -2070,7 +2069,8 @@ def sample_lookup_stream_object():
20702069
Args:
20712070
request (Union[google.cloud.datastream_v1.types.LookupStreamObjectRequest, dict]):
20722071
The request object. Request for looking up a specific
2073-
stream object by its source object identifier.
2072+
stream object by its source object
2073+
identifier.
20742074
retry (google.api_core.retry.Retry): Designation of what errors, if any,
20752075
should be retried.
20762076
timeout (float): The timeout for this request.
@@ -2153,8 +2153,8 @@ def sample_list_stream_objects():
21532153
21542154
Args:
21552155
request (Union[google.cloud.datastream_v1.types.ListStreamObjectsRequest, dict]):
2156-
The request object. Request for listing all objects for
2157-
a specific stream.
2156+
The request object. Request for listing all objects for a
2157+
specific stream.
21582158
parent (str):
21592159
Required. The parent stream that owns
21602160
the collection of objects.
@@ -2269,7 +2269,8 @@ def sample_start_backfill_job():
22692269
Args:
22702270
request (Union[google.cloud.datastream_v1.types.StartBackfillJobRequest, dict]):
22712271
The request object. Request for manually initiating a
2272-
backfill job for a specific stream object.
2272+
backfill job for a specific stream
2273+
object.
22732274
object_ (str):
22742275
Required. The name of the stream
22752276
object resource to start a backfill job
@@ -2374,7 +2375,8 @@ def sample_stop_backfill_job():
23742375
Args:
23752376
request (Union[google.cloud.datastream_v1.types.StopBackfillJobRequest, dict]):
23762377
The request object. Request for manually stopping a
2377-
running backfill job for a specific stream object.
2378+
running backfill job for a specific
2379+
stream object.
23782380
object_ (str):
23792381
Required. The name of the stream
23802382
object resource to stop the backfill job

google/cloud/datastream_v1/services/datastream/transports/rest.py

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1165,7 +1165,6 @@ def __call__(
11651165
request (~.datastream.CreateConnectionProfileRequest):
11661166
The request object. Request message for creating a
11671167
connection profile.
1168-
11691168
retry (google.api_core.retry.Retry): Designation of what errors, if any,
11701169
should be retried.
11711170
timeout (float): The timeout for this request.
@@ -1267,7 +1266,6 @@ def __call__(
12671266
request (~.datastream.CreatePrivateConnectionRequest):
12681267
The request object. Request for creating a private
12691268
connection.
1270-
12711269
retry (google.api_core.retry.Retry): Designation of what errors, if any,
12721270
should be retried.
12731271
timeout (float): The timeout for this request.
@@ -1467,7 +1465,6 @@ def __call__(
14671465
request (~.datastream.CreateStreamRequest):
14681466
The request object. Request message for creating a
14691467
stream.
1470-
14711468
retry (google.api_core.retry.Retry): Designation of what errors, if any,
14721469
should be retried.
14731470
timeout (float): The timeout for this request.
@@ -1565,7 +1562,6 @@ def __call__(
15651562
request (~.datastream.DeleteConnectionProfileRequest):
15661563
The request object. Request message for deleting a
15671564
connection profile.
1568-
15691565
retry (google.api_core.retry.Retry): Designation of what errors, if any,
15701566
should be retried.
15711567
timeout (float): The timeout for this request.
@@ -1656,7 +1652,6 @@ def __call__(
16561652
request (~.datastream.DeletePrivateConnectionRequest):
16571653
The request object. Request to delete a private
16581654
connection.
1659-
16601655
retry (google.api_core.retry.Retry): Designation of what errors, if any,
16611656
should be retried.
16621657
timeout (float): The timeout for this request.
@@ -1834,7 +1829,6 @@ def __call__(
18341829
request (~.datastream.DeleteStreamRequest):
18351830
The request object. Request message for deleting a
18361831
stream.
1837-
18381832
retry (google.api_core.retry.Retry): Designation of what errors, if any,
18391833
should be retried.
18401834
timeout (float): The timeout for this request.
@@ -1924,7 +1918,6 @@ def __call__(
19241918
request (~.datastream.DiscoverConnectionProfileRequest):
19251919
The request object. Request message for 'discover'
19261920
ConnectionProfile request.
1927-
19281921
retry (google.api_core.retry.Retry): Designation of what errors, if any,
19291922
should be retried.
19301923
timeout (float): The timeout for this request.
@@ -2023,7 +2016,6 @@ def __call__(
20232016
request (~.datastream.FetchStaticIpsRequest):
20242017
The request object. Request message for 'FetchStaticIps'
20252018
request.
2026-
20272019
retry (google.api_core.retry.Retry): Designation of what errors, if any,
20282020
should be retried.
20292021
timeout (float): The timeout for this request.
@@ -2115,7 +2107,6 @@ def __call__(
21152107
request (~.datastream.GetConnectionProfileRequest):
21162108
The request object. Request message for getting a
21172109
connection profile.
2118-
21192110
retry (google.api_core.retry.Retry): Designation of what errors, if any,
21202111
should be retried.
21212112
timeout (float): The timeout for this request.
@@ -2208,7 +2199,6 @@ def __call__(
22082199
request (~.datastream.GetPrivateConnectionRequest):
22092200
The request object. Request to get a private connection
22102201
configuration.
2211-
22122202
retry (google.api_core.retry.Retry): Designation of what errors, if any,
22132203
should be retried.
22142204
timeout (float): The timeout for this request.
@@ -2480,7 +2470,6 @@ def __call__(
24802470
request (~.datastream.GetStreamObjectRequest):
24812471
The request object. Request for fetching a specific
24822472
stream object.
2483-
24842473
retry (google.api_core.retry.Retry): Designation of what errors, if any,
24852474
should be retried.
24862475
timeout (float): The timeout for this request.
@@ -2572,7 +2561,6 @@ def __call__(
25722561
request (~.datastream.ListConnectionProfilesRequest):
25732562
The request object. Request message for listing
25742563
connection profiles.
2575-
25762564
retry (google.api_core.retry.Retry): Designation of what errors, if any,
25772565
should be retried.
25782566
timeout (float): The timeout for this request.
@@ -2664,7 +2652,6 @@ def __call__(
26642652
request (~.datastream.ListPrivateConnectionsRequest):
26652653
The request object. Request for listing private
26662654
connections.
2667-
26682655
retry (google.api_core.retry.Retry): Designation of what errors, if any,
26692656
should be retried.
26702657
timeout (float): The timeout for this request.
@@ -2842,7 +2829,6 @@ def __call__(
28422829
request (~.datastream.ListStreamObjectsRequest):
28432830
The request object. Request for listing all objects for a
28442831
specific stream.
2845-
28462832
retry (google.api_core.retry.Retry): Designation of what errors, if any,
28472833
should be retried.
28482834
timeout (float): The timeout for this request.
@@ -3021,7 +3007,6 @@ def __call__(
30213007
The request object. Request for looking up a specific
30223008
stream object by its source object
30233009
identifier.
3024-
30253010
retry (google.api_core.retry.Retry): Designation of what errors, if any,
30263011
should be retried.
30273012
timeout (float): The timeout for this request.
@@ -3123,7 +3108,6 @@ def __call__(
31233108
The request object. Request for manually initiating a
31243109
backfill job for a specific stream
31253110
object.
3126-
31273111
retry (google.api_core.retry.Retry): Designation of what errors, if any,
31283112
should be retried.
31293113
timeout (float): The timeout for this request.
@@ -3226,7 +3210,6 @@ def __call__(
32263210
The request object. Request for manually stopping a
32273211
running backfill job for a specific
32283212
stream object.
3229-
32303213
retry (google.api_core.retry.Retry): Designation of what errors, if any,
32313214
should be retried.
32323215
timeout (float): The timeout for this request.
@@ -3425,7 +3408,6 @@ def __call__(
34253408
request (~.datastream.UpdateStreamRequest):
34263409
The request object. Request message for updating a
34273410
stream.
3428-
34293411
retry (google.api_core.retry.Retry): Designation of what errors, if any,
34303412
should be retried.
34313413
timeout (float): The timeout for this request.

google/cloud/datastream_v1alpha1/services/datastream/transports/rest.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1650,7 +1650,6 @@ def __call__(
16501650
request (~.datastream.DiscoverConnectionProfileRequest):
16511651
The request object. Request message for 'discover'
16521652
ConnectionProfile request.
1653-
16541653
retry (google.api_core.retry.Retry): Designation of what errors, if any,
16551654
should be retried.
16561655
timeout (float): The timeout for this request.
@@ -1739,7 +1738,6 @@ def __call__(
17391738
request (~.datastream.FetchErrorsRequest):
17401739
The request object. Request message for 'FetchErrors'
17411740
request.
1742-
17431741
retry (google.api_core.retry.Retry): Designation of what errors, if any,
17441742
should be retried.
17451743
timeout (float): The timeout for this request.
@@ -1836,7 +1834,6 @@ def __call__(
18361834
request (~.datastream.FetchStaticIpsRequest):
18371835
The request object. Request message for 'FetchStaticIps'
18381836
request.
1839-
18401837
retry (google.api_core.retry.Retry): Designation of what errors, if any,
18411838
should be retried.
18421839
timeout (float): The timeout for this request.

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"proto-plus >= 1.22.0, <2.0.0dev",
4141
"proto-plus >= 1.22.2, <2.0.0dev; python_version>='3.11'",
4242
"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",
43-
"grpc-google-iam-v1 >= 0.12.4, < 1.0.0dev",
43+
"grpc-google-iam-v1 >= 0.12.4, <1.0.0dev",
4444
]
4545
url = "https://github.com/googleapis/python-datastream"
4646

0 commit comments

Comments
 (0)