Class: Google::Apis::MonitoringV3::CollectdValueError
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::MonitoringV3::CollectdValueError
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - lib/google/apis/monitoring_v3/classes.rb,
lib/google/apis/monitoring_v3/representations.rb,
lib/google/apis/monitoring_v3/representations.rb 
Overview
Describes the error status for values that were not written.
Instance Attribute Summary collapse
- 
  
    
      #error  ⇒ Google::Apis::MonitoringV3::Status 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs.
 - 
  
    
      #index  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The zero-based index in CollectdPayload.values within the parent CreateCollectdTimeSeriesRequest.collectd_payloads.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ CollectdValueError 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of CollectdValueError.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ CollectdValueError
Returns a new instance of CollectdValueError.
      781 782 783  | 
    
      # File 'lib/google/apis/monitoring_v3/classes.rb', line 781 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#error ⇒ Google::Apis::MonitoringV3::Status
The Status type defines a logical error model that is suitable for different
programming environments, including REST APIs and RPC APIs. It is used by gRPC
(https://github.com/grpc). Each Status message contains three pieces of data:
error code, error message, and error details.You can find out more about this
error model and how to work with it in the API Design Guide (https://cloud.
google.com/apis/design/errors).
Corresponds to the JSON property error
      773 774 775  | 
    
      # File 'lib/google/apis/monitoring_v3/classes.rb', line 773 def error @error end  | 
  
#index ⇒ Fixnum
The zero-based index in CollectdPayload.values within the parent
CreateCollectdTimeSeriesRequest.collectd_payloads.
Corresponds to the JSON property index
      779 780 781  | 
    
      # File 'lib/google/apis/monitoring_v3/classes.rb', line 779 def index @index end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      786 787 788 789  | 
    
      # File 'lib/google/apis/monitoring_v3/classes.rb', line 786 def update!(**args) @error = args[:error] if args.key?(:error) @index = args[:index] if args.key?(:index) end  |