google_api_service_control v0.11.0 GoogleApi.ServiceControl.V1.Model.AllocateQuotaResponse View Source

Response message for the AllocateQuota method.

Attributes

  • allocateErrors (type: list(GoogleApi.ServiceControl.V1.Model.QuotaError.t), default: nil) - Indicates the decision of the allocate.

  • allocateInfo (type: GoogleApi.ServiceControl.V1.Model.AllocateInfo.t, default: nil) - WARNING: DO NOT use this field until this warning message is removed.

  • operationId (type: String.t, default: nil) - The same operation_id value used in the AllocateQuotaRequest. Used for logging and diagnostics purposes.

  • quotaMetrics (type: list(GoogleApi.ServiceControl.V1.Model.MetricValueSet.t), default: nil) - Quota metrics to indicate the result of allocation. Depending on the request, one or more of the following metrics will be included:

    1. Per quota group or per quota metric incremental usage will be specified using the following delta metric : "serviceruntime.googleapis.com/api/consumer/quota_used_count"

    2. The quota limit reached condition will be specified using the following boolean metric : "serviceruntime.googleapis.com/quota/exceeded"

  • serviceConfigId (type: String.t, default: nil) - ID of the actual config used to process the request.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t()

View Source
t() :: %GoogleApi.ServiceControl.V1.Model.AllocateQuotaResponse{
  allocateErrors: [GoogleApi.ServiceControl.V1.Model.QuotaError.t()],
  allocateInfo: GoogleApi.ServiceControl.V1.Model.AllocateInfo.t(),
  operationId: String.t(),
  quotaMetrics: [GoogleApi.ServiceControl.V1.Model.MetricValueSet.t()],
  serviceConfigId: String.t()
}

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.