Class CustomMetric
JSON template for Analytics Custom Metric.
Implements
Inherited Members
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
DateTime representation of CreatedRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreatedDateTimeOffset instead.")]
public virtual DateTime? Created { get; set; }
Property Value
Type | Description |
---|---|
DateTime? |
CreatedDateTimeOffset
DateTimeOffset representation of CreatedRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreatedDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
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
DateTime representation of UpdatedRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use UpdatedDateTimeOffset instead.")]
public virtual DateTime? Updated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? |
UpdatedDateTimeOffset
DateTimeOffset representation of UpdatedRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? UpdatedDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
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 |