@@ -66,7 +66,7 @@ service Storage {
6666 // each following call to `Create`. If there is an error or the connection is
6767 // broken during the resumable `Create()`, the client should check the status
6868 // of the `Create()` by calling `QueryWriteStatus()` and continue writing from
69- // the returned `committed_size `. This may be less than the amount of data the
69+ // the returned `persisted_size `. This may be less than the amount of data the
7070 // client previously sent.
7171 //
7272 // The service will not view the object as complete until the client has
@@ -84,7 +84,7 @@ service Storage {
8484 rpc StartResumableWrite (StartResumableWriteRequest ) returns (StartResumableWriteResponse ) {
8585 }
8686
87- // Determines the `committed_size ` for an object that is being written, which
87+ // Determines the `persisted_size ` for an object that is being written, which
8888 // can then be used as the `write_offset` for the next `Write()` call.
8989 //
9090 // If the object does not exist (i.e., the object has been deleted, or the
@@ -95,7 +95,7 @@ service Storage {
9595 // much data has been processed for this object. This is useful if the
9696 // client is buffering data and needs to know which data can be safely
9797 // evicted. For any sequence of `QueryWriteStatus()` calls for a given
98- // object name, the sequence of returned `committed_size ` values will be
98+ // object name, the sequence of returned `persisted_size ` values will be
9999 // non-decreasing.
100100 rpc QueryWriteStatus (QueryWriteStatusRequest ) returns (QueryWriteStatusResponse ) {
101101 option (google.api.method_signature ) = "upload_id" ;
@@ -236,7 +236,7 @@ message WriteObjectRequest {
236236 //
237237 // In the first `WriteObjectRequest` of a `WriteObject()` action, it
238238 // indicates the initial offset for the `Write()` call. The value **must** be
239- // equal to the `committed_size ` that a call to `QueryWriteStatus()` would
239+ // equal to the `persisted_size ` that a call to `QueryWriteStatus()` would
240240 // return (0 if this is the first write to the object).
241241 //
242242 // On subsequent calls, this value **must** be no larger than the sum of the
@@ -280,7 +280,7 @@ message WriteObjectResponse {
280280 oneof write_status {
281281 // The total number of bytes that have been processed for the given object
282282 // from all `WriteObject` calls. Only set if the upload has not finalized.
283- int64 committed_size = 1 ;
283+ int64 persisted_size = 1 ;
284284
285285 // A resource containing the metadata for the uploaded object. Only set if
286286 // the upload has finalized.
@@ -309,7 +309,7 @@ message QueryWriteStatusResponse {
309309 // from all `WriteObject` calls. This is the correct value for the
310310 // 'write_offset' field to use when resuming the `WriteObject` operation.
311311 // Only set if the upload has not finalized.
312- int64 committed_size = 1 ;
312+ int64 persisted_size = 1 ;
313313
314314 // A resource containing the metadata for the uploaded object. Only set if
315315 // the upload has finalized.
@@ -512,15 +512,17 @@ message Bucket {
512512
513513 // Public Access Prevention config values.
514514 enum PublicAccessPrevention {
515- // Does not prevent access from being granted to public members 'allUsers'
516- // or 'allAuthenticatedUsers'. This setting may be enforced by Org Policy
517- // at the project/folder/organization level.
515+ // No specified PublicAccessPrevention.
518516 PUBLIC_ACCESS_PREVENTION_UNSPECIFIED = 0 ;
519517
520518 // Prevents access from being granted to public members 'allUsers' and
521519 // 'allAuthenticatedUsers'. Prevents attempts to grant new access to
522520 // public members.
523521 ENFORCED = 1 ;
522+
523+ // This setting is inherited from Org Policy. Does not prevent access from
524+ // being granted to public members 'allUsers' or 'allAuthenticatedUsers'.
525+ INHERITED = 2 ;
524526 }
525527
526528 // Bucket restriction options currently enforced on the bucket.
@@ -796,7 +798,10 @@ message Bucket {
796798 // but won't be able to use zonal quota. The values are case-insensitive.
797799 // Attempting to update this field after bucket is created will result in an
798800 // error.
799- repeated string zone_affinity = 24 [(google.api.field_behavior ) = IMMUTABLE ];
801+ repeated string zone_affinity = 24 [
802+ deprecated = true ,
803+ (google.api.field_behavior ) = IMMUTABLE
804+ ];
800805
801806 // Reserved for future use.
802807 bool satisfies_pzs = 25 ;
@@ -876,7 +881,8 @@ message Object {
876881 string encryption_algorithm = 1 ;
877882
878883 // SHA256 hash value of the encryption key.
879- string key_sha256 = 2 ;
884+ // In raw bytes format (not base64-encoded).
885+ bytes key_sha256_bytes = 3 ;
880886 }
881887
882888 // Immutable. The name of this object. Nearly any sequence of unicode characters is
0 commit comments