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.
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 |