Class: Google::Storage::Data::BucketActionCatalog

Inherits:
BucketAction
  • Object
show all
Defined in:
lib/google/storage/property/bucket_action.rb

Overview

Manages a BucketAction nested object Data is coming from the Puppet manifest

Instance Attribute Summary

Attributes inherited from BucketAction

#storage_class, #type

Instance Method Summary collapse

Methods inherited from BucketAction

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

Constructor Details

#initialize(args) ⇒ BucketActionCatalog

Returns a new instance of BucketActionCatalog.



95
96
97
98
# File 'lib/google/storage/property/bucket_action.rb', line 95

def initialize(args)
  @storage_class = Google::Storage::Property::String.unsafe_munge(args['storage_class'])
  @type = Google::Storage::Property::Enum.unsafe_munge(args['type'])
end