Google Cloud Apigee Connect V1 Client - Class EgressResponse (2.0.2)

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 HttpResponse

HttpResponse.

↳ status Google\Rpc\Status

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
HttpResponse|null

hasHttpResponse

clearHttpResponse

setHttpResponse

HttpResponse.

Parameter
Name Description
var HttpResponse
Returns
Type Description
$this

getStatus

Errors from application when handling the http request.

Returns
Type Description
Google\Rpc\Status|null

hasStatus

clearStatus

setStatus

Errors from application when handling the http request.

Parameter
Name Description
var Google\Rpc\Status
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

setEndpoint

Tether Endpoint.

Parameter
Name Description
var int
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