Reference documentation and code samples for the Google Analytics Admin V1beta Client class MeasurementUnit.
Possible types of representing the custom metric's value.
Currency representation may change in the future, requiring a breaking API change.
Protobuf type google.analytics.admin.v1beta.CustomMetric.MeasurementUnit
Namespace
Google \ Analytics \ Admin \ V1beta \ CustomMetricMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
MEASUREMENT_UNIT_UNSPECIFIED
Value: 0MeasurementUnit unspecified or missing.
Generated from protobuf enum MEASUREMENT_UNIT_UNSPECIFIED = 0;
STANDARD
Value: 1This metric uses default units.
Generated from protobuf enum STANDARD = 1;
CURRENCY
Value: 2This metric measures a currency.
Generated from protobuf enum CURRENCY = 2;
FEET
Value: 3This metric measures feet.
Generated from protobuf enum FEET = 3;
METERS
Value: 4This metric measures meters.
Generated from protobuf enum METERS = 4;
KILOMETERS
Value: 5This metric measures kilometers.
Generated from protobuf enum KILOMETERS = 5;
MILES
Value: 6This metric measures miles.
Generated from protobuf enum MILES = 6;
MILLISECONDS
Value: 7This metric measures milliseconds.
Generated from protobuf enum MILLISECONDS = 7;
SECONDS
Value: 8This metric measures seconds.
Generated from protobuf enum SECONDS = 8;
MINUTES
Value: 9This metric measures minutes.
Generated from protobuf enum MINUTES = 9;
HOURS
Value: 10This metric measures hours.
Generated from protobuf enum HOURS = 10;