Class: Google::Storage::Data::BucketLifecycleApi

Inherits:
BucketLifecycle show all
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

#rule

Instance Method Summary collapse

Methods inherited from BucketLifecycle

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

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