Reference documentation and code samples for the Cloud PubSub V1 Client class IngestionFailureEvent.
Payload of the Platform Log entry sent when a failure is encountered while ingesting.
Generated from protobuf message google.pubsub.v1.IngestionFailureEvent
Namespace
Google \ Cloud \ PubSub \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ topic
string
Required. Name of the import topic. Format is: projects/{project_name}/topics/{topic_name}.
↳ error_message
string
Required. Error details explaining why ingestion to Pub/Sub has failed.
↳ cloud_storage_failure
↳ aws_msk_failure
↳ azure_event_hubs_failure
IngestionFailureEvent\AzureEventHubsFailureReason
Optional. Failure when ingesting from Azure Event Hubs.
↳ confluent_cloud_failure
IngestionFailureEvent\ConfluentCloudFailureReason
Optional. Failure when ingesting from Confluent Cloud.
getTopic
Required. Name of the import topic. Format is: projects/{project_name}/topics/{topic_name}.
string
setTopic
Required. Name of the import topic. Format is: projects/{project_name}/topics/{topic_name}.
var
string
$this
getErrorMessage
Required. Error details explaining why ingestion to Pub/Sub has failed.
string
setErrorMessage
Required. Error details explaining why ingestion to Pub/Sub has failed.
var
string
$this
getCloudStorageFailure
Optional. Failure when ingesting from Cloud Storage.
hasCloudStorageFailure
setCloudStorageFailure
Optional. Failure when ingesting from Cloud Storage.
$this
getAwsMskFailure
Optional. Failure when ingesting from Amazon MSK.
hasAwsMskFailure
setAwsMskFailure
Optional. Failure when ingesting from Amazon MSK.
$this
getAzureEventHubsFailure
Optional. Failure when ingesting from Azure Event Hubs.
hasAzureEventHubsFailure
setAzureEventHubsFailure
Optional. Failure when ingesting from Azure Event Hubs.
$this
getConfluentCloudFailure
Optional. Failure when ingesting from Confluent Cloud.
hasConfluentCloudFailure
setConfluentCloudFailure
Optional. Failure when ingesting from Confluent Cloud.
$this
getFailure
string