Reference documentation and code samples for the Cloud Pub/Sub V1 API class Google::Cloud::PubSub::V1::IngestionFailureEvent.
Payload of the Platform Log entry sent when a failure is encountered while ingesting.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#aws_msk_failure
def aws_msk_failure() -> ::Google::Cloud::PubSub::V1::IngestionFailureEvent::AwsMskFailureReason
Returns
- (::Google::Cloud::PubSub::V1::IngestionFailureEvent::AwsMskFailureReason) — Optional. Failure when ingesting from Amazon MSK.
#aws_msk_failure=
def aws_msk_failure=(value) -> ::Google::Cloud::PubSub::V1::IngestionFailureEvent::AwsMskFailureReason
Parameter
- value (::Google::Cloud::PubSub::V1::IngestionFailureEvent::AwsMskFailureReason) — Optional. Failure when ingesting from Amazon MSK.
Returns
- (::Google::Cloud::PubSub::V1::IngestionFailureEvent::AwsMskFailureReason) — Optional. Failure when ingesting from Amazon MSK.
#azure_event_hubs_failure
def azure_event_hubs_failure() -> ::Google::Cloud::PubSub::V1::IngestionFailureEvent::AzureEventHubsFailureReason
Returns
- (::Google::Cloud::PubSub::V1::IngestionFailureEvent::AzureEventHubsFailureReason) — Optional. Failure when ingesting from Azure Event Hubs.
#azure_event_hubs_failure=
def azure_event_hubs_failure=(value) -> ::Google::Cloud::PubSub::V1::IngestionFailureEvent::AzureEventHubsFailureReason
Parameter
- value (::Google::Cloud::PubSub::V1::IngestionFailureEvent::AzureEventHubsFailureReason) — Optional. Failure when ingesting from Azure Event Hubs.
Returns
- (::Google::Cloud::PubSub::V1::IngestionFailureEvent::AzureEventHubsFailureReason) — Optional. Failure when ingesting from Azure Event Hubs.
#cloud_storage_failure
def cloud_storage_failure() -> ::Google::Cloud::PubSub::V1::IngestionFailureEvent::CloudStorageFailure
Returns
- (::Google::Cloud::PubSub::V1::IngestionFailureEvent::CloudStorageFailure) — Optional. Failure when ingesting from Cloud Storage.
#cloud_storage_failure=
def cloud_storage_failure=(value) -> ::Google::Cloud::PubSub::V1::IngestionFailureEvent::CloudStorageFailure
Parameter
- value (::Google::Cloud::PubSub::V1::IngestionFailureEvent::CloudStorageFailure) — Optional. Failure when ingesting from Cloud Storage.
Returns
- (::Google::Cloud::PubSub::V1::IngestionFailureEvent::CloudStorageFailure) — Optional. Failure when ingesting from Cloud Storage.
#confluent_cloud_failure
def confluent_cloud_failure() -> ::Google::Cloud::PubSub::V1::IngestionFailureEvent::ConfluentCloudFailureReason
Returns
- (::Google::Cloud::PubSub::V1::IngestionFailureEvent::ConfluentCloudFailureReason) — Optional. Failure when ingesting from Confluent Cloud.
#confluent_cloud_failure=
def confluent_cloud_failure=(value) -> ::Google::Cloud::PubSub::V1::IngestionFailureEvent::ConfluentCloudFailureReason
Parameter
- value (::Google::Cloud::PubSub::V1::IngestionFailureEvent::ConfluentCloudFailureReason) — Optional. Failure when ingesting from Confluent Cloud.
Returns
- (::Google::Cloud::PubSub::V1::IngestionFailureEvent::ConfluentCloudFailureReason) — Optional. Failure when ingesting from Confluent Cloud.
#error_message
def error_message() -> ::String
Returns
- (::String) — Required. Error details explaining why ingestion to Pub/Sub has failed.
#error_message=
def error_message=(value) -> ::String
Parameter
- value (::String) — Required. Error details explaining why ingestion to Pub/Sub has failed.
Returns
- (::String) — Required. Error details explaining why ingestion to Pub/Sub has failed.
#topic
def topic() -> ::String
Returns
- (::String) — Required. Name of the import topic. Format is: projects/{project_name}/topics/{topic_name}.
#topic=
def topic=(value) -> ::String
Parameter
- value (::String) — Required. Name of the import topic. Format is: projects/{project_name}/topics/{topic_name}.
Returns
- (::String) — Required. Name of the import topic. Format is: projects/{project_name}/topics/{topic_name}.