Show / Hide Table of Contents

Class CustomMetric

JSON template for Analytics Custom Metric.

Inheritance
System.Object
CustomMetric
Implements
Google.Apis.Requests.IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Analytics.v3.Data
Assembly: Google.Apis.Analytics.v3.dll
Syntax
public class CustomMetric : IDirectResponseSchema

Properties

AccountId

Account ID.

Declaration
[JsonProperty("accountId")]
public virtual string AccountId { get; set; }
Property Value
Type Description
System.String

Active

Boolean indicating whether the custom metric is active.

Declaration
[JsonProperty("active")]
public virtual bool? Active { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>

Created

System.DateTime representation of CreatedRaw.

Declaration
[JsonIgnore]
public virtual DateTime? Created { get; set; }
Property Value
Type Description
System.Nullable<System.DateTime>

CreatedRaw

Time the custom metric was created.

Declaration
[JsonProperty("created")]
public virtual string CreatedRaw { 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

Id

Custom metric ID.

Declaration
[JsonProperty("id")]
public virtual string Id { get; set; }
Property Value
Type Description
System.String

Index

Index of the custom metric.

Declaration
[JsonProperty("index")]
public virtual int? Index { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>

Kind

Kind value for a custom metric. Set to "analytics#customMetric". It is a read-only field.

Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type Description
System.String

MaxValue

Max value of custom metric.

Declaration
[JsonProperty("max_value")]
public virtual string MaxValue { get; set; }
Property Value
Type Description
System.String

MinValue

Min value of custom metric.

Declaration
[JsonProperty("min_value")]
public virtual string MinValue { get; set; }
Property Value
Type Description
System.String

Name

Name of the custom metric.

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

ParentLink

Parent link for the custom metric. Points to the property to which the custom metric belongs.

Declaration
[JsonProperty("parentLink")]
public virtual CustomMetric.ParentLinkData ParentLink { get; set; }
Property Value
Type Description
CustomMetric.ParentLinkData

Scope

Scope of the custom metric: HIT or PRODUCT.

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

SelfLink

Link for the custom metric

Declaration
[JsonProperty("selfLink")]
public virtual string SelfLink { get; set; }
Property Value
Type Description
System.String

Type

Data type of custom metric.

Declaration
[JsonProperty("type")]
public virtual string Type { get; set; }
Property Value
Type Description
System.String

Updated

System.DateTime representation of UpdatedRaw.

Declaration
[JsonIgnore]
public virtual DateTime? Updated { get; set; }
Property Value
Type Description
System.Nullable<System.DateTime>

UpdatedRaw

Time the custom metric was last modified.

Declaration
[JsonProperty("updated")]
public virtual string UpdatedRaw { get; set; }
Property Value
Type Description
System.String

WebPropertyId

Property ID.

Declaration
[JsonProperty("webPropertyId")]
public virtual string WebPropertyId { get; set; }
Property Value
Type Description
System.String

Implements

Google.Apis.Requests.IDirectResponseSchema
In This Article
Back to top