google-analytics-admin-v1alpha 0.10.0 → 0.11.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
  #
@@ -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
- "properties/#{property}/globalSiteTag"
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}/webDataStreams/{web_data_stream}/measurementProtocolSecrets/{measurement_protocol_secret}`
235
+ # `properties/{property}/dataStreams/{data_stream}/measurementProtocolSecrets/{measurement_protocol_secret}`
267
236
  #
268
237
  # @param property [String]
269
- # @param web_data_stream [String]
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:, web_data_stream:, measurement_protocol_secret:
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, "web_data_stream cannot contain /" if web_data_stream.to_s.include? "/"
244
+ raise ::ArgumentError, "data_stream cannot contain /" if data_stream.to_s.include? "/"
276
245
 
277
- "properties/#{property}/webDataStreams/#{web_data_stream}/measurementProtocolSecrets/#{measurement_protocol_secret}"
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
@@ -119,41 +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
122
  # Creates a FirebaseLink.
158
123
  #
159
124
  # Properties can have at most one FirebaseLink.
@@ -31,31 +31,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
31
31
  optional :expire_time, :message, 12, "google.protobuf.Timestamp"
32
32
  optional :account, :string, 13
33
33
  end
34
- add_message "google.analytics.admin.v1alpha.AndroidAppDataStream" do
35
- optional :name, :string, 1
36
- optional :firebase_app_id, :string, 2
37
- optional :create_time, :message, 3, "google.protobuf.Timestamp"
38
- optional :update_time, :message, 4, "google.protobuf.Timestamp"
39
- optional :package_name, :string, 5
40
- optional :display_name, :string, 6
41
- end
42
- add_message "google.analytics.admin.v1alpha.IosAppDataStream" do
43
- optional :name, :string, 1
44
- optional :firebase_app_id, :string, 2
45
- optional :create_time, :message, 3, "google.protobuf.Timestamp"
46
- optional :update_time, :message, 4, "google.protobuf.Timestamp"
47
- optional :bundle_id, :string, 5
48
- optional :display_name, :string, 6
49
- end
50
- add_message "google.analytics.admin.v1alpha.WebDataStream" do
51
- optional :name, :string, 1
52
- optional :measurement_id, :string, 2
53
- optional :firebase_app_id, :string, 3
54
- optional :create_time, :message, 4, "google.protobuf.Timestamp"
55
- optional :update_time, :message, 5, "google.protobuf.Timestamp"
56
- optional :default_uri, :string, 6
57
- optional :display_name, :string, 7
58
- end
59
34
  add_message "google.analytics.admin.v1alpha.DataStream" do
60
35
  optional :name, :string, 1
61
36
  optional :type, :enum, 2, "google.analytics.admin.v1alpha.DataStream.DataStreamType"
@@ -157,9 +132,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
157
132
  oneof :resource do
158
133
  optional :account, :message, 1, "google.analytics.admin.v1alpha.Account"
159
134
  optional :property, :message, 2, "google.analytics.admin.v1alpha.Property"
160
- optional :web_data_stream, :message, 3, "google.analytics.admin.v1alpha.WebDataStream"
161
- optional :android_app_data_stream, :message, 4, "google.analytics.admin.v1alpha.AndroidAppDataStream"
162
- optional :ios_app_data_stream, :message, 5, "google.analytics.admin.v1alpha.IosAppDataStream"
163
135
  optional :firebase_link, :message, 6, "google.analytics.admin.v1alpha.FirebaseLink"
164
136
  optional :google_ads_link, :message, 7, "google.analytics.admin.v1alpha.GoogleAdsLink"
165
137
  optional :google_signals_settings, :message, 8, "google.analytics.admin.v1alpha.GoogleSignalsSettings"
@@ -170,6 +142,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
170
142
  optional :custom_dimension, :message, 13, "google.analytics.admin.v1alpha.CustomDimension"
171
143
  optional :custom_metric, :message, 14, "google.analytics.admin.v1alpha.CustomMetric"
172
144
  optional :data_retention_settings, :message, 15, "google.analytics.admin.v1alpha.DataRetentionSettings"
145
+ optional :data_stream, :message, 18, "google.analytics.admin.v1alpha.DataStream"
173
146
  end
174
147
  end
175
148
  add_message "google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink" do
@@ -227,6 +200,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
227
200
  optional :description, :string, 4
228
201
  optional :measurement_unit, :enum, 5, "google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit"
229
202
  optional :scope, :enum, 6, "google.analytics.admin.v1alpha.CustomMetric.MetricScope"
203
+ repeated :restricted_metric_type, :enum, 8, "google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType"
230
204
  end
231
205
  add_enum "google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit" do
232
206
  value :MEASUREMENT_UNIT_UNSPECIFIED, 0
@@ -245,6 +219,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
245
219
  value :METRIC_SCOPE_UNSPECIFIED, 0
246
220
  value :EVENT, 1
247
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
248
227
  add_message "google.analytics.admin.v1alpha.DataRetentionSettings" do
249
228
  optional :name, :string, 1
250
229
  optional :event_data_retention, :enum, 2, "google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration"
@@ -308,9 +287,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
308
287
  value :CHANGE_HISTORY_RESOURCE_TYPE_UNSPECIFIED, 0
309
288
  value :ACCOUNT, 1
310
289
  value :PROPERTY, 2
311
- value :WEB_DATA_STREAM, 3
312
- value :ANDROID_APP_DATA_STREAM, 4
313
- value :IOS_APP_DATA_STREAM, 5
314
290
  value :FIREBASE_LINK, 6
315
291
  value :GOOGLE_ADS_LINK, 7
316
292
  value :GOOGLE_SIGNALS_SETTINGS, 8
@@ -321,6 +297,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
321
297
  value :DATA_RETENTION_SETTINGS, 13
322
298
  value :DISPLAY_VIDEO_360_ADVERTISER_LINK, 14
323
299
  value :DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL, 15
300
+ value :DATA_STREAM, 18
324
301
  end
325
302
  add_enum "google.analytics.admin.v1alpha.GoogleSignalsState" do
326
303
  value :GOOGLE_SIGNALS_STATE_UNSPECIFIED, 0
@@ -355,9 +332,6 @@ module Google
355
332
  module V1alpha
356
333
  Account = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.Account").msgclass
357
334
  Property = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.Property").msgclass
358
- AndroidAppDataStream = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.AndroidAppDataStream").msgclass
359
- IosAppDataStream = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.IosAppDataStream").msgclass
360
- WebDataStream = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.WebDataStream").msgclass
361
335
  DataStream = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.DataStream").msgclass
362
336
  DataStream::WebStreamData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.DataStream.WebStreamData").msgclass
363
337
  DataStream::AndroidAppStreamData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData").msgclass
@@ -385,6 +359,7 @@ module Google
385
359
  CustomMetric = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.CustomMetric").msgclass
386
360
  CustomMetric::MeasurementUnit = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit").enummodule
387
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
388
363
  DataRetentionSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.DataRetentionSettings").msgclass
389
364
  DataRetentionSettings::RetentionDuration = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration").enummodule
390
365
  IndustryCategory = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.IndustryCategory").enummodule
@@ -21,7 +21,7 @@ module Google
21
21
  module Analytics
22
22
  module Admin
23
23
  module V1alpha
24
- VERSION = "0.10.0"
24
+ VERSION = "0.11.0"
25
25
  end
26
26
  end
27
27
  end
@@ -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
  #
@@ -132,14 +132,17 @@ module Google
132
132
  # @return [::String]
133
133
  # Required. An expression for filtering the results of the request.
134
134
  # Fields eligible for filtering are:
135
- # `parent:`(The resource name of the parent account) or
135
+ # `parent:`(The resource name of the parent account/property) or
136
+ # `ancestor:`(The resource name of the parent account) or
136
137
  # `firebase_project:`(The id or number of the linked firebase project).
137
138
  # Some examples of filters:
138
139
  #
139
140
  # ```
140
141
  # | Filter | Description |
141
142
  # |-----------------------------|-------------------------------------------|
142
- # | parent:accounts/123 | The account with account id: 123. |
143
+ # | parent:accounts/123 | The account with account id: 123. |
144
+ # | parent:properties/123 | The property with property id: 123. |
145
+ # | ancestor:accounts/123 | The account with account id: 123. |
143
146
  # | firebase_project:project-id | The firebase project with id: project-id. |
144
147
  # | firebase_project:123 | The firebase project with number: 123. |
145
148
  # ```
@@ -431,237 +434,6 @@ module Google
431
434
  extend ::Google::Protobuf::MessageExts::ClassMethods
432
435
  end
433
436
 
434
- # Request message for GetWebDataStream RPC.
435
- # @!attribute [rw] name
436
- # @return [::String]
437
- # Required. The name of the web data stream to lookup.
438
- # Format: properties/\\{property_id}/webDataStreams/\\{stream_id}
439
- # Example: "properties/123/webDataStreams/456"
440
- class GetWebDataStreamRequest
441
- include ::Google::Protobuf::MessageExts
442
- extend ::Google::Protobuf::MessageExts::ClassMethods
443
- end
444
-
445
- # Request message for DeleteWebDataStream RPC.
446
- # @!attribute [rw] name
447
- # @return [::String]
448
- # Required. The name of the web data stream to delete.
449
- # Format: properties/\\{property_id}/webDataStreams/\\{stream_id}
450
- # Example: "properties/123/webDataStreams/456"
451
- class DeleteWebDataStreamRequest
452
- include ::Google::Protobuf::MessageExts
453
- extend ::Google::Protobuf::MessageExts::ClassMethods
454
- end
455
-
456
- # Request message for UpdateWebDataStream RPC.
457
- # @!attribute [rw] web_data_stream
458
- # @return [::Google::Analytics::Admin::V1alpha::WebDataStream]
459
- # Required. The web stream to update.
460
- # The `name` field is used to identify the web stream to be updated.
461
- # @!attribute [rw] update_mask
462
- # @return [::Google::Protobuf::FieldMask]
463
- # Required. The list of fields to be updated. Field names must be in snake case
464
- # (e.g., "field_to_update"). Omitted fields will not be updated. To replace
465
- # the entire entity, use one path with the string "*" to match all fields.
466
- class UpdateWebDataStreamRequest
467
- include ::Google::Protobuf::MessageExts
468
- extend ::Google::Protobuf::MessageExts::ClassMethods
469
- end
470
-
471
- # Request message for CreateWebDataStream RPC.
472
- # @!attribute [rw] web_data_stream
473
- # @return [::Google::Analytics::Admin::V1alpha::WebDataStream]
474
- # Required. The web stream to create.
475
- # @!attribute [rw] parent
476
- # @return [::String]
477
- # Required. The parent resource where this web data stream will be created.
478
- # Format: properties/123
479
- class CreateWebDataStreamRequest
480
- include ::Google::Protobuf::MessageExts
481
- extend ::Google::Protobuf::MessageExts::ClassMethods
482
- end
483
-
484
- # Request message for ListWebDataStreams RPC.
485
- # @!attribute [rw] parent
486
- # @return [::String]
487
- # Required. The name of the parent property.
488
- # For example, to list results of web streams under the property with Id
489
- # 123: "properties/123"
490
- # @!attribute [rw] page_size
491
- # @return [::Integer]
492
- # The maximum number of resources to return.
493
- # If unspecified, at most 50 resources will be returned.
494
- # The maximum value is 200; (higher values will be coerced to the maximum)
495
- # @!attribute [rw] page_token
496
- # @return [::String]
497
- # A page token, received from a previous `ListWebDataStreams` call.
498
- # Provide this to retrieve the subsequent page.
499
- # When paginating, all other parameters provided to `ListWebDataStreams` must
500
- # match the call that provided the page token.
501
- class ListWebDataStreamsRequest
502
- include ::Google::Protobuf::MessageExts
503
- extend ::Google::Protobuf::MessageExts::ClassMethods
504
- end
505
-
506
- # Request message for ListWebDataStreams RPC.
507
- # @!attribute [rw] web_data_streams
508
- # @return [::Array<::Google::Analytics::Admin::V1alpha::WebDataStream>]
509
- # Results that matched the filter criteria and were accessible to the caller.
510
- # @!attribute [rw] next_page_token
511
- # @return [::String]
512
- # A token, which can be sent as `page_token` to retrieve the next page.
513
- # If this field is omitted, there are no subsequent pages.
514
- class ListWebDataStreamsResponse
515
- include ::Google::Protobuf::MessageExts
516
- extend ::Google::Protobuf::MessageExts::ClassMethods
517
- end
518
-
519
- # Request message for GetIosAppDataStream RPC.
520
- # @!attribute [rw] name
521
- # @return [::String]
522
- # Required. The name of the iOS app data stream to lookup.
523
- # Format: properties/\\{property_id}/iosAppDataStreams/\\{stream_id}
524
- # Example: "properties/123/iosAppDataStreams/456"
525
- class GetIosAppDataStreamRequest
526
- include ::Google::Protobuf::MessageExts
527
- extend ::Google::Protobuf::MessageExts::ClassMethods
528
- end
529
-
530
- # Request message for DeleteIosAppDataStream RPC.
531
- # @!attribute [rw] name
532
- # @return [::String]
533
- # Required. The name of the iOS app data stream to delete.
534
- # Format: properties/\\{property_id}/iosAppDataStreams/\\{stream_id}
535
- # Example: "properties/123/iosAppDataStreams/456"
536
- class DeleteIosAppDataStreamRequest
537
- include ::Google::Protobuf::MessageExts
538
- extend ::Google::Protobuf::MessageExts::ClassMethods
539
- end
540
-
541
- # Request message for UpdateIosAppDataStream RPC.
542
- # @!attribute [rw] ios_app_data_stream
543
- # @return [::Google::Analytics::Admin::V1alpha::IosAppDataStream]
544
- # Required. The iOS app stream to update.
545
- # The `name` field is used to identify the iOS app stream to be updated.
546
- # @!attribute [rw] update_mask
547
- # @return [::Google::Protobuf::FieldMask]
548
- # Required. The list of fields to be updated. Field names must be in snake case
549
- # (e.g., "field_to_update"). Omitted fields will not be updated. To replace
550
- # the entire entity, use one path with the string "*" to match all fields.
551
- class UpdateIosAppDataStreamRequest
552
- include ::Google::Protobuf::MessageExts
553
- extend ::Google::Protobuf::MessageExts::ClassMethods
554
- end
555
-
556
- # Request message for ListIosAppDataStreams RPC.
557
- # @!attribute [rw] parent
558
- # @return [::String]
559
- # Required. The name of the parent property.
560
- # For example, to list results of app streams under the property with Id
561
- # 123: "properties/123"
562
- # @!attribute [rw] page_size
563
- # @return [::Integer]
564
- # The maximum number of resources to return.
565
- # If unspecified, at most 50 resources will be returned.
566
- # The maximum value is 200; (higher values will be coerced to the maximum)
567
- # @!attribute [rw] page_token
568
- # @return [::String]
569
- # A page token, received from a previous `ListIosAppDataStreams`
570
- # call. Provide this to retrieve the subsequent page.
571
- # When paginating, all other parameters provided to `ListIosAppDataStreams`
572
- # must match the call that provided the page token.
573
- class ListIosAppDataStreamsRequest
574
- include ::Google::Protobuf::MessageExts
575
- extend ::Google::Protobuf::MessageExts::ClassMethods
576
- end
577
-
578
- # Request message for ListIosAppDataStreams RPC.
579
- # @!attribute [rw] ios_app_data_streams
580
- # @return [::Array<::Google::Analytics::Admin::V1alpha::IosAppDataStream>]
581
- # Results that matched the filter criteria and were accessible to the caller.
582
- # @!attribute [rw] next_page_token
583
- # @return [::String]
584
- # A token, which can be sent as `page_token` to retrieve the next page.
585
- # If this field is omitted, there are no subsequent pages.
586
- class ListIosAppDataStreamsResponse
587
- include ::Google::Protobuf::MessageExts
588
- extend ::Google::Protobuf::MessageExts::ClassMethods
589
- end
590
-
591
- # Request message for GetAndroidAppDataStream RPC.
592
- # @!attribute [rw] name
593
- # @return [::String]
594
- # Required. The name of the android app data stream to lookup.
595
- # Format: properties/\\{property_id}/androidAppDataStreams/\\{stream_id}
596
- # Example: "properties/123/androidAppDataStreams/456"
597
- class GetAndroidAppDataStreamRequest
598
- include ::Google::Protobuf::MessageExts
599
- extend ::Google::Protobuf::MessageExts::ClassMethods
600
- end
601
-
602
- # Request message for DeleteAndroidAppDataStream RPC.
603
- # @!attribute [rw] name
604
- # @return [::String]
605
- # Required. The name of the android app data stream to delete.
606
- # Format: properties/\\{property_id}/androidAppDataStreams/\\{stream_id}
607
- # Example: "properties/123/androidAppDataStreams/456"
608
- class DeleteAndroidAppDataStreamRequest
609
- include ::Google::Protobuf::MessageExts
610
- extend ::Google::Protobuf::MessageExts::ClassMethods
611
- end
612
-
613
- # Request message for UpdateAndroidAppDataStream RPC.
614
- # @!attribute [rw] android_app_data_stream
615
- # @return [::Google::Analytics::Admin::V1alpha::AndroidAppDataStream]
616
- # Required. The android app stream to update.
617
- # The `name` field is used to identify the android app stream to be updated.
618
- # @!attribute [rw] update_mask
619
- # @return [::Google::Protobuf::FieldMask]
620
- # Required. The list of fields to be updated. Field names must be in snake case
621
- # (e.g., "field_to_update"). Omitted fields will not be updated. To replace
622
- # the entire entity, use one path with the string "*" to match all fields.
623
- class UpdateAndroidAppDataStreamRequest
624
- include ::Google::Protobuf::MessageExts
625
- extend ::Google::Protobuf::MessageExts::ClassMethods
626
- end
627
-
628
- # Request message for ListAndroidAppDataStreams RPC.
629
- # @!attribute [rw] parent
630
- # @return [::String]
631
- # Required. The name of the parent property.
632
- # For example, to limit results to app streams under the property with Id
633
- # 123: "properties/123"
634
- # @!attribute [rw] page_size
635
- # @return [::Integer]
636
- # The maximum number of resources to return.
637
- #
638
- # If unspecified, at most 50 resources will be returned.
639
- # The maximum value is 200; (higher values will be coerced to the maximum)
640
- # @!attribute [rw] page_token
641
- # @return [::String]
642
- # A page token, received from a previous call. Provide this to
643
- # retrieve the subsequent page.
644
- # When paginating, all other parameters provided to
645
- # `ListAndroidAppDataStreams` must match the call that provided the page
646
- # token.
647
- class ListAndroidAppDataStreamsRequest
648
- include ::Google::Protobuf::MessageExts
649
- extend ::Google::Protobuf::MessageExts::ClassMethods
650
- end
651
-
652
- # Request message for ListAndroidDataStreams RPC.
653
- # @!attribute [rw] android_app_data_streams
654
- # @return [::Array<::Google::Analytics::Admin::V1alpha::AndroidAppDataStream>]
655
- # Results that matched the filter criteria and were accessible to the caller.
656
- # @!attribute [rw] next_page_token
657
- # @return [::String]
658
- # A token, which can be sent as `page_token` to retrieve the next page.
659
- # If this field is omitted, there are no subsequent pages.
660
- class ListAndroidAppDataStreamsResponse
661
- include ::Google::Protobuf::MessageExts
662
- extend ::Google::Protobuf::MessageExts::ClassMethods
663
- end
664
-
665
437
  # Request message for CreateFirebaseLink RPC
