Show / Hide Table of Contents

Class CustomMetric

JSON template for Analytics Custom Metric.

Inheritance
object
CustomMetric
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.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
string

Active

Boolean indicating whether the custom metric is active.

Declaration
[JsonProperty("active")]
public virtual bool? Active { get; set; }
Property Value
Type Description
bool?

Created

System.DateTime representation of CreatedRaw.

Declaration
[JsonIgnore]
public virtual DateTime? Created { get; set; }
Property Value
Type Description
DateTime?

CreatedRaw

Time the custom metric was created.

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

Id

Custom metric ID.

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

Index

Index of the custom metric.

Declaration
[JsonProperty("index")]
public virtual int? Index { get; set; }
Property Value
Type Description
int?

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
string

MaxValue

Max value of custom metric.

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

MinValue

Min value of custom metric.

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

Name

Name of the custom metric.

Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type Description
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
string

SelfLink

Link for the custom metric

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

Type

Data type of custom metric.

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

Updated

System.DateTime representation of UpdatedRaw.

Declaration
[JsonIgnore]
public virtual DateTime? Updated { get; set; }
Property Value
Type Description
DateTime?

UpdatedRaw

Time the custom metric was last modified.

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

WebPropertyId

Property ID.

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

Implements

IDirectResponseSchema
In This Article
Back to top Generated by DocFX