Class GoogleAnalyticsAdminV1betaKeyEvent
A key event in a Google Analytics property.
Implements
Inherited Members
Namespace: Google.Apis.GoogleAnalyticsAdmin.v1beta.Data
Assembly: Google.Apis.GoogleAnalyticsAdmin.v1beta.dll
Syntax
public class GoogleAnalyticsAdminV1betaKeyEvent : IDirectResponseSchema
Properties
CountingMethod
Required. The method by which Key Events will be counted across multiple events within a session.
Declaration
[JsonProperty("countingMethod")]
public virtual string CountingMethod { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
CreateTime
object representation of CreateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual object CreateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
CreateTimeDateTimeOffset
DateTimeOffset representation of CreateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |
CreateTimeRaw
Output only. Time when this key event was created in the property.
Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Custom
Output only. If set to true, this key event refers to a custom event. If set to false, this key event refers to a default event in GA. Default events typically have special meaning in GA. Default events are usually created for you by the GA system, but in some cases can be created by property admins. Custom events count towards the maximum number of custom key events that may be created per property.
Declaration
[JsonProperty("custom")]
public virtual bool? Custom { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
DefaultValue
Optional. Defines a default value/currency for a key event.
Declaration
[JsonProperty("defaultValue")]
public virtual GoogleAnalyticsAdminV1betaKeyEventDefaultValue DefaultValue { get; set; }
Property Value
| Type | Description |
|---|---|
| GoogleAnalyticsAdminV1betaKeyEventDefaultValue |
Deletable
Output only. If set to true, this event can be deleted.
Declaration
[JsonProperty("deletable")]
public virtual bool? Deletable { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
EventName
Immutable. The event name for this key event. Examples: 'click', 'purchase'
Declaration
[JsonProperty("eventName")]
public virtual string EventName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Name
Output only. Resource name of this key event. Format: properties/{property}/keyEvents/{key_event}
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |