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

Attributes

generation[RW]

The generation of this object to use as the source. Corresponds to the JSON property `generation` @return [Fixnum]

name[RW]

The source object's name. All source objects must reside in the same bucket. Corresponds to the JSON property `name` @return [String]

object_preconditions[RW]

Conditions that must be met for this operation to execute. Corresponds to the JSON property `objectPreconditions` @return [Google::Apis::StorageV1::ComposeRequest::SourceObject::ObjectPreconditions]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/storage_v1/classes.rb, line 1039
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 1044
def update!(**args)
  @generation = args[:generation] if args.key?(:generation)
  @name = args[:name] if args.key?(:name)
  @object_preconditions = args[:object_preconditions] if args.key?(:object_preconditions)
end