class Google::Apis::OsconfigV1beta::GcsObject

Google Cloud Storage object representation.

Attributes

bucket[RW]

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

generation_number[RW]

Required. Generation number of the Google 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 Google 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_v1beta/classes.rb, line 550
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_v1beta/classes.rb, line 555
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