class Google::Apis::StorageV1::Bucket::Lifecycle::Rule::Action

The action to take.

Attributes

type[RW]

Type of the action. Currently, only Delete is supported. Corresponds to the JSON property `type` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/storage_v1/classes.rb, line 258
def update!(**args)
  @type = args[:type] if args.key?(:type)
end