2.2.3 (latest) 2.1.3 2.0.5 1.2.5 1.1.3 1.0.5 Reference documentation and code samples for the Google Cloud Apigee Connect V1 Client class Payload.

Payload for EgressRequest.

Generated from protobuf message `google.cloud.apigeeconnect.v1.Payload`

## Namespace

Google \\ Cloud \\ ApigeeConnect \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ http_request` | `https://docs.cloud.google.com/php/docs/reference/cloud-apigee-connect/latest/V1.HttpRequest` The HttpRequest proto. |
| `↳ stream_info` | `https://docs.cloud.google.com/php/docs/reference/cloud-apigee-connect/latest/V1.StreamInfo` The information of stream. |
| `↳ action` | `int` The action taken by agent. |

### getHttpRequest

The HttpRequest proto.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-apigee-connect/latest/V1.HttpRequest|null` |   |

### hasHttpRequest

### setHttpRequest

The HttpRequest proto.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-apigee-connect/latest/V1.HttpRequest` |

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

### getStreamInfo

The information of stream.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-apigee-connect/latest/V1.StreamInfo|null` |   |

### hasStreamInfo

### setStreamInfo

The information of stream.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-apigee-connect/latest/V1.StreamInfo` |

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

### getAction

The action taken by agent.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [Action](https://docs.cloud.google.com/php/docs/reference/cloud-apigee-connect/latest/V1.Action). |

### hasAction

### setAction

The action taken by agent.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [Action](https://docs.cloud.google.com/php/docs/reference/cloud-apigee-connect/latest/V1.Action). |

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

### getKind

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