Google Cloud Migration Center V1 Client - Class MigrationInsight (1.0.0)

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

An insight about potential migrations for an asset.

Generated from protobuf message google.cloud.migrationcenter.v1.MigrationInsight

Namespace

Google \ Cloud \ MigrationCenter \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ fit Google\Cloud\MigrationCenter\V1\FitDescriptor

Output only. Description of how well the asset this insight is associated with fits the proposed migration.

↳ compute_engine_target Google\Cloud\MigrationCenter\V1\ComputeEngineMigrationTarget

Output only. A Google Compute Engine target.

getFit

Output only. Description of how well the asset this insight is associated with fits the proposed migration.

Returns
Type Description
Google\Cloud\MigrationCenter\V1\FitDescriptor|null

hasFit

clearFit

setFit

Output only. Description of how well the asset this insight is associated with fits the proposed migration.

Parameter
Name Description
var Google\Cloud\MigrationCenter\V1\FitDescriptor
Returns
Type Description
$this

getComputeEngineTarget

Output only. A Google Compute Engine target.

Returns
Type Description
Google\Cloud\MigrationCenter\V1\ComputeEngineMigrationTarget|null

hasComputeEngineTarget

setComputeEngineTarget

Output only. A Google Compute Engine target.

Parameter
Name Description
var Google\Cloud\MigrationCenter\V1\ComputeEngineMigrationTarget
Returns
Type Description
$this

getMigrationTarget

Returns
Type Description
string