Class: Google::Storage::Data::BucketDefaultObjectAclCatalog

Inherits:
BucketDefaultObjectAcl show all
Defined in:
lib/google/storage/property/bucket_default_object_acl.rb

Overview

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

Instance Attribute Summary

Attributes inherited from BucketDefaultObjectAcl

#bucket, #domain, #email, #entity, #entity_id, #generation, #id, #object, #project_team, #role

Instance Method Summary collapse

Methods inherited from BucketDefaultObjectAcl

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

Constructor Details

#initialize(args) ⇒ BucketDefaultObjectAclCatalog

Returns a new instance of BucketDefaultObjectAclCatalog.



137
138
139
140
141
142
143
144
145
146
147
148
149
# File 'lib/google/storage/property/bucket_default_object_acl.rb', line 137

def initialize(args)
  @bucket = Google::Storage::Property::BucketNameRef.unsafe_munge(args['bucket'])
  @domain = Google::Storage::Property::String.unsafe_munge(args['domain'])
  @email = Google::Storage::Property::String.unsafe_munge(args['email'])
  @entity = Google::Storage::Property::String.unsafe_munge(args['entity'])
  @entity_id = Google::Storage::Property::String.unsafe_munge(args['entity_id'])
  @generation = Google::Storage::Property::Integer.unsafe_munge(args['generation'])
  @id = Google::Storage::Property::String.unsafe_munge(args['id'])
  @object = Google::Storage::Property::String.unsafe_munge(args['object'])
  @project_team =
    Google::Storage::Property::BucketProjectTeam.unsafe_munge(args['project_team'])
  @role = Google::Storage::Property::Enum.unsafe_munge(args['role'])
end