Class: Google::Storage::Data::BucketRuleCatalog

Inherits:
BucketRule
  • Object
show all
Defined in:
lib/google/storage/property/bucket_rule.rb

Overview

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

Instance Attribute Summary

Attributes inherited from BucketRule

#action, #condition

Instance Method Summary collapse

Methods inherited from BucketRule

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

Constructor Details

#initialize(args) ⇒ BucketRuleCatalog

Returns a new instance of BucketRuleCatalog.



96
97
98
99
# File 'lib/google/storage/property/bucket_rule.rb', line 96

def initialize(args)
  @action = Google::Storage::Property::BucketAction.unsafe_munge(args['action'])
  @condition = Google::Storage::Property::BucketCondition.unsafe_munge(args['condition'])
end