google-analytics-admin-v1alpha 0.17.0 → 0.18.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,158 @@
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::ChannelGroupFilter::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::ChannelGroupFilter::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. Immutable. The dimension name to filter.
35
+ class ChannelGroupFilter
36
+ include ::Google::Protobuf::MessageExts
37
+ extend ::Google::Protobuf::MessageExts::ClassMethods
38
+
39
+ # Filter where the field value is a String. The match is case insensitive.
40
+ # @!attribute [rw] match_type
41
+ # @return [::Google::Analytics::Admin::V1alpha::ChannelGroupFilter::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
+ class StringFilter
47
+ include ::Google::Protobuf::MessageExts
48
+ extend ::Google::Protobuf::MessageExts::ClassMethods
49
+
50
+ # How the filter will be used to determine a match.
51
+ module MatchType
52
+ # Default match type.
53
+ MATCH_TYPE_UNSPECIFIED = 0
54
+
55
+ # Exact match of the string value.
56
+ EXACT = 1
57
+
58
+ # Begins with the string value.
59
+ BEGINS_WITH = 2
60
+
61
+ # Ends with the string value.
62
+ ENDS_WITH = 3
63
+
64
+ # Contains the string value.
65
+ CONTAINS = 4
66
+
67
+ # Full regular expression match with the string value.
68
+ FULL_REGEXP = 5
69
+
70
+ # Partial regular expression match with the string value.
71
+ PARTIAL_REGEXP = 6
72
+ end
73
+ end
74
+
75
+ # A filter for a string dimension that matches a particular list of options.
76
+ # The match is case insensitive.
77
+ # @!attribute [rw] values
78
+ # @return [::Array<::String>]
79
+ # Required. The list of possible string values to match against. Must be
80
+ # non-empty.
81
+ class InListFilter
82
+ include ::Google::Protobuf::MessageExts
83
+ extend ::Google::Protobuf::MessageExts::ClassMethods
84
+ end
85
+ end
86
+
87
+ # A logical expression of Channel Group dimension filters.
88
+ # @!attribute [rw] and_group
89
+ # @return [::Google::Analytics::Admin::V1alpha::ChannelGroupFilterExpressionList]
90
+ # A list of expressions to be AND’ed together. It can only contain
91
+ # ChannelGroupFilterExpressions with or_group. This must be set for the
92
+ # top level ChannelGroupFilterExpression.
93
+ # @!attribute [rw] or_group
94
+ # @return [::Google::Analytics::Admin::V1alpha::ChannelGroupFilterExpressionList]
95
+ # A list of expressions to OR’ed together. It cannot contain
96
+ # ChannelGroupFilterExpressions with and_group or or_group.
97
+ # @!attribute [rw] not_expression
98
+ # @return [::Google::Analytics::Admin::V1alpha::ChannelGroupFilterExpression]
99
+ # A filter expression to be NOT'ed (that is inverted, complemented). It
100
+ # can only include a dimension_or_metric_filter. This cannot be set on the
101
+ # top level ChannelGroupFilterExpression.
102
+ # @!attribute [rw] filter
103
+ # @return [::Google::Analytics::Admin::V1alpha::ChannelGroupFilter]
104
+ # A filter on a single dimension. This cannot be set on the top
105
+ # level ChannelGroupFilterExpression.
106
+ class ChannelGroupFilterExpression
107
+ include ::Google::Protobuf::MessageExts
108
+ extend ::Google::Protobuf::MessageExts::ClassMethods
109
+ end
110
+
111
+ # A list of Channel Group filter expressions.
112
+ # @!attribute [rw] filter_expressions
113
+ # @return [::Array<::Google::Analytics::Admin::V1alpha::ChannelGroupFilterExpression>]
114
+ # A list of Channel Group filter expressions.
115
+ class ChannelGroupFilterExpressionList
116
+ include ::Google::Protobuf::MessageExts
117
+ extend ::Google::Protobuf::MessageExts::ClassMethods
118
+ end
119
+
120
+ # The rules that govern how traffic is grouped into one channel.
121
+ # @!attribute [rw] display_name
122
+ # @return [::String]
123
+ # Required. Customer defined display name for the channel.
124
+ # @!attribute [rw] expression
125
+ # @return [::Google::Analytics::Admin::V1alpha::ChannelGroupFilterExpression]
126
+ # Required. The Filter Expression that defines the Grouping Rule.
127
+ class GroupingRule
128
+ include ::Google::Protobuf::MessageExts
129
+ extend ::Google::Protobuf::MessageExts::ClassMethods
130
+ end
131
+
132
+ # A resource message representing a Channel Group.
133
+ # @!attribute [r] name
134
+ # @return [::String]
135
+ # Output only. The resource name for this Channel Group resource.
136
+ # Format: properties/\\{property}/channelGroups/\\{channel_group}
137
+ # @!attribute [rw] display_name
138
+ # @return [::String]
139
+ # Required. The display name of the Channel Group. Max length of 80
140
+ # characters.
141
+ # @!attribute [rw] description
142
+ # @return [::String]
143
+ # The description of the Channel Group. Max length of 256 characters.
144
+ # @!attribute [rw] grouping_rule
145
+ # @return [::Array<::Google::Analytics::Admin::V1alpha::GroupingRule>]
146
+ # Required. The grouping rules of channels. Maximum number of rules is 25.
147
+ # @!attribute [r] system_defined
148
+ # @return [::Boolean]
149
+ # Output only. Default Channel Group defined by Google, which cannot be
150
+ # updated.
151
+ class ChannelGroup
152
+ include ::Google::Protobuf::MessageExts
153
+ extend ::Google::Protobuf::MessageExts::ClassMethods
154
+ end
155
+ end
156
+ end
157
+ end
158
+ end
@@ -91,7 +91,7 @@ module Google
91
91
  # ExpandedDataSetFilterExpression.
