Class: Google::Storage::Data::BucketRuleApi
- Inherits:
-
BucketRule
- Object
- BucketRule
- Google::Storage::Data::BucketRuleApi
- Defined in:
- lib/google/storage/property/bucket_rule.rb
Overview
Manages a BucketRule nested object Data is coming from the GCP API
Instance Attribute Summary
Attributes inherited from BucketRule
Instance Method Summary collapse
-
#initialize(args) ⇒ BucketRuleApi
constructor
A new instance of BucketRuleApi.
Methods inherited from BucketRule
Constructor Details
#initialize(args) ⇒ BucketRuleApi
Returns a new instance of BucketRuleApi.
87 88 89 90 |
# File 'lib/google/storage/property/bucket_rule.rb', line 87 def initialize(args) @action = Google::Storage::Property::BucketAction.api_munge(args['action']) @condition = Google::Storage::Property::BucketCondition.api_munge(args['condition']) end |