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

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.

↳ generic_insight Google\Cloud\MigrationCenter\V1\GenericInsight

Output only. A generic insight about 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

getGenericInsight

Output only. A generic insight about an asset

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

hasGenericInsight

setGenericInsight

Output only. A generic insight about an asset

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

getInsight

Returns
TypeDescription
string