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

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