Google Cloud Migration Center V1 Client - Class ComputeEngineFinding (1.0.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
Name Description
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
Type Description
Google\Protobuf\Internal\RepeatedField

setAllocatedRegions

Set of regions in which the assets were allocated.

Parameter
Name Description
var string[]
Returns
Type Description
$this

getAllocatedAssetCount

Count of assets which were allocated.

Returns
Type Description
int|string

setAllocatedAssetCount

Count of assets which were allocated.

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

getMachineSeriesAllocations

Distribution of assets based on the Machine Series.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setMachineSeriesAllocations

Distribution of assets based on the Machine Series.

Parameter
Name Description
var array<Google\Cloud\MigrationCenter\V1\ReportSummary\MachineSeriesAllocation>
Returns
Type Description
$this

getAllocatedDiskTypes

Set of disk types allocated to assets.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setAllocatedDiskTypes

Set of disk types allocated to assets.

Parameter
Name Description
var int[]
Returns
Type Description
$this