class Google::Apis::MonitoringV3::CollectdValue
A single data point from a collectd-based plugin.
Attributes
data_source_name[RW]
The data source for the collectd value. For example, there are two data sources for network measurements: “rx” and “tx”. Corresponds to the JSON property `dataSourceName` @return [String]
data_source_type[RW]
The type of measurement. Corresponds to the JSON property `dataSourceType` @return [String]
value[RW]
A single strongly-typed value. Corresponds to the JSON property `value` @return [Google::Apis::MonitoringV3::TypedValue]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/monitoring_v3/classes.rb, line 689 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/monitoring_v3/classes.rb, line 694 def update!(**args) @data_source_name = args[:data_source_name] if args.key?(:data_source_name) @data_source_type = args[:data_source_type] if args.key?(:data_source_type) @value = args[:value] if args.key?(:value) end