public sealed class IngestionFailureEvent.Types.ApiViolationReason : IMessage<IngestionFailureEvent.Types.ApiViolationReason>, IEquatable<IngestionFailureEvent.Types.ApiViolationReason>, IDeepCloneable<IngestionFailureEvent.Types.ApiViolationReason>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Pub/Sub v1 API class IngestionFailureEvent.Types.ApiViolationReason.
Specifies the reason why some data may have been left out of
the desired Pub/Sub message due to the API message limits
(https://cloud.google.com/pubsub/quotas#resource_limits). For example,
when the number of attributes is larger than 100, the number of
attributes is truncated to 100 to respect the limit on the attribute count.
Other attribute limits are treated similarly. When the size of the desired
message would've been larger than 10MB, the message won't be published at
all, and ingestion of the subsequent messages will proceed as normal.
[[["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\u003eThis webpage provides reference documentation for the \u003ccode\u003eIngestionFailureEvent.Types.ApiViolationReason\u003c/code\u003e class within the Google Cloud Pub/Sub v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eApiViolationReason\u003c/code\u003e class specifies why some data might be omitted from a Pub/Sub message due to API limits, such as exceeding the maximum number of attributes or the maximum message size.\u003c/p\u003e\n"],["\u003cp\u003eThe document includes a comprehensive list of versioned links for the \u003ccode\u003eApiViolationReason\u003c/code\u003e class, starting from version 3.23.0 (latest) down to 2.3.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eApiViolationReason\u003c/code\u003e class implements multiple interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, providing a variety of functionalities.\u003c/p\u003e\n"],["\u003cp\u003eThe page lists the inherited members and provides the constructors of the \u003ccode\u003eApiViolationReason\u003c/code\u003e class as well as its namespace and assembly.\u003c/p\u003e\n"]]],[],null,[]]