Skip to content
This repository was archived by the owner on Dec 31, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1184,8 +1184,7 @@ async def sample_create_build_trigger():

Args:
request (Optional[Union[google.cloud.devtools.cloudbuild_v1.types.CreateBuildTriggerRequest, dict]]):
The request object. Request to create a new
`BuildTrigger`.
The request object. Request to create a new ``BuildTrigger``.
project_id (:class:`str`):
Required. ID of the project for which
to configure automatic builds.
Expand Down Expand Up @@ -1300,8 +1299,7 @@ async def sample_get_build_trigger():

Args:
request (Optional[Union[google.cloud.devtools.cloudbuild_v1.types.GetBuildTriggerRequest, dict]]):
The request object. Returns the `BuildTrigger` with the
specified ID.
The request object. Returns the ``BuildTrigger`` with the specified ID.
project_id (:class:`str`):
Required. ID of the project that owns
the trigger.
Expand Down Expand Up @@ -1430,8 +1428,7 @@ async def sample_list_build_triggers():

Args:
request (Optional[Union[google.cloud.devtools.cloudbuild_v1.types.ListBuildTriggersRequest, dict]]):
The request object. Request to list existing
`BuildTriggers`.
The request object. Request to list existing ``BuildTriggers``.
project_id (:class:`str`):
Required. ID of the project for which
to list BuildTriggers.
Expand Down Expand Up @@ -1556,7 +1553,7 @@ async def sample_delete_build_trigger():

Args:
request (Optional[Union[google.cloud.devtools.cloudbuild_v1.types.DeleteBuildTriggerRequest, dict]]):
The request object. Request to delete a `BuildTrigger`.
The request object. Request to delete a ``BuildTrigger``.
project_id (:class:`str`):
Required. ID of the project that owns
the trigger.
Expand Down Expand Up @@ -1679,8 +1676,7 @@ async def sample_update_build_trigger():

Args:
request (Optional[Union[google.cloud.devtools.cloudbuild_v1.types.UpdateBuildTriggerRequest, dict]]):
The request object. Request to update an existing
`BuildTrigger`.
The request object. Request to update an existing ``BuildTrigger``.
project_id (:class:`str`):
Required. ID of the project that owns
the trigger.
Expand Down Expand Up @@ -1959,9 +1955,9 @@ async def sample_receive_trigger_webhook():

Args:
request (Optional[Union[google.cloud.devtools.cloudbuild_v1.types.ReceiveTriggerWebhookRequest, dict]]):
The request object. ReceiveTriggerWebhookRequest
[Experimental] is the request object accepted by the
ReceiveTriggerWebhook method.
The request object. ReceiveTriggerWebhookRequest [Experimental] is the
request object accepted by the ReceiveTriggerWebhook
method.
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 @@ -2053,8 +2049,7 @@ async def sample_create_worker_pool():

Args:
request (Optional[Union[google.cloud.devtools.cloudbuild_v1.types.CreateWorkerPoolRequest, dict]]):
The request object. Request to create a new
`WorkerPool`.
The request object. Request to create a new ``WorkerPool``.
parent (:class:`str`):
Required. The parent resource where this worker pool
will be created. Format:
Expand Down Expand Up @@ -2201,8 +2196,7 @@ async def sample_get_worker_pool():

Args:
request (Optional[Union[google.cloud.devtools.cloudbuild_v1.types.GetWorkerPoolRequest, dict]]):
The request object. Request to get a `WorkerPool` with
the specified name.
The request object. Request to get a ``WorkerPool`` with the specified name.
name (:class:`str`):
Required. The name of the ``WorkerPool`` to retrieve.
Format:
Expand Down Expand Up @@ -2331,7 +2325,7 @@ async def sample_delete_worker_pool():

Args:
request (Optional[Union[google.cloud.devtools.cloudbuild_v1.types.DeleteWorkerPoolRequest, dict]]):
The request object. Request to delete a `WorkerPool`.
The request object. Request to delete a ``WorkerPool``.
name (:class:`str`):
Required. The name of the ``WorkerPool`` to delete.
Format:
Expand Down Expand Up @@ -2455,7 +2449,7 @@ async def sample_update_worker_pool():

