Class: Google::Apis::MonitoringV3::CreateCollectdTimeSeriesResponse
- Inherits:
-
Object
- Object
- Google::Apis::MonitoringV3::CreateCollectdTimeSeriesResponse
- 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
-
#payload_errors ⇒ Array<Google::Apis::MonitoringV3::CollectdPayloadError>
Records the error status for points that were not written due to an error in the request.Failed requests for which nothing is written will return an error response instead.
-
#summary ⇒ Google::Apis::MonitoringV3::CreateTimeSeriesSummary
Summary of the result of a failed request to write data to a time series.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CreateCollectdTimeSeriesResponse
constructor
A new instance of CreateCollectdTimeSeriesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ CreateCollectdTimeSeriesResponse
Returns a new instance of CreateCollectdTimeSeriesResponse.
783 784 785 |
# File 'generated/google/apis/monitoring_v3/classes.rb', line 783 def initialize(**args) update!(**args) end |
Instance Attribute Details
#payload_errors ⇒ Array<Google::Apis::MonitoringV3::CollectdPayloadError>
Records the error status for points that were not written due to an error in
the request.Failed requests for which nothing is written will return an error
response instead. Requests where data points were rejected by the backend will
set summary instead.
Corresponds to the JSON property payloadErrors
776 777 778 |
# File 'generated/google/apis/monitoring_v3/classes.rb', line 776 def payload_errors @payload_errors end |
#summary ⇒ Google::Apis::MonitoringV3::CreateTimeSeriesSummary
Summary of the result of a failed request to write data to a time series.
Corresponds to the JSON property summary
781 782 783 |
# File 'generated/google/apis/monitoring_v3/classes.rb', line 781 def summary @summary end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
788 789 790 791 |
# File 'generated/google/apis/monitoring_v3/classes.rb', line 788 def update!(**args) @payload_errors = args[:payload_errors] if args.key?(:payload_errors) @summary = args[:summary] if args.key?(:summary) end |