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 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 details why certain data might be omitted from a Pub/Sub message due to API limits, such as attribute count or message size constraints, with the message size limit being 10MB.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, to manage message handling and object comparisons.\u003c/p\u003e\n"],["\u003cp\u003eThe page lists different versions of the API from 2.3.0 to 3.23.0, allowing users to access the documentation for various releases of the .NET library.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eApiViolationReason\u003c/code\u003e class can be constructed using a default constructor, or by copying the properties from another \u003ccode\u003eApiViolationReason\u003c/code\u003e object, allowing a user to instantiate the class.\u003c/p\u003e\n"]]],[],null,[]]