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

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
NameDescription
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
TypeDescription
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
NameDescription
var Google\Cloud\MigrationCenter\V1\FitDescriptor
Returns
TypeDescription
$this

getComputeEngineTarget

Output only. A Google Compute Engine target.

Returns
TypeDescription
Google\Cloud\MigrationCenter\V1\ComputeEngineMigrationTarget|null

hasComputeEngineTarget

setComputeEngineTarget

Output only. A Google Compute Engine target.

Parameter
NameDescription
var Google\Cloud\MigrationCenter\V1\ComputeEngineMigrationTarget
Returns
TypeDescription
$this

getMigrationTarget

Returns
TypeDescription
string