valueType property

String? valueType
getter/setter pair

The value type of the time series.

When listing time series, this value type might be different from the value type of the associated metric if this time series is an alignment or reduction of other time series.When creating a time series, this field is optional. If present, it must be the same as the type of the data in the points field. Possible string values are:

  • "VALUE_TYPE_UNSPECIFIED" : Do not use this default value.
  • "BOOL" : The value is a boolean. This value type can be used only if the metric kind is GAUGE.
  • "INT64" : The value is a signed 64-bit integer.
  • "DOUBLE" : The value is a double precision floating point number.
  • "STRING" : The value is a text string. This value type can be used only if the metric kind is GAUGE.
  • "DISTRIBUTION" : The value is a Distribution.
  • "MONEY" : The value is money.

Implementation

core.String? valueType;