Args:
request (Optional[Union[google.cloud.devtools.cloudbuild_v1.types.UpdateWorkerPoolRequest, dict]]):
The request object. Request to update a `WorkerPool`.
The request object. Request to update a ``WorkerPool``.
worker_pool (:class:`google.cloud.devtools.cloudbuild_v1.types.WorkerPool`):
Required. The ``WorkerPool`` to update.

Expand Down Expand Up @@ -2596,7 +2590,7 @@ async def sample_list_worker_pools():

Args:
request (Optional[Union[google.cloud.devtools.cloudbuild_v1.types.ListWorkerPoolsRequest, dict]]):
The request object. Request to list `WorkerPool`\s.
The request object. Request to list ``WorkerPool``\ s.
parent (:class:`str`):
Required. The parent of the collection of
``WorkerPools``. Format:
Expand Down
32 changes: 13 additions & 19 deletions google/cloud/devtools/cloudbuild_v1/services/cloud_build/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -1536,8 +1536,7 @@ def sample_create_build_trigger():

Args:
request (Union[google.cloud.devtools.cloudbuild_v1.types.CreateBuildTriggerRequest, dict]):
The request object. Request to create a new
`BuildTrigger`.
The request object. Request to create a new ``BuildTrigger``.
project_id (str):
Required. ID of the project for which
to configure automatic builds.
Expand Down Expand Up @@ -1652,8 +1651,7 @@ def sample_get_build_trigger():

Args:
request (Union[google.cloud.devtools.cloudbuild_v1.types.GetBuildTriggerRequest, dict]):
The request object. Returns the `BuildTrigger` with the
specified ID.
The request object. Returns the ``BuildTrigger`` with the specified ID.
project_id (str):
Required. ID of the project that owns
the trigger.
Expand Down Expand Up @@ -1772,8 +1770,7 @@ def sample_list_build_triggers():

Args:
request (Union[google.cloud.devtools.cloudbuild_v1.types.ListBuildTriggersRequest, dict]):
The request object. Request to list existing
`BuildTriggers`.
The request object. Request to list existing ``BuildTriggers``.
project_id (str):
Required. ID of the project for which
to list BuildTriggers.
Expand Down Expand Up @@ -1888,7 +1885,7 @@ def sample_delete_build_trigger():

Args:
request (Union[google.cloud.devtools.cloudbuild_v1.types.DeleteBuildTriggerRequest, dict]):
The request object. Request to delete a `BuildTrigger`.
The request object. Request to delete a ``BuildTrigger``.
project_id (str):
Required. ID of the project that owns
the trigger.
Expand Down Expand Up @@ -2001,8 +1998,7 @@ def sample_update_build_trigger():

Args:
request (Union[google.cloud.devtools.cloudbuild_v1.types.UpdateBuildTriggerRequest, dict]):
The request object. Request to update an existing
`BuildTrigger`.
The request object. Request to update an existing ``BuildTrigger``.
project_id (str):
Required. ID of the project that owns
the trigger.
Expand Down Expand Up @@ -2281,9 +2277,9 @@ def sample_receive_trigger_webhook():

Args:
request (Union[google.cloud.devtools.cloudbuild_v1.types.ReceiveTriggerWebhookRequest, dict]):
The request object. ReceiveTriggerWebhookRequest
[Experimental] is the request object accepted by the
ReceiveTriggerWebhook method.
The request object. ReceiveTriggerWebhookRequest [Experimental] is the
request object accepted by the ReceiveTriggerWebhook
method.
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 @@ -2376,8 +2372,7 @@ def sample_create_worker_pool():

Args:
request (Union[google.cloud.devtools.cloudbuild_v1.types.CreateWorkerPoolRequest, dict]):
The request object. Request to create a new
`WorkerPool`.
The request object. Request to create a new ``WorkerPool``.
parent (str):
Required. The parent resource where this worker pool
will be created. Format:
Expand Down Expand Up @@ -2524,8 +2519,7 @@ def sample_get_worker_pool():

