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

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

Represents the assets allocated to a specific Sole-Tenant node type.

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

Namespace

Google \ Cloud \ MigrationCenter \ V1 \ ReportSummary

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ node Google\Cloud\MigrationCenter\V1\SoleTenantNodeType

Sole Tenant node type, e.g. "m3-node-128-3904"

↳ node_count int|string

Count of this node type to be provisioned

↳ allocated_asset_count int|string

Count of assets allocated to these nodes

getNode

Sole Tenant node type, e.g. "m3-node-128-3904"

Returns
Type Description
Google\Cloud\MigrationCenter\V1\SoleTenantNodeType|null

hasNode

clearNode

setNode

Sole Tenant node type, e.g. "m3-node-128-3904"

Parameter
Name Description
var Google\Cloud\MigrationCenter\V1\SoleTenantNodeType
Returns
Type Description
$this

getNodeCount

Count of this node type to be provisioned

Returns
Type Description
int|string

setNodeCount

Count of this node type to be provisioned

Parameter
Name Description
var int|string
Returns
Type Description
$this

getAllocatedAssetCount

Count of assets allocated to these nodes

Returns
Type Description
int|string

setAllocatedAssetCount

Count of assets allocated to these nodes

Parameter
Name Description
var int|string
Returns
Type Description
$this