Google Analytics Data V1beta Client - Class MetricType (0.20.0)

Reference documentation and code samples for the Google Analytics Data V1beta Client class MetricType.

A metric's value type.

Protobuf type google.analytics.data.v1beta.MetricType

Namespace

Google \ Analytics \ Data \ V1beta

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

METRIC_TYPE_UNSPECIFIED

Value: 0

Unspecified type.

Generated from protobuf enum METRIC_TYPE_UNSPECIFIED = 0;

TYPE_INTEGER

Value: 1

Integer type.

Generated from protobuf enum TYPE_INTEGER = 1;

TYPE_FLOAT

Value: 2

Floating point type.

Generated from protobuf enum TYPE_FLOAT = 2;

TYPE_SECONDS

Value: 4

A duration of seconds; a special floating point type.

Generated from protobuf enum TYPE_SECONDS = 4;

TYPE_MILLISECONDS

Value: 5

A duration in milliseconds; a special floating point type.

Generated from protobuf enum TYPE_MILLISECONDS = 5;

TYPE_MINUTES

Value: 6

A duration in minutes; a special floating point type.

Generated from protobuf enum TYPE_MINUTES = 6;

TYPE_HOURS

Value: 7

A duration in hours; a special floating point type.

Generated from protobuf enum TYPE_HOURS = 7;

TYPE_STANDARD

Value: 8

A custom metric of standard type; a special floating point type.

Generated from protobuf enum TYPE_STANDARD = 8;

TYPE_CURRENCY

Value: 9

An amount of money; a special floating point type.

Generated from protobuf enum TYPE_CURRENCY = 9;

TYPE_FEET

Value: 10

A length in feet; a special floating point type.

Generated from protobuf enum TYPE_FEET = 10;

TYPE_MILES

Value: 11

A length in miles; a special floating point type.

Generated from protobuf enum TYPE_MILES = 11;

TYPE_METERS

Value: 12

A length in meters; a special floating point type.

Generated from protobuf enum TYPE_METERS = 12;

TYPE_KILOMETERS

Value: 13

A length in kilometers; a special floating point type.

Generated from protobuf enum TYPE_KILOMETERS = 13;