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 latest version of the `CustomMetric` documentation is 0.70.0, found in the Google Analytics Admin Java library, but there are numerous previous versions, ranging from 0.69.0 down to 0.14.0, which are also accessible."],["`CustomMetric` is defined as a final class that extends `GeneratedMessageV3` and implements `CustomMetricOrBuilder`, serving as a specific type within the `google.analytics.admin.v1alpha` package."],["The class `CustomMetric` provides a structure for defining custom metrics in Google Analytics, with fields like `name`, `parameter_name`, `display_name`, `description`, `measurement_unit`, `scope`, and `restricted_metric_type`."],["`CustomMetric` includes static methods for creating instances, parsing data, and accessing metadata, as well as methods to retrieve field values and manage the internal state of the object."],["The `CustomMetric` class inherits several methods from its parent classes, such as `AbstractMessageLite`, `AbstractMessage`, and `GeneratedMessageV3`, offering functionalities for data handling, serialization, and object management."]]],[]]