Cloud PubSub V1 Client - Class PubSubAvroFormat (2.7.0)

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

Configuration for reading Cloud Storage data written via Cloud Storage subscriptions. The data and attributes fields of the originally exported Pub/Sub message will be restored when publishing.

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

Namespace

Google \ Cloud \ PubSub \ V1 \ IngestionDataSourceSettings \ CloudStorage

Methods

__construct

Constructor.

Parameter
Name Description
data array

Optional. Data for populating the Message object.