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

Optional. Data for populating the Message object.

↳ migration_insight MigrationInsight

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

↳ generic_insight GenericInsight

Output only. A generic insight about an asset

getMigrationInsight

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

Returns
Type Description
MigrationInsight|null

hasMigrationInsight

setMigrationInsight

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

Parameter
Name Description
var MigrationInsight
Returns
Type Description
$this

getGenericInsight

Output only. A generic insight about an asset

Returns
Type Description
GenericInsight|null

hasGenericInsight

setGenericInsight

Output only. A generic insight about an asset

Parameter
Name Description
var GenericInsight
Returns
Type Description
$this

getInsight

Returns
Type Description
string