Enum RestrictedMetricType (0.25.0)

public enum RestrictedMetricType extends Enum<RestrictedMetricType> implements ProtocolMessageEnum

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

Protobuf enum google.analytics.data.v1beta.RestrictedMetricType

Implements

ProtocolMessageEnum

Static Fields

NameDescription
COST_DATA

Cost metrics such as adCost.

COST_DATA = 1;

COST_DATA_VALUE

Cost metrics such as adCost.

COST_DATA = 1;

RESTRICTED_METRIC_TYPE_UNSPECIFIED

Unspecified type.

RESTRICTED_METRIC_TYPE_UNSPECIFIED = 0;

RESTRICTED_METRIC_TYPE_UNSPECIFIED_VALUE

Unspecified type.

RESTRICTED_METRIC_TYPE_UNSPECIFIED = 0;

REVENUE_DATA

Revenue metrics such as purchaseRevenue.

REVENUE_DATA = 2;

REVENUE_DATA_VALUE

Revenue metrics such as purchaseRevenue.

REVENUE_DATA = 2;

UNRECOGNIZED

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()