Google Cloud Migration Center V1 Client - Class MigrationInsight (1.0.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
Name Description
data array

Optional. Data for populating the Message object.

↳ fit FitDescriptor

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

↳ compute_engine_target 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
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 FitDescriptor
Returns
Type Description
$this

getComputeEngineTarget

Output only. A Google Compute Engine target.

Returns
Type Description
ComputeEngineMigrationTarget|null

hasComputeEngineTarget

setComputeEngineTarget

Output only. A Google Compute Engine target.

Parameter
Name Description
var ComputeEngineMigrationTarget
Returns
Type Description
$this

getMigrationTarget

Returns
Type Description
string