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

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

A Compute Engine machine series.

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

Namespace

Google \ Cloud \ MigrationCenter \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ code string

Code to identify a Compute Engine machine series. Consult https://cloud.google.com/compute/docs/machine-resource#machine_type_comparison for more details on the available series.

getCode

Code to identify a Compute Engine machine series. Consult https://cloud.google.com/compute/docs/machine-resource#machine_type_comparison for more details on the available series.

Returns
TypeDescription
string

setCode

Code to identify a Compute Engine machine series. Consult https://cloud.google.com/compute/docs/machine-resource#machine_type_comparison for more details on the available series.

Parameter
NameDescription
var string
Returns
TypeDescription
$this