Makes the operation conditional on whether the object's current
generation matches the given value. Setting to 0 makes the operation
succeed only if there are no live versions of the object.
Makes the operation conditional on whether the object's live
generation does not match the given value. If no live object exists, the
precondition fails. Setting to 0 makes the operation succeed only if
there is a live version of the object.
The expected final object size being uploaded.
If this value is set, closing the stream after writing fewer or more than
object_size bytes will result in an OUT_OF_RANGE error.
This situation is considered a client error, and if such an error occurs
you must start the upload over from scratch, this time sending the correct
number of bytes.
The object_size value is ignored for one-shot (non-resumable) writes.
Apply a predefined set of access controls to this object.
Valid values are "authenticatedRead", "bucketOwnerFullControl",
"bucketOwnerRead", "private", "projectPrivate", or "publicRead".
Apply a predefined set of access controls to this object.
Valid values are "authenticatedRead", "bucketOwnerFullControl",
"bucketOwnerRead", "private", "projectPrivate", or "publicRead".
Makes the operation conditional on whether the object's current
generation matches the given value. Setting to 0 makes the operation
succeed only if there are no live versions of the object.
Makes the operation conditional on whether the object's live
generation does not match the given value. If no live object exists, the
precondition fails. Setting to 0 makes the operation succeed only if
there is a live version of the object.
Whether the ifMetagenerationNotMatch field is set.
hasObjectSize()
publicbooleanhasObjectSize()
The expected final object size being uploaded.
If this value is set, closing the stream after writing fewer or more than
object_size bytes will result in an OUT_OF_RANGE error.
This situation is considered a client error, and if such an error occurs
you must start the upload over from scratch, this time sending the correct
number of bytes.
The object_size value is ignored for one-shot (non-resumable) writes.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-21 UTC."],[],[]]