Cloud PubSub V1 Client - Class AvroFailureReason (2.8.0)

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

Set when an Avro file is unsupported or its format is not valid. When this occurs, one or more Avro objects won't be ingested.

Generated from protobuf message google.pubsub.v1.IngestionFailureEvent.AvroFailureReason

Namespace

Google \ Cloud \ PubSub \ V1 \ IngestionFailureEvent

Methods

__construct

Constructor.

Parameter
Name Description
data array

Optional. Data for populating the Message object.