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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-04-09 UTC."],[[["This page provides documentation for the `IngestionFailureEvent.Types.ApiViolationReason` class within the Google Cloud Pub/Sub v1 API, detailing the reasons for data omission due to API message limits."],["The `ApiViolationReason` class is part of the `Google.Cloud.PubSub.V1` namespace, and is used to specify why data was potentially excluded from Pub/Sub messages when it would have exceeded API quotas."],["The class implements multiple interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and inherits from `object`."],["There are multiple versions of the `IngestionFailureEvent.Types.ApiViolationReason` available, with links to documentation for each version ranging from 2.3.0 to the latest 3.23.0."],["The 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."]]],[]]