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

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

A set of findings that applies to assets destined for Sole-Tenant nodes.

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

Namespace

Google \ Cloud \ MigrationCenter \ V1 \ ReportSummary

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ allocated_regions array

Set of regions in which the assets are allocated

↳ allocated_asset_count int|string

Count of assets which are allocated

↳ node_allocations array<Google\Cloud\MigrationCenter\V1\ReportSummary\SoleTenantNodeAllocation>

Set of per-nodetype allocation records

getAllocatedRegions

Set of regions in which the assets are allocated

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setAllocatedRegions

Set of regions in which the assets are allocated

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getAllocatedAssetCount

Count of assets which are allocated

Returns
TypeDescription
int|string

setAllocatedAssetCount

Count of assets which are allocated

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getNodeAllocations

Set of per-nodetype allocation records

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setNodeAllocations

Set of per-nodetype allocation records

Parameter
NameDescription
var array<Google\Cloud\MigrationCenter\V1\ReportSummary\SoleTenantNodeAllocation>
Returns
TypeDescription
$this