The value type of a metric.
Protobuf type google.api.MetricDescriptor.ValueType
CloneableInstantiable
Constants |
public Google The value is a boolean. This value type can be used only if the metric kind is Generated from protobuf enum BOOL = 1; |
public Google The value is a [ Generated from protobuf enum DISTRIBUTION = 5; |
public Google The value is a double precision floating point number. Generated from protobuf enum DOUBLE = 3; |
public Google The value is a signed 64-bit integer. Generated from protobuf enum INT64 = 2; |
public Google The value is money. Generated from protobuf enum MONEY = 6; |
public Google The value is a text string. This value type can be used only if the metric kind is Generated from protobuf enum STRING = 4; |
public Google 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) |