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 EgressRequest.

gRPC request payload for tether.

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

## Namespace

Google \\ Cloud \\ ApigeeConnect \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ id` | `string` Unique identifier for the request. |
| `↳ payload` | `https://docs.cloud.google.com/php/docs/reference/cloud-apigee-connect/latest/V1.Payload` Actual payload to send to agent. |
| `↳ endpoint` | `int` Tether Endpoint. |
| `↳ project` | `string` GCP Project. Format: `projects/{project_number}`. |
| `↳ trace_id` | `string` Unique identifier for clients to trace their request/response. |
| `↳ timeout` | `Google\Protobuf\Duration` Timeout for the HTTP request. |

### getId

Unique identifier for the request.

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

### setId

Unique identifier for the request.

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

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

### getPayload

Actual payload to send to agent.

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

### hasPayload

### clearPayload

### setPayload

Actual payload to send to agent.

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

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

### getEndpoint

Tether Endpoint.

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

### setEndpoint

Tether Endpoint.

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

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

### getProject

GCP Project.

Format: `projects/{project_number}`.

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

### setProject

GCP Project.

Format: `projects/{project_number}`.

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

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

### getTraceId

Unique identifier for clients to trace their request/response.

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

### setTraceId

Unique identifier for clients to trace their request/response.

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

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

### getTimeout

Timeout for the HTTP request.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\Duration|null` |   |

### hasTimeout

### clearTimeout

### setTimeout

Timeout for the HTTP request.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `Google\Protobuf\Duration` |

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