Class: Google::Storage::Property::BucketAcl

Inherits:
Base
  • Object
show all
Defined in:
lib/google/storage/property/bucket_acl.rb

Overview

A class to manage input to Acl for bucket.

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Base

#insync?

Class Method Details

.api_munge(value) ⇒ Object

Used for parsing GCP API responses



158
159
160
161
# File 'lib/google/storage/property/bucket_acl.rb', line 158

def self.api_munge(value)
  return if value.nil?
  Data::BucketAclApi.new(value)
end

.unsafe_munge(value) ⇒ Object

Used for parsing Puppet catalog



152
153
154
155
# File 'lib/google/storage/property/bucket_acl.rb', line 152

def self.unsafe_munge(value)
  return if value.nil?
  Data::BucketAclCatalog.new(value)
end

Instance Method Details

#unsafe_munge(value) ⇒ Object

Used for parsing Puppet catalog



147
148
149
# File 'lib/google/storage/property/bucket_acl.rb', line 147

def unsafe_munge(value)
  self.class.unsafe_munge(value)
end