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 \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
Google\Cloud\MigrationCenter\V1\MigrationInsight|null |
hasMigrationInsight
setMigrationInsight
Output only. An insight about potential migrations for an asset.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\MigrationCenter\V1\MigrationInsight
|
Returns | |
---|---|
Type | Description |
$this |
getGenericInsight
Output only. A generic insight about an asset
Returns | |
---|---|
Type | Description |
Google\Cloud\MigrationCenter\V1\GenericInsight|null |
hasGenericInsight
setGenericInsight
Output only. A generic insight about an asset
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\MigrationCenter\V1\GenericInsight
|
Returns | |
---|---|
Type | Description |
$this |
getInsight
Returns | |
---|---|
Type | Description |
string |