Class: Google::Storage::Data::BucketOwnerApi
- Inherits:
-
BucketOwner
- Object
- BucketOwner
- Google::Storage::Data::BucketOwnerApi
- Defined in:
- lib/google/storage/property/bucket_owner.rb
Overview
Manages a BucketOwner nested object Data is coming from the GCP API
Instance Attribute Summary
Attributes inherited from BucketOwner
Instance Method Summary collapse
-
#initialize(args) ⇒ BucketOwnerApi
constructor
A new instance of BucketOwnerApi.
Methods inherited from BucketOwner
Constructor Details
#initialize(args) ⇒ BucketOwnerApi
Returns a new instance of BucketOwnerApi.
86 87 88 89 |
# File 'lib/google/storage/property/bucket_owner.rb', line 86 def initialize(args) @entity = Google::Storage::Property::String.api_munge(args['entity']) @entity_id = Google::Storage::Property::String.api_munge(args['entityId']) end |