class Google::Apis::CloudmonitoringV2beta2::MetricDescriptorTypeDescriptor
A type in a metric contains information about how the metric is collected and what its data points look like.
Attributes
metric_type[RW]
The method of collecting data for the metric. See Metric types. Corresponds to the JSON property `metricType` @return [String]
value_type[RW]
The data type of of individual points in the metric's time series. See Metric value types. Corresponds to the JSON property `valueType` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/cloudmonitoring_v2beta2/classes.rb, line 319 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File generated/google/apis/cloudmonitoring_v2beta2/classes.rb, line 324 def update!(**args) @metric_type = args[:metric_type] if args.key?(:metric_type) @value_type = args[:value_type] if args.key?(:value_type) end