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

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

Optional. Data for populating the Message object.

↳ http_request Google\Cloud\ApigeeConnect\V1\HttpRequest

The HttpRequest proto.

↳ stream_info Google\Cloud\ApigeeConnect\V1\StreamInfo

The information of stream.

↳ action int

The action taken by agent.

getHttpRequest

The HttpRequest proto.

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

hasHttpRequest

setHttpRequest

The HttpRequest proto.

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

getStreamInfo

The information of stream.

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

hasStreamInfo

setStreamInfo

The information of stream.

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

getAction

The action taken by agent.

Returns
TypeDescription
int

hasAction

setAction

The action taken by agent.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getKind

Returns
TypeDescription
string