QuotaFailure_Violation class final

A message type used to describe a single quota violation. For example, a daily quota or a custom quota that was exceeded.

Inheritance
  • Object
  • ProtoMessage
  • QuotaFailure_Violation

Constructors

QuotaFailure_Violation({String? subject, String? description, String? apiService, String? quotaMetric, String? quotaId, Map<String, String>? quotaDimensions, int? quotaValue, int? futureQuotaValue})
QuotaFailure_Violation.fromJson(Map<String, dynamic> json)
factory

Properties

apiService String?
The API Service from which the QuotaFailure.Violation orginates. In some cases, Quota issues originate from an API Service other than the one that was called. In other words, a dependency of the called API Service could be the cause of the QuotaFailure, and this field would have the dependency API service name.
final
description String?
A description of how the quota check failed. Clients can use this description to find more about the quota configuration in the service's public documentation, or find the relevant quota limit to adjust through developer console.
final
futureQuotaValue int?
The new quota value being rolled out at the time of the violation. At the completion of the rollout, this value will be enforced in place of quota_value. If no rollout is in progress at the time of the violation, this field is not set.
final
hashCode int
The hash code for this object.
no setterinherited
qualifiedName String
The fully qualified name of this message, i.e., google.protobuf.Duration or google.rpc.ErrorInfo.
finalinherited
quotaDimensions Map<String, String>?
The dimensions of the violated quota. Every non-global quota is enforced on a set of dimensions. While quota metric defines what to count, the dimensions specify for what aspects the counter should be increased.
final
quotaId String?
The id of the violated quota. Also know as "limit name", this is the unique identifier of a quota in the context of an API service.
final
quotaMetric String?
The metric of the violated quota. A quota metric is a named counter to measure usage, such as API requests or CPUs. When an activity occurs in a service, such as Virtual Machine allocation, one or more quota metrics may be affected.
final
quotaValue int?
The enforced quota value at the time of the QuotaFailure.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subject String?
The subject on which the quota check failed. For example, "clientip:
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Object
override
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

fullyQualifiedName → const String