google-analytics-admin-v1alpha 0.9.0 → 0.11.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/.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
@@ -106,103 +106,114 @@ module Google
|
|
106
106
|
# Output only. If set, the time at which this trashed property will be permanently
|
107
107
|
# deleted. If not set, then this property is not currently in the trash can
|
108
108
|
# and is not slated to be deleted.
|
109
|
+
# @!attribute [rw] account
|
110
|
+
# @return [::String]
|
111
|
+
# Immutable. The resource name of the parent account
|
112
|
+
# Format: accounts/\\{account_id}
|
113
|
+
# Example: "accounts/123"
|
109
114
|
class Property
|
110
115
|
include ::Google::Protobuf::MessageExts
|
111
116
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
112
117
|
end
|
113
118
|
|
114
|
-
# A resource message representing a
|
119
|
+
# A resource message representing a data stream.
|
120
|
+
# @!attribute [rw] web_stream_data
|
121
|
+
# @return [::Google::Analytics::Admin::V1alpha::DataStream::WebStreamData]
|
122
|
+
# Data specific to web streams. Must be populated if type is
|
123
|
+
# WEB_DATA_STREAM.
|
124
|
+
# @!attribute [rw] android_app_stream_data
|
125
|
+
# @return [::Google::Analytics::Admin::V1alpha::DataStream::AndroidAppStreamData]
|
126
|
+
# Data specific to Android app streams. Must be populated if type is
|
127
|
+
# ANDROID_APP_DATA_STREAM.
|
128
|
+
# @!attribute [rw] ios_app_stream_data
|
129
|
+
# @return [::Google::Analytics::Admin::V1alpha::DataStream::IosAppStreamData]
|
130
|
+
# Data specific to iOS app streams. Must be populated if type is
|
131
|
+
# IOS_APP_DATA_STREAM.
|
115
132
|
# @!attribute [r] name
|
116
133
|
# @return [::String]
|
117
134
|
# Output only. Resource name of this Data Stream.
|
118
|
-
# Format: properties/\\{property_id}/
|
119
|
-
# Example: "properties/1000/
|
120
|
-
# @!attribute [
|
121
|
-
# @return [::
|
122
|
-
#
|
123
|
-
# This ID can change if the Android app is deleted and recreated.
|
124
|
-
# @!attribute [r] create_time
|
125
|
-
# @return [::Google::Protobuf::Timestamp]
|
126
|
-
# Output only. Time when this stream was originally created.
|
127
|
-
# @!attribute [r] update_time
|
128
|
-
# @return [::Google::Protobuf::Timestamp]
|
129
|
-
# Output only. Time when stream payload fields were last updated.
|
130
|
-
# @!attribute [rw] package_name
|
131
|
-
# @return [::String]
|
132
|
-
# Immutable. The package name for the app being measured.
|
133
|
-
# Example: "com.example.myandroidapp"
|
135
|
+
# Format: properties/\\{property_id}/dataStreams/\\{stream_id}
|
136
|
+
# Example: "properties/1000/dataStreams/2000"
|
137
|
+
# @!attribute [rw] type
|
138
|
+
# @return [::Google::Analytics::Admin::V1alpha::DataStream::DataStreamType]
|
139
|
+
# Required. Immutable. The type of this DataStream resource.
|
134
140
|
# @!attribute [rw] display_name
|
135
141
|
# @return [::String]
|
136
142
|
# Human-readable display name for the Data Stream.
|
137
143
|
#
|
138
|
-
#
|
139
|
-
class AndroidAppDataStream
|
140
|
-
include ::Google::Protobuf::MessageExts
|
141
|
-
extend ::Google::Protobuf::MessageExts::ClassMethods
|
142
|
-
end
|
143
|
-
|
144
|
-
# A resource message representing a Google Analytics IOS app stream.
|
145
|
-
# @!attribute [r] name
|
146
|
-
# @return [::String]
|
147
|
-
# Output only. Resource name of this Data Stream.
|
148
|
-
# Format: properties/\\{property_id}/iosAppDataStreams/\\{stream_id}
|
149
|
-
# Example: "properties/1000/iosAppDataStreams/2000"
|
150
|
-
# @!attribute [r] firebase_app_id
|
151
|
-
# @return [::String]
|
152
|
-
# Output only. ID of the corresponding iOS app in Firebase, if any.
|
153
|
-
# This ID can change if the iOS app is deleted and recreated.
|
154
|
-
# @!attribute [r] create_time
|
155
|
-
# @return [::Google::Protobuf::Timestamp]
|
156
|
-
# Output only. Time when this stream was originally created.
|
157
|
-
# @!attribute [r] update_time
|
158
|
-
# @return [::Google::Protobuf::Timestamp]
|
159
|
-
# Output only. Time when stream payload fields were last updated.
|
160
|
-
# @!attribute [rw] bundle_id
|
161
|
-
# @return [::String]
|
162
|
-
# Required. Immutable. The Apple App Store Bundle ID for the app
|
163
|
-
# Example: "com.example.myiosapp"
|
164
|
-
# @!attribute [rw] display_name
|
165
|
-
# @return [::String]
|
166
|
-
# Human-readable display name for the Data Stream.
|
144
|
+
# Required for web data streams.
|
167
145
|
#
|
168
146
|
# The max allowed display name length is 255 UTF-16 code units.
|
169
|
-
class IosAppDataStream
|
170
|
-
include ::Google::Protobuf::MessageExts
|
171
|
-
extend ::Google::Protobuf::MessageExts::ClassMethods
|
172
|
-
end
|
173
|
-
|
174
|
-
# A resource message representing a Google Analytics web stream.
|
175
|
-
# @!attribute [r] name
|
176
|
-
# @return [::String]
|
177
|
-
# Output only. Resource name of this Data Stream.
|
178
|
-
# Format: properties/\\{property_id}/webDataStreams/\\{stream_id}
|
179
|
-
# Example: "properties/1000/webDataStreams/2000"
|
180
|
-
# @!attribute [r] measurement_id
|
181
|
-
# @return [::String]
|
182
|
-
# Output only. Analytics "Measurement ID", without the "G-" prefix.
|
183
|
-
# Example: "G-1A2BCD345E" would just be "1A2BCD345E"
|
184
|
-
# @!attribute [r] firebase_app_id
|
185
|
-
# @return [::String]
|
186
|
-
# Output only. ID of the corresponding web app in Firebase, if any.
|
187
|
-
# This ID can change if the web app is deleted and recreated.
|
188
147
|
# @!attribute [r] create_time
|
189
148
|
# @return [::Google::Protobuf::Timestamp]
|
190
149
|
# Output only. Time when this stream was originally created.
|
191
150
|
# @!attribute [r] update_time
|
192
151
|
# @return [::Google::Protobuf::Timestamp]
|
193
152
|
# Output only. Time when stream payload fields were last updated.
|
194
|
-
|
195
|
-
# @return [::String]
|
196
|
-
# Immutable. Domain name of the web app being measured, or empty.
|
197
|
-
# Example: "http://www.google.com", "https://www.google.com"
|
198
|
-
# @!attribute [rw] display_name
|
199
|
-
# @return [::String]
|
200
|
-
# Required. Human-readable display name for the Data Stream.
|
201
|
-
#
|
202
|
-
# The max allowed display name length is 100 UTF-16 code units.
|
203
|
-
class WebDataStream
|
153
|
+
class DataStream
|
204
154
|
include ::Google::Protobuf::MessageExts
|
205
155
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
156
|
+
|
157
|
+
# Data specific to web streams.
|
158
|
+
# @!attribute [r] measurement_id
|
159
|
+
# @return [::String]
|
160
|
+
# Output only. Analytics "Measurement ID", without the "G-" prefix.
|
161
|
+
# Example: "G-1A2BCD345E" would just be "1A2BCD345E"
|
162
|
+
# @!attribute [r] firebase_app_id
|
163
|
+
# @return [::String]
|
164
|
+
# Output only. ID of the corresponding web app in Firebase, if any.
|
165
|
+
# This ID can change if the web app is deleted and recreated.
|
166
|
+
# @!attribute [rw] default_uri
|
167
|
+
# @return [::String]
|
168
|
+
# Immutable. Domain name of the web app being measured, or empty.
|
169
|
+
# Example: "http://www.google.com", "https://www.google.com"
|
170
|
+
class WebStreamData
|
171
|
+
include ::Google::Protobuf::MessageExts
|
172
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
173
|
+
end
|
174
|
+
|
175
|
+
# Data specific to Android app streams.
|
176
|
+
# @!attribute [r] firebase_app_id
|
177
|
+
# @return [::String]
|
178
|
+
# Output only. ID of the corresponding Android app in Firebase, if any.
|
179
|
+
# This ID can change if the Android app is deleted and recreated.
|
180
|
+
# @!attribute [rw] package_name
|
181
|
+
# @return [::String]
|
182
|
+
# Immutable. The package name for the app being measured.
|
183
|
+
# Example: "com.example.myandroidapp"
|
184
|
+
class AndroidAppStreamData
|
185
|
+
include ::Google::Protobuf::MessageExts
|
186
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
187
|
+
end
|
188
|
+
|
189
|
+
# Data specific to iOS app streams.
|
190
|
+
# @!attribute [r] firebase_app_id
|
191
|
+
# @return [::String]
|
192
|
+
# Output only. ID of the corresponding iOS app in Firebase, if any.
|
193
|
+
# This ID can change if the iOS app is deleted and recreated.
|
194
|
+
# @!attribute [rw] bundle_id
|
195
|
+
# @return [::String]
|
196
|
+
# Required. Immutable. The Apple App Store Bundle ID for the app
|
197
|
+
# Example: "com.example.myiosapp"
|
198
|
+
class IosAppStreamData
|
199
|
+
include ::Google::Protobuf::MessageExts
|
200
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
201
|
+
end
|
202
|
+
|
203
|
+
# The type of the data stream.
|
204
|
+
module DataStreamType
|
205
|
+
# Type unknown or not specified.
|
206
|
+
DATA_STREAM_TYPE_UNSPECIFIED = 0
|
207
|
+
|
208
|
+
# Web data stream.
|
209
|
+
WEB_DATA_STREAM = 1
|
210
|
+
|
211
|
+
# Android app data stream.
|
212
|
+
ANDROID_APP_DATA_STREAM = 2
|
213
|
+
|
214
|
+
# iOS app data stream.
|
215
|
+
IOS_APP_DATA_STREAM = 3
|
216
|
+
end
|
206
217
|
end
|
207
218
|
|
208
219
|
# A resource message representing a user's permissions on an Account or
|
@@ -218,10 +229,12 @@ module Google
|
|
218
229
|
# Roles directly assigned to this user for this account or property.
|
219
230
|
#
|
220
231
|
# Valid values:
|
221
|
-
# predefinedRoles/
|
222
|
-
# predefinedRoles/
|
223
|
-
# predefinedRoles/
|
224
|
-
# predefinedRoles/
|
232
|
+
# predefinedRoles/viewer
|
233
|
+
# predefinedRoles/analyst
|
234
|
+
# predefinedRoles/editor
|
235
|
+
# predefinedRoles/admin
|
236
|
+
# predefinedRoles/no-cost-data
|
237
|
+
# predefinedRoles/no-revenue-data
|
225
238
|
#
|
226
239
|
# Excludes roles that are inherited from a higher-level entity, group,
|
227
240
|
# or organization admin role.
|
@@ -244,7 +257,7 @@ module Google
|
|
244
257
|
# @return [::Array<::String>]
|
245
258
|
# Roles directly assigned to this user for this entity.
|
246
259
|
#
|
247
|
-
# Format: predefinedRoles/
|
260
|
+
# Format: predefinedRoles/viewer
|
248
261
|
#
|
249
262
|
# Excludes roles that are inherited from an account (if this is for a
|
250
263
|
# property), group, or organization admin role.
|
@@ -253,72 +266,13 @@ module Google
|
|
253
266
|
# Union of all permissions a user has at this account or property (includes
|
254
267
|
# direct permissions, group-inherited permissions, etc.).
|
255
268
|
#
|
256
|
-
# Format: predefinedRoles/
|
269
|
+
# Format: predefinedRoles/viewer
|
257
270
|
class AuditUserLink
|
258
271
|
include ::Google::Protobuf::MessageExts
|
259
272
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
260
273
|
end
|
261
274
|
|
262
|
-
#
|
263
|
-
# additional site interactions and content.
|
264
|
-
# @!attribute [r] name
|
265
|
-
# @return [::String]
|
266
|
-
# Output only. Resource name of this Data Stream.
|
267
|
-
# Format:
|
268
|
-
# properties/\\{property_id}/webDataStreams/\\{stream_id}/enhancedMeasurementSettings
|
269
|
-
# Example: "properties/1000/webDataStreams/2000/enhancedMeasurementSettings"
|
270
|
-
# @!attribute [rw] stream_enabled
|
271
|
-
# @return [::Boolean]
|
272
|
-
# Indicates whether Enhanced Measurement Settings will be used to
|
273
|
-
# automatically measure interactions and content on this web stream.
|
274
|
-
#
|
275
|
-
# Changing this value does not affect the settings themselves, but determines
|
276
|
-
# whether they are respected.
|
277
|
-
# @!attribute [r] page_views_enabled
|
278
|
-
# @return [::Boolean]
|
279
|
-
# Output only. If enabled, capture a page view event each time a page loads or the
|
280
|
-
# website changes the browser history state.
|
281
|
-
# @!attribute [rw] scrolls_enabled
|
282
|
-
# @return [::Boolean]
|
283
|
-
# If enabled, capture scroll events each time a visitor gets to the bottom of
|
284
|
-
# a page.
|
285
|
-
# @!attribute [rw] outbound_clicks_enabled
|
286
|
-
# @return [::Boolean]
|
287
|
-
# If enabled, capture an outbound click event each time a visitor clicks a
|
288
|
-
# link that leads them away from your domain.
|
289
|
-
# @!attribute [rw] site_search_enabled
|
290
|
-
# @return [::Boolean]
|
291
|
-
# If enabled, capture a view search results event each time a visitor
|
292
|
-
# performs a search on your site (based on a query parameter).
|
293
|
-
# @!attribute [rw] video_engagement_enabled
|
294
|
-
# @return [::Boolean]
|
295
|
-
# If enabled, capture video play, progress, and complete events as visitors
|
296
|
-
# view embedded videos on your site.
|
297
|
-
# @!attribute [rw] file_downloads_enabled
|
298
|
-
# @return [::Boolean]
|
299
|
-
# If enabled, capture a file download event each time a link is clicked with
|
300
|
-
# a common document, compressed file, application, video, or audio extension.
|
301
|
-
# @!attribute [r] page_loads_enabled
|
302
|
-
# @return [::Boolean]
|
303
|
-
# Output only. If enabled, capture a page view event each time a page loads.
|
304
|
-
# @!attribute [rw] page_changes_enabled
|
305
|
-
# @return [::Boolean]
|
306
|
-
# If enabled, capture a page view event each time the website changes the
|
307
|
-
# browser history state.
|
308
|
-
# @!attribute [rw] search_query_parameter
|
309
|
-
# @return [::String]
|
310
|
-
# Required. URL query parameters to interpret as site search parameters.
|
311
|
-
# Max length is 1024 characters. Must not be empty.
|
312
|
-
# @!attribute [rw] uri_query_parameter
|
313
|
-
# @return [::String]
|
314
|
-
# Additional URL query parameters.
|
315
|
-
# Max length is 1024 characters.
|
316
|
-
class EnhancedMeasurementSettings
|
317
|
-
include ::Google::Protobuf::MessageExts
|
318
|
-
extend ::Google::Protobuf::MessageExts::ClassMethods
|
319
|
-
end
|
320
|
-
|
321
|
-
# A link between an GA4 property and a Firebase project.
|
275
|
+
# A link between a GA4 property and a Firebase project.
|
322
276
|
# @!attribute [r] name
|
323
277
|
# @return [::String]
|
324
278
|
# Output only. Example format: properties/1234/firebaseLinks/5678
|
@@ -340,11 +294,12 @@ module Google
|
|
340
294
|
end
|
341
295
|
|
342
296
|
# Read-only resource with the tag for sending data from a website to a
|
343
|
-
#
|
297
|
+
# DataStream. Only present for web DataStream resources.
|
344
298
|
# @!attribute [r] name
|
345
299
|
# @return [::String]
|
346
300
|
# Output only. Resource name for this GlobalSiteTag resource.
|
347
|
-
# Format: properties/\\{
|
301
|
+
# Format: properties/\\{property_id}/dataStreams/\\{stream_id}/globalSiteTag
|
302
|
+
# Example: "properties/123/dataStreams/456/globalSiteTag"
|
348
303
|
# @!attribute [rw] snippet
|
349
304
|
# @return [::String]
|
350
305
|
# Immutable. JavaScript code snippet to be pasted as the first item into the head tag of
|
@@ -354,7 +309,7 @@ module Google
|
|
354
309
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
355
310
|
end
|
356
311
|
|
357
|
-
# A link between
|
312
|
+
# A link between a GA4 property and a Google Ads account.
|
358
313
|
# @!attribute [r] name
|
359
314
|
# @return [::String]
|
360
315
|
# Output only. Format: properties/\\{propertyId}/googleAdsLinks/\\{googleAdsLinkId}
|
@@ -441,7 +396,7 @@ module Google
|
|
441
396
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
442
397
|
end
|
443
398
|
|
444
|
-
# A virtual resource representing metadata for
|
399
|
+
# A virtual resource representing metadata for a GA4 property.
|
445
400
|
# @!attribute [rw] property
|
446
401
|
# @return [::String]
|
447
402
|
# Resource name of property referred to by this property summary
|
@@ -449,7 +404,7 @@ module Google
|
|
449
404
|
# Example: "properties/1000"
|
450
405
|
# @!attribute [rw] display_name
|
451
406
|
# @return [::String]
|
452
|
-
# Display name for the property referred to in this
|
407
|
+
# Display name for the property referred to in this property summary.
|
453
408
|
class PropertySummary
|
454
409
|
include ::Google::Protobuf::MessageExts
|
455
410
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -533,15 +488,6 @@ module Google
|
|
533
488
|
# @!attribute [rw] property
|
534
489
|
# @return [::Google::Analytics::Admin::V1alpha::Property]
|
535
490
|
# A snapshot of a Property resource in change history.
|
536
|
-
# @!attribute [rw] web_data_stream
|
537
|
-
# @return [::Google::Analytics::Admin::V1alpha::WebDataStream]
|
538
|
-
# A snapshot of a WebDataStream resource in change history.
|
539
|
-
# @!attribute [rw] android_app_data_stream
|
540
|
-
# @return [::Google::Analytics::Admin::V1alpha::AndroidAppDataStream]
|
541
|
-
# A snapshot of an AndroidAppDataStream resource in change history.
|
542
|
-
# @!attribute [rw] ios_app_data_stream
|
543
|
-
# @return [::Google::Analytics::Admin::V1alpha::IosAppDataStream]
|
544
|
-
# A snapshot of an IosAppDataStream resource in change history.
|
545
491
|
# @!attribute [rw] firebase_link
|
546
492
|
# @return [::Google::Analytics::Admin::V1alpha::FirebaseLink]
|
547
493
|
# A snapshot of a FirebaseLink resource in change history.
|
@@ -574,6 +520,9 @@ module Google
|
|
574
520
|
# @!attribute [rw] data_retention_settings
|
575
521
|
# @return [::Google::Analytics::Admin::V1alpha::DataRetentionSettings]
|
576
522
|
# A snapshot of a data retention settings resource in change history.
|
523
|
+
# @!attribute [rw] data_stream
|
524
|
+
# @return [::Google::Analytics::Admin::V1alpha::DataStream]
|
525
|
+
# A snapshot of a DataStream resource in change history.
|
577
526
|
class ChangeHistoryResource
|
578
527
|
include ::Google::Protobuf::MessageExts
|
579
528
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -606,7 +555,7 @@ module Google
|
|
606
555
|
# @!attribute [rw] cost_data_sharing_enabled
|
607
556
|
# @return [::Google::Protobuf::BoolValue]
|
608
557
|
# Immutable. Enables the import of cost data from Display & Video 360 into the GA4
|
609
|
-
# property. This can only be enabled if
|
558
|
+
# property. This can only be enabled if campaign_data_sharing_enabled is
|
610
559
|
# enabled. After link creation, this can only be updated from the Display &
|
611
560
|
# Video 360 product.
|
612
561
|
# If this field is not set on create, it will be defaulted to true.
|
@@ -615,7 +564,7 @@ module Google
|
|
615
564
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
616
565
|
end
|
617
566
|
|
618
|
-
# A proposal for a link between
|
567
|
+
# A proposal for a link between a GA4 property and a Display & Video 360
|
619
568
|
# advertiser.
|
620
569
|
#
|
621
570
|
# A proposal is converted to a DisplayVideo360AdvertiserLink once approved.
|
@@ -657,7 +606,7 @@ module Google
|
|
657
606
|
# @!attribute [rw] cost_data_sharing_enabled
|
658
607
|
# @return [::Google::Protobuf::BoolValue]
|
659
608
|
# Immutable. Enables the import of cost data from Display & Video 360.
|
660
|
-
# This can only be enabled if
|
609
|
+
# This can only be enabled if campaign_data_sharing_enabled is enabled.
|
661
610
|
# If this field is not set on create, it will be defaulted to true.
|
662
611
|
class DisplayVideo360AdvertiserLinkProposal
|
663
612
|
include ::Google::Protobuf::MessageExts
|
@@ -807,6 +756,11 @@ module Google
|
|
807
756
|
# @!attribute [rw] scope
|
808
757
|
# @return [::Google::Analytics::Admin::V1alpha::CustomMetric::MetricScope]
|
809
758
|
# Required. Immutable. The scope of this custom metric.
|
759
|
+
# @!attribute [rw] restricted_metric_type
|
760
|
+
# @return [::Array<::Google::Analytics::Admin::V1alpha::CustomMetric::RestrictedMetricType>]
|
761
|
+
# Optional. Types of restricted data that this metric may contain. Required for metrics
|
762
|
+
# with CURRENCY measurement unit. Must be empty for metrics with a
|
763
|
+
# non-CURRENCY measurement unit.
|
810
764
|
class CustomMetric
|
811
765
|
include ::Google::Protobuf::MessageExts
|
812
766
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -858,6 +812,19 @@ module Google
|
|
858
812
|
# Metric scoped to an event.
|
859
813
|
EVENT = 1
|
860
814
|
end
|
815
|
+
|
816
|
+
# Labels that mark the data in this custom metric as data that should be
|
817
|
+
# restricted to specific users.
|
818
|
+
module RestrictedMetricType
|
819
|
+
# Type unknown or unspecified.
|
820
|
+
RESTRICTED_METRIC_TYPE_UNSPECIFIED = 0
|
821
|
+
|
822
|
+
# Metric reports cost data.
|
823
|
+
COST_DATA = 1
|
824
|
+
|
825
|
+
# Metric reports revenue data.
|
826
|
+
REVENUE_DATA = 2
|
827
|
+
end
|
861
828
|
end
|
862
829
|
|
863
830
|
# Settings values for data retention. This is a singleton resource.
|
@@ -1039,15 +1006,6 @@ module Google
|
|
1039
1006
|
# Property resource
|
1040
1007
|
PROPERTY = 2
|
1041
1008
|
|
1042
|
-
# WebDataStream resource
|
1043
|
-
WEB_DATA_STREAM = 3
|
1044
|
-
|
1045
|
-
# AndroidAppDataStream resource
|
1046
|
-
ANDROID_APP_DATA_STREAM = 4
|
1047
|
-
|
1048
|
-
# IosAppDataStream resource
|
1049
|
-
IOS_APP_DATA_STREAM = 5
|
1050
|
-
|
1051
1009
|
# FirebaseLink resource
|
1052
1010
|
FIREBASE_LINK = 6
|
1053
1011
|
|
@@ -1071,6 +1029,15 @@ module Google
|
|
1071
1029
|
|
1072
1030
|
# DataRetentionSettings resource
|
1073
1031
|
DATA_RETENTION_SETTINGS = 13
|
1032
|
+
|
1033
|
+
# DisplayVideo360AdvertiserLink resource
|
1034
|
+
DISPLAY_VIDEO_360_ADVERTISER_LINK = 14
|
1035
|
+
|
1036
|
+
# DisplayVideo360AdvertiserLinkProposal resource
|
1037
|
+
DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL = 15
|
1038
|
+
|
1039
|
+
# DataStream resource
|
1040
|
+
DATA_STREAM = 18
|
1074
1041
|
end
|
1075
1042
|
|
1076
1043
|
# Status of the Google Signals settings (i.e., whether this feature has been
|
@@ -33,11 +33,7 @@ module Google
|
|
33
33
|
# // For Kubernetes resources, the format is {api group}/{kind}.
|
34
34
|
# option (google.api.resource) = {
|
35
35
|
# type: "pubsub.googleapis.com/Topic"
|
36
|
-
#
|
37
|
-
# pattern: "projects/{project}/topics/{topic}"
|
38
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Project"
|
39
|
-
# parent_name_extractor: "projects/{project}"
|
40
|
-
# }
|
36
|
+
# pattern: "projects/{project}/topics/{topic}"
|
41
37
|
# };
|
42
38
|
# }
|
43
39
|
#
|
@@ -45,10 +41,7 @@ module Google
|
|
45
41
|
#
|
46
42
|
# resources:
|
47
43
|
# - type: "pubsub.googleapis.com/Topic"
|
48
|
-
#
|
49
|
-
# - pattern: "projects/{project}/topics/{topic}"
|
50
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Project"
|
51
|
-
# parent_name_extractor: "projects/{project}"
|
44
|
+
# pattern: "projects/{project}/topics/{topic}"
|
52
45
|
#
|
53
46
|
# Sometimes, resources have multiple patterns, typically because they can
|
54
47
|
# live under multiple parents.
|
@@ -58,26 +51,10 @@ module Google
|
|
58
51
|
# message LogEntry {
|
59
52
|
# option (google.api.resource) = {
|
60
53
|
# type: "logging.googleapis.com/LogEntry"
|
61
|
-
#
|
62
|
-
#
|
63
|
-
#
|
64
|
-
#
|
65
|
-
# }
|
66
|
-
# name_descriptor: {
|
67
|
-
# pattern: "folders/{folder}/logs/{log}"
|
68
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Folder"
|
69
|
-
# parent_name_extractor: "folders/{folder}"
|
70
|
-
# }
|
71
|
-
# name_descriptor: {
|
72
|
-
# pattern: "organizations/{organization}/logs/{log}"
|
73
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Organization"
|
74
|
-
# parent_name_extractor: "organizations/{organization}"
|
75
|
-
# }
|
76
|
-
# name_descriptor: {
|
77
|
-
# pattern: "billingAccounts/{billing_account}/logs/{log}"
|
78
|
-
# parent_type: "billing.googleapis.com/BillingAccount"
|
79
|
-
# parent_name_extractor: "billingAccounts/{billing_account}"
|
80
|
-
# }
|
54
|
+
# pattern: "projects/{project}/logs/{log}"
|
55
|
+
# pattern: "folders/{folder}/logs/{log}"
|
56
|
+
# pattern: "organizations/{organization}/logs/{log}"
|
57
|
+
# pattern: "billingAccounts/{billing_account}/logs/{log}"
|
81
58
|
# };
|
82
59
|
# }
|
83
60
|
#
|
@@ -85,48 +62,10 @@ module Google
|
|
85
62
|
#
|
86
63
|
# resources:
|
87
64
|
# - type: 'logging.googleapis.com/LogEntry'
|
88
|
-
#
|
89
|
-
#
|
90
|
-
#
|
91
|
-
#
|
92
|
-
# - pattern: "folders/{folder}/logs/{log}"
|
93
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Folder"
|
94
|
-
# parent_name_extractor: "folders/{folder}"
|
95
|
-
# - pattern: "organizations/{organization}/logs/{log}"
|
96
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Organization"
|
97
|
-
# parent_name_extractor: "organizations/{organization}"
|
98
|
-
# - pattern: "billingAccounts/{billing_account}/logs/{log}"
|
99
|
-
# parent_type: "billing.googleapis.com/BillingAccount"
|
100
|
-
# parent_name_extractor: "billingAccounts/{billing_account}"
|
101
|
-
#
|
102
|
-
# For flexible resources, the resource name doesn't contain parent names, but
|
103
|
-
# the resource itself has parents for policy evaluation.
|
104
|
-
#
|
105
|
-
# Example:
|
106
|
-
#
|
107
|
-
# message Shelf {
|
108
|
-
# option (google.api.resource) = {
|
109
|
-
# type: "library.googleapis.com/Shelf"
|
110
|
-
# name_descriptor: {
|
111
|
-
# pattern: "shelves/{shelf}"
|
112
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Project"
|
113
|
-
# }
|
114
|
-
# name_descriptor: {
|
115
|
-
# pattern: "shelves/{shelf}"
|
116
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Folder"
|
117
|
-
# }
|
118
|
-
# };
|
119
|
-
# }
|
120
|
-
#
|
121
|
-
# The ResourceDescriptor Yaml config will look like:
|
122
|
-
#
|
123
|
-
# resources:
|
124
|
-
# - type: 'library.googleapis.com/Shelf'
|
125
|
-
# name_descriptor:
|
126
|
-
# - pattern: "shelves/{shelf}"
|
127
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Project"
|
128
|
-
# - pattern: "shelves/{shelf}"
|
129
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Folder"
|
65
|
+
# pattern: "projects/{project}/logs/{log}"
|
66
|
+
# pattern: "folders/{folder}/logs/{log}"
|
67
|
+
# pattern: "organizations/{organization}/logs/{log}"
|
68
|
+
# pattern: "billingAccounts/{billing_account}/logs/{log}"
|
130
69
|
# @!attribute [rw] type
|
131
70
|
# @return [::String]
|
132
71
|
# The resource type. It must be in the format of
|
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.11.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:
|
11
|
+
date: 2022-03-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -208,7 +208,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
208
208
|
- !ruby/object:Gem::Version
|
209
209
|
version: '0'
|
210
210
|
requirements: []
|
211
|
-
rubygems_version: 3.
|
211
|
+
rubygems_version: 3.3.5
|
212
212
|
signing_key:
|
213
213
|
specification_version: 4
|
214
214
|
summary: API Client library for the Google Analytics Admin V1alpha API
|