Class: Google::Apis::ServicecontrolV1::ReleaseQuotaResponse
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::ServicecontrolV1::ReleaseQuotaResponse
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/servicecontrol_v1/classes.rb,
 generated/google/apis/servicecontrol_v1/representations.rb,
 generated/google/apis/servicecontrol_v1/representations.rb
Overview
Response message for the ReleaseQuota method.
Instance Attribute Summary collapse
- 
  
    
      #operation_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The same operation_id value used in the ReleaseQuotaRequest. 
- 
  
    
      #quota_metrics  ⇒ Array<Google::Apis::ServicecontrolV1::MetricValueSet> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Quota metrics to indicate the result of release. 
- 
  
    
      #release_errors  ⇒ Array<Google::Apis::ServicecontrolV1::QuotaError> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Indicates the decision of the release. 
- 
  
    
      #service_config_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    ID of the actual config used to process the request. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ReleaseQuotaResponse 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of ReleaseQuotaResponse. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ReleaseQuotaResponse
Returns a new instance of ReleaseQuotaResponse
| 1382 1383 1384 | # File 'generated/google/apis/servicecontrol_v1/classes.rb', line 1382 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#operation_id ⇒ String
The same operation_id value used in the ReleaseQuotaRequest. Used for
logging and diagnostics purposes.
Corresponds to the JSON property operationId
| 1355 1356 1357 | # File 'generated/google/apis/servicecontrol_v1/classes.rb', line 1355 def operation_id @operation_id end | 
#quota_metrics ⇒ Array<Google::Apis::ServicecontrolV1::MetricValueSet>
Quota metrics to indicate the result of release. Depending on the request, one or more of the following metrics will be included:
- For rate quota, per quota group or per quota metric released amount will be specified using the following delta metric: "serviceruntime.googleapis.com/api/consumer/quota_refund_count"
- For allocation quota, per quota metric total usage will be specified using the following gauge metric: "serviceruntime.googleapis.com/allocation/consumer/quota_used_count"
- For allocation quota, value for each quota limit associated with
the metrics will be specified using the following gauge metric:
"serviceruntime.googleapis.com/quota/limit"
Corresponds to the JSON property quotaMetrics
| 1370 1371 1372 | # File 'generated/google/apis/servicecontrol_v1/classes.rb', line 1370 def quota_metrics @quota_metrics end | 
#release_errors ⇒ Array<Google::Apis::ServicecontrolV1::QuotaError>
Indicates the decision of the release.
Corresponds to the JSON property releaseErrors
| 1375 1376 1377 | # File 'generated/google/apis/servicecontrol_v1/classes.rb', line 1375 def release_errors @release_errors end | 
#service_config_id ⇒ String
ID of the actual config used to process the request.
Corresponds to the JSON property serviceConfigId
| 1380 1381 1382 | # File 'generated/google/apis/servicecontrol_v1/classes.rb', line 1380 def service_config_id @service_config_id end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1387 1388 1389 1390 1391 1392 | # File 'generated/google/apis/servicecontrol_v1/classes.rb', line 1387 def update!(**args) @operation_id = args[:operation_id] if args.key?(:operation_id) @quota_metrics = args[:quota_metrics] if args.key?(:quota_metrics) @release_errors = args[:release_errors] if args.key?(:release_errors) @service_config_id = args[:service_config_id] if args.key?(:service_config_id) end |