Class: Google::Apis::StorageV1::RelocateBucketRequest::DestinationCustomPlacementConfig
- Inherits:
-
Object
- Object
- Google::Apis::StorageV1::RelocateBucketRequest::DestinationCustomPlacementConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/storage_v1/classes.rb,
lib/google/apis/storage_v1/representations.rb,
lib/google/apis/storage_v1/representations.rb
Overview
The bucket's new custom placement configuration if relocating to a Custom Dual Region.
Instance Attribute Summary collapse
-
#data_locations ⇒ Array<String>
The list of regional locations in which data is placed.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DestinationCustomPlacementConfig
constructor
A new instance of DestinationCustomPlacementConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DestinationCustomPlacementConfig
Returns a new instance of DestinationCustomPlacementConfig.
2976 2977 2978 |
# File 'lib/google/apis/storage_v1/classes.rb', line 2976 def initialize(**args) update!(**args) end |
Instance Attribute Details
#data_locations ⇒ Array<String>
The list of regional locations in which data is placed.
Corresponds to the JSON property dataLocations
2974 2975 2976 |
# File 'lib/google/apis/storage_v1/classes.rb', line 2974 def data_locations @data_locations end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2981 2982 2983 |
# File 'lib/google/apis/storage_v1/classes.rb', line 2981 def update!(**args) @data_locations = args[:data_locations] if args.key?(:data_locations) end |