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

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
Name Description
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
Type Description
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
Name Description
var string[]
Returns
Type Description
$this