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 \ ReportSummaryMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
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<SoleTenantNodeAllocation>
Set of per-nodetype allocation records |
getAllocatedRegions
Set of regions in which the assets are allocated
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setAllocatedRegions
Set of regions in which the assets are allocated
Parameter | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$this |
getAllocatedAssetCount
Count of assets which are allocated
Returns | |
---|---|
Type | Description |
int|string |
setAllocatedAssetCount
Count of assets which are allocated
Parameter | |
---|---|
Name | Description |
var |
int|string
|
Returns | |
---|---|
Type | Description |
$this |
getNodeAllocations
Set of per-nodetype allocation records
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setNodeAllocations
Set of per-nodetype allocation records
Parameter | |
---|---|
Name | Description |
var |
array<SoleTenantNodeAllocation>
|
Returns | |
---|---|
Type | Description |
$this |