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

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions google/cloud/run_v2/services/executions/async_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -373,8 +373,8 @@ async def sample_list_executions():

Args:
request (Optional[Union[google.cloud.run_v2.types.ListExecutionsRequest, dict]]):
The request object. Request message for retrieving a
list of Executions.
The request object. Request message for retrieving a list
of Executions.
parent (:class:`str`):
Required. The Execution from which
the Executions should be listed. To list
Expand Down
4 changes: 2 additions & 2 deletions google/cloud/run_v2/services/executions/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -705,8 +705,8 @@ def sample_list_executions():

Args:
request (Union[google.cloud.run_v2.types.ListExecutionsRequest, dict]):
The request object. Request message for retrieving a
list of Executions.
The request object. Request message for retrieving a list
of Executions.
parent (str):
Required. The Execution from which
the Executions should be listed. To list
Expand Down
3 changes: 0 additions & 3 deletions google/cloud/run_v2/services/executions/transports/rest.py
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,6 @@ def __call__(
request (~.execution.DeleteExecutionRequest):
The request object. Request message for deleting an
Execution.

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 @@ -530,7 +529,6 @@ def __call__(
request (~.execution.GetExecutionRequest):
The request object. Request message for obtaining a
Execution by its full name.

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 @@ -623,7 +621,6 @@ def __call__(
request (~.execution.ListExecutionsRequest):
The request object. Request message for retrieving a list
of Executions.

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down
13 changes: 5 additions & 8 deletions google/cloud/run_v2/services/jobs/async_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -514,8 +514,8 @@ async def sample_list_jobs():

Args:
request (Optional[Union[google.cloud.run_v2.types.ListJobsRequest, dict]]):
The request object. Request message for retrieving a
list of Jobs.
The request object. Request message for retrieving a list
of Jobs.
parent (:class:`str`):
Required. The location and project to
list resources on. Format:
Expand Down Expand Up @@ -988,8 +988,7 @@ async def sample_get_iam_policy():

Args:
request (Optional[Union[google.iam.v1.iam_policy_pb2.GetIamPolicyRequest, dict]]):
The request object. Request message for `GetIamPolicy`
method.
The request object. Request message for ``GetIamPolicy`` 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 @@ -1132,8 +1131,7 @@ async def sample_set_iam_policy():

Args:
request (Optional[Union[google.iam.v1.iam_policy_pb2.SetIamPolicyRequest, dict]]):
The request object. Request message for `SetIamPolicy`
method.
The request object. Request message for ``SetIamPolicy`` 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 @@ -1279,8 +1277,7 @@ async def sample_test_iam_permissions():

Args:
request (Optional[Union[google.iam.v1.iam_policy_pb2.TestIamPermissionsRequest, dict]]):
The request object. Request message for
`TestIamPermissions` method.
The request object. Request message for ``TestIamPermissions`` 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
13 changes: 5 additions & 8 deletions google/cloud/run_v2/services/jobs/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -850,8 +850,8 @@ def sample_list_jobs():

Args:
request (Union[google.cloud.run_v2.types.ListJobsRequest, dict]):
The request object. Request message for retrieving a
list of Jobs.
The request object. Request message for retrieving a list
of Jobs.
parent (str):
Required. The location and project to
list resources on. Format:
Expand Down Expand Up @@ -1324,8 +1324,7 @@ def sample_get_iam_policy():

Args:
request (Union[google.iam.v1.iam_policy_pb2.GetIamPolicyRequest, dict]):
The request object. Request message for `GetIamPolicy`
method.
The request object. Request message for ``GetIamPolicy`` 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 @@ -1467,8 +1466,7 @@ def sample_set_iam_policy():

Args:
request (Union[google.iam.v1.iam_policy_pb2.SetIamPolicyRequest, dict]):
The request object. Request message for `SetIamPolicy`
method.
The request object. Request message for ``SetIamPolicy`` 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 @@ -1613,8 +1611,7 @@ def sample_test_iam_permissions():

Args:
request (Union[google.iam.v1.iam_policy_pb2.TestIamPermissionsRequest, dict]):
The request object. Request message for
`TestIamPermissions` method.
The request object. Request message for ``TestIamPermissions`` 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
4 changes: 0 additions & 4 deletions google/cloud/run_v2/services/jobs/transports/rest.py
Original file line number Diff line number Diff line change
Expand Up @@ -708,7 +708,6 @@ def __call__(
request (~.job.DeleteJobRequest):
The request object. Request message to delete a Job by
its full name.

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 @@ -958,7 +957,6 @@ def __call__(
request (~.job.GetJobRequest):
The request object. Request message for obtaining a Job
by its full name.

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 @@ -1049,7 +1047,6 @@ def __call__(
request (~.job.ListJobsRequest):
The request object. Request message for retrieving a list
of Jobs.

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 @@ -1139,7 +1136,6 @@ def __call__(
request (~.job.RunJobRequest):
The request object. Request message to create a new
Execution of a Job.

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down
11 changes: 6 additions & 5 deletions google/cloud/run_v2/services/revisions/async_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -373,8 +373,8 @@ async def sample_list_revisions():

Args:
request (Optional[Union[google.cloud.run_v2.types.ListRevisionsRequest, dict]]):
The request object. Request message for retrieving a
list of Revisions.
The request object. Request message for retrieving a list
of Revisions.
parent (:class:`str`):
Required. The Service from which the
Revisions should be listed. To list all
Expand Down Expand Up @@ -495,9 +495,10 @@ async def sample_delete_revision():
Args:
request (Optional[Union[google.cloud.run_v2.types.DeleteRevisionRequest, dict]]):
The request object. Request message for deleting a
retired Revision. Revision lifecycle is usually managed
by making changes to the parent Service. Only retired
revisions can be deleted with this API.
retired Revision. Revision lifecycle is
usually managed by making changes to the
parent Service. Only retired revisions
can be deleted with this API.
name (:class:`str`):
Required. The name of the Revision to
delete. Format:
Expand Down
11 changes: 6 additions & 5 deletions google/cloud/run_v2/services/revisions/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -713,8 +713,8 @@ def sample_list_revisions():

Args:
request (Union[google.cloud.run_v2.types.ListRevisionsRequest, dict]):
The request object. Request message for retrieving a
list of Revisions.
The request object. Request message for retrieving a list
of Revisions.
parent (str):
Required. The Service from which the
Revisions should be listed. To list all
Expand Down Expand Up @@ -843,9 +843,10 @@ def sample_delete_revision():
Args:
request (Union[google.cloud.run_v2.types.DeleteRevisionRequest, dict]):
The request object. Request message for deleting a
retired Revision. Revision lifecycle is usually managed
by making changes to the parent Service. Only retired
revisions can be deleted with this API.
retired Revision. Revision lifecycle is
usually managed by making changes to the
parent Service. Only retired revisions
can be deleted with this API.
name (str):
Required. The name of the Revision to
delete. Format:
Expand Down
3 changes: 0 additions & 3 deletions google/cloud/run_v2/services/revisions/transports/rest.py
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,6 @@ def __call__(
usually managed by making changes to the
parent Service. Only retired revisions
can be deleted with this API.

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 @@ -529,7 +528,6 @@ def __call__(
request (~.revision.GetRevisionRequest):
The request object. Request message for obtaining a
Revision by its full name.

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 @@ -622,7 +620,6 @@ def __call__(
request (~.revision.ListRevisionsRequest):
The request object. Request message for retrieving a list
of Revisions.

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down
13 changes: 5 additions & 8 deletions google/cloud/run_v2/services/services/async_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -539,8 +539,8 @@ async def sample_list_services():

Args:
request (Optional[Union[google.cloud.run_v2.types.ListServicesRequest, dict]]):
The request object. Request message for retrieving a
list of Services.
The request object. Request message for retrieving a list
of Services.
parent (:class:`str`):
Required. The location and project to
list resources on. Location must be a
Expand Down Expand Up @@ -915,8 +915,7 @@ async def sample_get_iam_policy():

Args:
request (Optional[Union[google.iam.v1.iam_policy_pb2.GetIamPolicyRequest, dict]]):
The request object. Request message for `GetIamPolicy`
method.
The request object. Request message for ``GetIamPolicy`` 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 @@ -1059,8 +1058,7 @@ async def sample_set_iam_policy():

Args:
request (Optional[Union[google.iam.v1.iam_policy_pb2.SetIamPolicyRequest, dict]]):
The request object. Request message for `SetIamPolicy`
method.
The request object. Request message for ``SetIamPolicy`` 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 @@ -1206,8 +1204,7 @@ async def sample_test_iam_permissions():

Args:
request (Optional[Union[google.iam.v1.iam_policy_pb2.TestIamPermissionsRequest, dict]]):
The request object. Request message for
`TestIamPermissions` method.
The request object. Request message for ``TestIamPermissions`` 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
13 changes: 5 additions & 8 deletions google/cloud/run_v2/services/services/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -880,8 +880,8 @@ def sample_list_services():

Args:
request (Union[google.cloud.run_v2.types.ListServicesRequest, dict]):
The request object. Request message for retrieving a
list of Services.
The request object. Request message for retrieving a list
of Services.
parent (str):
Required. The location and project to
list resources on. Location must be a
Expand Down Expand Up @@ -1269,8 +1269,7 @@ def sample_get_iam_policy():

Args:
request (Union[google.iam.v1.iam_policy_pb2.GetIamPolicyRequest, dict]):
The request object. Request message for `GetIamPolicy`
method.
The request object. Request message for ``GetIamPolicy`` 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 @@ -1412,8 +1411,7 @@ def sample_set_iam_policy():

Args:
request (Union[google.iam.v1.iam_policy_pb2.SetIamPolicyRequest, dict]):
The request object. Request message for `SetIamPolicy`
method.
The request object. Request message for ``SetIamPolicy`` 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 @@ -1558,8 +1556,7 @@ def sample_test_iam_permissions():

Args:
request (Union[google.iam.v1.iam_policy_pb2.TestIamPermissionsRequest, dict]):
The request object. Request message for
`TestIamPermissions` method.
The request object. Request message for ``TestIamPermissions`` 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
5 changes: 0 additions & 5 deletions google/cloud/run_v2/services/services/transports/rest.py
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,6 @@ def __call__(
request (~.gcr_service.CreateServiceRequest):
The request object. Request message for creating a
Service.

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 @@ -687,7 +686,6 @@ def __call__(
request (~.service.DeleteServiceRequest):
The request object. Request message to delete a Service
by its full name.

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 @@ -937,7 +935,6 @@ def __call__(
request (~.service.GetServiceRequest):
The request object. Request message for obtaining a
Service by its full name.

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 @@ -1034,7 +1031,6 @@ def __call__(
request (~.service.ListServicesRequest):
The request object. Request message for retrieving a list
of Services.

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 @@ -1391,7 +1387,6 @@ def __call__(
request (~.gcr_service.UpdateServiceRequest):
The request object. Request message for updating a
service.

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down
4 changes: 2 additions & 2 deletions google/cloud/run_v2/services/tasks/async_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -364,8 +364,8 @@ async def sample_list_tasks():

Args:
request (Optional[Union[google.cloud.run_v2.types.ListTasksRequest, dict]]):
The request object. Request message for retrieving a
list of Tasks.
The request object. Request message for retrieving a list
of Tasks.
parent (:class:`str`):
Required. The Execution from which
the Tasks should be listed. To list all
Expand Down
4 changes: 2 additions & 2 deletions google/cloud/run_v2/services/tasks/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -724,8 +724,8 @@ def sample_list_tasks():

Args:
request (Union[google.cloud.run_v2.types.ListTasksRequest, dict]):
The request object. Request message for retrieving a
list of Tasks.
The request object. Request message for retrieving a list
of Tasks.
parent (str):
Required. The Execution from which
the Tasks should be listed. To list all
Expand Down
2 changes: 0 additions & 2 deletions google/cloud/run_v2/services/tasks/transports/rest.py
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,6 @@ def __call__(
request (~.task.GetTaskRequest):
The request object. Request message for obtaining a Task
by its full name.

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 @@ -432,7 +431,6 @@ def __call__(
request (~.task.ListTasksRequest):
The request object. Request message for retrieving a list
of Tasks.

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