Google Cloud Migration Center V1 Client - Class RegionPreferences (0.2.0)

Reference documentation and code samples for the Google Cloud Migration Center V1 Client class RegionPreferences.

The user preferences relating to target regions.

Generated from protobuf message google.cloud.migrationcenter.v1.RegionPreferences

Namespace

Google \ Cloud \ MigrationCenter \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ preferred_regions array

A list of preferred regions, ordered by the most preferred region first. Set only valid Google Cloud region names. See https://cloud.google.com/compute/docs/regions-zones for available regions.

getPreferredRegions

A list of preferred regions, ordered by the most preferred region first.

Set only valid Google Cloud region names. See https://cloud.google.com/compute/docs/regions-zones for available regions.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setPreferredRegions

A list of preferred regions, ordered by the most preferred region first.

Set only valid Google Cloud region names. See https://cloud.google.com/compute/docs/regions-zones for available regions.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this