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

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
NameDescription
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
TypeDescription
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
NameDescription
var int|string
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string[]
Returns
TypeDescription
$this