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 details why certain data might be omitted from Pub/Sub messages due to API message limits, such as attribute count or message size constraints.\u003c/p\u003e\n"],["\u003cp\u003eThe page lists various versions of the Google Cloud Pub/Sub v1 API, ranging from the latest version 3.23.0 down to version 2.3.0, each linking to the specific version's documentation for \u003ccode\u003eApiViolationReason\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eIngestionFailureEvent.Types.ApiViolationReason\u003c/code\u003e 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, and is part of the \u003ccode\u003eGoogle.Cloud.PubSub.V1\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes two constructors, one default and another that allows creating a copy of an existing \u003ccode\u003eApiViolationReason\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,[]]