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

Commit 8af4265

Browse files
docs: Fix formatting of request arg in docstring (#151)
* 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 aa58cc7 commit 8af4265

File tree

4 files changed

+9
-19
lines changed

4 files changed

+9
-19
lines changed

google/cloud/storage_transfer_v1/services/storage_transfer_service/async_client.py

+4-5
Original file line numberDiff line numberDiff line change
@@ -602,9 +602,9 @@ async def sample_list_transfer_jobs():
602602
603603
Args:
604604
request (Optional[Union[google.cloud.storage_transfer_v1.types.ListTransferJobsRequest, dict]]):
605-
The request object. `projectId`, `jobNames`, and
606-
`jobStatuses` are query parameters that can be specified
607-
when listing transfer jobs.
605+
The request object. ``projectId``, ``jobNames``, and ``jobStatuses`` are
606+
query parameters that can be specified when listing
607+
transfer jobs.
608608
retry (google.api_core.retry.Retry): Designation of what errors, if any,
609609
should be retried.
610610
timeout (float): The timeout for this request.
@@ -1373,8 +1373,7 @@ async def sample_list_agent_pools():
13731373
13741374
Args:
13751375
request (Optional[Union[google.cloud.storage_transfer_v1.types.ListAgentPoolsRequest, dict]]):
1376-
The request object. The request passed to
1377-
ListAgentPools.
1376+
The request object. The request passed to ListAgentPools.
13781377
project_id (:class:`str`):
13791378
Required. The ID of the Google Cloud
13801379
project that owns the job.

google/cloud/storage_transfer_v1/services/storage_transfer_service/client.py

+4-5
Original file line numberDiff line numberDiff line change
@@ -829,9 +829,9 @@ def sample_list_transfer_jobs():
829829
830830
Args:
831831
request (Union[google.cloud.storage_transfer_v1.types.ListTransferJobsRequest, dict]):
832-
The request object. `projectId`, `jobNames`, and
833-
`jobStatuses` are query parameters that can be specified
834-
when listing transfer jobs.
832+
The request object. ``projectId``, ``jobNames``, and ``jobStatuses`` are
833+
query parameters that can be specified when listing
834+
transfer jobs.
835835
retry (google.api_core.retry.Retry): Designation of what errors, if any,
836836
should be retried.
837837
timeout (float): The timeout for this request.
@@ -1607,8 +1607,7 @@ def sample_list_agent_pools():
16071607
16081608
Args:
16091609
request (Union[google.cloud.storage_transfer_v1.types.ListAgentPoolsRequest, dict]):
1610-
The request object. The request passed to
1611-
ListAgentPools.
1610+
The request object. The request passed to ListAgentPools.
16121611
project_id (str):
16131612
Required. The ID of the Google Cloud
16141613
project that owns the job.

google/cloud/storage_transfer_v1/services/storage_transfer_service/transports/rest.py

-8
Original file line numberDiff line numberDiff line change
@@ -695,7 +695,6 @@ def __call__(
695695
request (~.transfer.CreateAgentPoolRequest):
696696
The request object. Specifies the request passed to
697697
CreateAgentPool.
698-
699698
retry (google.api_core.retry.Retry): Designation of what errors, if any,
700699
should be retried.
701700
timeout (float): The timeout for this request.
@@ -894,7 +893,6 @@ def __call__(
894893
request (~.transfer.DeleteAgentPoolRequest):
895894
The request object. Specifies the request passed to
896895
DeleteAgentPool.
897-
898896
retry (google.api_core.retry.Retry): Designation of what errors, if any,
899897
should be retried.
900898
timeout (float): The timeout for this request.
@@ -1050,7 +1048,6 @@ def __call__(
10501048
request (~.transfer.GetAgentPoolRequest):
10511049
The request object. Specifies the request passed to
10521050
GetAgentPool.
1053-
10541051
retry (google.api_core.retry.Retry): Designation of what errors, if any,
10551052
should be retried.
10561053
timeout (float): The timeout for this request.
@@ -1139,7 +1136,6 @@ def __call__(
11391136
request (~.transfer.GetGoogleServiceAccountRequest):
11401137
The request object. Request passed to
11411138
GetGoogleServiceAccount.
1142-
11431139
retry (google.api_core.retry.Retry): Designation of what errors, if any,
11441140
should be retried.
11451141
timeout (float): The timeout for this request.
@@ -1413,7 +1409,6 @@ def __call__(
14131409
The request object. ``projectId``, ``jobNames``, and ``jobStatuses`` are
14141410
query parameters that can be specified when listing
14151411
transfer jobs.
1416-
14171412
retry (google.api_core.retry.Retry): Designation of what errors, if any,
14181413
should be retried.
14191414
timeout (float): The timeout for this request.
@@ -1503,7 +1498,6 @@ def __call__(
15031498
request (~.transfer.PauseTransferOperationRequest):
15041499
The request object. Request passed to
15051500
PauseTransferOperation.
1506-
15071501
retry (google.api_core.retry.Retry): Designation of what errors, if any,
15081502
should be retried.
15091503
timeout (float): The timeout for this request.
@@ -1590,7 +1584,6 @@ def __call__(
15901584
request (~.transfer.ResumeTransferOperationRequest):
15911585
The request object. Request passed to
15921586
ResumeTransferOperation.
1593-
15941587
retry (google.api_core.retry.Retry): Designation of what errors, if any,
15951588
should be retried.
15961589
timeout (float): The timeout for this request.
@@ -1775,7 +1768,6 @@ def __call__(
17751768
request (~.transfer.UpdateAgentPoolRequest):
17761769
The request object. Specifies the request passed to
17771770
UpdateAgentPool.
1778-
17791771
retry (google.api_core.retry.Retry): Designation of what errors, if any,
17801772
should be retried.
17811773
timeout (float): The timeout for this request.

samples/generated_samples/snippet_metadata_google.storagetransfer.v1.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
],
99
"language": "PYTHON",
1010
"name": "google-cloud-storage-transfer",
11-
"version": "1.8.0"
11+
"version": "0.1.0"
1212
},
1313
"snippets": [
1414
{

0 commit comments

Comments
 (0)