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.
44 45 46 |
# File 'lib/google/apis/storagebatchoperations_v1/classes.rb', line 44 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
32 33 34 |
# File 'lib/google/apis/storagebatchoperations_v1/classes.rb', line 32 def bucket @bucket end |
#manifest ⇒ Google::Apis::StoragebatchoperationsV1::Manifest
Describes list of objects to be transformed.
Corresponds to the JSON property manifest
37 38 39 |
# File 'lib/google/apis/storagebatchoperations_v1/classes.rb', line 37 def manifest @manifest end |
#prefix_list ⇒ Google::Apis::StoragebatchoperationsV1::PrefixList
Describes prefixes of objects to be transformed.
Corresponds to the JSON property prefixList
42 43 44 |
# File 'lib/google/apis/storagebatchoperations_v1/classes.rb', line 42 def prefix_list @prefix_list end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
49 50 51 52 53 |
# File 'lib/google/apis/storagebatchoperations_v1/classes.rb', line 49 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 |