Google Cloud Storage Control V2 Client - Class CustomPlacementConfig (1.0.2)

Reference documentation and code samples for the Google Cloud Storage Control V2 Client class CustomPlacementConfig.

Configuration for Custom Dual Regions. It should specify precisely two eligible regions within the same Multiregion. More information on regions may be found https://cloud.google.com/storage/docs/locations.

Generated from protobuf message google.storage.control.v2.StorageLayout.CustomPlacementConfig

Namespace

Google \ Cloud \ Storage \ Control \ V2 \ StorageLayout

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ data_locations array

List of locations to use for data placement.

getDataLocations

List of locations to use for data placement.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setDataLocations

List of locations to use for data placement.

Parameter
Name Description
var string[]
Returns
Type Description
$this