Reference documentation and code samples for the Google Analytics Admin V1alpha Client class MetricUnit.
Possible types of representing the calculated metric's value.
Protobuf type google.analytics.admin.v1alpha.CalculatedMetric.MetricUnit
Namespace
Google \ Analytics \ Admin \ V1alpha \ CalculatedMetricMethods
static::name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
static::value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
METRIC_UNIT_UNSPECIFIED
Value: 0
MetricUnit unspecified or missing.
Generated from protobuf enum METRIC_UNIT_UNSPECIFIED = 0;
STANDARD
Value: 1
This metric uses default units.
Generated from protobuf enum STANDARD = 1;
CURRENCY
Value: 2
This metric measures a currency.
Generated from protobuf enum CURRENCY = 2;
FEET
Value: 3
This metric measures feet.
Generated from protobuf enum FEET = 3;
MILES
Value: 4
This metric measures miles.
Generated from protobuf enum MILES = 4;
METERS
Value: 5
This metric measures meters.
Generated from protobuf enum METERS = 5;
KILOMETERS
Value: 6
This metric measures kilometers.
Generated from protobuf enum KILOMETERS = 6;
MILLISECONDS
Value: 7
This metric measures milliseconds.
Generated from protobuf enum MILLISECONDS = 7;
SECONDS
Value: 8
This metric measures seconds.
Generated from protobuf enum SECONDS = 8;
MINUTES
Value: 9
This metric measures minutes.
Generated from protobuf enum MINUTES = 9;
HOURS
Value: 10
This metric measures hours.
Generated from protobuf enum HOURS = 10;