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

Categories of data that you may be restricted from viewing on certain GA4
properties.

## Constants

### RESTRICTED_METRIC_TYPE_UNSPECIFIED

**value:** 0  
Unspecified type.

### COST_DATA

**value:** 1  
Cost metrics such as `adCost`.

### REVENUE_DATA

**value:** 2  
Revenue metrics such as `purchaseRevenue`.