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

gRPC response payload for tether.

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

## 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 response. Matches the EgressRequest's id. |
| `↳ http_response` | `https://docs.cloud.google.com/php/docs/reference/cloud-apigee-connect/latest/V1.HttpResponse` HttpResponse. |
| `↳ status` | `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Rpc.Status.html` Errors from application when handling the http request. |
| `↳ project` | `string` GCP Project. Format: `projects/{project_number}`. |
| `↳ trace_id` | `string` Unique identifier for clients to trace their request/response. Matches the EgressRequest's trace id |
| `↳ endpoint` | `int` Tether Endpoint. |
| `↳ name` | `string` Name is the full resource path of endpoint. Format: `projects/{project_number or project_id}/endpoints/{endpoint}` |

### getId

Unique identifier for the response. Matches the EgressRequest's id.

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

### setId

Unique identifier for the response. Matches the EgressRequest's id.

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

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

### getHttpResponse

HttpResponse.

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

### hasHttpResponse

### clearHttpResponse

### setHttpResponse

HttpResponse.

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

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

### getStatus

Errors from application when handling the http request.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Rpc.Status.html|null` |   |

### hasStatus

### clearStatus

### setStatus

Errors from application when handling the http request.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Rpc.Status.html` |

| **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. Matches the
EgressRequest's trace id

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

### setTraceId

Unique identifier for clients to trace their request/response. Matches the
EgressRequest's trace id

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

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

### getName

Name is the full resource path of endpoint.

Format: `projects/{project_number or project_id}/endpoints/{endpoint}`

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

### setName

Name is the full resource path of endpoint.

Format: `projects/{project_number or project_id}/endpoints/{endpoint}`

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

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