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 page provides documentation for the \u003ccode\u003eIngestionFailureEvent.Types.ApiViolationReason\u003c/code\u003e class within the Google Cloud Pub/Sub v1 API, detailing the reasons for data omission due to API message limits.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eApiViolationReason\u003c/code\u003e class is part of the \u003ccode\u003eGoogle.Cloud.PubSub.V1\u003c/code\u003e namespace, and is used to specify why data was potentially excluded from Pub/Sub messages when it would have exceeded API quotas.\u003c/p\u003e\n"],["\u003cp\u003eThe 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, and inherits from \u003ccode\u003eobject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple versions of the \u003ccode\u003eIngestionFailureEvent.Types.ApiViolationReason\u003c/code\u003e available, with links to documentation for each version ranging from 2.3.0 to the latest 3.23.0.\u003c/p\u003e\n"],["\u003cp\u003eThe primary use case of the class is to specify when and how Pub/Sub message size or attribute count limits have caused data truncation or message rejection, adhering to API constraints.\u003c/p\u003e\n"]]],[],null,[]]