Google API Common Protos Client - Class ValueType (4.11.0)

Reference documentation and code samples for the Google API Common Protos Client class ValueType.

The value type of a metric.

Protobuf type google.api.MetricDescriptor.ValueType

Namespace

Google \ Api \ MetricDescriptor

Methods

static::name

Parameter
Name
Description
value
mixed

static::value

Parameter
Name
Description
name
mixed

Constants

VALUE_TYPE_UNSPECIFIED

  Value: 0 
 

Do not use this default value.

Generated from protobuf enum VALUE_TYPE_UNSPECIFIED = 0;

BOOL

  Value: 1 
 

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

  Value: 2 
 

The value is a signed 64-bit integer.

Generated from protobuf enum INT64 = 2;

DOUBLE

  Value: 3 
 

The value is a double precision floating point number.

Generated from protobuf enum DOUBLE = 3;

STRING

  Value: 4 
 

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

  Value: 5 
 

The value is a Distribution .

Generated from protobuf enum DISTRIBUTION = 5;

MONEY

  Value: 6 
 

The value is money.

Generated from protobuf enum MONEY = 6;

Design a Mobile Site
View Site in Mobile | Classic
Share by: