Class ApiViolationReason (2.31.0)
Stay organized with collections
Save and categorize content based on your preferences.
ApiViolationReason(mapping=None, *, ignore_unknown_fields=False, **kwargs)
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.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-10 UTC.
[[["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-10-10 UTC."],[],[]]