92
92
  # @!attribute [rw] not_expression
93
93
  # @return [::Google::Analytics::Admin::V1alpha::ExpandedDataSetFilterExpression]
94
- # A filter expression to be NOT'ed (i.e., inverted, complemented). It
94
+ # A filter expression to be NOT'ed (that is, inverted, complemented). It
95
95
  # must include a dimension_filter. This cannot be set on the
96
96
  # top level ExpandedDataSetFilterExpression.
97
97
  # @!attribute [rw] filter
@@ -141,7 +141,7 @@ module Google
141
141
  # @return [::Google::Analytics::Admin::V1alpha::ExpandedDataSetFilterExpression]
142
142
  # Immutable. A logical expression of ExpandedDataSet filters applied to
143
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`.
144
+ # the number of rows and thus the chance of encountering `other` row.
145
145
  # @!attribute [r] data_collection_start_time
146
146
  # @return [::Google::Protobuf::Timestamp]
147
147
  # Output only. Time when expanded data set began (or will begin) collecing
@@ -549,6 +549,9 @@ module Google
549
549
  # @!attribute [rw] expanded_data_set
550
550
  # @return [::Google::Analytics::Admin::V1alpha::ExpandedDataSet]
551
551
  # A snapshot of an ExpandedDataSet resource in change history.
552
+ # @!attribute [rw] channel_group
553
+ # @return [::Google::Analytics::Admin::V1alpha::ChannelGroup]
554
+ # A snapshot of a ChannelGroup resource in change history.
552
555
  # @!attribute [rw] bigquery_link
553
556
  # @return [::Google::Analytics::Admin::V1alpha::BigQueryLink]
554
557
  # A snapshot of a BigQuery link resource in change history.
@@ -761,6 +764,9 @@ module Google
761
764
  # If this is an event-scoped dimension, then this is the event parameter
762
765
  # name.
763
766
  #
767
+ # If this is an item-scoped dimension, then this is the parameter
768
+ # name found in the eCommerce items array.
769
+ #
764
770
  # May only contain alphanumeric and underscore characters, starting with a
765
771
  # letter. Max length of 24 characters for user-scoped dimensions, 40
766
772
  # characters for event-scoped dimensions.
@@ -798,6 +804,9 @@ module Google
798
804
 
799
805
  # Dimension scoped to a user.
800
806
  USER = 2
807
+
808
+ # Dimension scoped to eCommerce items
809
+ ITEM = 3
801
810
  end
802
811
  end
803
812
 
@@ -83,7 +83,7 @@ module Google
83
83
  # long-running operation pattern.
84
84
  # @!attribute [rw] new_issue_uri
85
85
  # @return [::String]
86
- # Link to a place that API users can report issues. Example:
86
+ # Link to a *public* URI where users can report issues. Example:
87
87
  # https://issuetracker.google.com/issues/new?component=190865&template=1161103
88
88
  # @!attribute [rw] documentation_uri
89
89
  # @return [::String]
@@ -209,9 +209,57 @@ module Google
209
209
  # @!attribute [rw] common
210
210
  # @return [::Google::Api::CommonLanguageSettings]
211
211
  # Some settings.
212
+ # @!attribute [rw] renamed_services
213
+ # @return [::Google::Protobuf::Map{::String => ::String}]
214
+ # Map from original service names to renamed versions.
215
+ # This is used when the default generated types
216
+ # would cause a naming conflict. (Neither name is
217
+ # fully-qualified.)
218
+ # Example: Subscriber to SubscriberServiceApi.
219
+ # @!attribute [rw] renamed_resources
220
+ # @return [::Google::Protobuf::Map{::String => ::String}]
221
+ # Map from full resource types to the effective short name
222
+ # for the resource. This is used when otherwise resource
223
+ # named from different services would cause naming collisions.
224
+ # Example entry:
225
+ # "datalabeling.googleapis.com/Dataset": "DataLabelingDataset"
226
+ # @!attribute [rw] ignored_resources
227
+ # @return [::Array<::String>]
228
+ # List of full resource types to ignore during generation.
229
+ # This is typically used for API-specific Location resources,
230
+ # which should be handled by the generator as if they were actually
231
+ # the common Location resources.
232
+ # Example entry: "documentai.googleapis.com/Location"
233
+ # @!attribute [rw] forced_namespace_aliases
234
+ # @return [::Array<::String>]
235
+ # Namespaces which must be aliased in snippets due to
236
+ # a known (but non-generator-predictable) naming collision
237
+ # @!attribute [rw] handwritten_signatures
238
+ # @return [::Array<::String>]
239
+ # Method signatures (in the form "service.method(signature)")
240
+ # which are provided separately, so shouldn't be generated.
241
+ # Snippets *calling* these methods are still generated, however.
212
242
  class DotnetSettings
213
243
  include ::Google::Protobuf::MessageExts
214
244
  extend ::Google::Protobuf::MessageExts::ClassMethods
245
+
246
+ # @!attribute [rw] key
247
+ # @return [::String]
248
+ # @!attribute [rw] value
249
+ # @return [::String]
250
+ class RenamedServicesEntry
251
+ include ::Google::Protobuf::MessageExts
252
+ extend ::Google::Protobuf::MessageExts::ClassMethods
253
+ end
254
+
255
+ # @!attribute [rw] key
256
+ # @return [::String]
257
+ # @!attribute [rw] value
258
+ # @return [::String]
259
+ class RenamedResourcesEntry
260
+ include ::Google::Protobuf::MessageExts
261
+ extend ::Google::Protobuf::MessageExts::ClassMethods
262
+ end
215
263
  end
216
264
 
217
265
  # Settings for Ruby client libraries.
@@ -305,6 +353,15 @@ module Google
305
353
 
306
354
  # Street View Org.
307
355
  STREET_VIEW = 4
356
+
357
+ # Shopping Org.
358
+ SHOPPING = 5
359
+
360
+ # Geo Org.
361
+ GEO = 6
362
+
363
+ # Generative AI - https://developers.generativeai.google
364
+ GENERATIVE_AI = 7
308
365
  end
309
366
 
310
367
  # To where should client libraries be published?
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-analytics-admin-v1alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.0
4
+ version: 0.18.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-03-23 00:00:00.000000000 Z
11
+ date: 2023-05-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -183,6 +183,7 @@ files:
183
183
  - lib/google/analytics/admin/v1alpha/analytics_admin_service/rest/service_stub.rb
184
184
  - lib/google/analytics/admin/v1alpha/analytics_admin_services_pb.rb
185
185
  - lib/google/analytics/admin/v1alpha/audience_pb.rb
186
+ - lib/google/analytics/admin/v1alpha/channel_group_pb.rb
186
187
  - lib/google/analytics/admin/v1alpha/expanded_data_set_pb.rb
187
188
  - lib/google/analytics/admin/v1alpha/resources_pb.rb
188
189
  - lib/google/analytics/admin/v1alpha/rest.rb
@@ -191,6 +192,7 @@ files:
191
192
  - proto_docs/google/analytics/admin/v1alpha/access_report.rb
192
193
  - proto_docs/google/analytics/admin/v1alpha/analytics_admin.rb
193
194
  - proto_docs/google/analytics/admin/v1alpha/audience.rb
195
+ - proto_docs/google/analytics/admin/v1alpha/channel_group.rb
194
196
  - proto_docs/google/analytics/admin/v1alpha/expanded_data_set.rb
195
197
  - proto_docs/google/analytics/admin/v1alpha/resources.rb
196
198
  - proto_docs/google/api/client.rb