Class: Google::Apis::MonitoringV3::CreateCollectdTimeSeriesResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/monitoring_v3/classes.rb,
generated/google/apis/monitoring_v3/representations.rb,
generated/google/apis/monitoring_v3/representations.rb

Overview

The CreateCollectdTimeSeries response.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ CreateCollectdTimeSeriesResponse

Returns a new instance of CreateCollectdTimeSeriesResponse



632
633
634
# File 'generated/google/apis/monitoring_v3/classes.rb', line 632

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#payload_errorsArray<Google::Apis::MonitoringV3::CollectdPayloadError>

Records the error status for points that were not written due to an error. Failed requests for which nothing is written will return an error response instead. Corresponds to the JSON property payloadErrors



630
631
632
# File 'generated/google/apis/monitoring_v3/classes.rb', line 630

def payload_errors
  @payload_errors
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



637
638
639
# File 'generated/google/apis/monitoring_v3/classes.rb', line 637

def update!(**args)
  @payload_errors = args[:payload_errors] if args.key?(:payload_errors)
end