class Google::Apis::OsconfigV1::GcsObject

Cloud Storage object representation.

Attributes

bucket[RW]

Required. Bucket of the Cloud Storage object. Corresponds to the JSON property `bucket` @return [String]

generation_number[RW]

Required. Generation number of the Cloud Storage object. This is used to ensure that the ExecStep specified by this PatchJob does not change. Corresponds to the JSON property `generationNumber` @return [Fixnum]

object[RW]

Required. Name of the Cloud Storage object. Corresponds to the JSON property `object` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/osconfig_v1/classes.rb, line 361
def update!(**args)
  @bucket = args[:bucket] if args.key?(:bucket)
  @generation_number = args[:generation_number] if args.key?(:generation_number)
  @object = args[:object] if args.key?(:object)
end