class Google::Apis::StorageV1::Bucket::Autoclass
The bucket's Autoclass
configuration.
Attributes
enabled[RW]
Whether or not Autoclass
is enabled on this bucket Corresponds to the JSON property `enabled` @return [Boolean]
enabled?[RW]
Whether or not Autoclass
is enabled on this bucket Corresponds to the JSON property `enabled` @return [Boolean]
toggle_time[RW]
A date and time in RFC 3339 format representing the instant at which “enabled” was last toggled. Corresponds to the JSON property `toggleTime` @return [DateTime]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/storage_v1/classes.rb, line 267 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 272 def update!(**args) @enabled = args[:enabled] if args.key?(:enabled) @toggle_time = args[:toggle_time] if args.key?(:toggle_time) end