666
438
  # @!attribute [rw] parent
667
439
  # @return [::String]
@@ -727,8 +499,8 @@ module Google
727
499
  # @return [::String]
728
500
  # Required. The name of the site tag to lookup.
729
501
  # Note that site tags are singletons and do not have unique IDs.
730
- # Format: properties/\\{property_id}/webDataStreams/\\{stream_id}/globalSiteTag
731
- # Example: "properties/123/webDataStreams/456/globalSiteTag"
502
+ # Format: properties/\\{property_id}/dataStreams/\\{stream_id}/globalSiteTag
503
+ # Example: "properties/123/dataStreams/456/globalSiteTag"
732
504
  class GetGlobalSiteTagRequest
733
505
  include ::Google::Protobuf::MessageExts
734
506
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -930,9 +702,7 @@ module Google
930
702
  # @return [::String]
931
703
  # Required. The name of the measurement protocol secret to lookup.
932
704
  # Format:
933
- # properties/\\{property}/webDataStreams/\\{webDataStream}/measurementProtocolSecrets/\\{measurementProtocolSecret}
934
- # Note: Any type of stream (WebDataStream, IosAppDataStream,
935
- # AndroidAppDataStream) may be a parent.
705
+ # properties/\\{property}/dataStreams/\\{dataStream}/measurementProtocolSecrets/\\{measurementProtocolSecret}
936
706
  class GetMeasurementProtocolSecretRequest
937
707
  include ::Google::Protobuf::MessageExts
938
708
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -942,9 +712,7 @@ module Google
942
712
  # @!attribute [rw] parent
943
713
  # @return [::String]
944
714
  # Required. The parent resource where this secret will be created.
945
- # Any type of stream (WebDataStream, IosAppDataStream, AndroidAppDataStream)
946
- # may be a parent.
947
- # Format: properties/\\{property}/webDataStreams/\\{webDataStream}
715
+ # Format: properties/\\{property}/dataStreams/\\{dataStream}
948
716
  # @!attribute [rw] measurement_protocol_secret
949
717
  # @return [::Google::Analytics::Admin::V1alpha::MeasurementProtocolSecret]
950
718
  # Required. The measurement protocol secret to create.
@@ -958,9 +726,7 @@ module Google
958
726
  # @return [::String]
959
727
  # Required. The name of the MeasurementProtocolSecret to delete.
960
728
  # Format:
961
- # properties/\\{property}/webDataStreams/\\{webDataStream}/measurementProtocolSecrets/\\{measurementProtocolSecret}
962
- # Note: Any type of stream (WebDataStream, IosAppDataStream,
963
- # AndroidAppDataStream) may be a parent.
729
+ # properties/\\{property}/dataStreams/\\{dataStream}/measurementProtocolSecrets/\\{measurementProtocolSecret}
964
730
  class DeleteMeasurementProtocolSecretRequest
965
731
  include ::Google::Protobuf::MessageExts
966
732
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -982,10 +748,8 @@ module Google
982
748
  # @!attribute [rw] parent
983
749
  # @return [::String]
984
750
  # Required. The resource name of the parent stream.
985
- # Any type of stream (WebDataStream, IosAppDataStream, AndroidAppDataStream)
986
- # may be a parent.
987
751
  # Format:
988
- # properties/\\{property}/webDataStreams/\\{webDataStream}/measurementProtocolSecrets
752
+ # properties/\\{property}/dataStreams/\\{dataStream}/measurementProtocolSecrets
989
753
  # @!attribute [rw] page_size
990
754
  # @return [::Integer]
991
755
  # The maximum number of resources to return.