Class MatchingCondition
Defines a condition for when an Event Edit or Event Creation rule applies to an event.
Implements
Namespace: Google.Analytics.Admin.V1Alpha
Assembly: Google.Analytics.Admin.V1Alpha.dll
Syntax
public sealed class MatchingCondition : IMessage<MatchingCondition>, IEquatable<MatchingCondition>, IDeepCloneable<MatchingCondition>, IBufferMessage, IMessage
Constructors
MatchingCondition()
Declaration
public MatchingCondition()
MatchingCondition(MatchingCondition)
Declaration
public MatchingCondition(MatchingCondition other)
Parameters
| Type | Name | Description |
|---|---|---|
| MatchingCondition | other |
Properties
ComparisonType
Required. The type of comparison to be applied to the value.
Declaration
public MatchingCondition.Types.ComparisonType ComparisonType { get; set; }
Property Value
| Type | Description |
|---|---|
| MatchingCondition.Types.ComparisonType |
Field
Required. The name of the field that is compared against for the condition. If 'event_name' is specified this condition will apply to the name of the event. Otherwise the condition will apply to a parameter with the specified name.
This value cannot contain spaces.
Declaration
public string Field { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Negated
Whether or not the result of the comparison should be negated. For example,
if negated is true, then 'equals' comparisons would function as 'not
equals'.
Declaration
public bool Negated { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Value
Required. The value being compared against for this condition. The runtime implementation may perform type coercion of this value to evaluate this condition based on the type of the parameter value.
Declaration
public string Value { get; set; }
Property Value
| Type | Description |
|---|---|
| string |