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

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 string[]

Set of regions in which the assets were allocated.

↳ allocated_asset_count int|string

Count of assets which were allocated.

↳ machine_series_allocations array<MachineSeriesAllocation>

Distribution of assets based on the Machine Series.

↳ allocated_disk_types int[]

Set of disk types allocated to assets.

getAllocatedRegions

Set of regions in which the assets were allocated.

Returns
Type Description
Google\Protobuf\RepeatedField<string>

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\RepeatedField<MachineSeriesAllocation>

setMachineSeriesAllocations

Distribution of assets based on the Machine Series.

Parameter
Name Description
var array<MachineSeriesAllocation>
Returns
Type Description
$this

getAllocatedDiskTypes

Set of disk types allocated to assets.

Returns
Type Description
Google\Protobuf\RepeatedField<int>

setAllocatedDiskTypes

Set of disk types allocated to assets.

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