google-analytics-admin-v1alpha 0.13.0 → 0.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -41,8 +41,8 @@ module Google
41
41
  # Required. Immutable. The dimension name or metric name to filter.
42
42
  # @!attribute [rw] at_any_point_in_time
43
43
  # @return [::Boolean]
44
- # Optional. Indicates whether this filter needs dynamic evaluation or not. If set to
45
- # true, users join the Audience if they ever met the condition (static
44
+ # Optional. Indicates whether this filter needs dynamic evaluation or not. If
45
+ # set to true, users join the Audience if they ever met the condition (static
46
46
  # evaluation). If unset or set to false, user evaluation for an Audience is
47
47
  # dynamic; users are added to an Audience when they meet the conditions and
48
48
  # then removed when they no longer meet them.
@@ -50,9 +50,9 @@ module Google
50
50
  # This can only be set when Audience scope is ACROSS_ALL_SESSIONS.
51
51
  # @!attribute [rw] in_any_n_day_period
52
52
  # @return [::Integer]
53
- # Optional. If set, specifies the time window for which to evaluate data in number of
54
- # days. If not set, then audience data is evaluated against lifetime data
55
- # (i.e., infinite time window).
53
+ # Optional. If set, specifies the time window for which to evaluate data in
54
+ # number of days. If not set, then audience data is evaluated against
55
+ # lifetime data (i.e., infinite time window).
56
56
  #
57
57
  # For example, if set to 1 day, only the current day's data is evaluated. The
58
58
  # reference point is the current day when at_any_point_in_time is unset or
@@ -98,16 +98,14 @@ module Google
98
98
 
99
99
  # Full regular expression matches with the string value.
100
100
  FULL_REGEXP = 5
101
-
102
- # Partial regular expression matches with the string value.
103
- PARTIAL_REGEXP = 6
104
101
  end
105
102
  end
106
103
 
107
104
  # A filter for a string dimension that matches a particular list of options.
108
105
  # @!attribute [rw] values
109
106
  # @return [::Array<::String>]
110
- # Required. The list of possible string values to match against. Must be non-empty.
107
+ # Required. The list of possible string values to match against. Must be
108
+ # non-empty.
111
109
  # @!attribute [rw] case_sensitive
112
110
  # @return [::Boolean]
113
111
  # Optional. If true, the match is case-sensitive. If false, the match is
@@ -151,14 +149,8 @@ module Google
151
149
  # Less than.
152
150
  LESS_THAN = 2
153
151
 
154
- # Less than or equal.
155
- LESS_THAN_OR_EQUAL = 3
156
-
157
152
  # Greater than.
158
153
  GREATER_THAN = 4
159
-
160
- # Greater than or equal.
161
- GREATER_THAN_OR_EQUAL = 5
162
154
  end
163
155
  end
164
156
 
@@ -184,8 +176,8 @@ module Google
184
176
  # Required. Immutable. The name of the event to match against.
185
177
  # @!attribute [rw] event_parameter_filter_expression
186
178
  # @return [::Google::Analytics::Admin::V1alpha::AudienceFilterExpression]
187
- # Optional. If specified, this filter matches events that match both the single
188
- # event name and the parameter filter expressions. AudienceEventFilter
179
+ # Optional. If specified, this filter matches events that match both the
180
+ # single event name and the parameter filter expressions. AudienceEventFilter
189
181
  # inside the parameter filter expression cannot be set (i.e., nested
190
182
  # event filters are not supported). This should be a single and_group of
191
183
  # dimension_or_metric_filter or not_expression; ANDs of ORs are not
@@ -240,7 +232,8 @@ module Google
240
232
  # Required. Immutable. Specifies the scope for this filter.
241
233
  # @!attribute [rw] filter_expression
242
234
  # @return [::Google::Analytics::Admin::V1alpha::AudienceFilterExpression]
