class Google::Apis::CloudmonitoringV2beta2::Point
Point is a single point in a time series. It consists of a start time, an end time, and a value.
Attributes
The value of this data point. Either “true” or “false”. Corresponds to the JSON property `boolValue` @return [Boolean]
The value of this data point. Either “true” or “false”. Corresponds to the JSON property `boolValue` @return [Boolean]
Distribution data point value type. When writing distribution points, try to be consistent with the boundaries of your buckets. If you must modify the bucket boundaries, then do so by merging, partitioning, or appending rather than skewing them. Corresponds to the JSON property `distributionValue` @return [Google::Apis::CloudmonitoringV2beta2::PointDistribution]
The value of this data point as a double-precision floating-point number. Corresponds to the JSON property `doubleValue` @return [Float]
The interval [start, end] is the time period to which the point's value applies. For gauge metrics, whose values are instantaneous measurements, this interval should be empty (start should equal end). For cumulative metrics (of which deltas and rates are special cases), the interval should be non-empty. Both start and end are RFC 3339 strings. Corresponds to the JSON property `end` @return [DateTime]
The value of this data point as a 64-bit integer. Corresponds to the JSON property `int64Value` @return [String]
The interval [start, end] is the time period to which the point's value applies. For gauge metrics, whose values are instantaneous measurements, this interval should be empty (start should equal end). For cumulative metrics (of which deltas and rates are special cases), the interval should be non-empty. Both start and end are RFC 3339 strings. Corresponds to the JSON property `start` @return [DateTime]
The value of this data point in string format. Corresponds to the JSON property `stringValue` @return [String]
Public Class Methods
# File generated/google/apis/cloudmonitoring_v2beta2/classes.rb, line 382 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/cloudmonitoring_v2beta2/classes.rb, line 387 def update!(**args) @bool_value = args[:bool_value] if args.key?(:bool_value) @distribution_value = args[:distribution_value] if args.key?(:distribution_value) @double_value = args[:double_value] if args.key?(:double_value) @end = args[:end] if args.key?(:end) @int64_value = args[:int64_value] if args.key?(:int64_value) @start = args[:start] if args.key?(:start) @string_value = args[:string_value] if args.key?(:string_value) end