Google Cloud Eventarc V1 Client - Class AvroFormat (2.1.0)

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

The format of an AVRO message payload.

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

Namespace

Google \ Cloud \ Eventarc \ V1 \ Pipeline \ MessagePayloadFormat

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ schema_definition string

Optional. The entire schema definition is stored in this field.

getSchemaDefinition

Optional. The entire schema definition is stored in this field.

Returns
Type Description
string

setSchemaDefinition

Optional. The entire schema definition is stored in this field.

Parameter
Name Description
var string
Returns
Type Description
$this