class Google::Apis::StorageV1::ComposeRequest::SourceObject::ObjectPreconditions

Conditions that must be met for this operation to execute.

Attributes

if_generation_match[RW]

Only perform the composition if the generation of the source object that would be used matches this value. If this value and a generation are both specified, they must be the same value or the call will fail. Corresponds to the JSON property `ifGenerationMatch` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/storage_v1/classes.rb, line 1061
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/storage_v1/classes.rb, line 1066
def update!(**args)
  @if_generation_match = args[:if_generation_match] if args.key?(:if_generation_match)
end