google-analytics-admin-v1alpha 0.31.0 → 0.32.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/google/analytics/admin/v1alpha/analytics_admin_service/client.rb +35 -15
- data/lib/google/analytics/admin/v1alpha/analytics_admin_service/rest/client.rb +35 -15
- data/lib/google/analytics/admin/v1alpha/analytics_admin_service/rest.rb +1 -1
- data/lib/google/analytics/admin/v1alpha/analytics_admin_service.rb +1 -1
- data/lib/google/analytics/admin/v1alpha/analytics_admin_services_pb.rb +17 -9
- data/lib/google/analytics/admin/v1alpha/resources_pb.rb +1 -1
- data/lib/google/analytics/admin/v1alpha/version.rb +1 -1
- data/proto_docs/google/analytics/admin/v1alpha/access_report.rb +24 -0
- data/proto_docs/google/analytics/admin/v1alpha/analytics_admin.rb +11 -6
- data/proto_docs/google/analytics/admin/v1alpha/audience.rb +27 -1
- data/proto_docs/google/analytics/admin/v1alpha/channel_group.rb +12 -0
- data/proto_docs/google/analytics/admin/v1alpha/expanded_data_set.rb +11 -1
- data/proto_docs/google/analytics/admin/v1alpha/resources.rb +98 -37
- data/proto_docs/google/analytics/admin/v1alpha/subproperty_event_filter.rb +11 -1
- data/proto_docs/google/api/client.rb +8 -0
- metadata +6 -9
@@ -73,16 +73,24 @@ module Google
|
|
73
73
|
# @!attribute [rw] and_group
|
74
74
|
# @return [::Google::Analytics::Admin::V1alpha::AccessFilterExpressionList]
|
75
75
|
# Each of the FilterExpressions in the and_group has an AND relationship.
|
76
|
+
#
|
77
|
+
# Note: The following fields are mutually exclusive: `and_group`, `or_group`, `not_expression`, `access_filter`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
76
78
|
# @!attribute [rw] or_group
|
77
79
|
# @return [::Google::Analytics::Admin::V1alpha::AccessFilterExpressionList]
|
78
80
|
# Each of the FilterExpressions in the or_group has an OR relationship.
|
81
|
+
#
|
82
|
+
# Note: The following fields are mutually exclusive: `or_group`, `and_group`, `not_expression`, `access_filter`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
79
83
|
# @!attribute [rw] not_expression
|
80
84
|
# @return [::Google::Analytics::Admin::V1alpha::AccessFilterExpression]
|
81
85
|
# The FilterExpression is NOT of not_expression.
|
86
|
+
#
|
87
|
+
# Note: The following fields are mutually exclusive: `not_expression`, `and_group`, `or_group`, `access_filter`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
82
88
|
# @!attribute [rw] access_filter
|
83
89
|
# @return [::Google::Analytics::Admin::V1alpha::AccessFilter]
|
84
90
|
# A primitive filter. In the same FilterExpression, all of the filter's
|
85
91
|
# field names need to be either all dimensions or all metrics.
|
92
|
+
#
|
93
|
+
# Note: The following fields are mutually exclusive: `access_filter`, `and_group`, `or_group`, `not_expression`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
86
94
|
class AccessFilterExpression
|
87
95
|
include ::Google::Protobuf::MessageExts
|
88
96
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -101,15 +109,23 @@ module Google
|
|
101
109
|
# @!attribute [rw] string_filter
|
102
110
|
# @return [::Google::Analytics::Admin::V1alpha::AccessStringFilter]
|
103
111
|
# Strings related filter.
|
112
|
+
#
|
113
|
+
# Note: The following fields are mutually exclusive: `string_filter`, `in_list_filter`, `numeric_filter`, `between_filter`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
104
114
|
# @!attribute [rw] in_list_filter
|
105
115
|
# @return [::Google::Analytics::Admin::V1alpha::AccessInListFilter]
|
106
116
|
# A filter for in list values.
|
117
|
+
#
|
118
|
+
# Note: The following fields are mutually exclusive: `in_list_filter`, `string_filter`, `numeric_filter`, `between_filter`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
107
119
|
# @!attribute [rw] numeric_filter
|
108
120
|
# @return [::Google::Analytics::Admin::V1alpha::AccessNumericFilter]
|
109
121
|
# A filter for numeric or date values.
|
122
|
+
#
|
123
|
+
# Note: The following fields are mutually exclusive: `numeric_filter`, `string_filter`, `in_list_filter`, `between_filter`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
110
124
|
# @!attribute [rw] between_filter
|
111
125
|
# @return [::Google::Analytics::Admin::V1alpha::AccessBetweenFilter]
|
112
126
|
# A filter for two values.
|
127
|
+
#
|
128
|
+
# Note: The following fields are mutually exclusive: `between_filter`, `string_filter`, `in_list_filter`, `numeric_filter`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
113
129
|
# @!attribute [rw] field_name
|
114
130
|
# @return [::String]
|
115
131
|
# The dimension name or metric name.
|
@@ -218,9 +234,13 @@ module Google
|
|
218
234
|
# @!attribute [rw] int64_value
|
219
235
|
# @return [::Integer]
|
220
236
|
# Integer value
|
237
|
+
#
|
238
|
+
# Note: The following fields are mutually exclusive: `int64_value`, `double_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
221
239
|
# @!attribute [rw] double_value
|
222
240
|
# @return [::Float]
|
223
241
|
# Double value
|
242
|
+
#
|
243
|
+
# Note: The following fields are mutually exclusive: `double_value`, `int64_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
224
244
|
class NumericValue
|
225
245
|
include ::Google::Protobuf::MessageExts
|
226
246
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -232,9 +252,13 @@ module Google
|
|
232
252
|
# @!attribute [rw] metric
|
233
253
|
# @return [::Google::Analytics::Admin::V1alpha::AccessOrderBy::MetricOrderBy]
|
234
254
|
# Sorts results by a metric's values.
|
255
|
+
#
|
256
|
+
# Note: The following fields are mutually exclusive: `metric`, `dimension`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
235
257
|
# @!attribute [rw] dimension
|
236
258
|
# @return [::Google::Analytics::Admin::V1alpha::AccessOrderBy::DimensionOrderBy]
|
237
259
|
# Sorts results by a dimension's values.
|
260
|
+
#
|
261
|
+
# Note: The following fields are mutually exclusive: `dimension`, `metric`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
238
262
|
# @!attribute [rw] desc
|
239
263
|
# @return [::Boolean]
|
240
264
|
# If true, sorts by descending order. If false or unspecified, sorts in
|
@@ -29,9 +29,9 @@ module Google
|
|
29
29
|
# access for all properties under that account.
|
30
30
|
#
|
31
31
|
# To request at the property level, entity should be for example
|
32
|
-
# 'properties/123' if "123" is your
|
33
|
-
# account level, entity should be for example 'accounts/1234' if
|
34
|
-
# your
|
32
|
+
# 'properties/123' if "123" is your Google Analytics property ID. To request
|
33
|
+
# at the account level, entity should be for example 'accounts/1234' if
|
34
|
+
# "1234" is your Google Analytics Account ID.
|
35
35
|
# @!attribute [rw] dimensions
|
36
36
|
# @return [::Array<::Google::Analytics::Admin::V1alpha::AccessDimension>]
|
37
37
|
# The dimensions requested and displayed in the response. Requests are
|
@@ -598,9 +598,14 @@ module Google
|
|
598
598
|
# @!attribute [rw] page_size
|
599
599
|
# @return [::Integer]
|
600
600
|
# Optional. The maximum number of ChangeHistoryEvent items to return.
|
601
|
-
#
|
602
|
-
#
|
603
|
-
#
|
601
|
+
# If unspecified, at most 50 items will be returned. The maximum value is 200
|
602
|
+
# (higher values will be coerced to the maximum).
|
603
|
+
#
|
604
|
+
# Note that the service may return a page with fewer items than this value
|
605
|
+
# specifies (potentially even zero), and that there still may be additional
|
606
|
+
# pages. If you want a particular number of items, you'll need to continue
|
607
|
+
# requesting additional pages using `page_token` until you get the needed
|
608
|
+
# number.
|
604
609
|
# @!attribute [rw] page_token
|
605
610
|
# @return [::String]
|
606
611
|
# Optional. A page token, received from a previous
|
@@ -25,17 +25,25 @@ module Google
|
|
25
25
|
# @!attribute [rw] string_filter
|
26
26
|
# @return [::Google::Analytics::Admin::V1alpha::AudienceDimensionOrMetricFilter::StringFilter]
|
27
27
|
# A filter for a string-type dimension that matches a particular pattern.
|
28
|
+
#
|
29
|
+
# Note: The following fields are mutually exclusive: `string_filter`, `in_list_filter`, `numeric_filter`, `between_filter`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
28
30
|
# @!attribute [rw] in_list_filter
|
29
31
|
# @return [::Google::Analytics::Admin::V1alpha::AudienceDimensionOrMetricFilter::InListFilter]
|
30
32
|
# A filter for a string dimension that matches a particular list of
|
31
33
|
# options.
|
34
|
+
#
|
35
|
+
# Note: The following fields are mutually exclusive: `in_list_filter`, `string_filter`, `numeric_filter`, `between_filter`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
32
36
|
# @!attribute [rw] numeric_filter
|
33
37
|
# @return [::Google::Analytics::Admin::V1alpha::AudienceDimensionOrMetricFilter::NumericFilter]
|
34
38
|
# A filter for numeric or date values on a dimension or metric.
|
39
|
+
#
|
40
|
+
# Note: The following fields are mutually exclusive: `numeric_filter`, `string_filter`, `in_list_filter`, `between_filter`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
35
41
|
# @!attribute [rw] between_filter
|
36
42
|
# @return [::Google::Analytics::Admin::V1alpha::AudienceDimensionOrMetricFilter::BetweenFilter]
|
37
43
|
# A filter for numeric or date values between certain values on a dimension
|
38
44
|
# or metric.
|
45
|
+
#
|
46
|
+
# Note: The following fields are mutually exclusive: `between_filter`, `string_filter`, `in_list_filter`, `numeric_filter`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
39
47
|
# @!attribute [rw] field_name
|
40
48
|
# @return [::String]
|
41
49
|
# Required. Immutable. The dimension name or metric name to filter. If the
|
@@ -124,9 +132,13 @@ module Google
|
|
124
132
|
# @!attribute [rw] int64_value
|
125
133
|
# @return [::Integer]
|
126
134
|
# Integer value.
|
135
|
+
#
|
136
|
+
# Note: The following fields are mutually exclusive: `int64_value`, `double_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
127
137
|
# @!attribute [rw] double_value
|
128
138
|
# @return [::Float]
|
129
139
|
# Double value.
|
140
|
+
#
|
141
|
+
# Note: The following fields are mutually exclusive: `double_value`, `int64_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
130
142
|
class NumericValue
|
131
143
|
include ::Google::Protobuf::MessageExts
|
132
144
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -199,23 +211,33 @@ module Google
|
|
199
211
|
# A list of expressions to be AND’ed together. It can only contain
|
200
212
|
# AudienceFilterExpressions with or_group. This must be set for the top
|
201
213
|
# level AudienceFilterExpression.
|
214
|
+
#
|
215
|
+
# Note: The following fields are mutually exclusive: `and_group`, `or_group`, `not_expression`, `dimension_or_metric_filter`, `event_filter`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
202
216
|
# @!attribute [rw] or_group
|
203
217
|
# @return [::Google::Analytics::Admin::V1alpha::AudienceFilterExpressionList]
|
204
218
|
# A list of expressions to OR’ed together. It cannot contain
|
205
219
|
# AudienceFilterExpressions with and_group or or_group.
|
220
|
+
#
|
221
|
+
# Note: The following fields are mutually exclusive: `or_group`, `and_group`, `not_expression`, `dimension_or_metric_filter`, `event_filter`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
206
222
|
# @!attribute [rw] not_expression
|
207
223
|
# @return [::Google::Analytics::Admin::V1alpha::AudienceFilterExpression]
|
208
224
|
# A filter expression to be NOT'ed (For example, inverted, complemented).
|
209
225
|
# It can only include a dimension_or_metric_filter. This cannot be set on
|
210
226
|
# the top level AudienceFilterExpression.
|
227
|
+
#
|
228
|
+
# Note: The following fields are mutually exclusive: `not_expression`, `and_group`, `or_group`, `dimension_or_metric_filter`, `event_filter`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
211
229
|
# @!attribute [rw] dimension_or_metric_filter
|
212
230
|
# @return [::Google::Analytics::Admin::V1alpha::AudienceDimensionOrMetricFilter]
|
213
231
|
# A filter on a single dimension or metric. This cannot be set on the top
|
214
232
|
# level AudienceFilterExpression.
|
233
|
+
#
|
234
|
+
# Note: The following fields are mutually exclusive: `dimension_or_metric_filter`, `and_group`, `or_group`, `not_expression`, `event_filter`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
215
235
|
# @!attribute [rw] event_filter
|
216
236
|
# @return [::Google::Analytics::Admin::V1alpha::AudienceEventFilter]
|
217
237
|
# Creates a filter that matches a specific event. This cannot be set on the
|
218
238
|
# top level AudienceFilterExpression.
|
239
|
+
#
|
240
|
+
# Note: The following fields are mutually exclusive: `event_filter`, `and_group`, `or_group`, `not_expression`, `dimension_or_metric_filter`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
219
241
|
class AudienceFilterExpression
|
220
242
|
include ::Google::Protobuf::MessageExts
|
221
243
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -295,10 +317,14 @@ module Google
|
|
295
317
|
# @!attribute [rw] simple_filter
|
296
318
|
# @return [::Google::Analytics::Admin::V1alpha::AudienceSimpleFilter]
|
297
319
|
# A simple filter that a user must satisfy to be a member of the Audience.
|
320
|
+
#
|
321
|
+
# Note: The following fields are mutually exclusive: `simple_filter`, `sequence_filter`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
298
322
|
# @!attribute [rw] sequence_filter
|
299
323
|
# @return [::Google::Analytics::Admin::V1alpha::AudienceSequenceFilter]
|
300
324
|
# Filters that must occur in a specific order for the user to be a member
|
301
325
|
# of the Audience.
|
326
|
+
#
|
327
|
+
# Note: The following fields are mutually exclusive: `sequence_filter`, `simple_filter`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
302
328
|
# @!attribute [rw] clause_type
|
303
329
|
# @return [::Google::Analytics::Admin::V1alpha::AudienceFilterClause::AudienceClauseType]
|
304
330
|
# Required. Specifies whether this is an include or exclude filter clause.
|
@@ -344,7 +370,7 @@ module Google
|
|
344
370
|
end
|
345
371
|
end
|
346
372
|
|
347
|
-
# A resource message representing
|
373
|
+
# A resource message representing an Audience.
|
348
374
|
# @!attribute [r] name
|
349
375
|
# @return [::String]
|
350
376
|
# Output only. The resource name for this Audience resource.
|
@@ -25,10 +25,14 @@ module Google
|
|
25
25
|
# @!attribute [rw] string_filter
|
26
26
|
# @return [::Google::Analytics::Admin::V1alpha::ChannelGroupFilter::StringFilter]
|
27
27
|
# A filter for a string-type dimension that matches a particular pattern.
|
28
|
+
#
|
29
|
+
# Note: The following fields are mutually exclusive: `string_filter`, `in_list_filter`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
28
30
|
# @!attribute [rw] in_list_filter
|
29
31
|
# @return [::Google::Analytics::Admin::V1alpha::ChannelGroupFilter::InListFilter]
|
30
32
|
# A filter for a string dimension that matches a particular list of
|
31
33
|
# options.
|
34
|
+
#
|
35
|
+
# Note: The following fields are mutually exclusive: `in_list_filter`, `string_filter`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
32
36
|
# @!attribute [rw] field_name
|
33
37
|
# @return [::String]
|
34
38
|
# Required. Immutable. The dimension name to filter.
|
@@ -90,19 +94,27 @@ module Google
|
|
90
94
|
# A list of expressions to be AND’ed together. It can only contain
|
91
95
|
# ChannelGroupFilterExpressions with or_group. This must be set for the
|
92
96
|
# top level ChannelGroupFilterExpression.
|
97
|
+
#
|
98
|
+
# Note: The following fields are mutually exclusive: `and_group`, `or_group`, `not_expression`, `filter`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
93
99
|
# @!attribute [rw] or_group
|
94
100
|
# @return [::Google::Analytics::Admin::V1alpha::ChannelGroupFilterExpressionList]
|
95
101
|
# A list of expressions to OR’ed together. It cannot contain
|
96
102
|
# ChannelGroupFilterExpressions with and_group or or_group.
|
103
|
+
#
|
104
|
+
# Note: The following fields are mutually exclusive: `or_group`, `and_group`, `not_expression`, `filter`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
97
105
|
# @!attribute [rw] not_expression
|
98
106
|
# @return [::Google::Analytics::Admin::V1alpha::ChannelGroupFilterExpression]
|
99
107
|
# A filter expression to be NOT'ed (that is inverted, complemented). It
|
100
108
|
# can only include a dimension_or_metric_filter. This cannot be set on the
|
101
109
|
# top level ChannelGroupFilterExpression.
|
110
|
+
#
|
111
|
+
# Note: The following fields are mutually exclusive: `not_expression`, `and_group`, `or_group`, `filter`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
102
112
|
# @!attribute [rw] filter
|
103
113
|
# @return [::Google::Analytics::Admin::V1alpha::ChannelGroupFilter]
|
104
114
|
# A filter on a single dimension. This cannot be set on the top
|
105
115
|
# level ChannelGroupFilterExpression.
|
116
|
+
#
|
117
|
+
# Note: The following fields are mutually exclusive: `filter`, `and_group`, `or_group`, `not_expression`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
106
118
|
class ChannelGroupFilterExpression
|
107
119
|
include ::Google::Protobuf::MessageExts
|
108
120
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -25,10 +25,14 @@ module Google
|
|
25
25
|
# @!attribute [rw] string_filter
|
26
26
|
# @return [::Google::Analytics::Admin::V1alpha::ExpandedDataSetFilter::StringFilter]
|
27
27
|
# A filter for a string-type dimension that matches a particular pattern.
|
28
|
+
#
|
29
|
+
# Note: The following fields are mutually exclusive: `string_filter`, `in_list_filter`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
28
30
|
# @!attribute [rw] in_list_filter
|
29
31
|
# @return [::Google::Analytics::Admin::V1alpha::ExpandedDataSetFilter::InListFilter]
|
30
32
|
# A filter for a string dimension that matches a particular list of
|
31
33
|
# options.
|
34
|
+
#
|
35
|
+
# Note: The following fields are mutually exclusive: `in_list_filter`, `string_filter`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
32
36
|
# @!attribute [rw] field_name
|
33
37
|
# @return [::String]
|
34
38
|
# Required. The dimension name to filter.
|
@@ -89,15 +93,21 @@ module Google
|
|
89
93
|
# ExpandedDataSetFilterExpression with either not_expression or
|
90
94
|
# dimension_filter. This must be set for the top level
|
91
95
|
# ExpandedDataSetFilterExpression.
|
96
|
+
#
|
97
|
+
# Note: The following fields are mutually exclusive: `and_group`, `not_expression`, `filter`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
92
98
|
# @!attribute [rw] not_expression
|
93
99
|
# @return [::Google::Analytics::Admin::V1alpha::ExpandedDataSetFilterExpression]
|
94
100
|
# A filter expression to be NOT'ed (that is, inverted, complemented). It
|
95
101
|
# must include a dimension_filter. This cannot be set on the
|
96
102
|
# top level ExpandedDataSetFilterExpression.
|
103
|
+
#
|
104
|
+
# Note: The following fields are mutually exclusive: `not_expression`, `and_group`, `filter`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
97
105
|
# @!attribute [rw] filter
|
98
106
|
# @return [::Google::Analytics::Admin::V1alpha::ExpandedDataSetFilter]
|
99
107
|
# A filter on a single dimension. This cannot be set on the top
|
100
108
|
# level ExpandedDataSetFilterExpression.
|
109
|
+
#
|
110
|
+
# Note: The following fields are mutually exclusive: `filter`, `and_group`, `not_expression`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
101
111
|
class ExpandedDataSetFilterExpression
|
102
112
|
include ::Google::Protobuf::MessageExts
|
103
113
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -112,7 +122,7 @@ module Google
|
|
112
122
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
113
123
|
end
|
114
124
|
|
115
|
-
# A resource message representing
|
125
|
+
# A resource message representing an `ExpandedDataSet`.
|
116
126
|
# @!attribute [r] name
|
117
127
|
# @return [::String]
|
118
128
|
# Output only. The resource name for this ExpandedDataSet resource.
|