Google Cloud Migration Center V1 Client - Class MachineSeriesAllocation (0.3.1)

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

Represents a data point tracking the count of assets allocated for a specific Machine Series.

Generated from protobuf message google.cloud.migrationcenter.v1.ReportSummary.MachineSeriesAllocation

Namespace

Google \ Cloud \ MigrationCenter \ V1 \ ReportSummary

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ machine_series Google\Cloud\MigrationCenter\V1\MachineSeries

The Machine Series (e.g. "E2", "N2")

↳ allocated_asset_count int|string

Count of assets allocated to this machine series.

getMachineSeries

The Machine Series (e.g. "E2", "N2")

Returns
TypeDescription
Google\Cloud\MigrationCenter\V1\MachineSeries|null

hasMachineSeries

clearMachineSeries

setMachineSeries

The Machine Series (e.g. "E2", "N2")

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

getAllocatedAssetCount

Count of assets allocated to this machine series.

Returns
TypeDescription
int|string

setAllocatedAssetCount

Count of assets allocated to this machine series.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this