class ValueType

The value type of a metric.

Protobuf type google.api.MetricDescriptor.ValueType

Constants

VALUE_TYPE_UNSPECIFIED

Do not use this default value.

Generated from protobuf enum VALUE_TYPE_UNSPECIFIED = 0;

BOOL

The value is a boolean.

This value type can be used only if the metric kind is GAUGE.

Generated from protobuf enum BOOL = 1;

INT64

The value is a signed 64-bit integer.

Generated from protobuf enum INT64 = 2;

DOUBLE

The value is a double precision floating point number.

Generated from protobuf enum DOUBLE = 3;

STRING

The value is a text string.

This value type can be used only if the metric kind is GAUGE.

Generated from protobuf enum STRING = 4;

DISTRIBUTION

The value is a [Distribution][google.api.Distribution].

Generated from protobuf enum DISTRIBUTION = 5;

MONEY

The value is money.

Generated from protobuf enum MONEY = 6;

Methods

static 
name($value)

No description

static 
value($name)

No description

Details

at line 71
static name($value)

Parameters

$value

at line 81
static value($name)

Parameters

$name