Google Cloud Apigee Connect V1 Client - Class Payload (2.0.0-RC1)

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
Name Description
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
Type Description
Google\Cloud\ApigeeConnect\V1\HttpRequest|null

hasHttpRequest

setHttpRequest

The HttpRequest proto.

Parameter
Name Description
var Google\Cloud\ApigeeConnect\V1\HttpRequest
Returns
Type Description
$this

getStreamInfo

The information of stream.

Returns
Type Description
Google\Cloud\ApigeeConnect\V1\StreamInfo|null

hasStreamInfo

setStreamInfo

The information of stream.

Parameter
Name Description
var Google\Cloud\ApigeeConnect\V1\StreamInfo
Returns
Type Description
$this

getAction

The action taken by agent.

Returns
Type Description
int

hasAction

setAction

The action taken by agent.

Parameter
Name Description
var int
Returns
Type Description
$this

getKind

Returns
Type Description
string