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

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
NameDescription
data array

Optional. Data for populating the Message object.

↳ id string

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

↳ http_response Google\Cloud\ApigeeConnect\V1\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
TypeDescription
string

setId

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getHttpResponse

HttpResponse.

Returns
TypeDescription
Google\Cloud\ApigeeConnect\V1\HttpResponse|null

hasHttpResponse

clearHttpResponse

setHttpResponse

HttpResponse.

Parameter
NameDescription
var Google\Cloud\ApigeeConnect\V1\HttpResponse
Returns
TypeDescription
$this

getStatus

Errors from application when handling the http request.

Returns
TypeDescription
Google\Rpc\Status|null

hasStatus

clearStatus

setStatus

Errors from application when handling the http request.

Parameter
NameDescription
var Google\Rpc\Status
Returns
TypeDescription
$this

getProject

GCP Project.

Format: projects/{project_number}.

Returns
TypeDescription
string

setProject

GCP Project.

Format: projects/{project_number}.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getTraceId

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

Returns
TypeDescription
string

setTraceId

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getEndpoint

Tether Endpoint.

Returns
TypeDescription
int

setEndpoint

Tether Endpoint.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getName

Name is the full resource path of endpoint.

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

Returns
TypeDescription
string

setName

Name is the full resource path of endpoint.

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this