Google Cloud Migration Center V1 Client - Class Insight (0.2.0)

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

An insight about an asset.

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

Namespace

Google \ Cloud \ MigrationCenter \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ migration_insight Google\Cloud\MigrationCenter\V1\MigrationInsight

Output only. An insight about potential migrations for an asset.

getMigrationInsight

Output only. An insight about potential migrations for an asset.

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

hasMigrationInsight

setMigrationInsight

Output only. An insight about potential migrations for an asset.

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

getInsight

Returns
TypeDescription
string