243
- # Required. Immutable. A logical expression of Audience dimension, metric, or event filters.
235
+ # Required. Immutable. A logical expression of Audience dimension, metric, or
236
+ # event filters.
244
237
  class AudienceSimpleFilter
245
238
  include ::Google::Protobuf::MessageExts
246
239
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -256,8 +249,8 @@ module Google
256
249
  # Optional. Defines the time period in which the whole sequence must occur.
257
250
  # @!attribute [rw] sequence_steps
258
251
  # @return [::Array<::Google::Analytics::Admin::V1alpha::AudienceSequenceFilter::AudienceSequenceStep>]
259
- # Required. An ordered sequence of steps. A user must complete each step in order to
260
- # join the sequence filter.
252
+ # Required. An ordered sequence of steps. A user must complete each step in
253
+ # order to join the sequence filter.
261
254
  class AudienceSequenceFilter
262
255
  include ::Google::Protobuf::MessageExts
263
256
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -269,21 +262,21 @@ module Google
269
262
  # Required. Immutable. Specifies the scope for this step.
270
263
  # @!attribute [rw] immediately_follows
271
264
  # @return [::Boolean]
272
- # Optional. If true, the event satisfying this step must be the very next event
273
- # after the event satisfying the last step. If unset or false, this
265
+ # Optional. If true, the event satisfying this step must be the very next
266
+ # event after the event satisfying the last step. If unset or false, this
274
267
  # step indirectly follows the prior step; for example, there may be
275
268
  # events between the prior step and this step. It is ignored for the
276
269
  # first step.
277
270
  # @!attribute [rw] constraint_duration
278
271
  # @return [::Google::Protobuf::Duration]
279
- # Optional. When set, this step must be satisfied within the constraint_duration of
280
- # the previous step (i.e., t[i] - t[i-1] <= constraint_duration). If not
281
- # set, there is no duration requirement (the duration is effectively
282
- # unlimited). It is ignored for the first step.
272
+ # Optional. When set, this step must be satisfied within the
273
+ # constraint_duration of the previous step (i.e., t[i] - t[i-1] <=
274
+ # constraint_duration). If not set, there is no duration requirement (the
275
+ # duration is effectively unlimited). It is ignored for the first step.
283
276
  # @!attribute [rw] filter_expression
284
277
  # @return [::Google::Analytics::Admin::V1alpha::AudienceFilterExpression]
285
- # Required. Immutable. A logical expression of Audience dimension, metric, or event filters in
286
- # each step.
278
+ # Required. Immutable. A logical expression of Audience dimension, metric,
279
+ # or event filters in each step.
287
280
  class AudienceSequenceStep
288
281
  include ::Google::Protobuf::MessageExts
289
282
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -359,25 +352,25 @@ module Google
359
352
  # Required. The description of the Audience.
360
353
  # @!attribute [rw] membership_duration_days
361
354
  # @return [::Integer]
362
- # Required. Immutable. The duration a user should stay in an Audience. It cannot be set to more
363
- # than 540 days.
355
+ # Required. Immutable. The duration a user should stay in an Audience. It
356
+ # cannot be set to more than 540 days.
364
357
  # @!attribute [r] ads_personalization_enabled
365
358
  # @return [::Boolean]
366
- # Output only. It is automatically set by GA to false if this is an NPA Audience and is
367
- # excluded from ads personalization.
359
+ # Output only. It is automatically set by GA to false if this is an NPA
360
+ # Audience and is excluded from ads personalization.
368
361
  # @!attribute [rw] event_trigger
369
362
  # @return [::Google::Analytics::Admin::V1alpha::AudienceEventTrigger]
370
- # Optional. Specifies an event to log when a user joins the Audience. If not set, no
371
- # event is logged when a user joins the Audience.
363
+ # Optional. Specifies an event to log when a user joins the Audience. If not
364
+ # set, no event is logged when a user joins the Audience.
372
365
  # @!attribute [rw] exclusion_duration_mode
