Show / Hide Table of Contents

Class GoogleAnalyticsAdminV1betaCustomMetric

A definition for a custom metric.

Inheritance
object
GoogleAnalyticsAdminV1betaCustomMetric
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.GoogleAnalyticsAdmin.v1beta.Data
Assembly: Google.Apis.GoogleAnalyticsAdmin.v1beta.dll
Syntax
public class GoogleAnalyticsAdminV1betaCustomMetric : IDirectResponseSchema

Properties

Description

Optional. Description for this custom dimension. Max length of 150 characters.

Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
Type Description
string

DisplayName

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.

Declaration
[JsonProperty("displayName")]
public virtual string DisplayName { get; set; }
Property Value
Type Description
string

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

MeasurementUnit

Required. The type for the custom metric's value.

Declaration
[JsonProperty("measurementUnit")]
public virtual string MeasurementUnit { get; set; }
Property Value
Type Description
string

Name

Output only. Resource name for this CustomMetric resource. Format: properties/{property}/customMetrics/{customMetric}

Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type Description
string

ParameterName

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.

Declaration
[JsonProperty("parameterName")]
public virtual string ParameterName { get; set; }
Property Value
Type Description
string

RestrictedMetricType

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.

Declaration
[JsonProperty("restrictedMetricType")]
public virtual IList<string> RestrictedMetricType { get; set; }
Property Value
Type Description
IList<string>

Scope

Required. Immutable. The scope of this custom metric.

Declaration
[JsonProperty("scope")]
public virtual string Scope { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX