# Google Cloud Migration Center V1 Client - Class GenericInsight (1.2.3)

1.2.3 (latest) 1.2.2 1.1.2 1.0.3 0.4.5 0.3.1 0.2.0 0.1.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` | `string[]` 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** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<string>` |   |

### 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` |   |