Show / Hide Table of Contents

Class KeyEvent

A key event in a Google Analytics property.

Inheritance
object
KeyEvent
Implements
IMessage<KeyEvent>
IEquatable<KeyEvent>
IDeepCloneable<KeyEvent>
IBufferMessage
IMessage
Inherited Members
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Analytics.Admin.V1Beta
Assembly: Google.Analytics.Admin.V1Beta.dll
Syntax
public sealed class KeyEvent : IMessage<KeyEvent>, IEquatable<KeyEvent>, IDeepCloneable<KeyEvent>, IBufferMessage, IMessage

Constructors

KeyEvent()

Declaration
public KeyEvent()

KeyEvent(KeyEvent)

Declaration
public KeyEvent(KeyEvent other)
Parameters
Type Name Description
KeyEvent other

Properties

CountingMethod

Required. The method by which Key Events will be counted across multiple events within a session.

Declaration
public KeyEvent.Types.CountingMethod CountingMethod { get; set; }
Property Value
Type Description
KeyEvent.Types.CountingMethod

CreateTime

Output only. Time when this key event was created in the property.

Declaration
public Timestamp CreateTime { get; set; }
Property Value
Type Description
Timestamp

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
public bool Custom { get; set; }
Property Value
Type Description
bool

DefaultValue

Optional. Defines a default value/currency for a key event.

Declaration
public KeyEvent.Types.DefaultValue DefaultValue { get; set; }
Property Value
Type Description
KeyEvent.Types.DefaultValue

Deletable

Output only. If set to true, this event can be deleted.

Declaration
public bool Deletable { get; set; }
Property Value
Type Description
bool

EventName

Immutable. The event name for this key event. Examples: 'click', 'purchase'

Declaration
public string EventName { get; set; }
Property Value
Type Description
string

KeyEventName

KeyEventName-typed view over the Name resource name property.

Declaration
public KeyEventName KeyEventName { get; set; }
Property Value
Type Description
KeyEventName

Name

Output only. Resource name of this key event. Format: properties/{property}/keyEvents/{key_event}

Declaration
public string Name { get; set; }
Property Value
Type Description
string
In this article
Back to top Generated by DocFX