91
91
class UserCriteriaScoping (proto .Enum ):
92
92
r"""Scoping specifies which events are considered when evaluating
93
93
if a user meets a criteria.
94
+
95
+ Values:
96
+ USER_CRITERIA_SCOPING_UNSPECIFIED (0):
97
+ Unspecified criteria scoping. Do not specify.
98
+ USER_CRITERIA_WITHIN_SAME_EVENT (1):
99
+ If the criteria is satisfied within one
100
+ event, the user matches the criteria.
101
+ USER_CRITERIA_WITHIN_SAME_SESSION (2):
102
+ If the criteria is satisfied within one
103
+ session, the user matches the criteria.
104
+ USER_CRITERIA_ACROSS_ALL_SESSIONS (3):
105
+ If the criteria is satisfied by any events
106
+ for the user, the user matches the criteria.
94
107
"""
95
108
USER_CRITERIA_SCOPING_UNSPECIFIED = 0
96
109
USER_CRITERIA_WITHIN_SAME_EVENT = 1
@@ -101,6 +114,17 @@ class UserCriteriaScoping(proto.Enum):
101
114
class UserExclusionDuration (proto .Enum ):
102
115
r"""Enumerates options for how long an exclusion will last if a user
103
116
matches the ``userExclusionCriteria``.
117
+
118
+ Values:
119
+ USER_EXCLUSION_DURATION_UNSPECIFIED (0):
120
+ Unspecified exclusion duration. Do not
121
+ specify.
122
+ USER_EXCLUSION_TEMPORARY (1):
123
+ Temporarily exclude users from the segment during periods
124
+ when the user meets the ``userExclusionCriteria`` condition.
125
+ USER_EXCLUSION_PERMANENT (2):
126
+ Permanently exclude users from the segment if the user ever
127
+ meets the ``userExclusionCriteria`` condition.
104
128
"""
105
129
USER_EXCLUSION_DURATION_UNSPECIFIED = 0
106
130
USER_EXCLUSION_TEMPORARY = 1
@@ -110,6 +134,16 @@ class UserExclusionDuration(proto.Enum):
110
134
class SessionCriteriaScoping (proto .Enum ):
111
135
r"""Scoping specifies which events are considered when evaluating
112
136
if a session meets a criteria.
137
+
138
+ Values:
139
+ SESSION_CRITERIA_SCOPING_UNSPECIFIED (0):
140
+ Unspecified criteria scoping. Do not specify.
141
+ SESSION_CRITERIA_WITHIN_SAME_EVENT (1):
142
+ If the criteria is satisfied within one
143
+ event, the session matches the criteria.
144
+ SESSION_CRITERIA_WITHIN_SAME_SESSION (2):
145
+ If the criteria is satisfied within one
146
+ session, the session matches the criteria.
113
147
"""
114
148
SESSION_CRITERIA_SCOPING_UNSPECIFIED = 0
115
149
SESSION_CRITERIA_WITHIN_SAME_EVENT = 1
@@ -119,6 +153,18 @@ class SessionCriteriaScoping(proto.Enum):
119
153
class SessionExclusionDuration (proto .Enum ):
120
154
r"""Enumerates options for how long an exclusion will last if a session
121
155
matches the ``sessionExclusionCriteria``.
156
+
157
+ Values:
158
+ SESSION_EXCLUSION_DURATION_UNSPECIFIED (0):
159
+ Unspecified exclusion duration. Do not
160
+ specify.
161
+ SESSION_EXCLUSION_TEMPORARY (1):
162
+ Temporarily exclude sessions from the segment during periods
163
+ when the session meets the ``sessionExclusionCriteria``
164
+ condition.
165
+ SESSION_EXCLUSION_PERMANENT (2):
166
+ Permanently exclude sessions from the segment if the session
167
+ ever meets the ``sessionExclusionCriteria`` condition.
122
168
"""
123
169
SESSION_EXCLUSION_DURATION_UNSPECIFIED = 0
124
170
SESSION_EXCLUSION_TEMPORARY = 1
@@ -128,6 +174,13 @@ class SessionExclusionDuration(proto.Enum):
128
174
class EventCriteriaScoping (proto .Enum ):
129
175
r"""Scoping specifies which events are considered when evaluating
130
176
if an event meets a criteria.
177
+
178
+ Values:
179
+ EVENT_CRITERIA_SCOPING_UNSPECIFIED (0):
180
+ Unspecified criteria scoping. Do not specify.
181
+ EVENT_CRITERIA_WITHIN_SAME_EVENT (1):
182
+ If the criteria is satisfied within one
183
+ event, the event matches the criteria.
131
184
"""
132
185
EVENT_CRITERIA_SCOPING_UNSPECIFIED = 0
133
186
EVENT_CRITERIA_WITHIN_SAME_EVENT = 1
@@ -136,13 +189,60 @@ class EventCriteriaScoping(proto.Enum):
136
189
class EventExclusionDuration (proto .Enum ):
137
190
r"""Enumerates options for how long an exclusion will last if an event
138
191
matches the ``eventExclusionCriteria``.
192
+
193
+ Values:
194
+ EVENT_EXCLUSION_DURATION_UNSPECIFIED (0):
195
+ Unspecified exclusion duration. Do not
196
+ specify.
197
+ EVENT_EXCLUSION_PERMANENT (1):
198
+ Permanently exclude events from the segment if the event
199
+ ever meets the ``eventExclusionCriteria`` condition.
139
200
"""
140
201
EVENT_EXCLUSION_DURATION_UNSPECIFIED = 0
141
202
EVENT_EXCLUSION_PERMANENT = 1
142
203
143
204
144
205
class MetricType (proto .Enum ):
145
- r"""A metric's value type."""
206
+ r"""A metric's value type.
207
+
208
+ Values:
209
+ METRIC_TYPE_UNSPECIFIED (0):
210
+ Unspecified type.
211
+ TYPE_INTEGER (1):
212
+ Integer type.
213
+ TYPE_FLOAT (2):
214
+ Floating point type.
215
+ TYPE_SECONDS (4):
216
+ A duration of seconds; a special floating
217
+ point type.
218
+ TYPE_MILLISECONDS (5):
219
+ A duration in milliseconds; a special
220
+ floating point type.
221
+ TYPE_MINUTES (6):
222
+ A duration in minutes; a special floating
223
+ point type.
224
+ TYPE_HOURS (7):
225
+ A duration in hours; a special floating point
226
+ type.
227
+ TYPE_STANDARD (8):
228
+ A custom metric of standard type; a special
229
+ floating point type.
230
+ TYPE_CURRENCY (9):
231
+ An amount of money; a special floating point
232
+ type.
233
+ TYPE_FEET (10):
234
+ A length in feet; a special floating point
235
+ type.
236
+ TYPE_MILES (11):
237
+ A length in miles; a special floating point
238
+ type.
239
+ TYPE_METERS (12):
240
+ A length in meters; a special floating point
241
+ type.
242
+ TYPE_KILOMETERS (13):
243
+ A length in kilometers; a special floating
244
+ point type.
245
+ """
146
246
METRIC_TYPE_UNSPECIFIED = 0
147
247
TYPE_INTEGER = 1
148
248
TYPE_FLOAT = 2
@@ -482,7 +582,26 @@ class StringFilter(proto.Message):
482
582
"""
483
583
484
584
class MatchType (proto .Enum ):
485
- r"""The match type of a string filter"""
585
+ r"""The match type of a string filter
586
+
587
+ Values:
588
+ MATCH_TYPE_UNSPECIFIED (0):
589
+ Unspecified
590
+ EXACT (1):
591
+ Exact match of the string value.
592
+ BEGINS_WITH (2):
593
+ Begins with the string value.
594
+ ENDS_WITH (3):
595
+ Ends with the string value.
596
+ CONTAINS (4):
597
+ Contains the string value.
598
+ FULL_REGEXP (5):
599
+ Full match for the regular expression with
600
+ the string value.
601
+ PARTIAL_REGEXP (6):
602
+ Partial match for the regular expression with
603
+ the string value.
604
+ """
486
605
MATCH_TYPE_UNSPECIFIED = 0
487
606
EXACT = 1
488
607
BEGINS_WITH = 2
@@ -538,7 +657,22 @@ class NumericFilter(proto.Message):
538
657
"""
539
658
540
659
class Operation (proto .Enum ):
541
- r"""The operation applied to a numeric filter"""
660
+ r"""The operation applied to a numeric filter
661
+
662
+ Values:
663
+ OPERATION_UNSPECIFIED (0):
664
+ Unspecified.
665
+ EQUAL (1):
666
+ Equal
667
+ LESS_THAN (2):
668
+ Less than
669
+ LESS_THAN_OR_EQUAL (3):
670
+ Less than or equal
671
+ GREATER_THAN (4):
672
+ Greater than
673
+ GREATER_THAN_OR_EQUAL (5):
674
+ Greater than or equal
675
+ """
542
676
OPERATION_UNSPECIFIED = 0
543
677
EQUAL = 1
544
678
LESS_THAN = 2
0 commit comments