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.
@@ -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,264 +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
- # Request message for GetEnhancedMeasurementSettings RPC.
666
- # @!attribute [rw] name
667
- # @return [::String]
668
- # Required. The name of the settings to lookup.
669
- # Format:
670
- # properties/\\{property_id}/webDataStreams/\\{stream_id}/enhancedMeasurementSettings
671
- # Example: "properties/1000/webDataStreams/2000/enhancedMeasurementSettings"
672
- class GetEnhancedMeasurementSettingsRequest
673
- include ::Google::Protobuf::MessageExts
674
- extend ::Google::Protobuf::MessageExts::ClassMethods
675
- end
676
-
677
- # Request message for UpdateEnhancedMeasurementSettings RPC.
678
- # @!attribute [rw] enhanced_measurement_settings
679
- # @return [::Google::Analytics::Admin::V1alpha::EnhancedMeasurementSettings]
680
- # Required. The settings to update.
681
- # The `name` field is used to identify the settings to be updated.
682
- # @!attribute [rw] update_mask
683
- # @return [::Google::Protobuf::FieldMask]
684
- # Required. The list of fields to be updated. Field names must be in snake case
685
- # (e.g., "field_to_update"). Omitted fields will not be updated. To replace
686
- # the entire entity, use one path with the string "*" to match all fields.
687
- class UpdateEnhancedMeasurementSettingsRequest
688
- include ::Google::Protobuf::MessageExts
689
- extend ::Google::Protobuf::MessageExts::ClassMethods
690
- end
691
-
692
437
  # Request message for CreateFirebaseLink RPC
693
438
  # @!attribute [rw] parent
694
439
  # @return [::String]
@@ -754,8 +499,8 @@ module Google
754
499
  # @return [::String]
755
500
  # Required. The name of the site tag to lookup.
756
501
  # Note that site tags are singletons and do not have unique IDs.
757
- # Format: properties/\\{property_id}/webDataStreams/\\{stream_id}/globalSiteTag
758
- # Example: "properties/123/webDataStreams/456/globalSiteTag"
502
+ # Format: properties/\\{property_id}/dataStreams/\\{stream_id}/globalSiteTag
503
+ # Example: "properties/123/dataStreams/456/globalSiteTag"
759
504
  class GetGlobalSiteTagRequest
760
505
  include ::Google::Protobuf::MessageExts
761
506
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -872,6 +617,31 @@ module Google
872
617
  extend ::Google::Protobuf::MessageExts::ClassMethods
873
618
  end
874
619
 
620
+ # Request message for AcknowledgeUserDataCollection RPC.
621
+ # @!attribute [rw] property
622
+ # @return [::String]
623
+ # Required. The property for which to acknowledge user data collection.
624
+ # @!attribute [rw] acknowledgement
625
+ # @return [::String]
626
+ # Required. An acknowledgement that the caller of this method understands the terms
627
+ # of user data collection.
628
+ #
629
+ # This field must contain the exact value:
630
+ # "I acknowledge that I have the necessary privacy disclosures and rights
631
+ # from my end users for the collection and processing of their data,
632
+ # including the association of such data with the visitation information
633
+ # Google Analytics collects from my site and/or app property."
634
+ class AcknowledgeUserDataCollectionRequest
635
+ include ::Google::Protobuf::MessageExts
636
+ extend ::Google::Protobuf::MessageExts::ClassMethods
637
+ end
638
+
639
+ # Response message for AcknowledgeUserDataCollection RPC.
640
+ class AcknowledgeUserDataCollectionResponse
641
+ include ::Google::Protobuf::MessageExts
642
+ extend ::Google::Protobuf::MessageExts::ClassMethods
643
+ end
644
+
875
645
  # Request message for SearchChangeHistoryEvents RPC.
876
646
  # @!attribute [rw] account
877
647
  # @return [::String]
@@ -932,9 +702,7 @@ module Google
932
702
  # @return [::String]
933
703
  # Required. The name of the measurement protocol secret to lookup.
934
704
  # Format:
935
- # properties/\\{property}/webDataStreams/\\{webDataStream}/measurementProtocolSecrets/\\{measurementProtocolSecret}
936
- # Note: Any type of stream (WebDataStream, IosAppDataStream,
937
- # AndroidAppDataStream) may be a parent.
705
+ # properties/\\{property}/dataStreams/\\{dataStream}/measurementProtocolSecrets/\\{measurementProtocolSecret}
938
706
  class GetMeasurementProtocolSecretRequest
939
707
  include ::Google::Protobuf::MessageExts
940
708
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -944,9 +712,7 @@ module Google
944
712
  # @!attribute [rw] parent
945
713
  # @return [::String]
946
714
  # Required. The parent resource where this secret will be created.
947
- # Any type of stream (WebDataStream, IosAppDataStream, AndroidAppDataStream)
948
- # may be a parent.
949
- # Format: properties/\\{property}/webDataStreams/\\{webDataStream}
715
+ # Format: properties/\\{property}/dataStreams/\\{dataStream}
950
716
  # @!attribute [rw] measurement_protocol_secret
951
717
  # @return [::Google::Analytics::Admin::V1alpha::MeasurementProtocolSecret]
