# Google Analytics Data V1alpha API - Module Google::Analytics::Data::V1alpha::MetricType (v0.8.3)

Reference documentation and code samples for the Google Analytics Data V1alpha API module Google::Analytics::Data::V1alpha::MetricType.

A metric's value type.

## Constants

### METRIC_TYPE_UNSPECIFIED

**value:** 0  
Unspecified type.

### TYPE_INTEGER

**value:** 1  
Integer type.

### TYPE_FLOAT

**value:** 2  
Floating point type.

### TYPE_SECONDS

**value:** 4  
A duration of seconds; a special floating point type.

### TYPE_MILLISECONDS

**value:** 5  
A duration in milliseconds; a special floating point type.

### TYPE_MINUTES

**value:** 6  
A duration in minutes; a special floating point type.

### TYPE_HOURS

**value:** 7  
A duration in hours; a special floating point type.

### TYPE_STANDARD

**value:** 8  
A custom metric of standard type; a special floating point type.

### TYPE_CURRENCY

**value:** 9  
An amount of money; a special floating point type.

### TYPE_FEET

**value:** 10  
A length in feet; a special floating point type.

### TYPE_MILES

**value:** 11  
A length in miles; a special floating point type.

### TYPE_METERS

**value:** 12  
A length in meters; a special floating point type.

### TYPE_KILOMETERS

**value:** 13  
A length in kilometers; a special floating point type.