View Source GoogleApi.ServiceControl.V1.Model.AllocateQuotaResponse (google_api_service_control v0.40.0)

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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

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

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.