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 \ ReportSummaryMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
Google\Cloud\MigrationCenter\V1\MachineSeries|null |
hasMachineSeries
clearMachineSeries
setMachineSeries
The Machine Series (e.g. "E2", "N2")
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\MigrationCenter\V1\MachineSeries
|
Returns | |
---|---|
Type | Description |
$this |
getAllocatedAssetCount
Count of assets allocated to this machine series.
Returns | |
---|---|
Type | Description |
int|string |
setAllocatedAssetCount
Count of assets allocated to this machine series.
Parameter | |
---|---|
Name | Description |
var |
int|string
|
Returns | |
---|---|
Type | Description |
$this |