Cloud PubSub V1 Client - Class AvroFormat (2.7.0)

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

Configuration for reading Cloud Storage data in Avro binary format. The bytes of each object will be set to the data field of a Pub/Sub message.

Generated from protobuf message google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat

Namespace

Google \ Cloud \ PubSub \ V1 \ IngestionDataSourceSettings \ CloudStorage

Methods

__construct

Constructor.

Parameter
Name Description
data array

Optional. Data for populating the Message object.