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

Commit 1c7725f

Browse files
docs: Fix formatting of request arg in docstring (#397)
* 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 c279e14 commit 1c7725f

File tree

6 files changed

+30
-52
lines changed

6 files changed

+30
-52
lines changed

google/cloud/devtools/cloudbuild_v1/services/cloud_build/async_client.py

Lines changed: 13 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1184,8 +1184,7 @@ async def sample_create_build_trigger():
11841184
11851185
Args:
11861186
request (Optional[Union[google.cloud.devtools.cloudbuild_v1.types.CreateBuildTriggerRequest, dict]]):
1187-
The request object. Request to create a new
1188-
`BuildTrigger`.
1187+
The request object. Request to create a new ``BuildTrigger``.
11891188
project_id (:class:`str`):
11901189
Required. ID of the project for which
11911190
to configure automatic builds.
@@ -1300,8 +1299,7 @@ async def sample_get_build_trigger():
13001299
13011300
Args:
13021301
request (Optional[Union[google.cloud.devtools.cloudbuild_v1.types.GetBuildTriggerRequest, dict]]):
1303-
The request object. Returns the `BuildTrigger` with the
1304-
specified ID.
1302+
The request object. Returns the ``BuildTrigger`` with the specified ID.
13051303
project_id (:class:`str`):
13061304
Required. ID of the project that owns
13071305
the trigger.
@@ -1430,8 +1428,7 @@ async def sample_list_build_triggers():
14301428
14311429
Args:
14321430
request (Optional[Union[google.cloud.devtools.cloudbuild_v1.types.ListBuildTriggersRequest, dict]]):
1433-
The request object. Request to list existing
1434-
`BuildTriggers`.
1431+
The request object. Request to list existing ``BuildTriggers``.
14351432
project_id (:class:`str`):
14361433
Required. ID of the project for which
14371434
to list BuildTriggers.
@@ -1556,7 +1553,7 @@ async def sample_delete_build_trigger():
15561553
15571554
Args:
15581555
request (Optional[Union[google.cloud.devtools.cloudbuild_v1.types.DeleteBuildTriggerRequest, dict]]):
1559-
The request object. Request to delete a `BuildTrigger`.
1556+
The request object. Request to delete a ``BuildTrigger``.
15601557
project_id (:class:`str`):
15611558
Required. ID of the project that owns
15621559
the trigger.
@@ -1679,8 +1676,7 @@ async def sample_update_build_trigger():
16791676
16801677
Args:
16811678
request (Optional[Union[google.cloud.devtools.cloudbuild_v1.types.UpdateBuildTriggerRequest, dict]]):
1682-
The request object. Request to update an existing
1683-
`BuildTrigger`.
1679+
The request object. Request to update an existing ``BuildTrigger``.
16841680
project_id (:class:`str`):
16851681
Required. ID of the project that owns
16861682
the trigger.
@@ -1959,9 +1955,9 @@ async def sample_receive_trigger_webhook():
19591955
19601956
Args:
19611957
request (Optional[Union[google.cloud.devtools.cloudbuild_v1.types.ReceiveTriggerWebhookRequest, dict]]):
1962-
The request object. ReceiveTriggerWebhookRequest
1963-
[Experimental] is the request object accepted by the
1964-
ReceiveTriggerWebhook method.
1958+
The request object. ReceiveTriggerWebhookRequest [Experimental] is the
1959+
request object accepted by the ReceiveTriggerWebhook
1960+
method.
19651961
retry (google.api_core.retry.Retry): Designation of what errors, if any,
19661962
should be retried.
19671963
timeout (float): The timeout for this request.
@@ -2053,8 +2049,7 @@ async def sample_create_worker_pool():
20532049
20542050
Args:
20552051
request (Optional[Union[google.cloud.devtools.cloudbuild_v1.types.CreateWorkerPoolRequest, dict]]):
2056-
The request object. Request to create a new
2057-
`WorkerPool`.
2052+
The request object. Request to create a new ``WorkerPool``.
20582053
parent (:class:`str`):
20592054
Required. The parent resource where this worker pool
20602055
will be created. Format:
@@ -2201,8 +2196,7 @@ async def sample_get_worker_pool():
22012196
22022197
Args:
22032198
request (Optional[Union[google.cloud.devtools.cloudbuild_v1.types.GetWorkerPoolRequest, dict]]):
2204-
The request object. Request to get a `WorkerPool` with
2205-
the specified name.
2199+
The request object. Request to get a ``WorkerPool`` with the specified name.
22062200
name (:class:`str`):
22072201
Required. The name of the ``WorkerPool`` to retrieve.
22082202
Format:
@@ -2331,7 +2325,7 @@ async def sample_delete_worker_pool():
23312325
23322326
Args:
23332327
request (Optional[Union[google.cloud.devtools.cloudbuild_v1.types.DeleteWorkerPoolRequest, dict]]):
2334-
The request object. Request to delete a `WorkerPool`.
2328+
The request object. Request to delete a ``WorkerPool``.
23352329
name (:class:`str`):
23362330
Required. The name of the ``WorkerPool`` to delete.
23372331
Format:
@@ -2455,7 +2449,7 @@ async def sample_update_worker_pool():
24552449
24562450
Args:
24572451
request (Optional[Union[google.cloud.devtools.cloudbuild_v1.types.UpdateWorkerPoolRequest, dict]]):
2458-
The request object. Request to update a `WorkerPool`.
2452+
The request object. Request to update a ``WorkerPool``.
24592453
worker_pool (:class:`google.cloud.devtools.cloudbuild_v1.types.WorkerPool`):
24602454
Required. The ``WorkerPool`` to update.
24612455
@@ -2596,7 +2590,7 @@ async def sample_list_worker_pools():
25962590
25972591
Args:
25982592
request (Optional[Union[google.cloud.devtools.cloudbuild_v1.types.ListWorkerPoolsRequest, dict]]):
2599-
The request object. Request to list `WorkerPool`\s.
2593+
The request object. Request to list ``WorkerPool``\ s.
26002594
parent (:class:`str`):
26012595
Required. The parent of the collection of
26022596
``WorkerPools``. Format:

google/cloud/devtools/cloudbuild_v1/services/cloud_build/client.py

Lines changed: 13 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1536,8 +1536,7 @@ def sample_create_build_trigger():
15361536
15371537
Args:
15381538
request (Union[google.cloud.devtools.cloudbuild_v1.types.CreateBuildTriggerRequest, dict]):
1539-
The request object. Request to create a new
1540-
`BuildTrigger`.
1539+
The request object. Request to create a new ``BuildTrigger``.
15411540
project_id (str):
15421541
Required. ID of the project for which
15431542
to configure automatic builds.
@@ -1652,8 +1651,7 @@ def sample_get_build_trigger():
16521651
16531652
Args:
16541653
request (Union[google.cloud.devtools.cloudbuild_v1.types.GetBuildTriggerRequest, dict]):
1655-
The request object. Returns the `BuildTrigger` with the
1656-
specified ID.
1654+
The request object. Returns the ``BuildTrigger`` with the specified ID.
16571655
project_id (str):
16581656
Required. ID of the project that owns
16591657
the trigger.
@@ -1772,8 +1770,7 @@ def sample_list_build_triggers():
17721770
17731771
Args:
17741772
request (Union[google.cloud.devtools.cloudbuild_v1.types.ListBuildTriggersRequest, dict]):
1775-
The request object. Request to list existing
1776-
`BuildTriggers`.
1773+
The request object. Request to list existing ``BuildTriggers``.
17771774
project_id (str):
17781775
Required. ID of the project for which
17791776
to list BuildTriggers.
@@ -1888,7 +1885,7 @@ def sample_delete_build_trigger():
18881885
18891886
Args:
18901887
request (Union[google.cloud.devtools.cloudbuild_v1.types.DeleteBuildTriggerRequest, dict]):
1891-
The request object. Request to delete a `BuildTrigger`.
1888+
The request object. Request to delete a ``BuildTrigger``.
18921889
project_id (str):
18931890
Required. ID of the project that owns
18941891
the trigger.
@@ -2001,8 +1998,7 @@ def sample_update_build_trigger():
20011998
20021999
Args:
20032000
request (Union[google.cloud.devtools.cloudbuild_v1.types.UpdateBuildTriggerRequest, dict]):
2004-
The request object. Request to update an existing
2005-
`BuildTrigger`.
2001+
The request object. Request to update an existing ``BuildTrigger``.
20062002
project_id (str):
20072003
Required. ID of the project that owns
20082004
the trigger.
@@ -2281,9 +2277,9 @@ def sample_receive_trigger_webhook():
22812277
22822278
Args:
22832279
request (Union[google.cloud.devtools.cloudbuild_v1.types.ReceiveTriggerWebhookRequest, dict]):
2284-
The request object. ReceiveTriggerWebhookRequest
2285-
[Experimental] is the request object accepted by the
2286-
ReceiveTriggerWebhook method.
2280+
The request object. ReceiveTriggerWebhookRequest [Experimental] is the
2281+
request object accepted by the ReceiveTriggerWebhook
2282+
method.
22872283
retry (google.api_core.retry.Retry): Designation of what errors, if any,
22882284
should be retried.
22892285
timeout (float): The timeout for this request.
@@ -2376,8 +2372,7 @@ def sample_create_worker_pool():
23762372
23772373
Args:
23782374
request (Union[google.cloud.devtools.cloudbuild_v1.types.CreateWorkerPoolRequest, dict]):
2379-
The request object. Request to create a new
2380-
`WorkerPool`.
2375+
The request object. Request to create a new ``WorkerPool``.
23812376
parent (str):
23822377
Required. The parent resource where this worker pool
23832378
will be created. Format:
@@ -2524,8 +2519,7 @@ def sample_get_worker_pool():
25242519
25252520
Args:
25262521
request (Union[google.cloud.devtools.cloudbuild_v1.types.GetWorkerPoolRequest, dict]):
2527-
The request object. Request to get a `WorkerPool` with
2528-
the specified name.
2522+
The request object. Request to get a ``WorkerPool`` with the specified name.
25292523
name (str):
25302524
Required. The name of the ``WorkerPool`` to retrieve.
25312525
Format:
@@ -2644,7 +2638,7 @@ def sample_delete_worker_pool():
26442638
26452639
Args:
26462640
request (Union[google.cloud.devtools.cloudbuild_v1.types.DeleteWorkerPoolRequest, dict]):
2647-
The request object. Request to delete a `WorkerPool`.
2641+
The request object. Request to delete a ``WorkerPool``.
26482642
name (str):
26492643
Required. The name of the ``WorkerPool`` to delete.
26502644
Format:
@@ -2768,7 +2762,7 @@ def sample_update_worker_pool():
27682762
27692763
Args:
27702764
request (Union[google.cloud.devtools.cloudbuild_v1.types.UpdateWorkerPoolRequest, dict]):
2771-
The request object. Request to update a `WorkerPool`.
2765+
The request object. Request to update a ``WorkerPool``.
27722766
worker_pool (google.cloud.devtools.cloudbuild_v1.types.WorkerPool):
27732767
Required. The ``WorkerPool`` to update.
27742768
@@ -2909,7 +2903,7 @@ def sample_list_worker_pools():
29092903
29102904
Args:
29112905
request (Union[google.cloud.devtools.cloudbuild_v1.types.ListWorkerPoolsRequest, dict]):
2912-
The request object. Request to list `WorkerPool`\s.
2906+
The request object. Request to list ``WorkerPool``\ s.
29132907
parent (str):
29142908
Required. The parent of the collection of
29152909
``WorkerPools``. Format:

google/cloud/devtools/cloudbuild_v1/services/cloud_build/transports/rest.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -791,7 +791,6 @@ def __call__(
791791
request (~.cloudbuild.ApproveBuildRequest):
792792
The request object. Request to approve or reject a
793793
pending build.
794-
795794
retry (google.api_core.retry.Retry): Designation of what errors, if any,
796795
should be retried.
797796
timeout (float): The timeout for this request.
@@ -2062,7 +2061,6 @@ def __call__(
20622061
The request object. ReceiveTriggerWebhookRequest [Experimental] is the
20632062
request object accepted by the ReceiveTriggerWebhook
20642063
method.
2065-
20662064
retry (google.api_core.retry.Retry): Designation of what errors, if any,
20672065
should be retried.
20682066
timeout (float): The timeout for this request.
@@ -2268,7 +2266,6 @@ def __call__(
22682266
request (~.cloudbuild.RunBuildTriggerRequest):
22692267
The request object. Specifies a build trigger to run and
22702268
the source to use.
2271-
22722269
retry (google.api_core.retry.Retry): Designation of what errors, if any,
22732270
should be retried.
22742271
timeout (float): The timeout for this request.

google/cloud/devtools/cloudbuild_v2/services/repository_manager/async_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1047,8 +1047,8 @@ async def sample_batch_create_repositories():
10471047
10481048
Args:
10491049
request (Optional[Union[google.cloud.devtools.cloudbuild_v2.types.BatchCreateRepositoriesRequest, dict]]):
1050-
The request object. Message for creating
1051-
repositoritories in batch.
1050+
The request object. Message for creating repositoritories
1051+
in batch.
10521052
parent (:class:`str`):
10531053
Required. The connection to contain all the repositories
10541054
being created. Format:

google/cloud/devtools/cloudbuild_v2/services/repository_manager/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1322,8 +1322,8 @@ def sample_batch_create_repositories():
13221322
13231323
Args:
13241324
request (Union[google.cloud.devtools.cloudbuild_v2.types.BatchCreateRepositoriesRequest, dict]):
1325-
The request object. Message for creating
1326-
repositoritories in batch.
1325+
The request object. Message for creating repositoritories
1326+
in batch.
13271327
parent (str):
13281328
Required. The connection to contain all the repositories
13291329
being created. Format:

google/cloud/devtools/cloudbuild_v2/services/repository_manager/transports/rest.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -762,7 +762,6 @@ def __call__(
762762
request (~.repositories.BatchCreateRepositoriesRequest):
763763
The request object. Message for creating repositoritories
764764
in batch.
765-
766765
retry (google.api_core.retry.Retry): Designation of what errors, if any,
767766
should be retried.
768767
timeout (float): The timeout for this request.
@@ -1241,7 +1240,6 @@ def __call__(
12411240
request (~.repositories.FetchLinkableRepositoriesRequest):
12421241
The request object. Request message for
12431242
FetchLinkableRepositories.
1244-
12451243
retry (google.api_core.retry.Retry): Designation of what errors, if any,
12461244
should be retried.
12471245
timeout (float): The timeout for this request.
@@ -1432,7 +1430,6 @@ def __call__(
14321430
request (~.repositories.FetchReadWriteTokenRequest):
14331431
The request object. Message for fetching SCM read/write
14341432
token.
1435-
14361433
retry (google.api_core.retry.Retry): Designation of what errors, if any,
14371434
should be retried.
14381435
timeout (float): The timeout for this request.
@@ -1533,7 +1530,6 @@ def __call__(
15331530
request (~.repositories.GetConnectionRequest):
15341531
The request object. Message for getting the details of a
15351532
Connection.
1536-
15371533
retry (google.api_core.retry.Retry): Designation of what errors, if any,
15381534
should be retried.
15391535
timeout (float): The timeout for this request.
@@ -1624,7 +1620,6 @@ def __call__(
16241620
request (~.repositories.GetRepositoryRequest):
16251621
The request object. Message for getting the details of a
16261622
Repository.
1627-
16281623
retry (google.api_core.retry.Retry): Designation of what errors, if any,
16291624
should be retried.
16301625
timeout (float): The timeout for this request.
@@ -1714,7 +1709,6 @@ def __call__(
17141709
request (~.repositories.ListConnectionsRequest):
17151710
The request object. Message for requesting list of
17161711
Connections.
1717-
17181712
retry (google.api_core.retry.Retry): Designation of what errors, if any,
17191713
should be retried.
17201714
timeout (float): The timeout for this request.
@@ -1806,7 +1800,6 @@ def __call__(
18061800
request (~.repositories.ListRepositoriesRequest):
18071801
The request object. Message for requesting list of
18081802
Repositories.
1809-
18101803
retry (google.api_core.retry.Retry): Designation of what errors, if any,
18111804
should be retried.
18121805
timeout (float): The timeout for this request.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy