google-analytics-admin-v1alpha 0.18.0 → 0.20.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.
- checksums.yaml +4 -4
- data/lib/google/analytics/admin/v1alpha/access_report_pb.rb +24 -118
- data/lib/google/analytics/admin/v1alpha/analytics_admin_pb.rb +44 -574
- data/lib/google/analytics/admin/v1alpha/analytics_admin_service/client.rb +883 -2
- data/lib/google/analytics/admin/v1alpha/analytics_admin_service/paths.rb +36 -0
- data/lib/google/analytics/admin/v1alpha/analytics_admin_service/rest/client.rb +668 -2
- data/lib/google/analytics/admin/v1alpha/analytics_admin_service/rest/service_stub.rb +647 -113
- data/lib/google/analytics/admin/v1alpha/analytics_admin_services_pb.rb +18 -0
- data/lib/google/analytics/admin/v1alpha/audience_pb.rb +25 -122
- data/lib/google/analytics/admin/v1alpha/channel_group_pb.rb +24 -46
- data/lib/google/analytics/admin/v1alpha/event_create_and_edit_pb.rb +48 -0
- data/lib/google/analytics/admin/v1alpha/expanded_data_set_pb.rb +25 -41
- data/lib/google/analytics/admin/v1alpha/resources_pb.rb +33 -407
- data/lib/google/analytics/admin/v1alpha/version.rb +1 -1
- data/proto_docs/google/analytics/admin/v1alpha/analytics_admin.rb +156 -0
- data/proto_docs/google/analytics/admin/v1alpha/audience.rb +15 -10
- data/proto_docs/google/analytics/admin/v1alpha/event_create_and_edit.rb +167 -0
- data/proto_docs/google/analytics/admin/v1alpha/resources.rb +33 -0
- data/proto_docs/google/protobuf/timestamp.rb +1 -3
- metadata +6 -4
@@ -2160,6 +2160,78 @@ module Google
|
|
2160
2160
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
2161
2161
|
end
|
2162
2162
|
|
2163
|
+
# Request message to be passed to CreateAdSenseLink method.
|
2164
|
+
# @!attribute [rw] parent
|
2165
|
+
# @return [::String]
|
2166
|
+
# Required. The property for which to create an AdSense Link.
|
2167
|
+
# Format: properties/\\{propertyId}
|
2168
|
+
# Example: properties/1234
|
2169
|
+
# @!attribute [rw] adsense_link
|
2170
|
+
# @return [::Google::Analytics::Admin::V1alpha::AdSenseLink]
|
2171
|
+
# Required. The AdSense Link to create
|
2172
|
+
class CreateAdSenseLinkRequest
|
2173
|
+
include ::Google::Protobuf::MessageExts
|
2174
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
2175
|
+
end
|
2176
|
+
|
2177
|
+
# Request message to be passed to GetAdSenseLink method.
|
2178
|
+
# @!attribute [rw] name
|
2179
|
+
# @return [::String]
|
2180
|
+
# Required. Unique identifier for the AdSense Link requested.
|
2181
|
+
# Format: properties/\\{propertyId}/adSenseLinks/\\{linkId}
|
2182
|
+
# Example: properties/1234/adSenseLinks/5678
|
2183
|
+
class GetAdSenseLinkRequest
|
2184
|
+
include ::Google::Protobuf::MessageExts
|
2185
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
2186
|
+
end
|
2187
|
+
|
2188
|
+
# Request message to be passed to DeleteAdSenseLink method.
|
2189
|
+
# @!attribute [rw] name
|
2190
|
+
# @return [::String]
|
2191
|
+
# Required. Unique identifier for the AdSense Link to be deleted.
|
2192
|
+
# Format: properties/\\{propertyId}/adSenseLinks/\\{linkId}
|
2193
|
+
# Example: properties/1234/adSenseLinks/5678
|
2194
|
+
class DeleteAdSenseLinkRequest
|
2195
|
+
include ::Google::Protobuf::MessageExts
|
2196
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
2197
|
+
end
|
2198
|
+
|
2199
|
+
# Request message to be passed to ListAdSenseLinks method.
|
2200
|
+
# @!attribute [rw] parent
|
2201
|
+
# @return [::String]
|
2202
|
+
# Required. Resource name of the parent property.
|
2203
|
+
# Format: properties/\\{propertyId}
|
2204
|
+
# Example: properties/1234
|
2205
|
+
# @!attribute [rw] page_size
|
2206
|
+
# @return [::Integer]
|
2207
|
+
# The maximum number of resources to return.
|
2208
|
+
# If unspecified, at most 50 resources will be returned.
|
2209
|
+
# The maximum value is 200 (higher values will be coerced to the maximum).
|
2210
|
+
# @!attribute [rw] page_token
|
2211
|
+
# @return [::String]
|
2212
|
+
# A page token received from a previous `ListAdSenseLinks` call.
|
2213
|
+
# Provide this to retrieve the subsequent page.
|
2214
|
+
#
|
2215
|
+
# When paginating, all other parameters provided to `ListAdSenseLinks` must
|
2216
|
+
# match the call that provided the page token.
|
2217
|
+
class ListAdSenseLinksRequest
|
2218
|
+
include ::Google::Protobuf::MessageExts
|
2219
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
2220
|
+
end
|
2221
|
+
|
2222
|
+
# Response message for ListAdSenseLinks method.
|
2223
|
+
# @!attribute [rw] adsense_links
|
2224
|
+
# @return [::Array<::Google::Analytics::Admin::V1alpha::AdSenseLink>]
|
2225
|
+
# List of AdSenseLinks.
|
2226
|
+
# @!attribute [rw] next_page_token
|
2227
|
+
# @return [::String]
|
2228
|
+
# A token, which can be sent as `page_token` to retrieve the next page.
|
2229
|
+
# If this field is omitted, there are no subsequent pages.
|
2230
|
+
class ListAdSenseLinksResponse
|
2231
|
+
include ::Google::Protobuf::MessageExts
|
2232
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
2233
|
+
end
|
2234
|
+
|
2163
2235
|
# Request for looking up GA4 property connected to a UA property.
|
2164
2236
|
# @!attribute [rw] property
|
2165
2237
|
# @return [::String]
|
@@ -2184,6 +2256,90 @@ module Google
|
|
2184
2256
|
include ::Google::Protobuf::MessageExts
|
2185
2257
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
2186
2258
|
end
|
2259
|
+
|
2260
|
+
# Request message for CreateEventCreateRule RPC.
|
2261
|
+
# @!attribute [rw] parent
|
2262
|
+
# @return [::String]
|
2263
|
+
# Required. Example format: properties/123/dataStreams/456
|
2264
|
+
# @!attribute [rw] event_create_rule
|
2265
|
+
# @return [::Google::Analytics::Admin::V1alpha::EventCreateRule]
|
2266
|
+
# Required. The EventCreateRule to create.
|
2267
|
+
class CreateEventCreateRuleRequest
|
2268
|
+
include ::Google::Protobuf::MessageExts
|
2269
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
2270
|
+
end
|
2271
|
+
|
2272
|
+
# Request message for UpdateEventCreateRule RPC.
|
2273
|
+
# @!attribute [rw] event_create_rule
|
2274
|
+
# @return [::Google::Analytics::Admin::V1alpha::EventCreateRule]
|
2275
|
+
# Required. The EventCreateRule to update.
|
2276
|
+
# The resource's `name` field is used to identify the EventCreateRule to be
|
2277
|
+
# updated.
|
2278
|
+
# @!attribute [rw] update_mask
|
2279
|
+
# @return [::Google::Protobuf::FieldMask]
|
2280
|
+
# Required. The list of fields to be updated. Field names must be in snake
|
2281
|
+
# case (e.g., "field_to_update"). Omitted fields will not be updated. To
|
2282
|
+
# replace the entire entity, use one path with the string "*" to match all
|
2283
|
+
# fields.
|
2284
|
+
class UpdateEventCreateRuleRequest
|
2285
|
+
include ::Google::Protobuf::MessageExts
|
2286
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
2287
|
+
end
|
2288
|
+
|
2289
|
+
# Request message for DeleteEventCreateRule RPC.
|
2290
|
+
# @!attribute [rw] name
|
2291
|
+
# @return [::String]
|
2292
|
+
# Required. Example format:
|
2293
|
+
# properties/123/dataStreams/456/eventCreateRules/789
|
2294
|
+
class DeleteEventCreateRuleRequest
|
2295
|
+
include ::Google::Protobuf::MessageExts
|
2296
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
2297
|
+
end
|
2298
|
+
|
2299
|
+
# Request message for GetEventCreateRule RPC.
|
2300
|
+
# @!attribute [rw] name
|
2301
|
+
# @return [::String]
|
2302
|
+
# Required. The name of the EventCreateRule to get.
|
2303
|
+
# Example format: properties/123/dataStreams/456/eventCreateRules/789
|
2304
|
+
class GetEventCreateRuleRequest
|
2305
|
+
include ::Google::Protobuf::MessageExts
|
2306
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
2307
|
+
end
|
2308
|
+
|
2309
|
+
# Request message for ListEventCreateRules RPC.
|
2310
|
+
# @!attribute [rw] parent
|
2311
|
+
# @return [::String]
|
2312
|
+
# Required. Example format: properties/123/dataStreams/456
|
2313
|
+
# @!attribute [rw] page_size
|
2314
|
+
# @return [::Integer]
|
2315
|
+
# The maximum number of resources to return.
|
2316
|
+
# If unspecified, at most 50 resources will be returned.
|
2317
|
+
# The maximum value is 200 (higher values will be coerced to the maximum).
|
2318
|
+
# @!attribute [rw] page_token
|
2319
|
+
# @return [::String]
|
2320
|
+
# A page token, received from a previous `ListEventCreateRules` call. Provide
|
2321
|
+
# this to retrieve the subsequent page.
|
2322
|
+
#
|
2323
|
+
# When paginating, all other parameters provided to `ListEventCreateRules`
|
2324
|
+
# must match the call that provided the page token.
|
2325
|
+
class ListEventCreateRulesRequest
|
2326
|
+
include ::Google::Protobuf::MessageExts
|
2327
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
2328
|
+
end
|
2329
|
+
|
2330
|
+
# Response message for ListEventCreateRules RPC.
|
2331
|
+
# @!attribute [rw] event_create_rules
|
2332
|
+
# @return [::Array<::Google::Analytics::Admin::V1alpha::EventCreateRule>]
|
2333
|
+
# List of EventCreateRules. These will be ordered stably, but in an arbitrary
|
2334
|
+
# order.
|
2335
|
+
# @!attribute [rw] next_page_token
|
2336
|
+
# @return [::String]
|
2337
|
+
# A token, which can be sent as `page_token` to retrieve the next page.
|
2338
|
+
# If this field is omitted, there are no subsequent pages.
|
2339
|
+
class ListEventCreateRulesResponse
|
2340
|
+
include ::Google::Protobuf::MessageExts
|
2341
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
2342
|
+
end
|
2187
2343
|
end
|
2188
2344
|
end
|
2189
2345
|
end
|
@@ -38,7 +38,12 @@ module Google
|
|
38
38
|
# or metric.
|
39
39
|
# @!attribute [rw] field_name
|
40
40
|
# @return [::String]
|
41
|
-
# Required. Immutable. The dimension name or metric name to filter.
|
41
|
+
# Required. Immutable. The dimension name or metric name to filter. If the
|
42
|
+
# field name refers to a custom dimension or metric, a scope prefix will be
|
43
|
+
# added to the front of the custom dimensions or metric name. For more on
|
44
|
+
# scope prefixes or custom dimensions/metrics, reference the [Google
|
45
|
+
# Analytics Data API documentation]
|
46
|
+
# (https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#custom_dimensions).
|
42
47
|
# @!attribute [rw] at_any_point_in_time
|
43
48
|
# @return [::Boolean]
|
44
49
|
# Optional. Indicates whether this filter needs dynamic evaluation or not. If
|
@@ -52,7 +57,7 @@ module Google
|
|
52
57
|
# @return [::Integer]
|
53
58
|
# Optional. If set, specifies the time window for which to evaluate data in
|
54
59
|
# number of days. If not set, then audience data is evaluated against
|
55
|
-
# lifetime data (
|
60
|
+
# lifetime data (For example, infinite time window).
|
56
61
|
#
|
57
62
|
# For example, if set to 1 day, only the current day's data is evaluated. The
|
58
63
|
# reference point is the current day when at_any_point_in_time is unset or
|
@@ -178,7 +183,7 @@ module Google
|
|
178
183
|
# @return [::Google::Analytics::Admin::V1alpha::AudienceFilterExpression]
|
179
184
|
# Optional. If specified, this filter matches events that match both the
|
180
185
|
# single event name and the parameter filter expressions. AudienceEventFilter
|
181
|
-
# inside the parameter filter expression cannot be set (
|
186
|
+
# inside the parameter filter expression cannot be set (For example, nested
|
182
187
|
# event filters are not supported). This should be a single and_group of
|
183
188
|
# dimension_or_metric_filter or not_expression; ANDs of ORs are not
|
184
189
|
# supported. Also, if it includes a filter for "eventCount", only that one
|
@@ -200,9 +205,9 @@ module Google
|
|
200
205
|
# AudienceFilterExpressions with and_group or or_group.
|
201
206
|
# @!attribute [rw] not_expression
|
202
207
|
# @return [::Google::Analytics::Admin::V1alpha::AudienceFilterExpression]
|
203
|
-
# A filter expression to be NOT'ed (
|
204
|
-
# can only include a dimension_or_metric_filter. This cannot be set on
|
205
|
-
# top level AudienceFilterExpression.
|
208
|
+
# A filter expression to be NOT'ed (For example, inverted, complemented).
|
209
|
+
# It can only include a dimension_or_metric_filter. This cannot be set on
|
210
|
+
# the top level AudienceFilterExpression.
|
206
211
|
# @!attribute [rw] dimension_or_metric_filter
|
207
212
|
# @return [::Google::Analytics::Admin::V1alpha::AudienceDimensionOrMetricFilter]
|
208
213
|
# A filter on a single dimension or metric. This cannot be set on the top
|
@@ -270,7 +275,7 @@ module Google
|
|
270
275
|
# @!attribute [rw] constraint_duration
|
271
276
|
# @return [::Google::Protobuf::Duration]
|
272
277
|
# Optional. When set, this step must be satisfied within the
|
273
|
-
# constraint_duration of the previous step (
|
278
|
+
# constraint_duration of the previous step (For example, t[i] - t[i-1] <=
|
274
279
|
# constraint_duration). If not set, there is no duration requirement (the
|
275
280
|
# duration is effectively unlimited). It is ignored for the first step.
|
276
281
|
# @!attribute [rw] filter_expression
|
@@ -284,9 +289,9 @@ module Google
|
|
284
289
|
end
|
285
290
|
|
286
291
|
# A clause for defining either a simple or sequence filter. A filter can be
|
287
|
-
# inclusive (
|
288
|
-
# Audience) or exclusive (
|
289
|
-
# excluded from the Audience).
|
292
|
+
# inclusive (For example, users satisfying the filter clause are included in
|
293
|
+
# the Audience) or exclusive (For example, users satisfying the filter clause
|
294
|
+
# are excluded from the Audience).
|
290
295
|
# @!attribute [rw] simple_filter
|
291
296
|
# @return [::Google::Analytics::Admin::V1alpha::AudienceSimpleFilter]
|
292
297
|
# A simple filter that a user must satisfy to be a member of the Audience.
|
@@ -0,0 +1,167 @@
|
|
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
|
+
# Defines an event parameter to mutate.
|
25
|
+
# @!attribute [rw] parameter
|
26
|
+
# @return [::String]
|
27
|
+
# Required. The name of the parameter to mutate.
|
28
|
+
# This value must:
|
29
|
+
# * be less than 40 characters.
|
30
|
+
# * be unique across across all mutations within the rule
|
31
|
+
# * consist only of letters, digits or _ (underscores)
|
32
|
+
# For event edit rules, the name may also be set to 'event_name' to modify
|
33
|
+
# the event_name in place.
|
34
|
+
# @!attribute [rw] parameter_value
|
35
|
+
# @return [::String]
|
36
|
+
# Required. The value mutation to perform.
|
37
|
+
# * Must be less than 100 characters.
|
38
|
+
# * To specify a constant value for the param, use the value's string.
|
39
|
+
# * To copy value from another parameter, use syntax like
|
40
|
+
# "[[other_parameter]]" For more details, see this [help center
|
41
|
+
# article](https://support.google.com/analytics/answer/10085872#modify-an-event&zippy=%2Cin-this-article%2Cmodify-parameters).
|
42
|
+
class ParameterMutation
|
43
|
+
include ::Google::Protobuf::MessageExts
|
44
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
45
|
+
end
|
46
|
+
|
47
|
+
# An Event Create Rule defines conditions that will trigger the creation
|
48
|
+
# of an entirely new event based upon matched criteria of a source event.
|
49
|
+
# Additional mutations of the parameters from the source event can be defined.
|
50
|
+
#
|
51
|
+
# Unlike Event Edit rules, Event Creation Rules have no defined order. They
|
52
|
+
# will all be run independently.
|
53
|
+
#
|
54
|
+
# Event Edit and Event Create rules can't be used to modify an event created
|
55
|
+
# from an Event Create rule.
|
56
|
+
# @!attribute [r] name
|
57
|
+
# @return [::String]
|
58
|
+
# Output only. Resource name for this EventCreateRule resource.
|
59
|
+
# Format:
|
60
|
+
# properties/\\{property}/dataStreams/\\{data_stream}/eventCreateRules/\\{event_create_rule}
|
61
|
+
# @!attribute [rw] destination_event
|
62
|
+
# @return [::String]
|
63
|
+
# Required. The name of the new event to be created.
|
64
|
+
#
|
65
|
+
# This value must:
|
66
|
+
# * be less than 40 characters
|
67
|
+
# * consist only of letters, digits or _ (underscores)
|
68
|
+
# * start with a letter
|
69
|
+
# @!attribute [rw] event_conditions
|
70
|
+
# @return [::Array<::Google::Analytics::Admin::V1alpha::MatchingCondition>]
|
71
|
+
# Required. Must have at least one condition, and can have up to 10 max.
|
72
|
+
# Conditions on the source event must match for this rule to be applied.
|
73
|
+
# @!attribute [rw] source_copy_parameters
|
74
|
+
# @return [::Boolean]
|
75
|
+
# If true, the source parameters are copied to the new event.
|
76
|
+
# If false, or unset, all non-internal parameters are not copied from the
|
77
|
+
# source event. Parameter mutations are applied after the parameters have
|
78
|
+
# been copied.
|
79
|
+
# @!attribute [rw] parameter_mutations
|
80
|
+
# @return [::Array<::Google::Analytics::Admin::V1alpha::ParameterMutation>]
|
81
|
+
# Parameter mutations define parameter behavior on the new event, and
|
82
|
+
# are applied in order.
|
83
|
+
# A maximum of 20 mutations can be applied.
|
84
|
+
class EventCreateRule
|
85
|
+
include ::Google::Protobuf::MessageExts
|
86
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
87
|
+
end
|
88
|
+
|
89
|
+
# Defines a condition for when an Event Edit or Event Creation rule applies to
|
90
|
+
# an event.
|
91
|
+
# @!attribute [rw] field
|
92
|
+
# @return [::String]
|
93
|
+
# Required. The name of the field that is compared against for the condition.
|
94
|
+
# If 'event_name' is specified this condition will apply to the name of the
|
95
|
+
# event. Otherwise the condition will apply to a parameter with the
|
96
|
+
# specified name.
|
97
|
+
#
|
98
|
+
# This value cannot contain spaces.
|
99
|
+
# @!attribute [rw] comparison_type
|
100
|
+
# @return [::Google::Analytics::Admin::V1alpha::MatchingCondition::ComparisonType]
|
101
|
+
# Required. The type of comparison to be applied to the value.
|
102
|
+
# @!attribute [rw] value
|
103
|
+
# @return [::String]
|
104
|
+
# Required. The value being compared against for this condition. The runtime
|
105
|
+
# implementation may perform type coercion of this value to evaluate this
|
106
|
+
# condition based on the type of the parameter value.
|
107
|
+
# @!attribute [rw] negated
|
108
|
+
# @return [::Boolean]
|
109
|
+
# Whether or not the result of the comparison should be negated. For example,
|
110
|
+
# if `negated` is true, then 'equals' comparisons would function as 'not
|
111
|
+
# equals'.
|
112
|
+
class MatchingCondition
|
113
|
+
include ::Google::Protobuf::MessageExts
|
114
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
115
|
+
|
116
|
+
# Comparison type for matching condition
|
117
|
+
module ComparisonType
|
118
|
+
# Unknown
|
119
|
+
COMPARISON_TYPE_UNSPECIFIED = 0
|
120
|
+
|
121
|
+
# Equals, case sensitive
|
122
|
+
EQUALS = 1
|
123
|
+
|
124
|
+
# Equals, case insensitive
|
125
|
+
EQUALS_CASE_INSENSITIVE = 2
|
126
|
+
|
127
|
+
# Contains, case sensitive
|
128
|
+
CONTAINS = 3
|
129
|
+
|
130
|
+
# Contains, case insensitive
|
131
|
+
CONTAINS_CASE_INSENSITIVE = 4
|
132
|
+
|
133
|
+
# Starts with, case sensitive
|
134
|
+
STARTS_WITH = 5
|
135
|
+
|
136
|
+
# Starts with, case insensitive
|
137
|
+
STARTS_WITH_CASE_INSENSITIVE = 6
|
138
|
+
|
139
|
+
# Ends with, case sensitive
|
140
|
+
ENDS_WITH = 7
|
141
|
+
|
142
|
+
# Ends with, case insensitive
|
143
|
+
ENDS_WITH_CASE_INSENSITIVE = 8
|
144
|
+
|
145
|
+
# Greater than
|
146
|
+
GREATER_THAN = 9
|
147
|
+
|
148
|
+
# Greater than or equal
|
149
|
+
GREATER_THAN_OR_EQUAL = 10
|
150
|
+
|
151
|
+
# Less than
|
152
|
+
LESS_THAN = 11
|
153
|
+
|
154
|
+
# Less than or equal
|
155
|
+
LESS_THAN_OR_EQUAL = 12
|
156
|
+
|
157
|
+
# regular expression. Only supported for web streams.
|
158
|
+
REGULAR_EXPRESSION = 13
|
159
|
+
|
160
|
+
# regular expression, case insensitive. Only supported for web streams.
|
161
|
+
REGULAR_EXPRESSION_CASE_INSENSITIVE = 14
|
162
|
+
end
|
163
|
+
end
|
164
|
+
end
|
165
|
+
end
|
166
|
+
end
|
167
|
+
end
|
@@ -558,6 +558,15 @@ module Google
|
|
558
558
|
# @!attribute [rw] enhanced_measurement_settings
|
559
559
|
# @return [::Google::Analytics::Admin::V1alpha::EnhancedMeasurementSettings]
|
560
560
|
# A snapshot of EnhancedMeasurementSettings resource in change history.
|
561
|
+
# @!attribute [rw] adsense_link
|
562
|
+
# @return [::Google::Analytics::Admin::V1alpha::AdSenseLink]
|
563
|
+
# A snapshot of an AdSenseLink resource in change history.
|
564
|
+
# @!attribute [rw] audience
|
565
|
+
# @return [::Google::Analytics::Admin::V1alpha::Audience]
|
566
|
+
# A snapshot of an Audience resource in change history.
|
567
|
+
# @!attribute [rw] event_create_rule
|
568
|
+
# @return [::Google::Analytics::Admin::V1alpha::EventCreateRule]
|
569
|
+
# A snapshot of an EventCreateRule resource in change history.
|
561
570
|
class ChangeHistoryResource
|
562
571
|
include ::Google::Protobuf::MessageExts
|
563
572
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -1198,6 +1207,21 @@ module Google
|
|
1198
1207
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1199
1208
|
end
|
1200
1209
|
|
1210
|
+
# A link between a GA4 Property and an AdSense for Content ad client.
|
1211
|
+
# @!attribute [r] name
|
1212
|
+
# @return [::String]
|
1213
|
+
# Output only. The resource name for this AdSense Link resource.
|
1214
|
+
# Format: properties/\\{propertyId}/adSenseLinks/\\{linkId}
|
1215
|
+
# Example: properties/1234/adSenseLinks/6789
|
1216
|
+
# @!attribute [rw] ad_client_code
|
1217
|
+
# @return [::String]
|
1218
|
+
# Immutable. The AdSense ad client code that the GA4 property is linked to.
|
1219
|
+
# Example format: "ca-pub-1234567890"
|
1220
|
+
class AdSenseLink
|
1221
|
+
include ::Google::Protobuf::MessageExts
|
1222
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1223
|
+
end
|
1224
|
+
|
1201
1225
|
# The category selected for this property, used for industry benchmarking.
|
1202
1226
|
module IndustryCategory
|
1203
1227
|
# Industry category unspecified
|
@@ -1383,6 +1407,15 @@ module Google
|
|
1383
1407
|
|
1384
1408
|
# EnhancedMeasurementSettings resource
|
1385
1409
|
ENHANCED_MEASUREMENT_SETTINGS = 24
|
1410
|
+
|
1411
|
+
# AdSenseLink resource
|
1412
|
+
ADSENSE_LINK = 27
|
1413
|
+
|
1414
|
+
# Audience resource
|
1415
|
+
AUDIENCE = 28
|
1416
|
+
|
1417
|
+
# EventCreateRule resource
|
1418
|
+
EVENT_CREATE_RULE = 29
|
1386
1419
|
end
|
1387
1420
|
|
1388
1421
|
# Status of the Google Signals settings.
|
@@ -69,7 +69,6 @@ module Google
|
|
69
69
|
# Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
|
70
70
|
# .setNanos((int) ((millis % 1000) * 1000000)).build();
|
71
71
|
#
|
72
|
-
#
|
73
72
|
# Example 5: Compute Timestamp from Java `Instant.now()`.
|
74
73
|
#
|
75
74
|
# Instant now = Instant.now();
|
@@ -78,7 +77,6 @@ module Google
|
|
78
77
|
# Timestamp.newBuilder().setSeconds(now.getEpochSecond())
|
79
78
|
# .setNanos(now.getNano()).build();
|
80
79
|
#
|
81
|
-
#
|
82
80
|
# Example 6: Compute Timestamp from current time in Python.
|
83
81
|
#
|
84
82
|
# timestamp = Timestamp()
|
@@ -108,7 +106,7 @@ module Google
|
|
108
106
|
# [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
|
109
107
|
# the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
|
110
108
|
# the Joda Time's [`ISODateTimeFormat.dateTime()`](
|
111
|
-
# http://
|
109
|
+
# http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
|
112
110
|
# ) to obtain a formatter capable of generating timestamps in this format.
|
113
111
|
# @!attribute [rw] seconds
|
114
112
|
# @return [::Integer]
|
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.
|
4
|
+
version: 0.20.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-
|
11
|
+
date: 2023-06-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.19.1
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.19.1
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -184,6 +184,7 @@ files:
|
|
184
184
|
- lib/google/analytics/admin/v1alpha/analytics_admin_services_pb.rb
|
185
185
|
- lib/google/analytics/admin/v1alpha/audience_pb.rb
|
186
186
|
- lib/google/analytics/admin/v1alpha/channel_group_pb.rb
|
187
|
+
- lib/google/analytics/admin/v1alpha/event_create_and_edit_pb.rb
|
187
188
|
- lib/google/analytics/admin/v1alpha/expanded_data_set_pb.rb
|
188
189
|
- lib/google/analytics/admin/v1alpha/resources_pb.rb
|
189
190
|
- lib/google/analytics/admin/v1alpha/rest.rb
|
@@ -193,6 +194,7 @@ files:
|
|
193
194
|
- proto_docs/google/analytics/admin/v1alpha/analytics_admin.rb
|
194
195
|
- proto_docs/google/analytics/admin/v1alpha/audience.rb
|
195
196
|
- proto_docs/google/analytics/admin/v1alpha/channel_group.rb
|
197
|
+
- proto_docs/google/analytics/admin/v1alpha/event_create_and_edit.rb
|
196
198
|
- proto_docs/google/analytics/admin/v1alpha/expanded_data_set.rb
|
197
199
|
- proto_docs/google/analytics/admin/v1alpha/resources.rb
|
198
200
|
- proto_docs/google/api/client.rb
|