Args:
request (Union[google.cloud.devtools.cloudbuild_v1.types.GetWorkerPoolRequest, dict]):
The request object. Request to get a `WorkerPool` with
the specified name.
The request object. Request to get a ``WorkerPool`` with the specified name.
name (str):
Required. The name of the ``WorkerPool`` to retrieve.
Format:
Expand Down Expand Up @@ -2644,7 +2638,7 @@ def sample_delete_worker_pool():

Args:
request (Union[google.cloud.devtools.cloudbuild_v1.types.DeleteWorkerPoolRequest, dict]):
The request object. Request to delete a `WorkerPool`.
The request object. Request to delete a ``WorkerPool``.
name (str):
Required. The name of the ``WorkerPool`` to delete.
Format:
Expand Down Expand Up @@ -2768,7 +2762,7 @@ def sample_update_worker_pool():

Args:
request (Union[google.cloud.devtools.cloudbuild_v1.types.UpdateWorkerPoolRequest, dict]):
The request object. Request to update a `WorkerPool`.
The request object. Request to update a ``WorkerPool``.
worker_pool (google.cloud.devtools.cloudbuild_v1.types.WorkerPool):
Required. The ``WorkerPool`` to update.

Expand Down Expand Up @@ -2909,7 +2903,7 @@ def sample_list_worker_pools():

Args:
request (Union[google.cloud.devtools.cloudbuild_v1.types.ListWorkerPoolsRequest, dict]):
The request object. Request to list `WorkerPool`\s.
The request object. Request to list ``WorkerPool``\ s.
parent (str):
Required. The parent of the collection of
``WorkerPools``. Format:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -791,7 +791,6 @@ def __call__(
request (~.cloudbuild.ApproveBuildRequest):
The request object. Request to approve or reject a
pending build.

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 @@ -2062,7 +2061,6 @@ def __call__(
The request object. ReceiveTriggerWebhookRequest [Experimental] is the
request object accepted by the ReceiveTriggerWebhook
method.

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 @@ -2268,7 +2266,6 @@ def __call__(
request (~.cloudbuild.RunBuildTriggerRequest):
The request object. Specifies a build trigger to run and
the source to use.

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1047,8 +1047,8 @@ async def sample_batch_create_repositories():

Args:
request (Optional[Union[google.cloud.devtools.cloudbuild_v2.types.BatchCreateRepositoriesRequest, dict]]):
The request object. Message for creating
repositoritories in batch.
The request object. Message for creating repositoritories
in batch.
parent (:class:`str`):
Required. The connection to contain all the repositories
being created. Format:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1322,8 +1322,8 @@ def sample_batch_create_repositories():

Args:
request (Union[google.cloud.devtools.cloudbuild_v2.types.BatchCreateRepositoriesRequest, dict]):
The request object. Message for creating
repositoritories in batch.
The request object. Message for creating repositoritories
in batch.
parent (str):
Required. The connection to contain all the repositories
being created. Format:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -762,7 +762,6 @@ def __call__(
request (~.repositories.BatchCreateRepositoriesRequest):
The request object. Message for creating repositoritories
in batch.

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 @@ -1241,7 +1240,6 @@ def __call__(
request (~.repositories.FetchLinkableRepositoriesRequest):
The request object. Request message for
FetchLinkableRepositories.

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 @@ -1432,7 +1430,6 @@ def __call__(
request (~.repositories.FetchReadWriteTokenRequest):
The request object. Message for fetching SCM read/write
token.

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 @@ -1533,7 +1530,6 @@ def __call__(
request (~.repositories.GetConnectionRequest):
The request object. Message for getting the details of a
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 @@ -1624,7 +1620,6 @@ def __call__(
request (~.repositories.GetRepositoryRequest):
The request object. Message for getting the details of a
Repository.

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 @@ -1714,7 +1709,6 @@ def __call__(
request (~.repositories.ListConnectionsRequest):
The request object. Message for requesting list of
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 @@ -1806,7 +1800,6 @@ def __call__(
request (~.repositories.ListRepositoriesRequest):
The request object. Message for requesting list of
Repositories.

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down