Google Cloud Migration Center V1 Client - Class ComputeEngineFinding (0.2.0)

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

A set of findings that applies to assets destined for Compute Engine.

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

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 were allocated.

↳ allocated_asset_count int|string

Count of assets which were allocated.

↳ machine_series_allocations array<Google\Cloud\MigrationCenter\V1\ReportSummary\MachineSeriesAllocation>

Distribution of assets based on the Machine Series.

↳ allocated_disk_types array

Set of disk types allocated to assets.

getAllocatedRegions

Set of regions in which the assets were allocated.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setAllocatedRegions

Set of regions in which the assets were allocated.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getAllocatedAssetCount

Count of assets which were allocated.

Returns
TypeDescription
int|string

setAllocatedAssetCount

Count of assets which were allocated.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getMachineSeriesAllocations

Distribution of assets based on the Machine Series.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setMachineSeriesAllocations

Distribution of assets based on the Machine Series.

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

getAllocatedDiskTypes

Set of disk types allocated to assets.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setAllocatedDiskTypes

Set of disk types allocated to assets.

Parameter
NameDescription
var int[]
Returns
TypeDescription
$this