Google Cloud Eventarc V1 Client - Class MessagePayloadFormat (2.1.5)

Reference documentation and code samples for the Google Cloud Eventarc V1 Client class MessagePayloadFormat.

Represents the format of message data.

Generated from protobuf message google.cloud.eventarc.v1.Pipeline.MessagePayloadFormat

Namespace

Google \ Cloud \ Eventarc \ V1 \ Pipeline

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ protobuf
MessagePayloadFormat\ProtobufFormat

Optional. Protobuf format.

↳ avro
MessagePayloadFormat\AvroFormat

Optional. Avro format.

↳ json
MessagePayloadFormat\JsonFormat

Optional. JSON format.

getProtobuf

Optional. Protobuf format.

Returns
Type
Description

hasProtobuf

setProtobuf

Optional. Protobuf format.

Parameter
Name
Description
Returns
Type
Description
$this

getAvro

Optional. Avro format.

Returns
Type
Description

hasAvro

setAvro

Optional. Avro format.

Parameter
Name
Description
Returns
Type
Description
$this

getJson

Optional. JSON format.

Returns
Type
Description

hasJson

setJson

Optional. JSON format.

Parameter
Name
Description
Returns
Type
Description
$this

getKind

Returns
Type
Description
string
Design a Mobile Site
View Site in Mobile | Classic
Share by: