Skip to content

Commit 7964507

Browse files
committed
feat: generate libraries
1 parent 281eaae commit 7964507

File tree

2 files changed

+28
-3
lines changed

2 files changed

+28
-3
lines changed

.librarian/state.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3367,7 +3367,7 @@ libraries:
33673367
tag_format: '{id}-v{version}'
33683368
- id: google-cloud-storage
33693369
version: 3.10.1
3370-
last_generated_commit: 280bed6c219637610d09cebf696958dd99fd2f76
3370+
last_generated_commit: 2233f63baf69c2a481f30180045fcf036242781d
33713371
apis:
33723372
- path: google/storage/v2
33733373
service_config: storage_v2.yaml

packages/google-cloud-storage/google/cloud/_storage_v2/types/storage.py

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1798,6 +1798,9 @@ class WriteObjectResponse(proto.Message):
17981798
finalized.
17991799
18001800
This field is a member of `oneof`_ ``write_status``.
1801+
persisted_data_checksums (google.cloud._storage_v2.types.ObjectChecksums):
1802+
If persisted_size is set, contains checksums of persisted
1803+
data.
18011804
"""
18021805

18031806
persisted_size: int = proto.Field(
@@ -1811,6 +1814,11 @@ class WriteObjectResponse(proto.Message):
18111814
oneof="write_status",
18121815
message="Object",
18131816
)
1817+
persisted_data_checksums: "ObjectChecksums" = proto.Field(
1818+
proto.MESSAGE,
1819+
number=3,
1820+
message="ObjectChecksums",
1821+
)
18141822

18151823

18161824
class AppendObjectSpec(proto.Message):
@@ -1950,8 +1958,9 @@ class BidiWriteObjectRequest(proto.Message):
19501958
object_checksums (google.cloud._storage_v2.types.ObjectChecksums):
19511959
Optional. Checksums for the complete object. If the
19521960
checksums computed by the service don't match the specified
1953-
checksums the call fails. Might only be provided in the
1954-
first request or the last request (with finish_write set).
1961+
checksums the call fails. May be provided in the last
1962+
request (with finish_write set). For non-appendable objects
1963+
only, may also be provided in the first request.
19551964
state_lookup (bool):
19561965
Optional. For each ``BidiWriteObjectRequest`` where
19571966
``state_lookup`` is ``true`` or the client closes the
@@ -2058,6 +2067,9 @@ class BidiWriteObjectResponse(proto.Message):
20582067
finalized.
20592068
20602069
This field is a member of `oneof`_ ``write_status``.
2070+
persisted_data_checksums (google.cloud._storage_v2.types.ObjectChecksums):
2071+
If persisted_size is set, contains checksums of persisted
2072+
data.
20612073
write_handle (google.cloud._storage_v2.types.BidiWriteHandle):
20622074
An optional write handle that is returned
20632075
periodically in response messages. Clients
@@ -2078,6 +2090,11 @@ class BidiWriteObjectResponse(proto.Message):
20782090
oneof="write_status",
20792091
message="Object",
20802092
)
2093+
persisted_data_checksums: "ObjectChecksums" = proto.Field(
2094+
proto.MESSAGE,
2095+
number=4,
2096+
message="ObjectChecksums",
2097+
)
20812098
write_handle: "BidiWriteHandle" = proto.Field(
20822099
proto.MESSAGE,
20832100
number=3,
@@ -2276,6 +2293,9 @@ class QueryWriteStatusResponse(proto.Message):
22762293
finalized.
22772294
22782295
This field is a member of `oneof`_ ``write_status``.
2296+
persisted_data_checksums (google.cloud._storage_v2.types.ObjectChecksums):
2297+
If persisted_size is set, contains checksums of persisted
2298+
data.
22792299
"""
22802300

22812301
persisted_size: int = proto.Field(
@@ -2289,6 +2309,11 @@ class QueryWriteStatusResponse(proto.Message):
22892309
oneof="write_status",
22902310
message="Object",
22912311
)
2312+
persisted_data_checksums: "ObjectChecksums" = proto.Field(
2313+
proto.MESSAGE,
2314+
number=3,
2315+
message="ObjectChecksums",
2316+
)
22922317

22932318

22942319
class RewriteObjectRequest(proto.Message):

0 commit comments

Comments
 (0)