Class: Google::Apis::StorageV1::BucketStorageLayout::CustomPlacementConfig
- Inherits:
-
Object
- Object
- Google::Apis::StorageV1::BucketStorageLayout::CustomPlacementConfig
- 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 custom placement configuration for Custom Dual Regions.
Instance Attribute Summary collapse
-
#data_locations ⇒ Array<String>
The list of regional locations in which data is placed.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CustomPlacementConfig
constructor
A new instance of CustomPlacementConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CustomPlacementConfig
Returns a new instance of CustomPlacementConfig.
1345 1346 1347 |
# File 'lib/google/apis/storage_v1/classes.rb', line 1345 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
1343 1344 1345 |
# File 'lib/google/apis/storage_v1/classes.rb', line 1343 def data_locations @data_locations end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1350 1351 1352 |
# File 'lib/google/apis/storage_v1/classes.rb', line 1350 def update!(**args) @data_locations = args[:data_locations] if args.key?(:data_locations) end |