Required. Display name for this custom metric as shown in the Analytics UI.
Max length of 82 characters, alphanumeric plus space and underscore
starting with a letter. Legacy system-generated display names may contain
square brackets, but updates to this field will never permit square
brackets.
Required. Display name for this custom metric as shown in the Analytics UI.
Max length of 82 characters, alphanumeric plus space and underscore
starting with a letter. Legacy system-generated display names may contain
square brackets, but updates to this field will never permit square
brackets.
Required. Immutable. Tagging name for this custom metric.
If this is an event-scoped metric, then this is the event parameter
name.
May only contain alphanumeric and underscore charactes, starting with a
letter. Max length of 40 characters for event-scoped metrics.
Required. Immutable. Tagging name for this custom metric.
If this is an event-scoped metric, then this is the event parameter
name.
May only contain alphanumeric and underscore charactes, starting with a
letter. Max length of 40 characters for event-scoped metrics.
Optional. Types of restricted data that this metric may contain. Required for metrics
with CURRENCY measurement unit. Must be empty for metrics with a
non-CURRENCY measurement unit.
Optional. Types of restricted data that this metric may contain. Required for metrics
with CURRENCY measurement unit. Must be empty for metrics with a
non-CURRENCY measurement unit.
Optional. Types of restricted data that this metric may contain. Required for metrics
with CURRENCY measurement unit. Must be empty for metrics with a
non-CURRENCY measurement unit.
Optional. Types of restricted data that this metric may contain. Required for metrics
with CURRENCY measurement unit. Must be empty for metrics with a
non-CURRENCY measurement unit.
Optional. Types of restricted data that this metric may contain. Required for metrics
with CURRENCY measurement unit. Must be empty for metrics with a
non-CURRENCY measurement unit.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-04-09 UTC."],[[["The webpage provides a comprehensive list of versions for the `CustomMetric` class within the Google Analytics Admin Java library, ranging from version 0.14.0 up to the latest, 0.70.0."],["The `CustomMetric` class, found within the `com.google.analytics.admin.v1beta` package, is a part of the protocol buffer (Protobuf) implementation, representing a definition for a custom metric used within the Google Analytics Admin service."],["The class `CustomMetric` extends `GeneratedMessageV3` and implements `CustomMetricOrBuilder`, inheriting and utilizing various functionalities from these abstract classes and interfaces, including methods for parsing, serialization, and handling of data."],["The `CustomMetric` class has several key static fields and methods for handling its parameters, such as `DESCRIPTION_FIELD_NUMBER`, `DISPLAY_NAME_FIELD_NUMBER`, `getDescriptor()`, and `parseFrom()`, allowing users to easily interact with instances of this class."],["Within the `CustomMetric` class, several important methods such as `getDisplayName()`, `getParameterName()`, `getScope()`, `getMeasurementUnit()` are defined, allowing users to access detailed information about a specific custom metric, including its display name, parameter name, scope, and measurement unit."]]],[]]