Google Analytics Admin V1beta Client - Class MeasurementUnit (0.17.0)

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 \ CustomMetric

Methods

static::name

Parameter
NameDescription
value mixed

static::value

Parameter
NameDescription
name mixed

Constants

MEASUREMENT_UNIT_UNSPECIFIED

Value: 0

MeasurementUnit unspecified or missing.

Generated from protobuf enum MEASUREMENT_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;

METERS

Value: 4

This metric measures meters.

Generated from protobuf enum METERS = 4;

KILOMETERS

Value: 5

This metric measures kilometers.

Generated from protobuf enum KILOMETERS = 5;

MILES

Value: 6

This metric measures miles.

Generated from protobuf enum MILES = 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;