Reference documentation and code samples for the Storage Control V2 API class Google::Cloud::Storage::Control::V2::StorageLayout::CustomPlacementConfig.
Configuration for Custom Dual Regions. It should specify precisely two
eligible regions within the same Multiregion. More information on regions
may be found here.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#data_locations
defdata_locations()->::Array<::String>
Returns
(::Array<::String>) — List of locations to use for data placement.
#data_locations=
defdata_locations=(value)->::Array<::String>
Parameter
value (::Array<::String>) — List of locations to use for data placement.
Returns
(::Array<::String>) — List of locations to use for data placement.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-03 UTC."],[],[],null,["# Storage Control V2 API - Class Google::Cloud::Storage::Control::V2::StorageLayout::CustomPlacementConfig (v1.5.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.5.0 (latest)](/ruby/docs/reference/google-cloud-storage-control-v2/latest/Google-Cloud-Storage-Control-V2-StorageLayout-CustomPlacementConfig)\n- [1.4.0](/ruby/docs/reference/google-cloud-storage-control-v2/1.4.0/Google-Cloud-Storage-Control-V2-StorageLayout-CustomPlacementConfig)\n- [1.3.0](/ruby/docs/reference/google-cloud-storage-control-v2/1.3.0/Google-Cloud-Storage-Control-V2-StorageLayout-CustomPlacementConfig)\n- [1.2.1](/ruby/docs/reference/google-cloud-storage-control-v2/1.2.1/Google-Cloud-Storage-Control-V2-StorageLayout-CustomPlacementConfig)\n- [1.1.0](/ruby/docs/reference/google-cloud-storage-control-v2/1.1.0/Google-Cloud-Storage-Control-V2-StorageLayout-CustomPlacementConfig)\n- [1.0.1](/ruby/docs/reference/google-cloud-storage-control-v2/1.0.1/Google-Cloud-Storage-Control-V2-StorageLayout-CustomPlacementConfig)\n- [0.1.1](/ruby/docs/reference/google-cloud-storage-control-v2/0.1.1/Google-Cloud-Storage-Control-V2-StorageLayout-CustomPlacementConfig) \nReference documentation and code samples for the Storage Control V2 API class Google::Cloud::Storage::Control::V2::StorageLayout::CustomPlacementConfig.\n\nConfiguration for Custom Dual Regions. It should specify precisely two\neligible regions within the same Multiregion. More information on regions\nmay be found [here](https://cloud.google.com/storage/docs/locations). \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #data_locations\n\n def data_locations() -\u003e ::Array\u003c::String\u003e\n\n**Returns**\n\n- (::Array\\\u003c::String\\\u003e) --- List of locations to use for data placement.\n\n### #data_locations=\n\n def data_locations=(value) -\u003e ::Array\u003c::String\u003e\n\n**Parameter**\n\n- **value** (::Array\\\u003c::String\\\u003e) --- List of locations to use for data placement. \n**Returns**\n\n- (::Array\\\u003c::String\\\u003e) --- List of locations to use for data placement."]]