Class: Google::Storage::Data::BucketAclCatalog
- Defined in:
- lib/google/storage/property/bucket_acl.rb
Overview
Manages a BucketAcl nested object Data is coming from the Puppet manifest
Instance Attribute Summary
Attributes inherited from BucketAcl
#bucket, #domain, #email, #entity, #entity_id, #id, #project_team, #role
Instance Method Summary collapse
-
#initialize(args) ⇒ BucketAclCatalog
constructor
rubocop:disable Metrics/MethodLength.
Methods inherited from BucketAcl
Constructor Details
#initialize(args) ⇒ BucketAclCatalog
rubocop:disable Metrics/MethodLength
128 129 130 131 132 133 134 135 136 137 138 |
# File 'lib/google/storage/property/bucket_acl.rb', line 128 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']) @id = Google::Storage::Property::String.unsafe_munge(args['id']) @project_team = Google::Storage::Property::BucketProjectTeam.unsafe_munge(args['project_team']) @role = Google::Storage::Property::Enum.unsafe_munge(args['role']) end |