class Google::Apis::StorageV1::Bucket::Versioning

The bucket's versioning configuration.

Attributes

enabled[RW]

While set to true, versioning is fully enabled for this bucket. Corresponds to the JSON property `enabled` @return [Boolean]

enabled?[RW]

While set to true, versioning is fully enabled for this bucket. Corresponds to the JSON property `enabled` @return [Boolean]

Public Class Methods

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