Class EventMapping
Event setting conditions to match an event.
Implements
Namespace: Google.Analytics.Admin.V1Alpha
Assembly: Google.Analytics.Admin.V1Alpha.dll
Syntax
public sealed class EventMapping : IMessage<EventMapping>, IEquatable<EventMapping>, IDeepCloneable<EventMapping>, IBufferMessage, IMessage
Constructors
EventMapping()
Declaration
public EventMapping()
EventMapping(EventMapping)
Declaration
public EventMapping(EventMapping other)
Parameters
Type | Name | Description |
---|---|---|
EventMapping | other |
Properties
EventName
Required. Name of the GA4 event. It must always be set. The max allowed display name length is 40 UTF-16 code units.
Declaration
public string EventName { get; set; }
Property Value
Type | Description |
---|---|
string |
HasMaxEventCount
Gets whether the "max_event_count" field is set
Declaration
public bool HasMaxEventCount { get; }
Property Value
Type | Description |
---|---|
bool |
HasMaxEventValue
Gets whether the "max_event_value" field is set
Declaration
public bool HasMaxEventValue { get; }
Property Value
Type | Description |
---|---|
bool |
HasMinEventCount
Gets whether the "min_event_count" field is set
Declaration
public bool HasMinEventCount { get; }
Property Value
Type | Description |
---|---|
bool |
HasMinEventValue
Gets whether the "min_event_value" field is set
Declaration
public bool HasMinEventValue { get; }
Property Value
Type | Description |
---|---|
bool |
MaxEventCount
The maximum number of times the event occurred. If not set, maximum event count won't be checked.
Declaration
public long MaxEventCount { get; set; }
Property Value
Type | Description |
---|---|
long |
MaxEventValue
The maximum revenue generated due to the event. Revenue currency will be defined at the property level. If not set, maximum event value won't be checked.
Declaration
public double MaxEventValue { get; set; }
Property Value
Type | Description |
---|---|
double |
MinEventCount
At least one of the following four min/max values must be set. The values set will be ANDed together to qualify an event. The minimum number of times the event occurred. If not set, minimum event count won't be checked.
Declaration
public long MinEventCount { get; set; }
Property Value
Type | Description |
---|---|
long |
MinEventValue
The minimum revenue generated due to the event. Revenue currency will be defined at the property level. If not set, minimum event value won't be checked.
Declaration
public double MinEventValue { get; set; }
Property Value
Type | Description |
---|---|
double |