Class: Google::Storage::Data::BucketRuleCatalog
- Inherits:
-
BucketRule
- Object
- BucketRule
- Google::Storage::Data::BucketRuleCatalog
- 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
Instance Method Summary collapse
-
#initialize(args) ⇒ BucketRuleCatalog
constructor
A new instance of BucketRuleCatalog.
Methods inherited from BucketRule
Constructor Details
#initialize(args) ⇒ BucketRuleCatalog
Returns a new instance of BucketRuleCatalog.
99 100 101 102 103 104 105 |
# File 'lib/google/storage/property/bucket_rule.rb', line 99 def initialize(args) @action = Google::Storage::Property::BucketAction.unsafe_munge(args['action']) @condition = Google::Storage::Property::BucketCondition.unsafe_munge( args['condition'] ) end |