Class: Google::Storage::Data::BucketLifecycleApi
- Inherits:
-
BucketLifecycle
- Object
- BucketLifecycle
- Google::Storage::Data::BucketLifecycleApi
- Defined in:
- lib/google/storage/property/bucket_lifecycle.rb
Overview
Manages a BucketLifecycle nested object Data is coming from the GCP API
Instance Attribute Summary
Attributes inherited from BucketLifecycle
Instance Method Summary collapse
-
#initialize(args) ⇒ BucketLifecycleApi
constructor
A new instance of BucketLifecycleApi.
Methods inherited from BucketLifecycle
Constructor Details
#initialize(args) ⇒ BucketLifecycleApi
Returns a new instance of BucketLifecycleApi.
84 85 86 |
# File 'lib/google/storage/property/bucket_lifecycle.rb', line 84 def initialize(args) @rule = Google::Storage::Property::BucketRuleArray.api_munge(args['rule']) end |