public sealed class IngestionFailureEvent : IMessage<IngestionFailureEvent>, IEquatable<IngestionFailureEvent>, IDeepCloneable<IngestionFailureEvent>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Pub/Sub v1 API class IngestionFailureEvent.
Payload of the Platform Log entry sent when a failure is encountered while
ingesting.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eIngestionFailureEvent\u003c/code\u003e class in the \u003ccode\u003eGoogle.Cloud.PubSub.V1\u003c/code\u003e API provides details about failures encountered while ingesting data to Pub/Sub.\u003c/p\u003e\n"],["\u003cp\u003eThis class acts as the payload for Platform Log entries that are sent when an ingestion failure occurs.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eIngestionFailureEvent\u003c/code\u003e can have different properties for various failure types including \u003ccode\u003eAwsMskFailure\u003c/code\u003e, \u003ccode\u003eAzureEventHubsFailure\u003c/code\u003e, \u003ccode\u003eCloudStorageFailure\u003c/code\u003e, and \u003ccode\u003eConfluentCloudFailure\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this class is \u003ccode\u003e3.23.0\u003c/code\u003e, and there are 30 different versions available, dating back to version \u003ccode\u003e2.3.0\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt includes required fields like \u003ccode\u003eErrorMessage\u003c/code\u003e detailing the failure reason and \u003ccode\u003eTopic\u003c/code\u003e specifying the import topic's name.\u003c/p\u003e\n"]]],[],null,["# Cloud Pub/Sub v1 API - Class IngestionFailureEvent (3.27.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.27.0 (latest)](/dotnet/docs/reference/Google.Cloud.PubSub.V1/latest/Google.Cloud.PubSub.V1.IngestionFailureEvent)\n- [3.26.0](/dotnet/docs/reference/Google.Cloud.PubSub.V1/3.26.0/Google.Cloud.PubSub.V1.IngestionFailureEvent)\n- [3.25.0](/dotnet/docs/reference/Google.Cloud.PubSub.V1/3.25.0/Google.Cloud.PubSub.V1.IngestionFailureEvent)\n- [3.24.0](/dotnet/docs/reference/Google.Cloud.PubSub.V1/3.24.0/Google.Cloud.PubSub.V1.IngestionFailureEvent)\n- [3.23.0](/dotnet/docs/reference/Google.Cloud.PubSub.V1/3.23.0/Google.Cloud.PubSub.V1.IngestionFailureEvent)\n- [3.22.0](/dotnet/docs/reference/Google.Cloud.PubSub.V1/3.22.0/Google.Cloud.PubSub.V1.IngestionFailureEvent)\n- [3.21.0](/dotnet/docs/reference/Google.Cloud.PubSub.V1/3.21.0/Google.Cloud.PubSub.V1.IngestionFailureEvent)\n- [3.20.0](/dotnet/docs/reference/Google.Cloud.PubSub.V1/3.20.0/Google.Cloud.PubSub.V1.IngestionFailureEvent)\n- [3.19.0](/dotnet/docs/reference/Google.Cloud.PubSub.V1/3.19.0/Google.Cloud.PubSub.V1.IngestionFailureEvent)\n- [3.18.0](/dotnet/docs/reference/Google.Cloud.PubSub.V1/3.18.0/Google.Cloud.PubSub.V1.IngestionFailureEvent)\n- [3.17.0](/dotnet/docs/reference/Google.Cloud.PubSub.V1/3.17.0/Google.Cloud.PubSub.V1.IngestionFailureEvent)\n- [3.16.0](/dotnet/docs/reference/Google.Cloud.PubSub.V1/3.16.0/Google.Cloud.PubSub.V1.IngestionFailureEvent)\n- [3.15.0](/dotnet/docs/reference/Google.Cloud.PubSub.V1/3.15.0/Google.Cloud.PubSub.V1.IngestionFailureEvent)\n- [3.14.0](/dotnet/docs/reference/Google.Cloud.PubSub.V1/3.14.0/Google.Cloud.PubSub.V1.IngestionFailureEvent)\n- [3.13.0](/dotnet/docs/reference/Google.Cloud.PubSub.V1/3.13.0/Google.Cloud.PubSub.V1.IngestionFailureEvent)\n- [3.12.0](/dotnet/docs/reference/Google.Cloud.PubSub.V1/3.12.0/Google.Cloud.PubSub.V1.IngestionFailureEvent)\n- [3.11.0](/dotnet/docs/reference/Google.Cloud.PubSub.V1/3.11.0/Google.Cloud.PubSub.V1.IngestionFailureEvent)\n- [3.10.1](/dotnet/docs/reference/Google.Cloud.PubSub.V1/3.10.1/Google.Cloud.PubSub.V1.IngestionFailureEvent)\n- [3.9.1](/dotnet/docs/reference/Google.Cloud.PubSub.V1/3.9.1/Google.Cloud.PubSub.V1.IngestionFailureEvent)\n- [3.8.0](/dotnet/docs/reference/Google.Cloud.PubSub.V1/3.8.0/Google.Cloud.PubSub.V1.IngestionFailureEvent)\n- [3.7.0](/dotnet/docs/reference/Google.Cloud.PubSub.V1/3.7.0/Google.Cloud.PubSub.V1.IngestionFailureEvent)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.PubSub.V1/3.6.0/Google.Cloud.PubSub.V1.IngestionFailureEvent)\n- [3.5.1](/dotnet/docs/reference/Google.Cloud.PubSub.V1/3.5.1/Google.Cloud.PubSub.V1.IngestionFailureEvent)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.PubSub.V1/3.4.0/Google.Cloud.PubSub.V1.IngestionFailureEvent)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.PubSub.V1/3.3.0/Google.Cloud.PubSub.V1.IngestionFailureEvent)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.PubSub.V1/3.2.0/Google.Cloud.PubSub.V1.IngestionFailureEvent)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.PubSub.V1/3.1.0/Google.Cloud.PubSub.V1.IngestionFailureEvent)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.PubSub.V1/3.0.0/Google.Cloud.PubSub.V1.IngestionFailureEvent)\n- [2.10.0](/dotnet/docs/reference/Google.Cloud.PubSub.V1/2.10.0/Google.Cloud.PubSub.V1.IngestionFailureEvent)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.PubSub.V1/2.9.0/Google.Cloud.PubSub.V1.IngestionFailureEvent)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.PubSub.V1/2.8.0/Google.Cloud.PubSub.V1.IngestionFailureEvent)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.PubSub.V1/2.7.0/Google.Cloud.PubSub.V1.IngestionFailureEvent)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.PubSub.V1/2.6.0/Google.Cloud.PubSub.V1.IngestionFailureEvent)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.PubSub.V1/2.5.0/Google.Cloud.PubSub.V1.IngestionFailureEvent)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.PubSub.V1/2.4.0/Google.Cloud.PubSub.V1.IngestionFailureEvent)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.PubSub.V1/2.3.0/Google.Cloud.PubSub.V1.IngestionFailureEvent) \n\n public sealed class IngestionFailureEvent : IMessage\u003cIngestionFailureEvent\u003e, IEquatable\u003cIngestionFailureEvent\u003e, IDeepCloneable\u003cIngestionFailureEvent\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Cloud Pub/Sub v1 API class IngestionFailureEvent.\n\nPayload of the Platform Log entry sent when a failure is encountered while\ningesting. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e IngestionFailureEvent \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[IngestionFailureEvent](/dotnet/docs/reference/Google.Cloud.PubSub.V1/latest/Google.Cloud.PubSub.V1.IngestionFailureEvent), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[IngestionFailureEvent](/dotnet/docs/reference/Google.Cloud.PubSub.V1/latest/Google.Cloud.PubSub.V1.IngestionFailureEvent), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[IngestionFailureEvent](/dotnet/docs/reference/Google.Cloud.PubSub.V1/latest/Google.Cloud.PubSub.V1.IngestionFailureEvent), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.PubSub.V1](/dotnet/docs/reference/Google.Cloud.PubSub.V1/latest/Google.Cloud.PubSub.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.PubSub.V1.dll\n\nConstructors\n------------\n\n### IngestionFailureEvent()\n\n public IngestionFailureEvent()\n\n### IngestionFailureEvent(IngestionFailureEvent)\n\n public IngestionFailureEvent(IngestionFailureEvent other)\n\nProperties\n----------\n\n### AwsKinesisFailure\n\n public IngestionFailureEvent.Types.AwsKinesisFailureReason AwsKinesisFailure { get; set; }\n\nOptional. Failure when ingesting from AWS Kinesis.\n\n### AwsMskFailure\n\n public IngestionFailureEvent.Types.AwsMskFailureReason AwsMskFailure { get; set; }\n\nOptional. Failure when ingesting from Amazon MSK.\n\n### AzureEventHubsFailure\n\n public IngestionFailureEvent.Types.AzureEventHubsFailureReason AzureEventHubsFailure { get; set; }\n\nOptional. Failure when ingesting from Azure Event Hubs.\n\n### CloudStorageFailure\n\n public IngestionFailureEvent.Types.CloudStorageFailure CloudStorageFailure { get; set; }\n\nOptional. Failure when ingesting from Cloud Storage.\n\n### ConfluentCloudFailure\n\n public IngestionFailureEvent.Types.ConfluentCloudFailureReason ConfluentCloudFailure { get; set; }\n\nOptional. Failure when ingesting from Confluent Cloud.\n\n### ErrorMessage\n\n public string ErrorMessage { get; set; }\n\nRequired. Error details explaining why ingestion to Pub/Sub has failed.\n\n### FailureCase\n\n public IngestionFailureEvent.FailureOneofCase FailureCase { get; }\n\n### Topic\n\n public string Topic { get; set; }\n\nRequired. Name of the import topic. Format is:\nprojects/{project_name}/topics/{topic_name}."]]