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 \ V1betaMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
METRIC_TYPE_UNSPECIFIED
Value: 0Unspecified type.
Generated from protobuf enum METRIC_TYPE_UNSPECIFIED = 0;
TYPE_INTEGER
Value: 1Integer type.
Generated from protobuf enum TYPE_INTEGER = 1;
TYPE_FLOAT
Value: 2Floating point type.
Generated from protobuf enum TYPE_FLOAT = 2;
TYPE_SECONDS
Value: 4A duration of seconds; a special floating point type.
Generated from protobuf enum TYPE_SECONDS = 4;
TYPE_MILLISECONDS
Value: 5A duration in milliseconds; a special floating point type.
Generated from protobuf enum TYPE_MILLISECONDS = 5;
TYPE_MINUTES
Value: 6A duration in minutes; a special floating point type.
Generated from protobuf enum TYPE_MINUTES = 6;
TYPE_HOURS
Value: 7A duration in hours; a special floating point type.
Generated from protobuf enum TYPE_HOURS = 7;
TYPE_STANDARD
Value: 8A custom metric of standard type; a special floating point type.
Generated from protobuf enum TYPE_STANDARD = 8;
TYPE_CURRENCY
Value: 9An amount of money; a special floating point type.
Generated from protobuf enum TYPE_CURRENCY = 9;
TYPE_FEET
Value: 10A length in feet; a special floating point type.
Generated from protobuf enum TYPE_FEET = 10;
TYPE_MILES
Value: 11A length in miles; a special floating point type.
Generated from protobuf enum TYPE_MILES = 11;
TYPE_METERS
Value: 12A length in meters; a special floating point type.
Generated from protobuf enum TYPE_METERS = 12;
TYPE_KILOMETERS
Value: 13A length in kilometers; a special floating point type.
Generated from protobuf enum TYPE_KILOMETERS = 13;