google-analytics-admin-v1alpha 0.9.0 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.yardopts +1 -1
- data/AUTHENTICATION.md +7 -25
- data/README.md +1 -1
- data/lib/google/analytics/admin/v1alpha/analytics_admin_pb.rb +39 -88
- data/lib/google/analytics/admin/v1alpha/analytics_admin_service/client.rb +2575 -2110
- data/lib/google/analytics/admin/v1alpha/analytics_admin_service/paths.rb +26 -74
- data/lib/google/analytics/admin/v1alpha/analytics_admin_services_pb.rb +16 -44
- data/lib/google/analytics/admin/v1alpha/resources_pb.rb +45 -46
- data/lib/google/analytics/admin/v1alpha/version.rb +1 -1
- data/lib/google/analytics/admin/v1alpha.rb +2 -0
- data/proto_docs/google/analytics/admin/v1alpha/analytics_admin.rb +116 -274
- data/proto_docs/google/analytics/admin/v1alpha/resources.rb +134 -167
- data/proto_docs/google/api/resource.rb +10 -71
- metadata +3 -3
@@ -38,23 +38,6 @@ module Google
|
|
38
38
|
"accounts/#{account}"
|
39
39
|
end
|
40
40
|
|
41
|
-
##
|
42
|
-
# Create a fully-qualified AndroidAppDataStream resource string.
|
43
|
-
#
|
44
|
-
# The resource will be in the following format:
|
45
|
-
#
|
46
|
-
# `properties/{property}/androidAppDataStreams/{android_app_data_stream}`
|
47
|
-
#
|
48
|
-
# @param property [String]
|
49
|
-
# @param android_app_data_stream [String]
|
50
|
-
#
|
51
|
-
# @return [::String]
|
52
|
-
def android_app_data_stream_path property:, android_app_data_stream:
|
53
|
-
raise ::ArgumentError, "property cannot contain /" if property.to_s.include? "/"
|
54
|
-
|
55
|
-
"properties/#{property}/androidAppDataStreams/#{android_app_data_stream}"
|
56
|
-
end
|
57
|
-
|
58
41
|
##
|
59
42
|
# Create a fully-qualified ConversionEvent resource string.
|
60
43
|
#
|
@@ -129,54 +112,54 @@ module Google
|
|
129
112
|
end
|
130
113
|
|
131
114
|
##
|
132
|
-
# Create a fully-qualified
|
115
|
+
# Create a fully-qualified DataStream resource string.
|
133
116
|
#
|
134
117
|
# The resource will be in the following format:
|
135
118
|
#
|
136
|
-
# `properties/{property}/
|
119
|
+
# `properties/{property}/dataStreams/{data_stream}`
|
137
120
|
#
|
138
121
|
# @param property [String]
|
139
|
-
# @param
|
122
|
+
# @param data_stream [String]
|
140
123
|
#
|
141
124
|
# @return [::String]
|
142
|
-
def
|
125
|
+
def data_stream_path property:, data_stream:
|
143
126
|
raise ::ArgumentError, "property cannot contain /" if property.to_s.include? "/"
|
144
127
|
|
145
|
-
"properties/#{property}/
|
128
|
+
"properties/#{property}/dataStreams/#{data_stream}"
|
146
129
|
end
|
147
130
|
|
148
131
|
##
|
149
|
-
# Create a fully-qualified
|
132
|
+
# Create a fully-qualified DisplayVideo360AdvertiserLink resource string.
|
150
133
|
#
|
151
134
|
# The resource will be in the following format:
|
152
135
|
#
|
153
|
-
# `properties/{property}/
|
136
|
+
# `properties/{property}/displayVideo360AdvertiserLinks/{display_video_360_advertiser_link}`
|
154
137
|
#
|
155
138
|
# @param property [String]
|
156
|
-
# @param
|
139
|
+
# @param display_video_360_advertiser_link [String]
|
157
140
|
#
|
158
141
|
# @return [::String]
|
159
|
-
def
|
142
|
+
def display_video360_advertiser_link_path property:, display_video_360_advertiser_link:
|
160
143
|
raise ::ArgumentError, "property cannot contain /" if property.to_s.include? "/"
|
161
144
|
|
162
|
-
"properties/#{property}/
|
145
|
+
"properties/#{property}/displayVideo360AdvertiserLinks/#{display_video_360_advertiser_link}"
|
163
146
|
end
|
164
147
|
|
165
148
|
##
|
166
|
-
# Create a fully-qualified
|
149
|
+
# Create a fully-qualified DisplayVideo360AdvertiserLinkProposal resource string.
|
167
150
|
#
|
168
151
|
# The resource will be in the following format:
|
169
152
|
#
|
170
|
-
# `properties/{property}/
|
153
|
+
# `properties/{property}/displayVideo360AdvertiserLinkProposals/{display_video_360_advertiser_link_proposal}`
|
171
154
|
#
|
172
155
|
# @param property [String]
|
173
|
-
# @param
|
156
|
+
# @param display_video_360_advertiser_link_proposal [String]
|
174
157
|
#
|
175
158
|
# @return [::String]
|
176
|
-
def
|
159
|
+
def display_video360_advertiser_link_proposal_path property:, display_video_360_advertiser_link_proposal:
|
177
160
|
raise ::ArgumentError, "property cannot contain /" if property.to_s.include? "/"
|
178
161
|
|
179
|
-
"properties/#{property}/
|
162
|
+
"properties/#{property}/displayVideo360AdvertiserLinkProposals/#{display_video_360_advertiser_link_proposal}"
|
180
163
|
end
|
181
164
|
|
182
165
|
##
|
@@ -201,13 +184,16 @@ module Google
|
|
201
184
|
#
|
202
185
|
# The resource will be in the following format:
|
203
186
|
#
|
204
|
-
# `properties/{property}/globalSiteTag`
|
187
|
+
# `properties/{property}/dataStreams/{data_stream}/globalSiteTag`
|
205
188
|
#
|
206
189
|
# @param property [String]
|
190
|
+
# @param data_stream [String]
|
207
191
|
#
|
208
192
|
# @return [::String]
|
209
|
-
def global_site_tag_path property:
|
210
|
-
"
|
193
|
+
def global_site_tag_path property:, data_stream:
|
194
|
+
raise ::ArgumentError, "property cannot contain /" if property.to_s.include? "/"
|
195
|
+
|
196
|
+
"properties/#{property}/dataStreams/#{data_stream}/globalSiteTag"
|
211
197
|
end
|
212
198
|
|
213
199
|
##
|
@@ -241,40 +227,23 @@ module Google
|
|
241
227
|
"properties/#{property}/googleSignalsSettings"
|
242
228
|
end
|
243
229
|
|
244
|
-
##
|
245
|
-
# Create a fully-qualified IosAppDataStream resource string.
|
246
|
-
#
|
247
|
-
# The resource will be in the following format:
|
248
|
-
#
|
249
|
-
# `properties/{property}/iosAppDataStreams/{ios_app_data_stream}`
|
250
|
-
#
|
251
|
-
# @param property [String]
|
252
|
-
# @param ios_app_data_stream [String]
|
253
|
-
#
|
254
|
-
# @return [::String]
|
255
|
-
def ios_app_data_stream_path property:, ios_app_data_stream:
|
256
|
-
raise ::ArgumentError, "property cannot contain /" if property.to_s.include? "/"
|
257
|
-
|
258
|
-
"properties/#{property}/iosAppDataStreams/#{ios_app_data_stream}"
|
259
|
-
end
|
260
|
-
|
261
230
|
##
|
262
231
|
# Create a fully-qualified MeasurementProtocolSecret resource string.
|
263
232
|
#
|
264
233
|
# The resource will be in the following format:
|
265
234
|
#
|
266
|
-
# `properties/{property}/
|
235
|
+
# `properties/{property}/dataStreams/{data_stream}/measurementProtocolSecrets/{measurement_protocol_secret}`
|
267
236
|
#
|
268
237
|
# @param property [String]
|
269
|
-
# @param
|
238
|
+
# @param data_stream [String]
|
270
239
|
# @param measurement_protocol_secret [String]
|
271
240
|
#
|
272
241
|
# @return [::String]
|
273
|
-
def measurement_protocol_secret_path property:,
|
242
|
+
def measurement_protocol_secret_path property:, data_stream:, measurement_protocol_secret:
|
274
243
|
raise ::ArgumentError, "property cannot contain /" if property.to_s.include? "/"
|
275
|
-
raise ::ArgumentError, "
|
244
|
+
raise ::ArgumentError, "data_stream cannot contain /" if data_stream.to_s.include? "/"
|
276
245
|
|
277
|
-
"properties/#{property}/
|
246
|
+
"properties/#{property}/dataStreams/#{data_stream}/measurementProtocolSecrets/#{measurement_protocol_secret}"
|
278
247
|
end
|
279
248
|
|
280
249
|
##
|
@@ -330,23 +299,6 @@ module Google
|
|
330
299
|
resource.call(**args)
|
331
300
|
end
|
332
301
|
|
333
|
-
##
|
334
|
-
# Create a fully-qualified WebDataStream resource string.
|
335
|
-
#
|
336
|
-
# The resource will be in the following format:
|
337
|
-
#
|
338
|
-
# `properties/{property}/webDataStreams/{web_data_stream}`
|
339
|
-
#
|
340
|
-
# @param property [String]
|
341
|
-
# @param web_data_stream [String]
|
342
|
-
#
|
343
|
-
# @return [::String]
|
344
|
-
def web_data_stream_path property:, web_data_stream:
|
345
|
-
raise ::ArgumentError, "property cannot contain /" if property.to_s.include? "/"
|
346
|
-
|
347
|
-
"properties/#{property}/webDataStreams/#{web_data_stream}"
|
348
|
-
end
|
349
|
-
|
350
302
|
extend self
|
351
303
|
end
|
352
304
|
end
|
@@ -27,7 +27,7 @@ module Google
|
|
27
27
|
# Service Interface for the Analytics Admin API (GA4).
|
28
28
|
class Service
|
29
29
|
|
30
|
-
include GRPC::GenericService
|
30
|
+
include ::GRPC::GenericService
|
31
31
|
|
32
32
|
self.marshal_class_method = :encode
|
33
33
|
self.unmarshal_class_method = :decode
|
@@ -119,49 +119,6 @@ module Google
|
|
119
119
|
rpc :DeleteUserLink, ::Google::Analytics::Admin::V1alpha::DeleteUserLinkRequest, ::Google::Protobuf::Empty
|
120
120
|
# Deletes information about multiple users' links to an account or property.
|
121
121
|
rpc :BatchDeleteUserLinks, ::Google::Analytics::Admin::V1alpha::BatchDeleteUserLinksRequest, ::Google::Protobuf::Empty
|
122
|
-
# Lookup for a single WebDataStream
|
123
|
-
rpc :GetWebDataStream, ::Google::Analytics::Admin::V1alpha::GetWebDataStreamRequest, ::Google::Analytics::Admin::V1alpha::WebDataStream
|
124
|
-
# Deletes a web stream on a property.
|
125
|
-
rpc :DeleteWebDataStream, ::Google::Analytics::Admin::V1alpha::DeleteWebDataStreamRequest, ::Google::Protobuf::Empty
|
126
|
-
# Updates a web stream on a property.
|
127
|
-
rpc :UpdateWebDataStream, ::Google::Analytics::Admin::V1alpha::UpdateWebDataStreamRequest, ::Google::Analytics::Admin::V1alpha::WebDataStream
|
128
|
-
# Creates a web stream with the specified location and attributes.
|
129
|
-
rpc :CreateWebDataStream, ::Google::Analytics::Admin::V1alpha::CreateWebDataStreamRequest, ::Google::Analytics::Admin::V1alpha::WebDataStream
|
130
|
-
# Returns child web data streams under the specified parent property.
|
131
|
-
#
|
132
|
-
# Web data streams will be excluded if the caller does not have access.
|
133
|
-
# Returns an empty list if no relevant web data streams are found.
|
134
|
-
rpc :ListWebDataStreams, ::Google::Analytics::Admin::V1alpha::ListWebDataStreamsRequest, ::Google::Analytics::Admin::V1alpha::ListWebDataStreamsResponse
|
135
|
-
# Lookup for a single IosAppDataStream
|
136
|
-
rpc :GetIosAppDataStream, ::Google::Analytics::Admin::V1alpha::GetIosAppDataStreamRequest, ::Google::Analytics::Admin::V1alpha::IosAppDataStream
|
137
|
-
# Deletes an iOS app stream on a property.
|
138
|
-
rpc :DeleteIosAppDataStream, ::Google::Analytics::Admin::V1alpha::DeleteIosAppDataStreamRequest, ::Google::Protobuf::Empty
|
139
|
-
# Updates an iOS app stream on a property.
|
140
|
-
rpc :UpdateIosAppDataStream, ::Google::Analytics::Admin::V1alpha::UpdateIosAppDataStreamRequest, ::Google::Analytics::Admin::V1alpha::IosAppDataStream
|
141
|
-
# Returns child iOS app data streams under the specified parent property.
|
142
|
-
#
|
143
|
-
# iOS app data streams will be excluded if the caller does not have access.
|
144
|
-
# Returns an empty list if no relevant iOS app data streams are found.
|
145
|
-
rpc :ListIosAppDataStreams, ::Google::Analytics::Admin::V1alpha::ListIosAppDataStreamsRequest, ::Google::Analytics::Admin::V1alpha::ListIosAppDataStreamsResponse
|
146
|
-
# Lookup for a single AndroidAppDataStream
|
147
|
-
rpc :GetAndroidAppDataStream, ::Google::Analytics::Admin::V1alpha::GetAndroidAppDataStreamRequest, ::Google::Analytics::Admin::V1alpha::AndroidAppDataStream
|
148
|
-
# Deletes an android app stream on a property.
|
149
|
-
rpc :DeleteAndroidAppDataStream, ::Google::Analytics::Admin::V1alpha::DeleteAndroidAppDataStreamRequest, ::Google::Protobuf::Empty
|
150
|
-
# Updates an android app stream on a property.
|
151
|
-
rpc :UpdateAndroidAppDataStream, ::Google::Analytics::Admin::V1alpha::UpdateAndroidAppDataStreamRequest, ::Google::Analytics::Admin::V1alpha::AndroidAppDataStream
|
152
|
-
# Returns child android app streams under the specified parent property.
|
153
|
-
#
|
154
|
-
# Android app streams will be excluded if the caller does not have access.
|
155
|
-
# Returns an empty list if no relevant android app streams are found.
|
156
|
-
rpc :ListAndroidAppDataStreams, ::Google::Analytics::Admin::V1alpha::ListAndroidAppDataStreamsRequest, ::Google::Analytics::Admin::V1alpha::ListAndroidAppDataStreamsResponse
|
157
|
-
# Returns the singleton enhanced measurement settings for this web stream.
|
158
|
-
# Note that the stream must enable enhanced measurement for these settings to
|
159
|
-
# take effect.
|
160
|
-
rpc :GetEnhancedMeasurementSettings, ::Google::Analytics::Admin::V1alpha::GetEnhancedMeasurementSettingsRequest, ::Google::Analytics::Admin::V1alpha::EnhancedMeasurementSettings
|
161
|
-
# Updates the singleton enhanced measurement settings for this web stream.
|
162
|
-
# Note that the stream must enable enhanced measurement for these settings to
|
163
|
-
# take effect.
|
164
|
-
rpc :UpdateEnhancedMeasurementSettings, ::Google::Analytics::Admin::V1alpha::UpdateEnhancedMeasurementSettingsRequest, ::Google::Analytics::Admin::V1alpha::EnhancedMeasurementSettings
|
165
122
|
# Creates a FirebaseLink.
|
166
123
|
#
|
167
124
|
# Properties can have at most one FirebaseLink.
|
@@ -196,6 +153,11 @@ module Google
|
|
196
153
|
rpc :DeleteMeasurementProtocolSecret, ::Google::Analytics::Admin::V1alpha::DeleteMeasurementProtocolSecretRequest, ::Google::Protobuf::Empty
|
197
154
|
# Updates a measurement protocol secret.
|
198
155
|
rpc :UpdateMeasurementProtocolSecret, ::Google::Analytics::Admin::V1alpha::UpdateMeasurementProtocolSecretRequest, ::Google::Analytics::Admin::V1alpha::MeasurementProtocolSecret
|
156
|
+
# Acknowledges the terms of user data collection for the specified property.
|
157
|
+
#
|
158
|
+
# This acknowledgement must be completed (either in the Google Analytics UI
|
159
|
+
# or via this API) before MeasurementProtocolSecret resources may be created.
|
160
|
+
rpc :AcknowledgeUserDataCollection, ::Google::Analytics::Admin::V1alpha::AcknowledgeUserDataCollectionRequest, ::Google::Analytics::Admin::V1alpha::AcknowledgeUserDataCollectionResponse
|
199
161
|
# Searches through all changes to an account or its children given the
|
200
162
|
# specified set of filters.
|
201
163
|
rpc :SearchChangeHistoryEvents, ::Google::Analytics::Admin::V1alpha::SearchChangeHistoryEventsRequest, ::Google::Analytics::Admin::V1alpha::SearchChangeHistoryEventsResponse
|
@@ -270,6 +232,16 @@ module Google
|
|
270
232
|
rpc :GetDataRetentionSettings, ::Google::Analytics::Admin::V1alpha::GetDataRetentionSettingsRequest, ::Google::Analytics::Admin::V1alpha::DataRetentionSettings
|
271
233
|
# Updates the singleton data retention settings for this property.
|
272
234
|
rpc :UpdateDataRetentionSettings, ::Google::Analytics::Admin::V1alpha::UpdateDataRetentionSettingsRequest, ::Google::Analytics::Admin::V1alpha::DataRetentionSettings
|
235
|
+
# Creates a DataStream.
|
236
|
+
rpc :CreateDataStream, ::Google::Analytics::Admin::V1alpha::CreateDataStreamRequest, ::Google::Analytics::Admin::V1alpha::DataStream
|
237
|
+
# Deletes a DataStream on a property.
|
238
|
+
rpc :DeleteDataStream, ::Google::Analytics::Admin::V1alpha::DeleteDataStreamRequest, ::Google::Protobuf::Empty
|
239
|
+
# Updates a DataStream on a property.
|
240
|
+
rpc :UpdateDataStream, ::Google::Analytics::Admin::V1alpha::UpdateDataStreamRequest, ::Google::Analytics::Admin::V1alpha::DataStream
|
241
|
+
# Lists DataStreams on a property.
|
242
|
+
rpc :ListDataStreams, ::Google::Analytics::Admin::V1alpha::ListDataStreamsRequest, ::Google::Analytics::Admin::V1alpha::ListDataStreamsResponse
|
243
|
+
# Lookup for a single DataStream.
|
244
|
+
rpc :GetDataStream, ::Google::Analytics::Admin::V1alpha::GetDataStreamRequest, ::Google::Analytics::Admin::V1alpha::DataStream
|
273
245
|
end
|
274
246
|
|
275
247
|
Stub = Service.rpc_stub_class
|
@@ -1,12 +1,12 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/analytics/admin/v1alpha/resources.proto
|
3
3
|
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
4
|
require 'google/api/field_behavior_pb'
|
7
5
|
require 'google/api/resource_pb'
|
8
6
|
require 'google/protobuf/timestamp_pb'
|
9
7
|
require 'google/protobuf/wrappers_pb'
|
8
|
+
require 'google/protobuf'
|
9
|
+
|
10
10
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
11
11
|
add_file("google/analytics/admin/v1alpha/resources.proto", :syntax => :proto3) do
|
12
12
|
add_message "google.analytics.admin.v1alpha.Account" do
|
@@ -29,31 +29,38 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
29
29
|
optional :service_level, :enum, 10, "google.analytics.admin.v1alpha.ServiceLevel"
|
30
30
|
optional :delete_time, :message, 11, "google.protobuf.Timestamp"
|
31
31
|
optional :expire_time, :message, 12, "google.protobuf.Timestamp"
|
32
|
+
optional :account, :string, 13
|
32
33
|
end
|
33
|
-
add_message "google.analytics.admin.v1alpha.
|
34
|
+
add_message "google.analytics.admin.v1alpha.DataStream" do
|
34
35
|
optional :name, :string, 1
|
35
|
-
optional :
|
36
|
-
optional :
|
37
|
-
optional :
|
38
|
-
optional :
|
39
|
-
|
36
|
+
optional :type, :enum, 2, "google.analytics.admin.v1alpha.DataStream.DataStreamType"
|
37
|
+
optional :display_name, :string, 3
|
38
|
+
optional :create_time, :message, 4, "google.protobuf.Timestamp"
|
39
|
+
optional :update_time, :message, 5, "google.protobuf.Timestamp"
|
40
|
+
oneof :stream_data do
|
41
|
+
optional :web_stream_data, :message, 6, "google.analytics.admin.v1alpha.DataStream.WebStreamData"
|
42
|
+
optional :android_app_stream_data, :message, 7, "google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData"
|
43
|
+
optional :ios_app_stream_data, :message, 8, "google.analytics.admin.v1alpha.DataStream.IosAppStreamData"
|
44
|
+
end
|
40
45
|
end
|
41
|
-
add_message "google.analytics.admin.v1alpha.
|
42
|
-
optional :
|
46
|
+
add_message "google.analytics.admin.v1alpha.DataStream.WebStreamData" do
|
47
|
+
optional :measurement_id, :string, 1
|
43
48
|
optional :firebase_app_id, :string, 2
|
44
|
-
optional :
|
45
|
-
optional :update_time, :message, 4, "google.protobuf.Timestamp"
|
46
|
-
optional :bundle_id, :string, 5
|
47
|
-
optional :display_name, :string, 6
|
49
|
+
optional :default_uri, :string, 3
|
48
50
|
end
|
49
|
-
add_message "google.analytics.admin.v1alpha.
|
50
|
-
optional :
|
51
|
-
optional :
|
52
|
-
|
53
|
-
|
54
|
-
optional :
|
55
|
-
optional :
|
56
|
-
|
51
|
+
add_message "google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData" do
|
52
|
+
optional :firebase_app_id, :string, 1
|
53
|
+
optional :package_name, :string, 2
|
54
|
+
end
|
55
|
+
add_message "google.analytics.admin.v1alpha.DataStream.IosAppStreamData" do
|
56
|
+
optional :firebase_app_id, :string, 1
|
57
|
+
optional :bundle_id, :string, 2
|
58
|
+
end
|
59
|
+
add_enum "google.analytics.admin.v1alpha.DataStream.DataStreamType" do
|
60
|
+
value :DATA_STREAM_TYPE_UNSPECIFIED, 0
|
61
|
+
value :WEB_DATA_STREAM, 1
|
62
|
+
value :ANDROID_APP_DATA_STREAM, 2
|
63
|
+
value :IOS_APP_DATA_STREAM, 3
|
57
64
|
end
|
58
65
|
add_message "google.analytics.admin.v1alpha.UserLink" do
|
59
66
|
optional :name, :string, 1
|
@@ -66,20 +73,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
66
73
|
repeated :direct_roles, :string, 3
|
67
74
|
repeated :effective_roles, :string, 4
|
68
75
|
end
|
69
|
-
add_message "google.analytics.admin.v1alpha.EnhancedMeasurementSettings" do
|
70
|
-
optional :name, :string, 1
|
71
|
-
optional :stream_enabled, :bool, 2
|
72
|
-
optional :page_views_enabled, :bool, 3
|
73
|
-
optional :scrolls_enabled, :bool, 4
|
74
|
-
optional :outbound_clicks_enabled, :bool, 5
|
75
|
-
optional :site_search_enabled, :bool, 7
|
76
|
-
optional :video_engagement_enabled, :bool, 9
|
77
|
-
optional :file_downloads_enabled, :bool, 10
|
78
|
-
optional :page_loads_enabled, :bool, 12
|
79
|
-
optional :page_changes_enabled, :bool, 13
|
80
|
-
optional :search_query_parameter, :string, 16
|
81
|
-
optional :uri_query_parameter, :string, 17
|
82
|
-
end
|
83
76
|
add_message "google.analytics.admin.v1alpha.FirebaseLink" do
|
84
77
|
optional :name, :string, 1
|
85
78
|
optional :project, :string, 2
|
@@ -139,9 +132,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
139
132
|
oneof :resource do
|
140
133
|
optional :account, :message, 1, "google.analytics.admin.v1alpha.Account"
|
141
134
|
optional :property, :message, 2, "google.analytics.admin.v1alpha.Property"
|
142
|
-
optional :web_data_stream, :message, 3, "google.analytics.admin.v1alpha.WebDataStream"
|
143
|
-
optional :android_app_data_stream, :message, 4, "google.analytics.admin.v1alpha.AndroidAppDataStream"
|
144
|
-
optional :ios_app_data_stream, :message, 5, "google.analytics.admin.v1alpha.IosAppDataStream"
|
145
135
|
optional :firebase_link, :message, 6, "google.analytics.admin.v1alpha.FirebaseLink"
|
146
136
|
optional :google_ads_link, :message, 7, "google.analytics.admin.v1alpha.GoogleAdsLink"
|
147
137
|
optional :google_signals_settings, :message, 8, "google.analytics.admin.v1alpha.GoogleSignalsSettings"
|
@@ -152,6 +142,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
152
142
|
optional :custom_dimension, :message, 13, "google.analytics.admin.v1alpha.CustomDimension"
|
153
143
|
optional :custom_metric, :message, 14, "google.analytics.admin.v1alpha.CustomMetric"
|
154
144
|
optional :data_retention_settings, :message, 15, "google.analytics.admin.v1alpha.DataRetentionSettings"
|
145
|
+
optional :data_stream, :message, 18, "google.analytics.admin.v1alpha.DataStream"
|
155
146
|
end
|
156
147
|
end
|
157
148
|
add_message "google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink" do
|
@@ -209,6 +200,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
209
200
|
optional :description, :string, 4
|
210
201
|
optional :measurement_unit, :enum, 5, "google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit"
|
211
202
|
optional :scope, :enum, 6, "google.analytics.admin.v1alpha.CustomMetric.MetricScope"
|
203
|
+
repeated :restricted_metric_type, :enum, 8, "google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType"
|
212
204
|
end
|
213
205
|
add_enum "google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit" do
|
214
206
|
value :MEASUREMENT_UNIT_UNSPECIFIED, 0
|
@@ -227,6 +219,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
227
219
|
value :METRIC_SCOPE_UNSPECIFIED, 0
|
228
220
|
value :EVENT, 1
|
229
221
|
end
|
222
|
+
add_enum "google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType" do
|
223
|
+
value :RESTRICTED_METRIC_TYPE_UNSPECIFIED, 0
|
224
|
+
value :COST_DATA, 1
|
225
|
+
value :REVENUE_DATA, 2
|
226
|
+
end
|
230
227
|
add_message "google.analytics.admin.v1alpha.DataRetentionSettings" do
|
231
228
|
optional :name, :string, 1
|
232
229
|
optional :event_data_retention, :enum, 2, "google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration"
|
@@ -290,9 +287,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
290
287
|
value :CHANGE_HISTORY_RESOURCE_TYPE_UNSPECIFIED, 0
|
291
288
|
value :ACCOUNT, 1
|
292
289
|
value :PROPERTY, 2
|
293
|
-
value :WEB_DATA_STREAM, 3
|
294
|
-
value :ANDROID_APP_DATA_STREAM, 4
|
295
|
-
value :IOS_APP_DATA_STREAM, 5
|
296
290
|
value :FIREBASE_LINK, 6
|
297
291
|
value :GOOGLE_ADS_LINK, 7
|
298
292
|
value :GOOGLE_SIGNALS_SETTINGS, 8
|
@@ -301,6 +295,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
301
295
|
value :CUSTOM_DIMENSION, 11
|
302
296
|
value :CUSTOM_METRIC, 12
|
303
297
|
value :DATA_RETENTION_SETTINGS, 13
|
298
|
+
value :DISPLAY_VIDEO_360_ADVERTISER_LINK, 14
|
299
|
+
value :DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL, 15
|
300
|
+
value :DATA_STREAM, 18
|
304
301
|
end
|
305
302
|
add_enum "google.analytics.admin.v1alpha.GoogleSignalsState" do
|
306
303
|
value :GOOGLE_SIGNALS_STATE_UNSPECIFIED, 0
|
@@ -335,12 +332,13 @@ module Google
|
|
335
332
|
module V1alpha
|
336
333
|
Account = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.Account").msgclass
|
337
334
|
Property = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.Property").msgclass
|
338
|
-
|
339
|
-
|
340
|
-
|
335
|
+
DataStream = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.DataStream").msgclass
|
336
|
+
DataStream::WebStreamData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.DataStream.WebStreamData").msgclass
|
337
|
+
DataStream::AndroidAppStreamData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData").msgclass
|
338
|
+
DataStream::IosAppStreamData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.DataStream.IosAppStreamData").msgclass
|
339
|
+
DataStream::DataStreamType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.DataStream.DataStreamType").enummodule
|
341
340
|
UserLink = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.UserLink").msgclass
|
342
341
|
AuditUserLink = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.AuditUserLink").msgclass
|
343
|
-
EnhancedMeasurementSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.EnhancedMeasurementSettings").msgclass
|
344
342
|
FirebaseLink = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.FirebaseLink").msgclass
|
345
343
|
GlobalSiteTag = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.GlobalSiteTag").msgclass
|
346
344
|
GoogleAdsLink = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.GoogleAdsLink").msgclass
|
@@ -361,6 +359,7 @@ module Google
|
|
361
359
|
CustomMetric = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.CustomMetric").msgclass
|
362
360
|
CustomMetric::MeasurementUnit = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit").enummodule
|
363
361
|
CustomMetric::MetricScope = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.CustomMetric.MetricScope").enummodule
|
362
|
+
CustomMetric::RestrictedMetricType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType").enummodule
|
364
363
|
DataRetentionSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.DataRetentionSettings").msgclass
|
365
364
|
DataRetentionSettings::RetentionDuration = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration").enummodule
|
366
365
|
IndustryCategory = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.IndustryCategory").enummodule
|
@@ -25,6 +25,8 @@ module Google
|
|
25
25
|
##
|
26
26
|
# To load this package, including all its services, and instantiate a client:
|
27
27
|
#
|
28
|
+
# @example
|
29
|
+
#
|
28
30
|
# require "google/analytics/admin/v1alpha"
|
29
31
|
# client = ::Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Client.new
|
30
32
|
#
|