373
366
  # @return [::Google::Analytics::Admin::V1alpha::Audience::AudienceExclusionDurationMode]
374
- # Immutable. Specifies how long an exclusion lasts for users that meet the exclusion
375
- # filter. It is applied to all EXCLUDE filter clauses and is ignored when
376
- # there is no EXCLUDE filter clause in the Audience.
367
+ # Immutable. Specifies how long an exclusion lasts for users that meet the
368
+ # exclusion filter. It is applied to all EXCLUDE filter clauses and is
369
+ # ignored when there is no EXCLUDE filter clause in the Audience.
377
370
  # @!attribute [rw] filter_clauses
378
371
  # @return [::Array<::Google::Analytics::Admin::V1alpha::AudienceFilterClause>]
379
- # Required. Immutable. null Filter clauses that define the Audience. All clauses will be AND’ed
380
- # together.
372
+ # Required. Immutable. Unordered list. Filter clauses that define the
373
+ # Audience. All clauses will be AND’ed together.
381
374
  class Audience
382
375
  include ::Google::Protobuf::MessageExts
383
376
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -0,0 +1,156 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2023 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Analytics
22
+ module Admin
23
+ module V1alpha
24
+ # A specific filter for a single dimension
25
+ # @!attribute [rw] string_filter
26
+ # @return [::Google::Analytics::Admin::V1alpha::ExpandedDataSetFilter::StringFilter]
27
+ # A filter for a string-type dimension that matches a particular pattern.
28
+ # @!attribute [rw] in_list_filter
29
+ # @return [::Google::Analytics::Admin::V1alpha::ExpandedDataSetFilter::InListFilter]
30
+ # A filter for a string dimension that matches a particular list of
31
+ # options.
32
+ # @!attribute [rw] field_name
33
+ # @return [::String]
34
+ # Required. The dimension name to filter.
35
+ class ExpandedDataSetFilter
36
+ include ::Google::Protobuf::MessageExts
37
+ extend ::Google::Protobuf::MessageExts::ClassMethods
38
+
39
+ # A filter for a string-type dimension that matches a particular pattern.
40
+ # @!attribute [rw] match_type
41
+ # @return [::Google::Analytics::Admin::V1alpha::ExpandedDataSetFilter::StringFilter::MatchType]
42
+ # Required. The match type for the string filter.
43
+ # @!attribute [rw] value
44
+ # @return [::String]
45
+ # Required. The string value to be matched against.
46
+ # @!attribute [rw] case_sensitive
47
+ # @return [::Boolean]
48
+ # Optional. If true, the match is case-sensitive. If false, the match is
49
+ # case-insensitive.
50
+ # Must be true when match_type is EXACT.
51
+ # Must be false when match_type is CONTAINS.
52
+ class StringFilter
53
+ include ::Google::Protobuf::MessageExts
54
+ extend ::Google::Protobuf::MessageExts::ClassMethods
55
+
56
+ # The match type for the string filter.
57
+ module MatchType
58
+ # Unspecified
59
+ MATCH_TYPE_UNSPECIFIED = 0
60
+
61
+ # Exact match of the string value.
62
+ EXACT = 1
63
+
64
+ # Contains the string value.
65
+ CONTAINS = 2
66
+ end
67
+ end
68
+
69
+ # A filter for a string dimension that matches a particular list of options.
70
+ # @!attribute [rw] values
71
+ # @return [::Array<::String>]
72
+ # Required. The list of possible string values to match against. Must be
73
+ # non-empty.
74
+ # @!attribute [rw] case_sensitive
75
+ # @return [::Boolean]
76
+ # Optional. If true, the match is case-sensitive. If false, the match is
77
+ # case-insensitive.
78
+ # Must be true.
79
+ class InListFilter
80
+ include ::Google::Protobuf::MessageExts
81
+ extend ::Google::Protobuf::MessageExts::ClassMethods
82
+ end
83
+ end
84
+
85
+ # A logical expression of EnhancedDataSet dimension filters.
86
+ # @!attribute [rw] and_group
87
+ # @return [::Google::Analytics::Admin::V1alpha::ExpandedDataSetFilterExpressionList]
88
+ # A list of expressions to be AND’ed together. It must contain a
89
+ # ExpandedDataSetFilterExpression with either not_expression or
90
+ # dimension_filter. This must be set for the top level
91
+ # ExpandedDataSetFilterExpression.
92
+ # @!attribute [rw] not_expression
93
+ # @return [::Google::Analytics::Admin::V1alpha::ExpandedDataSetFilterExpression]
94
+ # A filter expression to be NOT'ed (i.e., inverted, complemented). It
95
+ # must include a dimension_filter. This cannot be set on the
96
+ # top level ExpandedDataSetFilterExpression.
97
+ # @!attribute [rw] filter
98
+ # @return [::Google::Analytics::Admin::V1alpha::ExpandedDataSetFilter]
99
+ # A filter on a single dimension. This cannot be set on the top
100
+ # level ExpandedDataSetFilterExpression.
101
+ class ExpandedDataSetFilterExpression
102
+ include ::Google::Protobuf::MessageExts
103
+ extend ::Google::Protobuf::MessageExts::ClassMethods
104
+ end
105
+
106
+ # A list of ExpandedDataSet filter expressions.
107
+ # @!attribute [rw] filter_expressions
108
+ # @return [::Array<::Google::Analytics::Admin::V1alpha::ExpandedDataSetFilterExpression>]
109
+ # A list of ExpandedDataSet filter expressions.
110
+ class ExpandedDataSetFilterExpressionList
111
+ include ::Google::Protobuf::MessageExts
112
+ extend ::Google::Protobuf::MessageExts::ClassMethods
113
+ end
114
+
115
+ # A resource message representing a GA4 ExpandedDataSet.
116
+ # @!attribute [r] name
117
+ # @return [::String]
118
+ # Output only. The resource name for this ExpandedDataSet resource.
119
+ # Format: properties/\\{property_id}/expandedDataSets/\\{expanded_data_set}
120
+ # @!attribute [rw] display_name
121
+ # @return [::String]
122
+ # Required. The display name of the ExpandedDataSet.
123
+ # Max 200 chars.
124
+ # @!attribute [rw] description
125
+ # @return [::String]
126
+ # Optional. The description of the ExpandedDataSet.
127
+ # Max 50 chars.
128
+ # @!attribute [rw] dimension_names
129
+ # @return [::Array<::String>]
130
+ # Immutable. The list of dimensions included in the ExpandedDataSet.
131
+ # See the [API
132
+ # Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#dimensions)
133
+ # for the list of dimension names.
134
+ # @!attribute [rw] metric_names
135
+ # @return [::Array<::String>]
136
+ # Immutable. The list of metrics included in the ExpandedDataSet.
137
+ # See the [API
138
+ # Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#metrics)
139
+ # for the list of dimension names.
140
+ # @!attribute [rw] dimension_filter_expression
141
+ # @return [::Google::Analytics::Admin::V1alpha::ExpandedDataSetFilterExpression]
142
+ # Immutable. A logical expression of ExpandedDataSet filters applied to
143
+ # dimension included in the ExpandedDataSet. This filter is used to reduce
144
+ # the number of rows and thus the change of encountering `other row`.
145
+ # @!attribute [r] data_collection_start_time
146
+ # @return [::Google::Protobuf::Timestamp]
147
+ # Output only. Time when expanded data set began (or will begin) collecing
148
+ # data.
149
+ class ExpandedDataSet
150
+ include ::Google::Protobuf::MessageExts
151
+ extend ::Google::Protobuf::MessageExts::ClassMethods
152
+ end
153
+ end
154
+ end
155
+ end
156
+ end