Class: Google::Apis::MonitoringV3::CreateTimeSeriesSummary
- Inherits:
-
Object
- Object
- Google::Apis::MonitoringV3::CreateTimeSeriesSummary
- 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
Summary of the result of a failed request to write data to a time series.
Instance Attribute Summary collapse
-
#errors ⇒ Array<Google::Apis::MonitoringV3::Error>
The number of points that failed to be written.
-
#success_point_count ⇒ Fixnum
The number of points that were successfully written.
-
#total_point_count ⇒ Fixnum
The number of points in the request.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CreateTimeSeriesSummary
constructor
A new instance of CreateTimeSeriesSummary.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CreateTimeSeriesSummary
Returns a new instance of CreateTimeSeriesSummary.
1034 1035 1036 |
# File 'lib/google/apis/monitoring_v3/classes.rb', line 1034 def initialize(**args) update!(**args) end |
Instance Attribute Details
#errors ⇒ Array<Google::Apis::MonitoringV3::Error>
The number of points that failed to be written. Order is not guaranteed.
Corresponds to the JSON property errors
1022 1023 1024 |
# File 'lib/google/apis/monitoring_v3/classes.rb', line 1022 def errors @errors end |
#success_point_count ⇒ Fixnum
The number of points that were successfully written.
Corresponds to the JSON property successPointCount
1027 1028 1029 |
# File 'lib/google/apis/monitoring_v3/classes.rb', line 1027 def success_point_count @success_point_count end |
#total_point_count ⇒ Fixnum
The number of points in the request.
Corresponds to the JSON property totalPointCount
1032 1033 1034 |
# File 'lib/google/apis/monitoring_v3/classes.rb', line 1032 def total_point_count @total_point_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1039 1040 1041 1042 1043 |
# File 'lib/google/apis/monitoring_v3/classes.rb', line 1039 def update!(**args) @errors = args[:errors] if args.key?(:errors) @success_point_count = args[:success_point_count] if args.key?(:success_point_count) @total_point_count = args[:total_point_count] if args.key?(:total_point_count) end |