Class GoogleAnalyticsAdminV1alphaCustomMetric
A definition for a custom metric.
Implements
Inherited Members
Namespace: Google.Apis.GoogleAnalyticsAdmin.v1alpha.Data
Assembly: Google.Apis.GoogleAnalyticsAdmin.v1alpha.dll
Syntax
public class GoogleAnalyticsAdminV1alphaCustomMetric : 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 |