Class: Google::Apis::StoragebatchoperationsV1::Bucket
- Inherits:
-
Object
- Object
- Google::Apis::StoragebatchoperationsV1::Bucket
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/storagebatchoperations_v1/classes.rb,
lib/google/apis/storagebatchoperations_v1/representations.rb,
lib/google/apis/storagebatchoperations_v1/representations.rb
Overview
Describes configuration of a single bucket and its objects to be transformed.
Instance Attribute Summary collapse
-
#bucket ⇒ String
Required.
-
#manifest ⇒ Google::Apis::StoragebatchoperationsV1::Manifest
Describes list of objects to be transformed.
-
#prefix_list ⇒ Google::Apis::StoragebatchoperationsV1::PrefixList
Describes prefixes of objects to be transformed.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Bucket
constructor
A new instance of Bucket.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Bucket
Returns a new instance of Bucket.
71 72 73 |
# File 'lib/google/apis/storagebatchoperations_v1/classes.rb', line 71 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bucket ⇒ String
Required. Bucket name for the objects to be transformed.
Corresponds to the JSON property bucket
59 60 61 |
# File 'lib/google/apis/storagebatchoperations_v1/classes.rb', line 59 def bucket @bucket end |
#manifest ⇒ Google::Apis::StoragebatchoperationsV1::Manifest
Describes list of objects to be transformed.
Corresponds to the JSON property manifest
64 65 66 |
# File 'lib/google/apis/storagebatchoperations_v1/classes.rb', line 64 def manifest @manifest end |
#prefix_list ⇒ Google::Apis::StoragebatchoperationsV1::PrefixList
Describes prefixes of objects to be transformed.
Corresponds to the JSON property prefixList
69 70 71 |
# File 'lib/google/apis/storagebatchoperations_v1/classes.rb', line 69 def prefix_list @prefix_list end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
76 77 78 79 80 |
# File 'lib/google/apis/storagebatchoperations_v1/classes.rb', line 76 def update!(**args) @bucket = args[:bucket] if args.key?(:bucket) @manifest = args[:manifest] if args.key?(:manifest) @prefix_list = args[:prefix_list] if args.key?(:prefix_list) end |