Google Cloud Migration Center V1 Client - Class MachinePreferences (0.1.0)

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

The type of machines to consider when calculating virtual machine migration insights and recommendations.

Not all machine types are available in all zones and regions.

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

Namespace

Google \ Cloud \ MigrationCenter \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ allowed_machine_series array<Google\Cloud\MigrationCenter\V1\MachineSeries>

Compute Engine machine series to consider for insights and recommendations. If empty, no restriction is applied on the machine series.

getAllowedMachineSeries

Compute Engine machine series to consider for insights and recommendations.

If empty, no restriction is applied on the machine series.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setAllowedMachineSeries

Compute Engine machine series to consider for insights and recommendations.

If empty, no restriction is applied on the machine series.

Parameter
NameDescription
var array<Google\Cloud\MigrationCenter\V1\MachineSeries>
Returns
TypeDescription
$this