# Google Analytics Data V1beta API - Module Google::Analytics::Data::V1beta::MetricType (v0.4.3)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [0.4.3 (latest)](https://docs.cloud.google.com/ruby/docs/reference/google-analytics-data-v1beta/latest/Google-Analytics-Data-V1beta-MetricType)
- [0.4.2](https://docs.cloud.google.com/ruby/docs/reference/google-analytics-data-v1beta/0.4.2/Google-Analytics-Data-V1beta-MetricType)
Reference documentation and code samples for the Google Analytics Data V1beta API module Google::Analytics::Data::V1beta::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.