Google Cloud Migration Center V1 Client - Class GenericInsight (1.0.0)

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

A generic insight about an asset.

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

Namespace

Google \ Cloud \ MigrationCenter \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ message_id int|string

Output only. Represents a globally unique message id for this insight, can be used for localization purposes, in case message_code is not yet known by the client use default_message instead.

↳ default_message string

Output only. In case message_code is not yet known by the client default_message will be the message to be used instead.

↳ additional_information array

Output only. Additional information about the insight, each entry can be a logical entry and must make sense if it is displayed with line breaks between each entry. Text can contain md style links.

getMessageId

Output only. Represents a globally unique message id for this insight, can be used for localization purposes, in case message_code is not yet known by the client use default_message instead.

Returns
Type Description
int|string

setMessageId

Output only. Represents a globally unique message id for this insight, can be used for localization purposes, in case message_code is not yet known by the client use default_message instead.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getDefaultMessage

Output only. In case message_code is not yet known by the client default_message will be the message to be used instead.

Returns
Type Description
string

setDefaultMessage

Output only. In case message_code is not yet known by the client default_message will be the message to be used instead.

Parameter
Name Description
var string
Returns
Type Description
$this

getAdditionalInformation

Output only. Additional information about the insight, each entry can be a logical entry and must make sense if it is displayed with line breaks between each entry. Text can contain md style links.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setAdditionalInformation

Output only. Additional information about the insight, each entry can be a logical entry and must make sense if it is displayed with line breaks between each entry. Text can contain md style links.

Parameter
Name Description
var string[]
Returns
Type Description
$this