Method: Google::Cloud::Storage::Bucket::Lifecycle::Rule#action

Defined in:
lib/google/cloud/storage/bucket/lifecycle.rb,
lib/google/cloud/storage/bucket/lifecycle.rb

#actionString

The type of action taken when the rule's conditions are met. Currently, only Delete and SetStorageClass are supported.

Returns:

  • (String)

    the current value of action



437
438
439
# File 'lib/google/cloud/storage/bucket/lifecycle.rb', line 437

def action
  @action
end