Class: Google::Cloud::ServiceControl::V1::AllocateQuotaResponse

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/api/servicecontrol/v1/quota_controller.rb

Overview

Response message for the AllocateQuota method.

Instance Attribute Summary collapse

Instance Attribute Details

#allocate_errors::Array<::Google::Cloud::ServiceControl::V1::QuotaError>

Returns Indicates the decision of the allocate.

Returns:



177
178
179
180
# File 'proto_docs/google/api/servicecontrol/v1/quota_controller.rb', line 177

class AllocateQuotaResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#operation_id::String

Returns The same operation_id value used in the AllocateQuotaRequest. Used for logging and diagnostics purposes.

Returns:

  • (::String)

    The same operation_id value used in the AllocateQuotaRequest. Used for logging and diagnostics purposes.



177
178
179
180
# File 'proto_docs/google/api/servicecontrol/v1/quota_controller.rb', line 177

class AllocateQuotaResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#quota_metrics::Array<::Google::Cloud::ServiceControl::V1::MetricValueSet>

Returns 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".

Returns:

  • (::Array<::Google::Cloud::ServiceControl::V1::MetricValueSet>)

    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"



177
178
179
180
# File 'proto_docs/google/api/servicecontrol/v1/quota_controller.rb', line 177

class AllocateQuotaResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#service_config_id::String

Returns ID of the actual config used to process the request.

Returns:

  • (::String)

    ID of the actual config used to process the request.



177
178
179
180
# File 'proto_docs/google/api/servicecontrol/v1/quota_controller.rb', line 177

class AllocateQuotaResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end