diff --git a/.librarian/state.yaml b/.librarian/state.yaml index bd39d2a7c0a4..739dba19ffb0 100644 --- a/.librarian/state.yaml +++ b/.librarian/state.yaml @@ -3367,7 +3367,7 @@ libraries: tag_format: '{id}-v{version}' - id: google-cloud-storage version: 3.10.1 - last_generated_commit: 280bed6c219637610d09cebf696958dd99fd2f76 + last_generated_commit: 2233f63baf69c2a481f30180045fcf036242781d apis: - path: google/storage/v2 service_config: storage_v2.yaml diff --git a/packages/google-cloud-storage/google/cloud/_storage_v2/types/storage.py b/packages/google-cloud-storage/google/cloud/_storage_v2/types/storage.py index 8d326c0936f7..f5678132c6bc 100644 --- a/packages/google-cloud-storage/google/cloud/_storage_v2/types/storage.py +++ b/packages/google-cloud-storage/google/cloud/_storage_v2/types/storage.py @@ -1798,6 +1798,9 @@ class WriteObjectResponse(proto.Message): finalized. This field is a member of `oneof`_ ``write_status``. + persisted_data_checksums (google.cloud._storage_v2.types.ObjectChecksums): + If persisted_size is set, contains checksums of persisted + data. """ persisted_size: int = proto.Field( @@ -1811,6 +1814,11 @@ class WriteObjectResponse(proto.Message): oneof="write_status", message="Object", ) + persisted_data_checksums: "ObjectChecksums" = proto.Field( + proto.MESSAGE, + number=3, + message="ObjectChecksums", + ) class AppendObjectSpec(proto.Message): @@ -1950,8 +1958,9 @@ class BidiWriteObjectRequest(proto.Message): object_checksums (google.cloud._storage_v2.types.ObjectChecksums): Optional. Checksums for the complete object. If the checksums computed by the service don't match the specified - checksums the call fails. Might only be provided in the - first request or the last request (with finish_write set). + checksums the call fails. May be provided in the last + request (with finish_write set). For non-appendable objects + only, may also be provided in the first request. state_lookup (bool): Optional. For each ``BidiWriteObjectRequest`` where ``state_lookup`` is ``true`` or the client closes the @@ -2058,6 +2067,9 @@ class BidiWriteObjectResponse(proto.Message): finalized. This field is a member of `oneof`_ ``write_status``. + persisted_data_checksums (google.cloud._storage_v2.types.ObjectChecksums): + If persisted_size is set, contains checksums of persisted + data. write_handle (google.cloud._storage_v2.types.BidiWriteHandle): An optional write handle that is returned periodically in response messages. Clients @@ -2078,6 +2090,11 @@ class BidiWriteObjectResponse(proto.Message): oneof="write_status", message="Object", ) + persisted_data_checksums: "ObjectChecksums" = proto.Field( + proto.MESSAGE, + number=4, + message="ObjectChecksums", + ) write_handle: "BidiWriteHandle" = proto.Field( proto.MESSAGE, number=3, @@ -2276,6 +2293,9 @@ class QueryWriteStatusResponse(proto.Message): finalized. This field is a member of `oneof`_ ``write_status``. + persisted_data_checksums (google.cloud._storage_v2.types.ObjectChecksums): + If persisted_size is set, contains checksums of persisted + data. """ persisted_size: int = proto.Field( @@ -2289,6 +2309,11 @@ class QueryWriteStatusResponse(proto.Message): oneof="write_status", message="Object", ) + persisted_data_checksums: "ObjectChecksums" = proto.Field( + proto.MESSAGE, + number=3, + message="ObjectChecksums", + ) class RewriteObjectRequest(proto.Message):