The value type of a metric.

Protobuf type google.api.MetricDescriptor.ValueType

CloneableInstantiable
Constants
public Google\Api\MetricDescriptor\ValueType::BOOL = 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;

public Google\Api\MetricDescriptor\ValueType::DISTRIBUTION = 5
 

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

Generated from protobuf enum DISTRIBUTION = 5;

public Google\Api\MetricDescriptor\ValueType::DOUBLE = 3
 

The value is a double precision floating point number.

Generated from protobuf enum DOUBLE = 3;

public Google\Api\MetricDescriptor\ValueType::INT64 = 2
 

The value is a signed 64-bit integer.

Generated from protobuf enum INT64 = 2;

public Google\Api\MetricDescriptor\ValueType::MONEY = 6
 

The value is money.

Generated from protobuf enum MONEY = 6;

public Google\Api\MetricDescriptor\ValueType::STRING = 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;

public Google\Api\MetricDescriptor\ValueType::VALUE_TYPE_UNSPECIFIED = 0
 

Do not use this default value.

Generated from protobuf enum VALUE_TYPE_UNSPECIFIED = 0;

Methods
public static name( $value)
public static value( $name)
Properties
private static $valueToName = ['VALUE_TYPE_UNSPECIFIED', 'BOOL', 'INT64', 'DOUBLE', 'STRING', 'DISTRIBUTION', 'MONEY']
Properties
private static $valueToName = ['VALUE_TYPE_UNSPECIFIED', 'BOOL', 'INT64', 'DOUBLE', 'STRING', 'DISTRIBUTION', 'MONEY']
Methods
public static name( $value)
public static value( $name)
© 2020 Bruce Wells
Search Namespaces \ Classes
ConfigurationNumbers (0-9.) only