8000 chore: [google-cloud-storagebatchoperations] Update gapic-generator-p… · googleapis/google-cloud-python@115c506 · GitHub
[go: up one dir, main page]

Skip to content

Commit 115c506

Browse files
chore: [google-cloud-storagebatchoperations] Update gapic-generator-python to 1.25.0 (#13881)
- [ ] Regenerate this pull request now. BEGIN_COMMIT_OVERRIDE chore: Update gapic-generator-python to 1.25.0 docs: minor fixes to the reference documentation END_COMMIT_OVERRIDE PiperOrigin-RevId: 755914147 Source-Link: googleapis/googleapis@97a83d7 Source-Link: googleapis/googleapis-gen@a9977ef Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXN0b3JhZ2ViYXRjaG9wZXJhdGlvbnMvLk93bEJvdC55YW1sIiwiaCI6ImE5OTc3ZWZlZGM4MzZjY2VjZTFmMDFkNTI5YjAzMTVlMWVmZTUyYWQifQ== BEGIN_NESTED_COMMIT docs: [google-cloud-storagebatchoperations] minor fixes to the reference documentation PiperOrigin-RevId: 755565942 Source-Link: googleapis/googleapis@f84c6ce Source-Link: googleapis/googleapis-gen@f933642 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXN0b3JhZ2ViYXRjaG9wZXJhdGlvbnMvLk93bEJvdC55YW1sIiwiaCI6ImY5MzM2NDIxMWFmMTQyMzk4MGRjNmViYmZlZTgzMzYxNDQ0ZDUzNzIifQ== END_NESTED_COMMIT --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Anthonios Partheniou <partheniou@google.com>
1 parent 269be43 commit 115c506

File tree

6 files changed

+28
-12
lines changed

6 files changed

+28
-12
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
from google.api_core.client_options import ClientOptions
3636
from google.auth import credentials as ga_credentials # type: ignore
3737
from google.oauth2 import service_account # type: ignore
38+
import google.protobuf
3839

3940
from google.cloud.storagebatchoperations_v1 import gapic_version as package_version
4041

@@ -1250,5 +1251,8 @@ async def __aexit__(self, exc_type, exc, tb):
12501251
gapic_version=package_version.__version__
12511252
)
12521253

1254+
if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
1255+
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
1256+
12531257

12541258
__all__ = ("StorageBatchOperationsAsyncClient",)

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
from google.auth.transport import mtls # type: ignore
4444
from google.auth.transport.grpc import SslCredentials # type: ignore
4545
from google.oauth2 import service_account # type: ignore
46+
import google.protobuf
4647

4748
from google.cloud.storagebatchoperations_v1 import gapic_version as package_version
4849

@@ -1704,5 +1705,7 @@ def list_locations(
17041705
gapic_version=package_version.__version__
17051706
)
17061707

1708+
if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
1709+
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
17071710

17081711
__all__ = ("StorageBatchOperationsClient",)

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
from google.cloud.location import locations_pb2 # type: ignore
2626
from google.longrunning import operations_pb2 # type: ignore
2727
from google.oauth2 import service_account # type: ignore
28+
import google.protobuf
2829
from google.protobuf import empty_pb2 # type: ignore
2930

3031
from google.cloud.storagebatchoperations_v1 import gapic_version as package_version
@@ -37,6 +38,9 @@
3738
gapic_version=package_version.__version__
3839
)
3940

41+
if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
42+
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
43+
4044

4145
class StorageBatchOperationsTransport(abc.ABC):
4246
"""Abstract transport class for StorageBatchOperations."""

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
from google.auth.transport.requests import AuthorizedSession # type: ignore
2727
from google.cloud.location import locations_pb2 # type: ignore
2828
from google.longrunning import operations_pb2 # type: ignore
29+
import google.protobuf
2930
from google.protobuf import empty_pb2 # type: ignore
3031
from google.protobuf import json_format
3132
from requests import __version__ as requests_version
@@ -58,6 +59,9 @@
5859
rest_version=f"requests@{requests_version}",
5960
)
6061

62+
if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
63+
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
64+
6165

6266
class StorageBatchOperationsRestInterceptor:
6367
"""Interceptor for StorageBatchOperations.

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

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -140,9 +140,9 @@ class CreateJobRequest(proto.Message):
140140
request_id (str):
141141
Optional. An optional request ID to identify requests.
142142
Specify a unique request ID in case you need to retry your
143-
request. Requests with same ``request_id`` will ignored for
144-
at least 60 minutes since the first request. The request ID
145-
must be a valid UUID with the exception that zero UUID is
143+
request. Requests with same ``request_id`` will be ignored
144+
for at least 60 minutes since the first request. The request
145+
ID must be a valid UUID with the exception that zero UUID is
146146
not supported (00000000-0000-0000-0000-000000000000).
147147
"""
148148

@@ -175,9 +175,9 @@ class CancelJobRequest(proto.Message):
175175
request_id (str):
176176
Optional. An optional request ID to identify requests.
177177
Specify a unique request ID in case you need to retry your
178-
request. Requests with same ``request_id`` will ignored for
179-
at least 60 minutes since the first request. The request ID
180-
must be a valid UUID with the exception that zero UUID is
178+
request. Requests with same ``request_id`` will be ignored
179+
for at least 60 minutes since the first request. The request
180+
ID must be a valid UUID with the exception that zero UUID is
181181
not supported (00000000-0000-0000-0000-000000000000).
182182
"""
183183

@@ -201,9 +201,9 @@ class DeleteJobRequest(proto.Message):
201201
request_id (str):
202202
Optional. An optional request ID to identify requests.
203203
Specify a unique request ID in case you need to retry your
204-
request. Requests with same ``request_id`` will ignored for
205-
at least 60 minutes since the first request. The request ID
206-
must be a valid UUID with the exception that zero UUID is
204+
request. Requests with same ``request_id`` will be ignored
205+
for at least 60 minutes since the first request. The request
206+
ID must be a valid UUID with the exception that zero UUID is
207207
not supported (00000000-0000-0000-0000-000000000000).
208208
"""
209209

@@ -242,7 +242,8 @@ class OperationMetadata(proto.Message):
242242
[google.longrunning.Operation.error][google.longrunning.Operation.error]
243243
value with a
244244
[google.rpc.Status.code][google.rpc.Status.code] of 1,
245-
corresponding to ``Code.CANCELLED``.
245+
corresponding to
246+
``[Code.CANCELLED][google.rpc.Code.CANCELLED]``.
246247
api_version (str):
247248
Output only. API version used to start the
248249
operation.

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -278,10 +278,10 @@ class Manifest(proto.Message):
278278
upon. ``manifest_location`` should either be
279279
280280
1) An absolute path to the object in the format of
281-
gs://bucket_name/path/file_name.csv.
281+
``gs://bucket_name/path/file_name.csv``.
282282
2) An absolute path with a single wildcard character in the
283283
file name, for example
284-
gs://bucket_name/path/file_name*.csv. If manifest
284+
``gs://bucket_name/path/file_name*.csv``. If manifest
285285
location is specified with a wildcard, objects in all
286286
manifest files matching the pattern will be acted upon.
287287
"""

0 commit comments

Comments
 (0)
0