0.11.3 (latest) 0.10.0 0.9.3 0.8.2 0.7.1 0.6.6 0.5.1 0.4.1 0.3.10

> [!WARNING]
> **Beta**
>
>
> This library is covered by the [Pre-GA Offerings Terms](https://docs.cloud.google.com/terms/service-terms#1)
> of the Terms of Service. Pre-GA libraries might have limited support,
> and changes to pre-GA libraries might not be compatible with other pre-GA versions.
> For more information, see the
> [launch stage descriptions](https://docs.cloud.google.com/products#product-launch-stages).

Reference documentation and code samples for the Google Cloud Dataflow V1beta3 Client class StructuredMessage.

A rich message format, including a human readable string, a key for
identifying the message, and structured data associated with the message for
programmatic consumption.

Generated from protobuf message `google.dataflow.v1beta3.StructuredMessage`

## Namespace

Google \\ Cloud \\ Dataflow \\ V1beta3

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ message_text` | `string` Human-readable version of message. |
| `↳ message_key` | `string` Identifier for this message type. Used by external systems to internationalize or personalize message. |
| `↳ parameters` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-dataflow/latest/V1beta3.StructuredMessage.Parameter>` The structured data associated with this message. |

### getMessageText

Human-readable version of message.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setMessageText

Human-readable version of message.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getMessageKey

Identifier for this message type. Used by external systems to
internationalize or personalize message.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setMessageKey

Identifier for this message type. Used by external systems to
internationalize or personalize message.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getParameters

The structured data associated with this message.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-dataflow/latest/V1beta3.StructuredMessage.Parameter>` |   |

### setParameters

The structured data associated with this message.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-dataflow/latest/V1beta3.StructuredMessage.Parameter>` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |