google-analytics-admin-v1alpha 0.7.0 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +8 -8
- data/README.md +1 -1
- data/lib/google/analytics/admin/v1alpha/analytics_admin_pb.rb +194 -5
- data/lib/google/analytics/admin/v1alpha/analytics_admin_service/client.rb +2998 -293
- data/lib/google/analytics/admin/v1alpha/analytics_admin_service/paths.rb +126 -0
- data/lib/google/analytics/admin/v1alpha/analytics_admin_services_pb.rb +82 -2
- data/lib/google/analytics/admin/v1alpha/resources_pb.rb +153 -9
- data/lib/google/analytics/admin/v1alpha/version.rb +1 -1
- data/proto_docs/google/analytics/admin/v1alpha/analytics_admin.rb +550 -14
- data/proto_docs/google/analytics/admin/v1alpha/resources.rb +476 -27
- data/proto_docs/google/api/field_behavior.rb +7 -1
- metadata +13 -7
@@ -55,6 +55,65 @@ module Google
|
|
55
55
|
"properties/#{property}/androidAppDataStreams/#{android_app_data_stream}"
|
56
56
|
end
|
57
57
|
|
58
|
+
##
|
59
|
+
# Create a fully-qualified ConversionEvent resource string.
|
60
|
+
#
|
61
|
+
# The resource will be in the following format:
|
62
|
+
#
|
63
|
+
# `properties/{property}/conversionEvents/{conversion_event}`
|
64
|
+
#
|
65
|
+
# @param property [String]
|
66
|
+
# @param conversion_event [String]
|
67
|
+
#
|
68
|
+
# @return [::String]
|
69
|
+
def conversion_event_path property:, conversion_event:
|
70
|
+
raise ::ArgumentError, "property cannot contain /" if property.to_s.include? "/"
|
71
|
+
|
72
|
+
"properties/#{property}/conversionEvents/#{conversion_event}"
|
73
|
+
end
|
74
|
+
|
75
|
+
##
|
76
|
+
# Create a fully-qualified CustomDimension resource string.
|
77
|
+
#
|
78
|
+
# The resource will be in the following format:
|
79
|
+
#
|
80
|
+
# `properties/{property}/customDimensions`
|
81
|
+
#
|
82
|
+
# @param property [String]
|
83
|
+
#
|
84
|
+
# @return [::String]
|
85
|
+
def custom_dimension_path property:
|
86
|
+
"properties/#{property}/customDimensions"
|
87
|
+
end
|
88
|
+
|
89
|
+
##
|
90
|
+
# Create a fully-qualified CustomMetric resource string.
|
91
|
+
#
|
92
|
+
# The resource will be in the following format:
|
93
|
+
#
|
94
|
+
# `properties/{property}/customMetrics`
|
95
|
+
#
|
96
|
+
# @param property [String]
|
97
|
+
#
|
98
|
+
# @return [::String]
|
99
|
+
def custom_metric_path property:
|
100
|
+
"properties/#{property}/customMetrics"
|
101
|
+
end
|
102
|
+
|
103
|
+
##
|
104
|
+
# Create a fully-qualified DataRetentionSettings resource string.
|
105
|
+
#
|
106
|
+
# The resource will be in the following format:
|
107
|
+
#
|
108
|
+
# `properties/{property}/dataRetentionSettings`
|
109
|
+
#
|
110
|
+
# @param property [String]
|
111
|
+
#
|
112
|
+
# @return [::String]
|
113
|
+
def data_retention_settings_path property:
|
114
|
+
"properties/#{property}/dataRetentionSettings"
|
115
|
+
end
|
116
|
+
|
58
117
|
##
|
59
118
|
# Create a fully-qualified DataSharingSettings resource string.
|
60
119
|
#
|
@@ -69,6 +128,40 @@ module Google
|
|
69
128
|
"accounts/#{account}/dataSharingSettings"
|
70
129
|
end
|
71
130
|
|
131
|
+
##
|
132
|
+
# Create a fully-qualified DisplayVideo360AdvertiserLink resource string.
|
133
|
+
#
|
134
|
+
# The resource will be in the following format:
|
135
|
+
#
|
136
|
+
# `properties/{property}/displayVideo360AdvertiserLinks/{display_video_360_advertiser_link}`
|
137
|
+
#
|
138
|
+
# @param property [String]
|
139
|
+
# @param display_video_360_advertiser_link [String]
|
140
|
+
#
|
141
|
+
# @return [::String]
|
142
|
+
def display_video360_advertiser_link_path property:, display_video_360_advertiser_link:
|
143
|
+
raise ::ArgumentError, "property cannot contain /" if property.to_s.include? "/"
|
144
|
+
|
145
|
+
"properties/#{property}/displayVideo360AdvertiserLinks/#{display_video_360_advertiser_link}"
|
146
|
+
end
|
147
|
+
|
148
|
+
##
|
149
|
+
# Create a fully-qualified DisplayVideo360AdvertiserLinkProposal resource string.
|
150
|
+
#
|
151
|
+
# The resource will be in the following format:
|
152
|
+
#
|
153
|
+
# `properties/{property}/displayVideo360AdvertiserLinkProposals/{display_video_360_advertiser_link_proposal}`
|
154
|
+
#
|
155
|
+
# @param property [String]
|
156
|
+
# @param display_video_360_advertiser_link_proposal [String]
|
157
|
+
#
|
158
|
+
# @return [::String]
|
159
|
+
def display_video360_advertiser_link_proposal_path property:, display_video_360_advertiser_link_proposal:
|
160
|
+
raise ::ArgumentError, "property cannot contain /" if property.to_s.include? "/"
|
161
|
+
|
162
|
+
"properties/#{property}/displayVideo360AdvertiserLinkProposals/#{display_video_360_advertiser_link_proposal}"
|
163
|
+
end
|
164
|
+
|
72
165
|
##
|
73
166
|
# Create a fully-qualified EnhancedMeasurementSettings resource string.
|
74
167
|
#
|
@@ -134,6 +227,20 @@ module Google
|
|
134
227
|
"properties/#{property}/googleAdsLinks/#{google_ads_link}"
|
135
228
|
end
|
136
229
|
|
230
|
+
##
|
231
|
+
# Create a fully-qualified GoogleSignalsSettings resource string.
|
232
|
+
#
|
233
|
+
# The resource will be in the following format:
|
234
|
+
#
|
235
|
+
# `properties/{property}/googleSignalsSettings`
|
236
|
+
#
|
237
|
+
# @param property [String]
|
238
|
+
#
|
239
|
+
# @return [::String]
|
240
|
+
def google_signals_settings_path property:
|
241
|
+
"properties/#{property}/googleSignalsSettings"
|
242
|
+
end
|
243
|
+
|
137
244
|
##
|
138
245
|
# Create a fully-qualified IosAppDataStream resource string.
|
139
246
|
#
|
@@ -151,6 +258,25 @@ module Google
|
|
151
258
|
"properties/#{property}/iosAppDataStreams/#{ios_app_data_stream}"
|
152
259
|
end
|
153
260
|
|
261
|
+
##
|
262
|
+
# Create a fully-qualified MeasurementProtocolSecret resource string.
|
263
|
+
#
|
264
|
+
# The resource will be in the following format:
|
265
|
+
#
|
266
|
+
# `properties/{property}/webDataStreams/{web_data_stream}/measurementProtocolSecrets/{measurement_protocol_secret}`
|
267
|
+
#
|
268
|
+
# @param property [String]
|
269
|
+
# @param web_data_stream [String]
|
270
|
+
# @param measurement_protocol_secret [String]
|
271
|
+
#
|
272
|
+
# @return [::String]
|
273
|
+
def measurement_protocol_secret_path property:, web_data_stream:, measurement_protocol_secret:
|
274
|
+
raise ::ArgumentError, "property cannot contain /" if property.to_s.include? "/"
|
275
|
+
raise ::ArgumentError, "web_data_stream cannot contain /" if web_data_stream.to_s.include? "/"
|
276
|
+
|
277
|
+
"properties/#{property}/webDataStreams/#{web_data_stream}/measurementProtocolSecrets/#{measurement_protocol_secret}"
|
278
|
+
end
|
279
|
+
|
154
280
|
##
|
155
281
|
# Create a fully-qualified Property resource string.
|
156
282
|
#
|
@@ -166,8 +166,6 @@ module Google
|
|
166
166
|
#
|
167
167
|
# Properties can have at most one FirebaseLink.
|
168
168
|
rpc :CreateFirebaseLink, ::Google::Analytics::Admin::V1alpha::CreateFirebaseLinkRequest, ::Google::Analytics::Admin::V1alpha::FirebaseLink
|
169
|
-
# Updates a FirebaseLink on a property
|
170
|
-
rpc :UpdateFirebaseLink, ::Google::Analytics::Admin::V1alpha::UpdateFirebaseLinkRequest, ::Google::Analytics::Admin::V1alpha::FirebaseLink
|
171
169
|
# Deletes a FirebaseLink on a property
|
172
170
|
rpc :DeleteFirebaseLink, ::Google::Analytics::Admin::V1alpha::DeleteFirebaseLinkRequest, ::Google::Protobuf::Empty
|
173
171
|
# Lists FirebaseLinks on a property.
|
@@ -187,9 +185,91 @@ module Google
|
|
187
185
|
# Get data sharing settings on an account.
|
188
186
|
# Data sharing settings are singletons.
|
189
187
|
rpc :GetDataSharingSettings, ::Google::Analytics::Admin::V1alpha::GetDataSharingSettingsRequest, ::Google::Analytics::Admin::V1alpha::DataSharingSettings
|
188
|
+
# Lookup for a single "GA4" MeasurementProtocolSecret.
|
189
|
+
rpc :GetMeasurementProtocolSecret, ::Google::Analytics::Admin::V1alpha::GetMeasurementProtocolSecretRequest, ::Google::Analytics::Admin::V1alpha::MeasurementProtocolSecret
|
190
|
+
# Returns child MeasurementProtocolSecrets under the specified parent
|
191
|
+
# Property.
|
192
|
+
rpc :ListMeasurementProtocolSecrets, ::Google::Analytics::Admin::V1alpha::ListMeasurementProtocolSecretsRequest, ::Google::Analytics::Admin::V1alpha::ListMeasurementProtocolSecretsResponse
|
193
|
+
# Creates a measurement protocol secret.
|
194
|
+
rpc :CreateMeasurementProtocolSecret, ::Google::Analytics::Admin::V1alpha::CreateMeasurementProtocolSecretRequest, ::Google::Analytics::Admin::V1alpha::MeasurementProtocolSecret
|
195
|
+
# Deletes target MeasurementProtocolSecret.
|
196
|
+
rpc :DeleteMeasurementProtocolSecret, ::Google::Analytics::Admin::V1alpha::DeleteMeasurementProtocolSecretRequest, ::Google::Protobuf::Empty
|
197
|
+
# Updates a measurement protocol secret.
|
198
|
+
rpc :UpdateMeasurementProtocolSecret, ::Google::Analytics::Admin::V1alpha::UpdateMeasurementProtocolSecretRequest, ::Google::Analytics::Admin::V1alpha::MeasurementProtocolSecret
|
190
199
|
# Searches through all changes to an account or its children given the
|
191
200
|
# specified set of filters.
|
192
201
|
rpc :SearchChangeHistoryEvents, ::Google::Analytics::Admin::V1alpha::SearchChangeHistoryEventsRequest, ::Google::Analytics::Admin::V1alpha::SearchChangeHistoryEventsResponse
|
202
|
+
# Lookup for Google Signals settings for a property.
|
203
|
+
rpc :GetGoogleSignalsSettings, ::Google::Analytics::Admin::V1alpha::GetGoogleSignalsSettingsRequest, ::Google::Analytics::Admin::V1alpha::GoogleSignalsSettings
|
204
|
+
# Updates Google Signals settings for a property.
|
205
|
+
rpc :UpdateGoogleSignalsSettings, ::Google::Analytics::Admin::V1alpha::UpdateGoogleSignalsSettingsRequest, ::Google::Analytics::Admin::V1alpha::GoogleSignalsSettings
|
206
|
+
# Creates a conversion event with the specified attributes.
|
207
|
+
rpc :CreateConversionEvent, ::Google::Analytics::Admin::V1alpha::CreateConversionEventRequest, ::Google::Analytics::Admin::V1alpha::ConversionEvent
|
208
|
+
# Retrieve a single conversion event.
|
209
|
+
rpc :GetConversionEvent, ::Google::Analytics::Admin::V1alpha::GetConversionEventRequest, ::Google::Analytics::Admin::V1alpha::ConversionEvent
|
210
|
+
# Deletes a conversion event in a property.
|
211
|
+
rpc :DeleteConversionEvent, ::Google::Analytics::Admin::V1alpha::DeleteConversionEventRequest, ::Google::Protobuf::Empty
|
212
|
+
# Returns a list of conversion events in the specified parent property.
|
213
|
+
#
|
214
|
+
# Returns an empty list if no conversion events are found.
|
215
|
+
rpc :ListConversionEvents, ::Google::Analytics::Admin::V1alpha::ListConversionEventsRequest, ::Google::Analytics::Admin::V1alpha::ListConversionEventsResponse
|
216
|
+
# Look up a single DisplayVideo360AdvertiserLink
|
217
|
+
rpc :GetDisplayVideo360AdvertiserLink, ::Google::Analytics::Admin::V1alpha::GetDisplayVideo360AdvertiserLinkRequest, ::Google::Analytics::Admin::V1alpha::DisplayVideo360AdvertiserLink
|
218
|
+
# Lists all DisplayVideo360AdvertiserLinks on a property.
|
219
|
+
rpc :ListDisplayVideo360AdvertiserLinks, ::Google::Analytics::Admin::V1alpha::ListDisplayVideo360AdvertiserLinksRequest, ::Google::Analytics::Admin::V1alpha::ListDisplayVideo360AdvertiserLinksResponse
|
220
|
+
# Creates a DisplayVideo360AdvertiserLink.
|
221
|
+
# This can only be utilized by users who have proper authorization both on
|
222
|
+
# the Google Analytics property and on the Display & Video 360 advertiser.
|
223
|
+
# Users who do not have access to the Display & Video 360 advertiser should
|
224
|
+
# instead seek to create a DisplayVideo360LinkProposal.
|
225
|
+
rpc :CreateDisplayVideo360AdvertiserLink, ::Google::Analytics::Admin::V1alpha::CreateDisplayVideo360AdvertiserLinkRequest, ::Google::Analytics::Admin::V1alpha::DisplayVideo360AdvertiserLink
|
226
|
+
# Deletes a DisplayVideo360AdvertiserLink on a property.
|
227
|
+
rpc :DeleteDisplayVideo360AdvertiserLink, ::Google::Analytics::Admin::V1alpha::DeleteDisplayVideo360AdvertiserLinkRequest, ::Google::Protobuf::Empty
|
228
|
+
# Updates a DisplayVideo360AdvertiserLink on a property.
|
229
|
+
rpc :UpdateDisplayVideo360AdvertiserLink, ::Google::Analytics::Admin::V1alpha::UpdateDisplayVideo360AdvertiserLinkRequest, ::Google::Analytics::Admin::V1alpha::DisplayVideo360AdvertiserLink
|
230
|
+
# Lookup for a single DisplayVideo360AdvertiserLinkProposal.
|
231
|
+
rpc :GetDisplayVideo360AdvertiserLinkProposal, ::Google::Analytics::Admin::V1alpha::GetDisplayVideo360AdvertiserLinkProposalRequest, ::Google::Analytics::Admin::V1alpha::DisplayVideo360AdvertiserLinkProposal
|
232
|
+
# Lists DisplayVideo360AdvertiserLinkProposals on a property.
|
233
|
+
rpc :ListDisplayVideo360AdvertiserLinkProposals, ::Google::Analytics::Admin::V1alpha::ListDisplayVideo360AdvertiserLinkProposalsRequest, ::Google::Analytics::Admin::V1alpha::ListDisplayVideo360AdvertiserLinkProposalsResponse
|
234
|
+
# Creates a DisplayVideo360AdvertiserLinkProposal.
|
235
|
+
rpc :CreateDisplayVideo360AdvertiserLinkProposal, ::Google::Analytics::Admin::V1alpha::CreateDisplayVideo360AdvertiserLinkProposalRequest, ::Google::Analytics::Admin::V1alpha::DisplayVideo360AdvertiserLinkProposal
|
236
|
+
# Deletes a DisplayVideo360AdvertiserLinkProposal on a property.
|
237
|
+
# This can only be used on cancelled proposals.
|
238
|
+
rpc :DeleteDisplayVideo360AdvertiserLinkProposal, ::Google::Analytics::Admin::V1alpha::DeleteDisplayVideo360AdvertiserLinkProposalRequest, ::Google::Protobuf::Empty
|
239
|
+
# Approves a DisplayVideo360AdvertiserLinkProposal.
|
240
|
+
# The DisplayVideo360AdvertiserLinkProposal will be deleted and a new
|
241
|
+
# DisplayVideo360AdvertiserLink will be created.
|
242
|
+
rpc :ApproveDisplayVideo360AdvertiserLinkProposal, ::Google::Analytics::Admin::V1alpha::ApproveDisplayVideo360AdvertiserLinkProposalRequest, ::Google::Analytics::Admin::V1alpha::ApproveDisplayVideo360AdvertiserLinkProposalResponse
|
243
|
+
# Cancels a DisplayVideo360AdvertiserLinkProposal.
|
244
|
+
# Cancelling can mean either:
|
245
|
+
# - Declining a proposal initiated from Display & Video 360
|
246
|
+
# - Withdrawing a proposal initiated from Google Analytics
|
247
|
+
# After being cancelled, a proposal will eventually be deleted automatically.
|
248
|
+
rpc :CancelDisplayVideo360AdvertiserLinkProposal, ::Google::Analytics::Admin::V1alpha::CancelDisplayVideo360AdvertiserLinkProposalRequest, ::Google::Analytics::Admin::V1alpha::DisplayVideo360AdvertiserLinkProposal
|
249
|
+
# Creates a CustomDimension.
|
250
|
+
rpc :CreateCustomDimension, ::Google::Analytics::Admin::V1alpha::CreateCustomDimensionRequest, ::Google::Analytics::Admin::V1alpha::CustomDimension
|
251
|
+
# Updates a CustomDimension on a property.
|
252
|
+
rpc :UpdateCustomDimension, ::Google::Analytics::Admin::V1alpha::UpdateCustomDimensionRequest, ::Google::Analytics::Admin::V1alpha::CustomDimension
|
253
|
+
# Lists CustomDimensions on a property.
|
254
|
+
rpc :ListCustomDimensions, ::Google::Analytics::Admin::V1alpha::ListCustomDimensionsRequest, ::Google::Analytics::Admin::V1alpha::ListCustomDimensionsResponse
|
255
|
+
# Archives a CustomDimension on a property.
|
256
|
+
rpc :ArchiveCustomDimension, ::Google::Analytics::Admin::V1alpha::ArchiveCustomDimensionRequest, ::Google::Protobuf::Empty
|
257
|
+
# Lookup for a single CustomDimension.
|
258
|
+
rpc :GetCustomDimension, ::Google::Analytics::Admin::V1alpha::GetCustomDimensionRequest, ::Google::Analytics::Admin::V1alpha::CustomDimension
|
259
|
+
# Creates a CustomMetric.
|
260
|
+
rpc :CreateCustomMetric, ::Google::Analytics::Admin::V1alpha::CreateCustomMetricRequest, ::Google::Analytics::Admin::V1alpha::CustomMetric
|
261
|
+
# Updates a CustomMetric on a property.
|
262
|
+
rpc :UpdateCustomMetric, ::Google::Analytics::Admin::V1alpha::UpdateCustomMetricRequest, ::Google::Analytics::Admin::V1alpha::CustomMetric
|
263
|
+
# Lists CustomMetrics on a property.
|
264
|
+
rpc :ListCustomMetrics, ::Google::Analytics::Admin::V1alpha::ListCustomMetricsRequest, ::Google::Analytics::Admin::V1alpha::ListCustomMetricsResponse
|
265
|
+
# Archives a CustomMetric on a property.
|
266
|
+
rpc :ArchiveCustomMetric, ::Google::Analytics::Admin::V1alpha::ArchiveCustomMetricRequest, ::Google::Protobuf::Empty
|
267
|
+
# Lookup for a single CustomMetric.
|
268
|
+
rpc :GetCustomMetric, ::Google::Analytics::Admin::V1alpha::GetCustomMetricRequest, ::Google::Analytics::Admin::V1alpha::CustomMetric
|
269
|
+
# Returns the singleton data retention settings for this property.
|
270
|
+
rpc :GetDataRetentionSettings, ::Google::Analytics::Admin::V1alpha::GetDataRetentionSettingsRequest, ::Google::Analytics::Admin::V1alpha::DataRetentionSettings
|
271
|
+
# Updates the singleton data retention settings for this property.
|
272
|
+
rpc :UpdateDataRetentionSettings, ::Google::Analytics::Admin::V1alpha::UpdateDataRetentionSettingsRequest, ::Google::Analytics::Admin::V1alpha::DataRetentionSettings
|
193
273
|
end
|
194
274
|
|
195
275
|
Stub = Service.rpc_stub_class
|
@@ -26,6 +26,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
26
26
|
optional :industry_category, :enum, 6, "google.analytics.admin.v1alpha.IndustryCategory"
|
27
27
|
optional :time_zone, :string, 7
|
28
28
|
optional :currency_code, :string, 8
|
29
|
+
optional :service_level, :enum, 10, "google.analytics.admin.v1alpha.ServiceLevel"
|
29
30
|
optional :delete_time, :message, 11, "google.protobuf.Timestamp"
|
30
31
|
optional :expire_time, :message, 12, "google.protobuf.Timestamp"
|
31
32
|
end
|
@@ -83,7 +84,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
83
84
|
optional :name, :string, 1
|
84
85
|
optional :project, :string, 2
|
85
86
|
optional :create_time, :message, 3, "google.protobuf.Timestamp"
|
86
|
-
optional :maximum_user_access, :enum, 4, "google.analytics.admin.v1alpha.MaximumUserAccess"
|
87
87
|
end
|
88
88
|
add_message "google.analytics.admin.v1alpha.GlobalSiteTag" do
|
89
89
|
optional :name, :string, 1
|
@@ -94,9 +94,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
94
94
|
optional :customer_id, :string, 3
|
95
95
|
optional :can_manage_clients, :bool, 4
|
96
96
|
optional :ads_personalization_enabled, :message, 5, "google.protobuf.BoolValue"
|
97
|
-
optional :email_address, :string, 6
|
98
97
|
optional :create_time, :message, 7, "google.protobuf.Timestamp"
|
99
98
|
optional :update_time, :message, 8, "google.protobuf.Timestamp"
|
99
|
+
optional :creator_email_address, :string, 9
|
100
100
|
end
|
101
101
|
add_message "google.analytics.admin.v1alpha.DataSharingSettings" do
|
102
102
|
optional :name, :string, 1
|
@@ -116,6 +116,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
116
116
|
optional :property, :string, 1
|
117
117
|
optional :display_name, :string, 2
|
118
118
|
end
|
119
|
+
add_message "google.analytics.admin.v1alpha.MeasurementProtocolSecret" do
|
120
|
+
optional :name, :string, 1
|
121
|
+
optional :display_name, :string, 2
|
122
|
+
optional :secret_value, :string, 3
|
123
|
+
end
|
119
124
|
add_message "google.analytics.admin.v1alpha.ChangeHistoryEvent" do
|
120
125
|
optional :id, :string, 1
|
121
126
|
optional :change_time, :message, 2, "google.protobuf.Timestamp"
|
@@ -139,14 +144,101 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
139
144
|
optional :ios_app_data_stream, :message, 5, "google.analytics.admin.v1alpha.IosAppDataStream"
|
140
145
|
optional :firebase_link, :message, 6, "google.analytics.admin.v1alpha.FirebaseLink"
|
141
146
|
optional :google_ads_link, :message, 7, "google.analytics.admin.v1alpha.GoogleAdsLink"
|
147
|
+
optional :google_signals_settings, :message, 8, "google.analytics.admin.v1alpha.GoogleSignalsSettings"
|
148
|
+
optional :display_video_360_advertiser_link, :message, 9, "google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink"
|
149
|
+
optional :display_video_360_advertiser_link_proposal, :message, 10, "google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal"
|
150
|
+
optional :conversion_event, :message, 11, "google.analytics.admin.v1alpha.ConversionEvent"
|
151
|
+
optional :measurement_protocol_secret, :message, 12, "google.analytics.admin.v1alpha.MeasurementProtocolSecret"
|
152
|
+
optional :custom_dimension, :message, 13, "google.analytics.admin.v1alpha.CustomDimension"
|
153
|
+
optional :custom_metric, :message, 14, "google.analytics.admin.v1alpha.CustomMetric"
|
154
|
+
optional :data_retention_settings, :message, 15, "google.analytics.admin.v1alpha.DataRetentionSettings"
|
142
155
|
end
|
143
156
|
end
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
157
|
+
add_message "google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink" do
|
158
|
+
optional :name, :string, 1
|
159
|
+
optional :advertiser_id, :string, 2
|
160
|
+
optional :advertiser_display_name, :string, 3
|
161
|
+
optional :ads_personalization_enabled, :message, 4, "google.protobuf.BoolValue"
|
162
|
+
optional :campaign_data_sharing_enabled, :message, 5, "google.protobuf.BoolValue"
|
163
|
+
optional :cost_data_sharing_enabled, :message, 6, "google.protobuf.BoolValue"
|
164
|
+
end
|
165
|
+
add_message "google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal" do
|
166
|
+
optional :name, :string, 1
|
167
|
+
optional :advertiser_id, :string, 2
|
168
|
+
optional :link_proposal_status_details, :message, 3, "google.analytics.admin.v1alpha.LinkProposalStatusDetails"
|
169
|
+
optional :advertiser_display_name, :string, 4
|
170
|
+
optional :validation_email, :string, 5
|
171
|
+
optional :ads_personalization_enabled, :message, 6, "google.protobuf.BoolValue"
|
172
|
+
optional :campaign_data_sharing_enabled, :message, 7, "google.protobuf.BoolValue"
|
173
|
+
optional :cost_data_sharing_enabled, :message, 8, "google.protobuf.BoolValue"
|
174
|
+
end
|
175
|
+
add_message "google.analytics.admin.v1alpha.LinkProposalStatusDetails" do
|
176
|
+
optional :link_proposal_initiating_product, :enum, 1, "google.analytics.admin.v1alpha.LinkProposalInitiatingProduct"
|
177
|
+
optional :requestor_email, :string, 2
|
178
|
+
optional :link_proposal_state, :enum, 3, "google.analytics.admin.v1alpha.LinkProposalState"
|
179
|
+
end
|
180
|
+
add_message "google.analytics.admin.v1alpha.ConversionEvent" do
|
181
|
+
optional :name, :string, 1
|
182
|
+
optional :event_name, :string, 2
|
183
|
+
optional :create_time, :message, 3, "google.protobuf.Timestamp"
|
184
|
+
optional :deletable, :bool, 4
|
185
|
+
optional :custom, :bool, 5
|
186
|
+
end
|
187
|
+
add_message "google.analytics.admin.v1alpha.GoogleSignalsSettings" do
|
188
|
+
optional :name, :string, 1
|
189
|
+
optional :state, :enum, 3, "google.analytics.admin.v1alpha.GoogleSignalsState"
|
190
|
+
optional :consent, :enum, 4, "google.analytics.admin.v1alpha.GoogleSignalsConsent"
|
191
|
+
end
|
192
|
+
add_message "google.analytics.admin.v1alpha.CustomDimension" do
|
193
|
+
optional :name, :string, 1
|
194
|
+
optional :parameter_name, :string, 2
|
195
|
+
optional :display_name, :string, 3
|
196
|
+
optional :description, :string, 4
|
197
|
+
optional :scope, :enum, 5, "google.analytics.admin.v1alpha.CustomDimension.DimensionScope"
|
198
|
+
optional :disallow_ads_personalization, :bool, 6
|
199
|
+
end
|
200
|
+
add_enum "google.analytics.admin.v1alpha.CustomDimension.DimensionScope" do
|
201
|
+
value :DIMENSION_SCOPE_UNSPECIFIED, 0
|
202
|
+
value :EVENT, 1
|
203
|
+
value :USER, 2
|
204
|
+
end
|
205
|
+
add_message "google.analytics.admin.v1alpha.CustomMetric" do
|
206
|
+
optional :name, :string, 1
|
207
|
+
optional :parameter_name, :string, 2
|
208
|
+
optional :display_name, :string, 3
|
209
|
+
optional :description, :string, 4
|
210
|
+
optional :measurement_unit, :enum, 5, "google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit"
|
211
|
+
optional :scope, :enum, 6, "google.analytics.admin.v1alpha.CustomMetric.MetricScope"
|
212
|
+
end
|
213
|
+
add_enum "google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit" do
|
214
|
+
value :MEASUREMENT_UNIT_UNSPECIFIED, 0
|
215
|
+
value :STANDARD, 1
|
216
|
+
value :CURRENCY, 2
|
217
|
+
value :FEET, 3
|
218
|
+
value :METERS, 4
|
219
|
+
value :KILOMETERS, 5
|
220
|
+
value :MILES, 6
|
221
|
+
value :MILLISECONDS, 7
|
222
|
+
value :SECONDS, 8
|
223
|
+
value :MINUTES, 9
|
224
|
+
value :HOURS, 10
|
225
|
+
end
|
226
|
+
add_enum "google.analytics.admin.v1alpha.CustomMetric.MetricScope" do
|
227
|
+
value :METRIC_SCOPE_UNSPECIFIED, 0
|
228
|
+
value :EVENT, 1
|
229
|
+
end
|
230
|
+
add_message "google.analytics.admin.v1alpha.DataRetentionSettings" do
|
231
|
+
optional :name, :string, 1
|
232
|
+
optional :event_data_retention, :enum, 2, "google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration"
|
233
|
+
optional :reset_user_data_on_new_activity, :bool, 3
|
234
|
+
end
|
235
|
+
add_enum "google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration" do
|
236
|
+
value :RETENTION_DURATION_UNSPECIFIED, 0
|
237
|
+
value :TWO_MONTHS, 1
|
238
|
+
value :FOURTEEN_MONTHS, 3
|
239
|
+
value :TWENTY_SIX_MONTHS, 4
|
240
|
+
value :THIRTY_EIGHT_MONTHS, 5
|
241
|
+
value :FIFTY_MONTHS, 6
|
150
242
|
end
|
151
243
|
add_enum "google.analytics.admin.v1alpha.IndustryCategory" do
|
152
244
|
value :INDUSTRY_CATEGORY_UNSPECIFIED, 0
|
@@ -177,6 +269,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
177
269
|
value :JOBS_AND_EDUCATION, 25
|
178
270
|
value :SHOPPING, 26
|
179
271
|
end
|
272
|
+
add_enum "google.analytics.admin.v1alpha.ServiceLevel" do
|
273
|
+
value :SERVICE_LEVEL_UNSPECIFIED, 0
|
274
|
+
value :GOOGLE_ANALYTICS_STANDARD, 1
|
275
|
+
value :GOOGLE_ANALYTICS_360, 2
|
276
|
+
end
|
180
277
|
add_enum "google.analytics.admin.v1alpha.ActorType" do
|
181
278
|
value :ACTOR_TYPE_UNSPECIFIED, 0
|
182
279
|
value :USER, 1
|
@@ -198,6 +295,36 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
198
295
|
value :IOS_APP_DATA_STREAM, 5
|
199
296
|
value :FIREBASE_LINK, 6
|
200
297
|
value :GOOGLE_ADS_LINK, 7
|
298
|
+
value :GOOGLE_SIGNALS_SETTINGS, 8
|
299
|
+
value :CONVERSION_EVENT, 9
|
300
|
+
value :MEASUREMENT_PROTOCOL_SECRET, 10
|
301
|
+
value :CUSTOM_DIMENSION, 11
|
302
|
+
value :CUSTOM_METRIC, 12
|
303
|
+
value :DATA_RETENTION_SETTINGS, 13
|
304
|
+
end
|
305
|
+
add_enum "google.analytics.admin.v1alpha.GoogleSignalsState" do
|
306
|
+
value :GOOGLE_SIGNALS_STATE_UNSPECIFIED, 0
|
307
|
+
value :GOOGLE_SIGNALS_ENABLED, 1
|
308
|
+
value :GOOGLE_SIGNALS_DISABLED, 2
|
309
|
+
end
|
310
|
+
add_enum "google.analytics.admin.v1alpha.GoogleSignalsConsent" do
|
311
|
+
value :GOOGLE_SIGNALS_CONSENT_UNSPECIFIED, 0
|
312
|
+
value :GOOGLE_SIGNALS_CONSENT_CONSENTED, 2
|
313
|
+
value :GOOGLE_SIGNALS_CONSENT_NOT_CONSENTED, 1
|
314
|
+
end
|
315
|
+
add_enum "google.analytics.admin.v1alpha.LinkProposalInitiatingProduct" do
|
316
|
+
value :LINK_PROPOSAL_INITIATING_PRODUCT_UNSPECIFIED, 0
|
317
|
+
value :GOOGLE_ANALYTICS, 1
|
318
|
+
value :LINKED_PRODUCT, 2
|
319
|
+
end
|
320
|
+
add_enum "google.analytics.admin.v1alpha.LinkProposalState" do
|
321
|
+
value :LINK_PROPOSAL_STATE_UNSPECIFIED, 0
|
322
|
+
value :AWAITING_REVIEW_FROM_GOOGLE_ANALYTICS, 1
|
323
|
+
value :AWAITING_REVIEW_FROM_LINKED_PRODUCT, 2
|
324
|
+
value :WITHDRAWN, 3
|
325
|
+
value :DECLINED, 4
|
326
|
+
value :EXPIRED, 5
|
327
|
+
value :OBSOLETE, 6
|
201
328
|
end
|
202
329
|
end
|
203
330
|
end
|
@@ -220,14 +347,31 @@ module Google
|
|
220
347
|
DataSharingSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.DataSharingSettings").msgclass
|
221
348
|
AccountSummary = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.AccountSummary").msgclass
|
222
349
|
PropertySummary = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.PropertySummary").msgclass
|
350
|
+
MeasurementProtocolSecret = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.MeasurementProtocolSecret").msgclass
|
223
351
|
ChangeHistoryEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ChangeHistoryEvent").msgclass
|
224
352
|
ChangeHistoryChange = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ChangeHistoryChange").msgclass
|
225
353
|
ChangeHistoryChange::ChangeHistoryResource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource").msgclass
|
226
|
-
|
354
|
+
DisplayVideo360AdvertiserLink = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink").msgclass
|
355
|
+
DisplayVideo360AdvertiserLinkProposal = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal").msgclass
|
356
|
+
LinkProposalStatusDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.LinkProposalStatusDetails").msgclass
|
357
|
+
ConversionEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ConversionEvent").msgclass
|
358
|
+
GoogleSignalsSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.GoogleSignalsSettings").msgclass
|
359
|
+
CustomDimension = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.CustomDimension").msgclass
|
360
|
+
CustomDimension::DimensionScope = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.CustomDimension.DimensionScope").enummodule
|
361
|
+
CustomMetric = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.CustomMetric").msgclass
|
362
|
+
CustomMetric::MeasurementUnit = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit").enummodule
|
363
|
+
CustomMetric::MetricScope = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.CustomMetric.MetricScope").enummodule
|
364
|
+
DataRetentionSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.DataRetentionSettings").msgclass
|
365
|
+
DataRetentionSettings::RetentionDuration = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration").enummodule
|
227
366
|
IndustryCategory = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.IndustryCategory").enummodule
|
367
|
+
ServiceLevel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ServiceLevel").enummodule
|
228
368
|
ActorType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ActorType").enummodule
|
229
369
|
ActionType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ActionType").enummodule
|
230
370
|
ChangeHistoryResourceType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ChangeHistoryResourceType").enummodule
|
371
|
+
GoogleSignalsState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.GoogleSignalsState").enummodule
|
372
|
+
GoogleSignalsConsent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.GoogleSignalsConsent").enummodule
|
373
|
+
LinkProposalInitiatingProduct = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.LinkProposalInitiatingProduct").enummodule
|
374
|
+
LinkProposalState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.LinkProposalState").enummodule
|
231
375
|
end
|
232
376
|
end
|
233
377
|
end
|