diff --git a/packages/google-cloud-run/google/cloud/run_v2/services/executions/async_client.py b/packages/google-cloud-run/google/cloud/run_v2/services/executions/async_client.py index d75441660682..46ab6b8db50e 100644 --- a/packages/google-cloud-run/google/cloud/run_v2/services/executions/async_client.py +++ b/packages/google-cloud-run/google/cloud/run_v2/services/executions/async_client.py @@ -269,6 +269,7 @@ async def sample_get_execution(): name (:class:`str`): Required. The full name of the Execution. Format: + projects/{project}/locations/{location}/jobs/{job}/executions/{execution}, where {project} can be project id or number. @@ -501,6 +502,7 @@ async def sample_delete_execution(): name (:class:`str`): Required. The name of the Execution to delete. Format: + projects/{project}/locations/{location}/jobs/{job}/executions/{execution}, where {project} can be project id or number. diff --git a/packages/google-cloud-run/google/cloud/run_v2/services/executions/client.py b/packages/google-cloud-run/google/cloud/run_v2/services/executions/client.py index c888cb044672..b4ad1904bb4e 100644 --- a/packages/google-cloud-run/google/cloud/run_v2/services/executions/client.py +++ b/packages/google-cloud-run/google/cloud/run_v2/services/executions/client.py @@ -601,6 +601,7 @@ def sample_get_execution(): name (str): Required. The full name of the Execution. Format: + projects/{project}/locations/{location}/jobs/{job}/executions/{execution}, where {project} can be project id or number. @@ -833,6 +834,7 @@ def sample_delete_execution(): name (str): Required. The name of the Execution to delete. Format: + projects/{project}/locations/{location}/jobs/{job}/executions/{execution}, where {project} can be project id or number. diff --git a/packages/google-cloud-run/google/cloud/run_v2/services/revisions/async_client.py b/packages/google-cloud-run/google/cloud/run_v2/services/revisions/async_client.py index 9f11a0929937..7ada926fe4a5 100644 --- a/packages/google-cloud-run/google/cloud/run_v2/services/revisions/async_client.py +++ b/packages/google-cloud-run/google/cloud/run_v2/services/revisions/async_client.py @@ -270,6 +270,7 @@ async def sample_get_revision(): name (:class:`str`): Required. The full name of the Revision. Format: + projects/{project}/locations/{location}/services/{service}/revisions/{revision} This corresponds to the ``name`` field @@ -380,6 +381,7 @@ async def sample_list_revisions(): Revisions should be listed. To list all Revisions across Services, use "-" instead of Service name. Format: + projects/{project}/locations/{location}/services/{service} This corresponds to the ``parent`` field @@ -502,6 +504,7 @@ async def sample_delete_revision(): name (:class:`str`): Required. The name of the Revision to delete. Format: + projects/{project}/locations/{location}/services/{service}/revisions/{revision} This corresponds to the ``name`` field diff --git a/packages/google-cloud-run/google/cloud/run_v2/services/revisions/client.py b/packages/google-cloud-run/google/cloud/run_v2/services/revisions/client.py index b0ea0c75f04e..56705e84a101 100644 --- a/packages/google-cloud-run/google/cloud/run_v2/services/revisions/client.py +++ b/packages/google-cloud-run/google/cloud/run_v2/services/revisions/client.py @@ -602,6 +602,7 @@ def sample_get_revision(): name (str): Required. The full name of the Revision. Format: + projects/{project}/locations/{location}/services/{service}/revisions/{revision} This corresponds to the ``name`` field @@ -720,6 +721,7 @@ def sample_list_revisions(): Revisions should be listed. To list all Revisions across Services, use "-" instead of Service name. Format: + projects/{project}/locations/{location}/services/{service} This corresponds to the ``parent`` field @@ -850,6 +852,7 @@ def sample_delete_revision(): name (str): Required. The name of the Revision to delete. Format: + projects/{project}/locations/{location}/services/{service}/revisions/{revision} This corresponds to the ``name`` field diff --git a/packages/google-cloud-run/google/cloud/run_v2/services/tasks/async_client.py b/packages/google-cloud-run/google/cloud/run_v2/services/tasks/async_client.py index 45bb8d485ebc..3837922f41c0 100644 --- a/packages/google-cloud-run/google/cloud/run_v2/services/tasks/async_client.py +++ b/packages/google-cloud-run/google/cloud/run_v2/services/tasks/async_client.py @@ -265,6 +265,7 @@ async def sample_get_task(): name (:class:`str`): Required. The full name of the Task. Format: + projects/{project}/locations/{location}/jobs/{job}/executions/{execution}/tasks/{task} This corresponds to the ``name`` field @@ -373,6 +374,7 @@ async def sample_list_tasks(): "-" instead of Execution name. To list all Tasks across Jobs, use "-" instead of Job name. Format: + projects/{project}/locations/{location}/jobs/{job}/executions/{execution} This corresponds to the ``parent`` field diff --git a/packages/google-cloud-run/google/cloud/run_v2/services/tasks/client.py b/packages/google-cloud-run/google/cloud/run_v2/services/tasks/client.py index e89237a8b27e..617087affb27 100644 --- a/packages/google-cloud-run/google/cloud/run_v2/services/tasks/client.py +++ b/packages/google-cloud-run/google/cloud/run_v2/services/tasks/client.py @@ -625,6 +625,7 @@ def sample_get_task(): name (str): Required. The full name of the Task. Format: + projects/{project}/locations/{location}/jobs/{job}/executions/{execution}/tasks/{task} This corresponds to the ``name`` field @@ -733,6 +734,7 @@ def sample_list_tasks(): "-" instead of Execution name. To list all Tasks across Jobs, use "-" instead of Job name. Format: + projects/{project}/locations/{location}/jobs/{job}/executions/{execution} This corresponds to the ``parent`` field diff --git a/packages/google-cloud-run/google/cloud/run_v2/types/execution.py b/packages/google-cloud-run/google/cloud/run_v2/types/execution.py index 85f60652e56d..c556f700adbd 100644 --- a/packages/google-cloud-run/google/cloud/run_v2/types/execution.py +++ b/packages/google-cloud-run/google/cloud/run_v2/types/execution.py @@ -42,6 +42,7 @@ class GetExecutionRequest(proto.Message): name (str): Required. The full name of the Execution. Format: + projects/{project}/locations/{location}/jobs/{job}/executions/{execution}, where {project} can be project id or number. """ @@ -125,6 +126,7 @@ class DeleteExecutionRequest(proto.Message): name (str): Required. The name of the Execution to delete. Format: + projects/{project}/locations/{location}/jobs/{job}/executions/{execution}, where {project} can be project id or number. validate_only (bool): diff --git a/packages/google-cloud-run/google/cloud/run_v2/types/job.py b/packages/google-cloud-run/google/cloud/run_v2/types/job.py index 7d147c5d28c6..69eba3e06f6b 100644 --- a/packages/google-cloud-run/google/cloud/run_v2/types/job.py +++ b/packages/google-cloud-run/google/cloud/run_v2/types/job.py @@ -267,6 +267,7 @@ class Job(proto.Message): name (str): The fully qualified name of this Job. Format: + projects/{project}/locations/{location}/jobs/{job} uid (str): Output only. Server assigned unique diff --git a/packages/google-cloud-run/google/cloud/run_v2/types/k8s_min.py b/packages/google-cloud-run/google/cloud/run_v2/types/k8s_min.py index df57765e8619..61de7d1cbef0 100644 --- a/packages/google-cloud-run/google/cloud/run_v2/types/k8s_min.py +++ b/packages/google-cloud-run/google/cloud/run_v2/types/k8s_min.py @@ -505,6 +505,7 @@ class CloudSqlInstance(proto.Message): https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run. Format: + {project}:{location}:{instance} """ diff --git a/packages/google-cloud-run/google/cloud/run_v2/types/revision.py b/packages/google-cloud-run/google/cloud/run_v2/types/revision.py index 23de562b429c..4e405041bd95 100644 --- a/packages/google-cloud-run/google/cloud/run_v2/types/revision.py +++ b/packages/google-cloud-run/google/cloud/run_v2/types/revision.py @@ -43,6 +43,7 @@ class GetRevisionRequest(proto.Message): name (str): Required. The full name of the Revision. Format: + projects/{project}/locations/{location}/services/{service}/revisions/{revision} """ @@ -61,6 +62,7 @@ class ListRevisionsRequest(proto.Message): Revisions should be listed. To list all Revisions across Services, use "-" instead of Service name. Format: + projects/{project}/locations/{location}/services/{service} page_size (int): Maximum number of revisions to return in this @@ -127,6 +129,7 @@ class DeleteRevisionRequest(proto.Message): name (str): Required. The name of the Revision to delete. Format: + projects/{project}/locations/{location}/services/{service}/revisions/{revision} validate_only (bool): Indicates that the request should be diff --git a/packages/google-cloud-run/google/cloud/run_v2/types/task.py b/packages/google-cloud-run/google/cloud/run_v2/types/task.py index 8deb54875f56..346f34c9e9a5 100644 --- a/packages/google-cloud-run/google/cloud/run_v2/types/task.py +++ b/packages/google-cloud-run/google/cloud/run_v2/types/task.py @@ -43,6 +43,7 @@ class GetTaskRequest(proto.Message): name (str): Required. The full name of the Task. Format: + projects/{project}/locations/{location}/jobs/{job}/executions/{execution}/tasks/{task} """ @@ -62,6 +63,7 @@ class ListTasksRequest(proto.Message): Executions of a Job, use "-" instead of Execution name. To list all Tasks across Jobs, use "-" instead of Job name. Format: + projects/{project}/locations/{location}/jobs/{job}/executions/{execution} page_size (int): Maximum number of Tasks to return in this