Class: Google::Storage::Data::BucketLifecycleCatalog

Inherits:
BucketLifecycle show all
Defined in:
lib/google/storage/property/bucket_lifecycle.rb

Overview

Manages a BucketLifecycle nested object Data is coming from the Puppet manifest

Instance Attribute Summary

Attributes inherited from BucketLifecycle

#rule

Instance Method Summary collapse

Methods inherited from BucketLifecycle

#<=>, #==, #to_json, #to_s

Constructor Details

#initialize(args) ⇒ BucketLifecycleCatalog

Returns a new instance of BucketLifecycleCatalog.



92
93
94
# File 'lib/google/storage/property/bucket_lifecycle.rb', line 92

def initialize(args)
  @rule = Google::Storage::Property::BucketRuleArray.unsafe_munge(args['rule'])
end