Class: Google::Apis::ServicecontrolV1::ReportResponse
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::ServicecontrolV1::ReportResponse
 
- 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 Report method.
Instance Attribute Summary collapse
- 
  
    
      #report_errors  ⇒ Array<Google::Apis::ServicecontrolV1::ReportError> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Partial failures, one for each Operationin the request that failed processing.
- 
  
    
      #report_infos  ⇒ Array<Google::Apis::ServicecontrolV1::ReportInfo> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Quota usage for each quota release Operationrequest.
- 
  
    
      #service_config_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The actual config id used to process the request. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ReportResponse 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of ReportResponse. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ReportResponse
Returns a new instance of ReportResponse
| 1554 1555 1556 | # File 'generated/google/apis/servicecontrol_v1/classes.rb', line 1554 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#report_errors ⇒ Array<Google::Apis::ServicecontrolV1::ReportError>
Partial failures, one for each Operation in the request that failed
processing. There are three possible combinations of the RPC status:
- The combination of a successful RPC status and an empty report_errorslist indicates a complete success where allOperationsin the request are processed successfully.
- The combination of a successful RPC status and a non-empty
report_errorslist indicates a partial success where someOperationsin the request succeeded. EachOperationthat failed processing has a corresponding item in this list.
- A failed RPC status indicates a general non-deterministic failure.
When this happens, it's impossible to know which of the
'Operations' in the request succeeded or failed.
Corresponds to the JSON property reportErrors
| 1537 1538 1539 | # File 'generated/google/apis/servicecontrol_v1/classes.rb', line 1537 def report_errors @report_errors end | 
#report_infos ⇒ Array<Google::Apis::ServicecontrolV1::ReportInfo>
Quota usage for each quota release Operation request.
Fully or partially failed quota release request may or may not be present
in report_quota_info. For example, a failed quota release request will
have the current quota usage info when precise quota library returns the
info. A deadline exceeded quota request will not have quota usage info.
If there is no quota release request, report_quota_info will be empty.
Corresponds to the JSON property reportInfos
| 1547 1548 1549 | # File 'generated/google/apis/servicecontrol_v1/classes.rb', line 1547 def report_infos @report_infos end | 
#service_config_id ⇒ String
The actual config id used to process the request.
Corresponds to the JSON property serviceConfigId
| 1552 1553 1554 | # File 'generated/google/apis/servicecontrol_v1/classes.rb', line 1552 def service_config_id @service_config_id end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1559 1560 1561 1562 1563 | # File 'generated/google/apis/servicecontrol_v1/classes.rb', line 1559 def update!(**args) @report_errors = args[:report_errors] if args.key?(:report_errors) @report_infos = args[:report_infos] if args.key?(:report_infos) @service_config_id = args[:service_config_id] if args.key?(:service_config_id) end |