952
718
  # Required. The measurement protocol secret to create.
@@ -960,9 +726,7 @@ module Google
960
726
  # @return [::String]
961
727
  # Required. The name of the MeasurementProtocolSecret to delete.
962
728
  # Format:
963
- # properties/\\{property}/webDataStreams/\\{webDataStream}/measurementProtocolSecrets/\\{measurementProtocolSecret}
964
- # Note: Any type of stream (WebDataStream, IosAppDataStream,
965
- # AndroidAppDataStream) may be a parent.
729
+ # properties/\\{property}/dataStreams/\\{dataStream}/measurementProtocolSecrets/\\{measurementProtocolSecret}
966
730
  class DeleteMeasurementProtocolSecretRequest
967
731
  include ::Google::Protobuf::MessageExts
968
732
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -984,10 +748,8 @@ module Google
984
748
  # @!attribute [rw] parent
985
749
  # @return [::String]
986
750
  # Required. The resource name of the parent stream.
987
- # Any type of stream (WebDataStream, IosAppDataStream, AndroidAppDataStream)
988
- # may be a parent.
989
751
  # Format:
990
- # properties/\\{property}/webDataStreams/\\{webDataStream}/measurementProtocolSecrets
752
+ # properties/\\{property}/dataStreams/\\{dataStream}/measurementProtocolSecrets
991
753
  # @!attribute [rw] page_size
992
754
  # @return [::Integer]
993
755
  # The maximum number of resources to return.
@@ -1476,6 +1238,86 @@ module Google
1476
1238
  include ::Google::Protobuf::MessageExts
1477
1239
  extend ::Google::Protobuf::MessageExts::ClassMethods
1478
1240
  end
1241
+
1242
+ # Request message for CreateDataStream RPC.
1243
+ # @!attribute [rw] parent
1244
+ # @return [::String]
1245
+ # Required. Example format: properties/1234
1246
+ # @!attribute [rw] data_stream
1247
+ # @return [::Google::Analytics::Admin::V1alpha::DataStream]
1248
+ # Required. The DataStream to create.
1249
+ class CreateDataStreamRequest
1250
+ include ::Google::Protobuf::MessageExts
1251
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1252
+ end
1253
+
1254
+ # Request message for DeleteDataStream RPC.
1255
+ # @!attribute [rw] name
1256
+ # @return [::String]
1257
+ # Required. The name of the DataStream to delete.
1258
+ # Example format: properties/1234/dataStreams/5678
1259
+ class DeleteDataStreamRequest
1260
+ include ::Google::Protobuf::MessageExts
1261
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1262
+ end
1263
+
1264
+ # Request message for UpdateDataStream RPC.
1265
+ # @!attribute [rw] data_stream
1266
+ # @return [::Google::Analytics::Admin::V1alpha::DataStream]
1267
+ # The DataStream to update
1268
+ # @!attribute [rw] update_mask
1269
+ # @return [::Google::Protobuf::FieldMask]
1270
+ # Required. The list of fields to be updated. Omitted fields will not be updated.
1271
+ # To replace the entire entity, use one path with the string "*" to match
1272
+ # all fields.
1273
+ class UpdateDataStreamRequest
1274
+ include ::Google::Protobuf::MessageExts
1275
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1276
+ end
1277
+
1278
+ # Request message for ListDataStreams RPC.
1279
+ # @!attribute [rw] parent
1280
+ # @return [::String]
1281
+ # Required. Example format: properties/1234
1282
+ # @!attribute [rw] page_size
1283
+ # @return [::Integer]
1284
+ # The maximum number of resources to return.
1285
+ # If unspecified, at most 50 resources will be returned.
1286
+ # The maximum value is 200 (higher values will be coerced to the maximum).
1287
+ # @!attribute [rw] page_token
1288
+ # @return [::String]
1289
+ # A page token, received from a previous `ListDataStreams` call.
1290
+ # Provide this to retrieve the subsequent page.
1291
+ #
1292
+ # When paginating, all other parameters provided to `ListDataStreams` must
1293
+ # match the call that provided the page token.
1294
+ class ListDataStreamsRequest
1295
+ include ::Google::Protobuf::MessageExts
1296
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1297
+ end
1298
+
1299
+ # Response message for ListDataStreams RPC.
1300
+ # @!attribute [rw] data_streams
1301
+ # @return [::Array<::Google::Analytics::Admin::V1alpha::DataStream>]
1302
+ # List of DataStreams.
1303
+ # @!attribute [rw] next_page_token
1304
+ # @return [::String]
1305
+ # A token, which can be sent as `page_token` to retrieve the next page.
1306
+ # If this field is omitted, there are no subsequent pages.
1307
+ class ListDataStreamsResponse
1308
+ include ::Google::Protobuf::MessageExts
1309
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1310
+ end
1311
+
1312
+ # Request message for GetDataStream RPC.
1313
+ # @!attribute [rw] name
1314
+ # @return [::String]
1315
+ # Required. The name of the DataStream to get.
1316
+ # Example format: properties/1234/dataStreams/5678
1317
+ class GetDataStreamRequest
1318
+ include ::Google::Protobuf::MessageExts
1319
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1320
+ end
1479
1321
  end
1480
1322
  end
1481
1323
  end