class Google::Apis::OsconfigV1alpha::OsPolicyResourceFileGcs

Specifies a file available as a Cloud Storage Object.

Attributes

bucket[RW]

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

generation[RW]

Generation number of the Cloud Storage object. Corresponds to the JSON property `generation` @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_v1alpha/classes.rb, line 1675
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_v1alpha/classes.rb, line 1680
def update!(**args)
  @bucket = args[:bucket] if args.key?(:bucket)
  @generation = args[:generation] if args.key?(:generation)
  @object = args[:object] if args.key?(:object)
end