Class MetricMetadata
Explains a metric.
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.AnalyticsData.v1alpha.Data
Assembly: Google.Apis.AnalyticsData.v1alpha.dll
Syntax
public class MetricMetadata : IDirectResponseSchema
Properties
ApiName
A metric name. Useable in Metric's name. For example, eventCount.
Declaration
[JsonProperty("apiName")]
public virtual string ApiName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
CustomDefinition
True if the metric is a custom metric for this property.
Declaration
[JsonProperty("customDefinition")]
public virtual bool? CustomDefinition { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |
DeprecatedApiNames
Still usable but deprecated names for this metric. If populated, this metric is available by either
apiName or one of deprecatedApiNames for a period of time. After the deprecation period, the metric will
be available only by apiName.
Declaration
[JsonProperty("deprecatedApiNames")]
public virtual IList<string> DeprecatedApiNames { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IList<System.String> |
Description
Description of how this metric is used and calculated.
Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Expression
The mathematical expression for this derived metric. Can be used in Metric's expression field
for equivalent reports. Most metrics are not expressions, and for non-expressions, this field is empty.
Declaration
[JsonProperty("expression")]
public virtual string Expression { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Type
The type of this metric.
Declaration
[JsonProperty("type")]
public virtual string Type { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
UiName
This metric's name within the Google Analytics user interface. For example, Event count.
Declaration
[JsonProperty("uiName")]
public virtual string UiName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |