Skip to content

Commit 6067691

Browse files
docs: [google-cloud-storagebatchoperations] A comment for method ListJobs in service StorageBatchOperations is changed (#13856)
- [ ] Regenerate this pull request now. BEGIN_COMMIT_OVERRIDE docs: A comment for field `parent` in message `.google.cloud.storagebatchoperations.v1.ListJobsRequest` is changed docs: A comment for field `name` in message `.google.cloud.storagebatchoperations.v1.GetJobRequest` is changed docs: A comment for field `name` in message `.google.cloud.storagebatchoperations.v1.CancelJobRequest` is changed docs: A comment for field `name` in message `.google.cloud.storagebatchoperations.v1.DeleteJobRequest` is changed docs: A comment for field `operation` in message `.google.cloud.storagebatchoperations.v1.OperationMetadata` is changed docs: A comment for method `ListJobs` in service `StorageBatchOperations` is changed END_COMMIT_OVERRIDE PiperOrigin-RevId: 752885882 Source-Link: googleapis/googleapis@6be93a0 Source-Link: googleapis/googleapis-gen@ac2aab8 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXN0b3JhZ2ViYXRjaG9wZXJhdGlvbnMvLk93bEJvdC55YW1sIiwiaCI6ImFjMmFhYjg3MDRlOTkwNDJlNDk4MjU5MzJhMmRhYzdlNmViODhmYzIifQ== --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Anthonios Partheniou <[email protected]>
1 parent baa765a commit 6067691

File tree

8 files changed

+20
-27
lines changed

8 files changed

+20
-27
lines changed

packages/google-cloud-storagebatchoperations/google/cloud/storagebatchoperations/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "0.1.1" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-cloud-storagebatchoperations/google/cloud/storagebatchoperations_v1/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "0.1.1" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-cloud-storagebatchoperations/google/cloud/storagebatchoperations_v1/services/storage_batch_operations/async_client.py

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ async def list_jobs(
321321
timeout: Union[float, object] = gapic_v1.method.DEFAULT,
322322
metadata: Sequence[Tuple[str, Union[str, bytes]]] = (),
323323
) -> pagers.ListJobsAsyncPager:
324-
r"""Lists Jobs in a given project and location.
324+
r"""Lists Jobs in a given project.
325325
326326
.. code-block:: python
327327
@@ -355,7 +355,7 @@ async def sample_list_jobs():
355355
The request object. Message for request to list Jobs
356356
parent (:class:`str`):
357357
Required. Format:
358-
projects/{project_id}/locations/{location_id} .
358+
projects/{project_id}/locations/global.
359359
360360
This corresponds to the ``parent`` field
361361
on the ``request`` instance; if ``request`` is provided, this
@@ -479,8 +479,7 @@ async def sample_get_job():
479479
The request object. Message for getting a Job
480480
name (:class:`str`):
481481
Required. ``name`` of the job to retrieve. Format:
482-
projects/{project_id}/locations/{location_id}/jobs/{job_id}
483-
.
482+
projects/{project_id}/locations/global/jobs/{job_id} .
484483
485484
This corresponds to the ``name`` field
486485
on the ``request`` instance; if ``request`` is provided, this
@@ -740,8 +739,7 @@ async def sample_delete_job():
740739
The request object. Message for deleting a Job
741740
name (:class:`str`):
742741
Required. The ``name`` of the job to delete. Format:
743-
projects/{project_id}/locations/{location_id}/jobs/{job_id}
744-
.
742+
projects/{project_id}/locations/global/jobs/{job_id} .
745743
746744
This corresponds to the ``name`` field
747745
on the ``request`` instance; if ``request`` is provided, this
@@ -844,7 +842,7 @@ async def sample_cancel_job():
844842
The request object. Message for Job to Cancel
845843
name (:class:`str`):
846844
Required. The ``name`` of the job to cancel. Format:
847-
projects/{project_id}/locations/{location_id}/jobs/{job_id}.
845+
projects/{project_id}/locations/global/jobs/{job_id}.
848846
849847
This corresponds to the ``name`` field
850848
on the ``request`` instance; if ``request`` is provided, this

packages/google-cloud-storagebatchoperations/google/cloud/storagebatchoperations_v1/services/storage_batch_operations/client.py

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -765,7 +765,7 @@ def list_jobs(
765765
timeout: Union[float, object] = gapic_v1.method.DEFAULT,
766766
metadata: Sequence[Tuple[str, Union[str, bytes]]] = (),
767767
) -> pagers.ListJobsPager:
768-
r"""Lists Jobs in a given project and location.
768+
r"""Lists Jobs in a given project.
769769
770770
.. code-block:: python
771771
@@ -799,7 +799,7 @@ def sample_list_jobs():
799799
The request object. Message for request to list Jobs
800800
parent (str):
801801
Required. Format:
802-
projects/{project_id}/locations/{location_id} .
802+
projects/{project_id}/locations/global.
803803
804804
This corresponds to the ``parent`` field
805805
on the ``request`` instance; if ``request`` is provided, this
@@ -920,8 +920,7 @@ def sample_get_job():
920920
The request object. Message for getting a Job
921921
name (str):
922922
Required. ``name`` of the job to retrieve. Format:
923-
projects/{project_id}/locations/{location_id}/jobs/{job_id}
924-
.
923+
projects/{project_id}/locations/global/jobs/{job_id} .
925924
926925
This corresponds to the ``name`` field
927926
on the ``request`` instance; if ``request`` is provided, this
@@ -1177,8 +1176,7 @@ def sample_delete_job():
11771176
The request object. Message for deleting a Job
11781177
name (str):
11791178
Required. The ``name`` of the job to delete. Format:
1180-
projects/{project_id}/locations/{location_id}/jobs/{job_id}
1181-
.
1179+
projects/{project_id}/locations/global/jobs/{job_id} .
11821180
11831181
This corresponds to the ``name`` field
11841182
on the ``request`` instance; if ``request`` is provided, this
@@ -1278,7 +1276,7 @@ def sample_cancel_job():
12781276
The request object. Message for Job to Cancel
12791277
name (str):
12801278
Required. The ``name`` of the job to cancel. Format:
1281-
projects/{project_id}/locations/{location_id}/jobs/{job_id}.
1279+
projects/{project_id}/locations/global/jobs/{job_id}.
12821280
12831281
This corresponds to the ``name`` field
12841282
on the ``request`` instance; if ``request`` is provided, this

packages/google-cloud-storagebatchoperations/google/cloud/storagebatchoperations_v1/services/storage_batch_operations/transports/grpc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ def list_jobs(
355355
]:
356356
r"""Return a callable for the list jobs method over gRPC.
357357
358-
Lists Jobs in a given project and location.
358+
Lists Jobs in a given project.
359359
360360
Returns:
361361
Callable[[~.ListJobsRequest],

packages/google-cloud-storagebatchoperations/google/cloud/storagebatchoperations_v1/services/storage_batch_operations/transports/grpc_asyncio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ def list_jobs(
363363
]:
364364
r"""Return a callable for the list jobs method over gRPC.
365365
366-
Lists Jobs in a given project and location.
366+
Lists Jobs in a given project.
367367
368368
Returns:
369369
Callable[[~.ListJobsRequest],

packages/google-cloud-storagebatchoperations/google/cloud/storagebatchoperations_v1/types/storage_batch_operations.py

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,7 @@ class ListJobsRequest(proto.Message):
4242
4343
Attributes:
4444
parent (str):
45-
Required. Format:
46-
projects/{project_id}/locations/{location_id} .
45+
Required. Format: projects/{project_id}/locations/global.
4746
filter (str):
4847
Optional. Filters results as defined by
4948
https://google.aip.dev/160.
@@ -116,8 +115,7 @@ class GetJobRequest(proto.Message):
116115
Attributes:
117116
name (str):
118117
Required. ``name`` of the job to retrieve. Format:
119-
projects/{project_id}/locations/{location_id}/jobs/{job_id}
120-
.
118+
projects/{project_id}/locations/global/jobs/{job_id} .
121119
"""
122120

123121
name: str = proto.Field(
@@ -173,7 +171,7 @@ class CancelJobRequest(proto.Message):
173171
Attributes:
174172
name (str):
175173
Required. The ``name`` of the job to cancel. Format:
176-
projects/{project_id}/locations/{location_id}/jobs/{job_id}.
174+
projects/{project_id}/locations/global/jobs/{job_id}.
177175
request_id (str):
178176
Optional. An optional request ID to identify requests.
179177
Specify a unique request ID in case you need to retry your
@@ -199,8 +197,7 @@ class DeleteJobRequest(proto.Message):
199197
Attributes:
200198
name (str):
201199
Required. The ``name`` of the job to delete. Format:
202-
projects/{project_id}/locations/{location_id}/jobs/{job_id}
203-
.
200+
projects/{project_id}/locations/global/jobs/{job_id} .
204201
request_id (str):
205202
Optional. An optional request ID to identify requests.
206203
Specify a unique request ID in case you need to retry your
@@ -231,7 +228,7 @@ class OperationMetadata(proto.Message):
231228
operation (str):
232229
Output only. The unique operation resource
233230
name. Format:
234-
projects/{project}/locations/{location}/operations/{operation}.
231+
projects/{project}/locations/global/operations/{operation}.
235232
create_time (google.protobuf.timestamp_pb2.Timestamp):
236233
Output only. The time the operation was
237234
created.

packages/google-cloud-storagebatchoperations/samples/generated_samples/snippet_metadata_google.cloud.storagebatchoperations.v1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
],
99
"language": "PYTHON",
1010
"name": "google-cloud-storagebatchoperations",
11-
"version": "0.1.1"
11+
"version": "0.1.0"
1212
},
1313
"snippets": [
1414
{

0 commit comments

Comments
 (0)