google-apis-analyticsadmin_v1alpha 0.1.0 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 163c0faf1da5c5147dfb5e1f0d5ecf622dfdedf5c19e0aa3c3e348e41246678a
4
- data.tar.gz: c6fee2464a945e4bbae84330ce3c7cbbac08f30d40b1ace0b1d885c716a12726
3
+ metadata.gz: 3941f02ee945ddaee8185daca1a3dd705f446b676d9f004cf17fcb1ad08e5e79
4
+ data.tar.gz: e44dd1a8a3338fd40df026f4423c8f850fce0195691f5a7e916c3e52301f63b6
5
5
  SHA512:
6
- metadata.gz: 746fcd9bb2e590489b0d3dd1a8cdc706d54f2fee955e5ac704520aa7ffa9b226312aa02373f04e2bd18f7d5114b31e81fe722b08e404384b3dbc372c542a7a9a
7
- data.tar.gz: 1293faedcf825f4a8c66dca055afab81a04ae1d5df1b2cfb6f570d0b12b38853260475bde793e77e98414390820385fa9485d3884122d06c55c96c44b889d08c
6
+ metadata.gz: ef1d0e7a2d637155ffd4bb20708499714c15c40587a0efba5c70c938fc062edeced84ab4ea89a9f30feafa47fa028bc482141ed048a38c174f27cf7a761b05ba
7
+ data.tar.gz: 5f2a1877b848cc64d7bd6b4c4daeb53a37d3dba25e74a71a7268bb1d8841128a8b856d74d2c119bd8d7cce24d4a715709ee0831191fc0c831b86434078bc99d0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,28 @@
1
1
  # Release history for google-apis-analyticsadmin_v1alpha
2
2
 
3
+ ### v0.6.0 (2021-05-11)
4
+
5
+ * Regenerated from discovery document revision 20210508
6
+
7
+ ### v0.5.0 (2021-03-24)
8
+
9
+ * Regenerated from discovery document revision 20210322
10
+ * Regenerated using generator version 0.2.0
11
+
12
+ ### v0.4.0 (2021-03-05)
13
+
14
+ * Regenerated from discovery document revision 20210304
15
+ * Unspecified changes
16
+
17
+ ### v0.3.0 (2021-02-24)
18
+
19
+ * Regenerated from discovery document revision 20210223
20
+
21
+ ### v0.2.0 (2021-01-21)
22
+
23
+ * Regenerated from discovery document revision 20210120
24
+ * Regenerated using generator version 0.1.2
25
+
3
26
  ### v0.1.0 (2021-01-07)
4
27
 
5
28
  * Regenerated from discovery document revision 20210106
@@ -26,13 +26,6 @@ module Google
26
26
  class GoogleAnalyticsAdminV1alphaAccount
27
27
  include Google::Apis::Core::Hashable
28
28
 
29
- # Country of business. Must be a non-deprecated code for a UN M.49 region. https:
30
- # //unicode.org/cldr/charts/latest/supplemental/territory_containment_un_m_49.
31
- # html
32
- # Corresponds to the JSON property `countryCode`
33
- # @return [String]
34
- attr_accessor :country_code
35
-
36
29
  # Output only. Time when this account was originally created.
37
30
  # Corresponds to the JSON property `createTime`
38
31
  # @return [String]
@@ -56,6 +49,11 @@ module Google
56
49
  # @return [String]
57
50
  attr_accessor :name
58
51
 
52
+ # Country of business. Must be a Unicode CLDR region code.
53
+ # Corresponds to the JSON property `regionCode`
54
+ # @return [String]
55
+ attr_accessor :region_code
56
+
59
57
  # Output only. Time when account payload fields were last updated.
60
58
  # Corresponds to the JSON property `updateTime`
61
59
  # @return [String]
@@ -67,11 +65,11 @@ module Google
67
65
 
68
66
  # Update properties of this object
69
67
  def update!(**args)
70
- @country_code = args[:country_code] if args.key?(:country_code)
71
68
  @create_time = args[:create_time] if args.key?(:create_time)
72
69
  @deleted = args[:deleted] if args.key?(:deleted)
73
70
  @display_name = args[:display_name] if args.key?(:display_name)
74
71
  @name = args[:name] if args.key?(:name)
72
+ @region_code = args[:region_code] if args.key?(:region_code)
75
73
  @update_time = args[:update_time] if args.key?(:update_time)
76
74
  end
77
75
  end
@@ -170,6 +168,32 @@ module Google
170
168
  end
171
169
  end
172
170
 
171
+ # Request message for ArchiveCustomDimension RPC.
172
+ class GoogleAnalyticsAdminV1alphaArchiveCustomDimensionRequest
173
+ include Google::Apis::Core::Hashable
174
+
175
+ def initialize(**args)
176
+ update!(**args)
177
+ end
178
+
179
+ # Update properties of this object
180
+ def update!(**args)
181
+ end
182
+ end
183
+
184
+ # Request message for ArchiveCustomMetric RPC.
185
+ class GoogleAnalyticsAdminV1alphaArchiveCustomMetricRequest
186
+ include Google::Apis::Core::Hashable
187
+
188
+ def initialize(**args)
189
+ update!(**args)
190
+ end
191
+
192
+ # Update properties of this object
193
+ def update!(**args)
194
+ end
195
+ end
196
+
173
197
  # Read-only resource used to summarize a principal's effective roles.
174
198
  class GoogleAnalyticsAdminV1alphaAuditUserLink
175
199
  include Google::Apis::Core::Hashable
@@ -393,6 +417,217 @@ module Google
393
417
  end
394
418
  end
395
419
 
420
+ # A description of a change to a single Google Analytics resource.
421
+ class GoogleAnalyticsAdminV1alphaChangeHistoryChange
422
+ include Google::Apis::Core::Hashable
423
+
424
+ # The type of action that changed this resource.
425
+ # Corresponds to the JSON property `action`
426
+ # @return [String]
427
+ attr_accessor :action
428
+
429
+ # Resource name of the resource whose changes are described by this entry.
430
+ # Corresponds to the JSON property `resource`
431
+ # @return [String]
432
+ attr_accessor :resource
433
+
434
+ # A snapshot of a resource as before or after the result of a change in change
435
+ # history.
436
+ # Corresponds to the JSON property `resourceAfterChange`
437
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource]
438
+ attr_accessor :resource_after_change
439
+
440
+ # A snapshot of a resource as before or after the result of a change in change
441
+ # history.
442
+ # Corresponds to the JSON property `resourceBeforeChange`
443
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource]
444
+ attr_accessor :resource_before_change
445
+
446
+ def initialize(**args)
447
+ update!(**args)
448
+ end
449
+
450
+ # Update properties of this object
451
+ def update!(**args)
452
+ @action = args[:action] if args.key?(:action)
453
+ @resource = args[:resource] if args.key?(:resource)
454
+ @resource_after_change = args[:resource_after_change] if args.key?(:resource_after_change)
455
+ @resource_before_change = args[:resource_before_change] if args.key?(:resource_before_change)
456
+ end
457
+ end
458
+
459
+ # A snapshot of a resource as before or after the result of a change in change
460
+ # history.
461
+ class GoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource
462
+ include Google::Apis::Core::Hashable
463
+
464
+ # A resource message representing a Google Analytics account.
465
+ # Corresponds to the JSON property `account`
466
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccount]
467
+ attr_accessor :account
468
+
469
+ # A resource message representing a Google Analytics Android app stream.
470
+ # Corresponds to the JSON property `androidAppDataStream`
471
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAndroidAppDataStream]
472
+ attr_accessor :android_app_data_stream
473
+
474
+ # A conversion event in a Google Analytics property.
475
+ # Corresponds to the JSON property `conversionEvent`
476
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaConversionEvent]
477
+ attr_accessor :conversion_event
478
+
479
+ # A definition for a CustomDimension.
480
+ # Corresponds to the JSON property `customDimension`
481
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension]
482
+ attr_accessor :custom_dimension
483
+
484
+ # A definition for a custom metric.
485
+ # Corresponds to the JSON property `customMetric`
486
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric]
487
+ attr_accessor :custom_metric
488
+
489
+ # A link between an GA4 property and a Firebase project.
490
+ # Corresponds to the JSON property `firebaseLink`
491
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFirebaseLink]
492
+ attr_accessor :firebase_link
493
+
494
+ # A link between an GA4 property and a Google Ads account.
495
+ # Corresponds to the JSON property `googleAdsLink`
496
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink]
497
+ attr_accessor :google_ads_link
498
+
499
+ # A resource message representing a Google Analytics IOS app stream.
500
+ # Corresponds to the JSON property `iosAppDataStream`
501
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream]
502
+ attr_accessor :ios_app_data_stream
503
+
504
+ # A resource message representing a Google Analytics GA4 property.
505
+ # Corresponds to the JSON property `property`
506
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty]
507
+ attr_accessor :property
508
+
509
+ # A resource message representing a Google Analytics web stream.
510
+ # Corresponds to the JSON property `webDataStream`
511
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaWebDataStream]
512
+ attr_accessor :web_data_stream
513
+
514
+ def initialize(**args)
515
+ update!(**args)
516
+ end
517
+
518
+ # Update properties of this object
519
+ def update!(**args)
520
+ @account = args[:account] if args.key?(:account)
521
+ @android_app_data_stream = args[:android_app_data_stream] if args.key?(:android_app_data_stream)
522
+ @conversion_event = args[:conversion_event] if args.key?(:conversion_event)
523
+ @custom_dimension = args[:custom_dimension] if args.key?(:custom_dimension)
524
+ @custom_metric = args[:custom_metric] if args.key?(:custom_metric)
525
+ @firebase_link = args[:firebase_link] if args.key?(:firebase_link)
526
+ @google_ads_link = args[:google_ads_link] if args.key?(:google_ads_link)
527
+ @ios_app_data_stream = args[:ios_app_data_stream] if args.key?(:ios_app_data_stream)
528
+ @property = args[:property] if args.key?(:property)
529
+ @web_data_stream = args[:web_data_stream] if args.key?(:web_data_stream)
530
+ end
531
+ end
532
+
533
+ # A set of changes within a Google Analytics account or its child properties
534
+ # that resulted from the same cause. Common causes would be updates made in the
535
+ # Google Analytics UI, changes from customer support, or automatic Google
536
+ # Analytics system changes.
537
+ class GoogleAnalyticsAdminV1alphaChangeHistoryEvent
538
+ include Google::Apis::Core::Hashable
539
+
540
+ # The type of actor that made this change.
541
+ # Corresponds to the JSON property `actorType`
542
+ # @return [String]
543
+ attr_accessor :actor_type
544
+
545
+ # Time when change was made.
546
+ # Corresponds to the JSON property `changeTime`
547
+ # @return [String]
548
+ attr_accessor :change_time
549
+
550
+ # A list of changes made in this change history event that fit the filters
551
+ # specified in SearchChangeHistoryEventsRequest.
552
+ # Corresponds to the JSON property `changes`
553
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChangeHistoryChange>]
554
+ attr_accessor :changes
555
+
556
+ # If true, then the list of changes returned was filtered, and does not
557
+ # represent all changes that occurred in this event.
558
+ # Corresponds to the JSON property `changesFiltered`
559
+ # @return [Boolean]
560
+ attr_accessor :changes_filtered
561
+ alias_method :changes_filtered?, :changes_filtered
562
+
563
+ # ID of this change history event. This ID is unique across Google Analytics.
564
+ # Corresponds to the JSON property `id`
565
+ # @return [String]
566
+ attr_accessor :id
567
+
568
+ # Email address of the Google account that made the change. This will be a valid
569
+ # email address if the actor field is set to USER, and empty otherwise. Google
570
+ # accounts that have been deleted will cause an error.
571
+ # Corresponds to the JSON property `userActorEmail`
572
+ # @return [String]
573
+ attr_accessor :user_actor_email
574
+
575
+ def initialize(**args)
576
+ update!(**args)
577
+ end
578
+
579
+ # Update properties of this object
580
+ def update!(**args)
581
+ @actor_type = args[:actor_type] if args.key?(:actor_type)
582
+ @change_time = args[:change_time] if args.key?(:change_time)
583
+ @changes = args[:changes] if args.key?(:changes)
584
+ @changes_filtered = args[:changes_filtered] if args.key?(:changes_filtered)
585
+ @id = args[:id] if args.key?(:id)
586
+ @user_actor_email = args[:user_actor_email] if args.key?(:user_actor_email)
587
+ end
588
+ end
589
+
590
+ # A conversion event in a Google Analytics property.
591
+ class GoogleAnalyticsAdminV1alphaConversionEvent
592
+ include Google::Apis::Core::Hashable
593
+
594
+ # Output only. Time when this conversion event was created in the property.
595
+ # Corresponds to the JSON property `createTime`
596
+ # @return [String]
597
+ attr_accessor :create_time
598
+
599
+ # Immutable. The event name for this conversion event. Examples: 'click', '
600
+ # purchase'
601
+ # Corresponds to the JSON property `eventName`
602
+ # @return [String]
603
+ attr_accessor :event_name
604
+
605
+ # Output only. If set, this event can currently be deleted via
606
+ # DeleteConversionEvent.
607
+ # Corresponds to the JSON property `isDeletable`
608
+ # @return [Boolean]
609
+ attr_accessor :is_deletable
610
+ alias_method :is_deletable?, :is_deletable
611
+
612
+ # Output only. Resource name of this conversion event. Format: properties/`
613
+ # property`/conversionEvents/`conversion_event`
614
+ # Corresponds to the JSON property `name`
615
+ # @return [String]
616
+ attr_accessor :name
617
+
618
+ def initialize(**args)
619
+ update!(**args)
620
+ end
621
+
622
+ # Update properties of this object
623
+ def update!(**args)
624
+ @create_time = args[:create_time] if args.key?(:create_time)
625
+ @event_name = args[:event_name] if args.key?(:event_name)
626
+ @is_deletable = args[:is_deletable] if args.key?(:is_deletable)
627
+ @name = args[:name] if args.key?(:name)
628
+ end
629
+ end
630
+
396
631
  # Request message for CreateUserLink RPC. Users can have multiple email
397
632
  # addresses associated with their Google account, and one of these email
398
633
  # addresses is the "primary" email address. Any of the email addresses
@@ -432,6 +667,123 @@ module Google
432
667
  end
433
668
  end
434
669
 
670
+ # A definition for a CustomDimension.
671
+ class GoogleAnalyticsAdminV1alphaCustomDimension
672
+ include Google::Apis::Core::Hashable
673
+
674
+ # Optional. Description for this custom dimension. Max length of 150 characters.
675
+ # Corresponds to the JSON property `description`
676
+ # @return [String]
677
+ attr_accessor :description
678
+
679
+ # Optional. If set to true, sets this dimension as NPA and excludes it from ads
680
+ # personalization. This is currently only supported by user-scoped custom
681
+ # dimensions.
682
+ # Corresponds to the JSON property `disallowAdsPersonalization`
683
+ # @return [Boolean]
684
+ attr_accessor :disallow_ads_personalization
685
+ alias_method :disallow_ads_personalization?, :disallow_ads_personalization
686
+
687
+ # Required. Display name for this custom dimension as shown in the Analytics UI.
688
+ # Max length of 82 characters, alphanumeric plus space and underscore starting
689
+ # with a letter. Legacy system-generated display names may contain square
690
+ # brackets, but updates to this field will never permit square brackets.
691
+ # Corresponds to the JSON property `displayName`
692
+ # @return [String]
693
+ attr_accessor :display_name
694
+
695
+ # Output only. Resource name for this CustomDimension resource. Format:
696
+ # properties/`property`/customDimensions/`customDimension`
697
+ # Corresponds to the JSON property `name`
698
+ # @return [String]
699
+ attr_accessor :name
700
+
701
+ # Required. Immutable. Tagging parameter name for this custom dimension. If this
702
+ # is a user-scoped dimension, then this is the user property name. If this is an
703
+ # event-scoped dimension, then this is the event parameter name. May only
704
+ # contain alphanumeric and underscore characters, starting with a letter. Max
705
+ # length of 24 characters for user-scoped dimensions, 40 characters for event-
706
+ # scoped dimensions.
707
+ # Corresponds to the JSON property `parameterName`
708
+ # @return [String]
709
+ attr_accessor :parameter_name
710
+
711
+ # Required. Immutable. The scope of this dimension.
712
+ # Corresponds to the JSON property `scope`
713
+ # @return [String]
714
+ attr_accessor :scope
715
+
716
+ def initialize(**args)
717
+ update!(**args)
718
+ end
719
+
720
+ # Update properties of this object
721
+ def update!(**args)
722
+ @description = args[:description] if args.key?(:description)
723
+ @disallow_ads_personalization = args[:disallow_ads_personalization] if args.key?(:disallow_ads_personalization)
724
+ @display_name = args[:display_name] if args.key?(:display_name)
725
+ @name = args[:name] if args.key?(:name)
726
+ @parameter_name = args[:parameter_name] if args.key?(:parameter_name)
727
+ @scope = args[:scope] if args.key?(:scope)
728
+ end
729
+ end
730
+
731
+ # A definition for a custom metric.
732
+ class GoogleAnalyticsAdminV1alphaCustomMetric
733
+ include Google::Apis::Core::Hashable
734
+
735
+ # Optional. Description for this custom dimension. Max length of 150 characters.
736
+ # Corresponds to the JSON property `description`
737
+ # @return [String]
738
+ attr_accessor :description
739
+
740
+ # Required. Display name for this custom metric as shown in the Analytics UI.
741
+ # Max length of 82 characters, alphanumeric plus space and underscore starting
742
+ # with a letter. Legacy system-generated display names may contain square
743
+ # brackets, but updates to this field will never permit square brackets.
744
+ # Corresponds to the JSON property `displayName`
745
+ # @return [String]
746
+ attr_accessor :display_name
747
+
748
+ # Required. Immutable. The type for the custom metric's value.
749
+ # Corresponds to the JSON property `measurementUnit`
750
+ # @return [String]
751
+ attr_accessor :measurement_unit
752
+
753
+ # Output only. Resource name for this CustomMetric resource. Format: properties/`
754
+ # property`/customMetrics/`customMetric`
755
+ # Corresponds to the JSON property `name`
756
+ # @return [String]
757
+ attr_accessor :name
758
+
759
+ # Required. Immutable. Tagging name for this custom metric. If this is an event-
760
+ # scoped metric, then this is the event parameter name. May only contain
761
+ # alphanumeric and underscore charactes, starting with a letter. Max length of
762
+ # 40 characters for event-scoped metrics.
763
+ # Corresponds to the JSON property `parameterName`
764
+ # @return [String]
765
+ attr_accessor :parameter_name
766
+
767
+ # Required. Immutable. The scope of this custom metric.
768
+ # Corresponds to the JSON property `scope`
769
+ # @return [String]
770
+ attr_accessor :scope
771
+
772
+ def initialize(**args)
773
+ update!(**args)
774
+ end
775
+
776
+ # Update properties of this object
777
+ def update!(**args)
778
+ @description = args[:description] if args.key?(:description)
779
+ @display_name = args[:display_name] if args.key?(:display_name)
780
+ @measurement_unit = args[:measurement_unit] if args.key?(:measurement_unit)
781
+ @name = args[:name] if args.key?(:name)
782
+ @parameter_name = args[:parameter_name] if args.key?(:parameter_name)
783
+ @scope = args[:scope] if args.key?(:scope)
784
+ end
785
+ end
786
+
435
787
  # A resource message representing data sharing settings of a Google Analytics
436
788
  # account.
437
789
  class GoogleAnalyticsAdminV1alphaDataSharingSettings
@@ -515,32 +867,6 @@ module Google
515
867
  class GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings
516
868
  include Google::Apis::Core::Hashable
517
869
 
518
- # Capture events when your visitors view content on your site that has articles
519
- # or blog posts.
520
- # Corresponds to the JSON property `articlesAndBlogsEnabled`
521
- # @return [Boolean]
522
- attr_accessor :articles_and_blogs_enabled
523
- alias_method :articles_and_blogs_enabled?, :articles_and_blogs_enabled
524
-
525
- # Capture events when your visitors view content on your site that has
526
- # structured data (eg, articles, blog posts, product details screens, etc.).
527
- # Corresponds to the JSON property `contentViewsEnabled`
528
- # @return [Boolean]
529
- attr_accessor :content_views_enabled
530
- alias_method :content_views_enabled?, :content_views_enabled
531
-
532
- # If enabled, capture a click event each time a visitor clicks a link or element
533
- # that has data attributes beginning with "data-ga".
534
- # Corresponds to the JSON property `dataTaggedElementClicksEnabled`
535
- # @return [Boolean]
536
- attr_accessor :data_tagged_element_clicks_enabled
537
- alias_method :data_tagged_element_clicks_enabled?, :data_tagged_element_clicks_enabled
538
-
539
- # Domains to exclude from measurement. Max length is 1024 characters.
540
- # Corresponds to the JSON property `excludedDomains`
541
- # @return [String]
542
- attr_accessor :excluded_domains
543
-
544
870
  # If enabled, capture a file download event each time a link is clicked with a
545
871
  # common document, compressed file, application, video, or audio extension.
546
872
  # Corresponds to the JSON property `fileDownloadsEnabled`
@@ -548,13 +874,6 @@ module Google
548
874
  attr_accessor :file_downloads_enabled
549
875
  alias_method :file_downloads_enabled?, :file_downloads_enabled
550
876
 
551
- # If enabled, capture a view search results event each time a visitor interacts
552
- # with a form on your site.
553
- # Corresponds to the JSON property `formInteractionsEnabled`
554
- # @return [Boolean]
555
- attr_accessor :form_interactions_enabled
556
- alias_method :form_interactions_enabled?, :form_interactions_enabled
557
-
558
877
  # Output only. Resource name of this Data Stream. Format: properties/`
559
878
  # property_id`/webDataStreams/`stream_id`/enhancedMeasurementSettings Example: "
560
879
  # properties/1000/webDataStreams/2000/enhancedMeasurementSettings"
@@ -576,7 +895,7 @@ module Google
576
895
  attr_accessor :page_changes_enabled
577
896
  alias_method :page_changes_enabled?, :page_changes_enabled
578
897
 
579
- # If enabled, capture a page view event each time a page loads.
898
+ # Output only. If enabled, capture a page view event each time a page loads.
580
899
  # Corresponds to the JSON property `pageLoadsEnabled`
581
900
  # @return [Boolean]
582
901
  attr_accessor :page_loads_enabled
@@ -589,13 +908,6 @@ module Google
589
908
  attr_accessor :page_views_enabled
590
909
  alias_method :page_views_enabled?, :page_views_enabled
591
910
 
592
- # Capture events when your visitors view content on your site that has product
593
- # details screens, etc.
594
- # Corresponds to the JSON property `productsAndEcommerceEnabled`
595
- # @return [Boolean]
596
- attr_accessor :products_and_ecommerce_enabled
597
- alias_method :products_and_ecommerce_enabled?, :products_and_ecommerce_enabled
598
-
599
911
  # If enabled, capture scroll events each time a visitor gets to the bottom of a
600
912
  # page.
601
913
  # Corresponds to the JSON property `scrollsEnabled`
@@ -625,9 +937,9 @@ module Google
625
937
  alias_method :stream_enabled?, :stream_enabled
626
938
 
627
939
  # Additional URL query parameters. Max length is 1024 characters.
628
- # Corresponds to the JSON property `urlQueryParameter`
940
+ # Corresponds to the JSON property `uriQueryParameter`
629
941
  # @return [String]
630
- attr_accessor :url_query_parameter
942
+ attr_accessor :uri_query_parameter
631
943
 
632
944
  # If enabled, capture video play, progress, and complete events as visitors view
633
945
  # embedded videos on your site.
@@ -642,23 +954,17 @@ module Google
642
954
 
643
955
  # Update properties of this object
644
956
  def update!(**args)
645
- @articles_and_blogs_enabled = args[:articles_and_blogs_enabled] if args.key?(:articles_and_blogs_enabled)
646
- @content_views_enabled = args[:content_views_enabled] if args.key?(:content_views_enabled)
647
- @data_tagged_element_clicks_enabled = args[:data_tagged_element_clicks_enabled] if args.key?(:data_tagged_element_clicks_enabled)
648
- @excluded_domains = args[:excluded_domains] if args.key?(:excluded_domains)
649
957
  @file_downloads_enabled = args[:file_downloads_enabled] if args.key?(:file_downloads_enabled)
650
- @form_interactions_enabled = args[:form_interactions_enabled] if args.key?(:form_interactions_enabled)
651
958
  @name = args[:name] if args.key?(:name)
652
959
  @outbound_clicks_enabled = args[:outbound_clicks_enabled] if args.key?(:outbound_clicks_enabled)
653
960
  @page_changes_enabled = args[:page_changes_enabled] if args.key?(:page_changes_enabled)
654
961
  @page_loads_enabled = args[:page_loads_enabled] if args.key?(:page_loads_enabled)
655
962
  @page_views_enabled = args[:page_views_enabled] if args.key?(:page_views_enabled)
656
- @products_and_ecommerce_enabled = args[:products_and_ecommerce_enabled] if args.key?(:products_and_ecommerce_enabled)
657
963
  @scrolls_enabled = args[:scrolls_enabled] if args.key?(:scrolls_enabled)
658
964
  @search_query_parameter = args[:search_query_parameter] if args.key?(:search_query_parameter)
659
965
  @site_search_enabled = args[:site_search_enabled] if args.key?(:site_search_enabled)
660
966
  @stream_enabled = args[:stream_enabled] if args.key?(:stream_enabled)
661
- @url_query_parameter = args[:url_query_parameter] if args.key?(:url_query_parameter)
967
+ @uri_query_parameter = args[:uri_query_parameter] if args.key?(:uri_query_parameter)
662
968
  @video_engagement_enabled = args[:video_engagement_enabled] if args.key?(:video_engagement_enabled)
663
969
  end
664
970
  end
@@ -710,6 +1016,12 @@ module Google
710
1016
  class GoogleAnalyticsAdminV1alphaGlobalSiteTag
711
1017
  include Google::Apis::Core::Hashable
712
1018
 
1019
+ # Output only. Resource name for this GlobalSiteTag resource. Format: properties/
1020
+ # `propertyId`/globalSiteTag
1021
+ # Corresponds to the JSON property `name`
1022
+ # @return [String]
1023
+ attr_accessor :name
1024
+
713
1025
  # Immutable. JavaScript code snippet to be pasted as the first item into the
714
1026
  # head tag of every webpage to measure.
715
1027
  # Corresponds to the JSON property `snippet`
@@ -722,6 +1034,7 @@ module Google
722
1034
 
723
1035
  # Update properties of this object
724
1036
  def update!(**args)
1037
+ @name = args[:name] if args.key?(:name)
725
1038
  @snippet = args[:snippet] if args.key?(:snippet)
726
1039
  end
727
1040
  end
@@ -733,7 +1046,7 @@ module Google
733
1046
  # Enable personalized advertising features with this integration. Automatically
734
1047
  # publish my Google Analytics audience lists and Google Analytics remarketing
735
1048
  # events/parameters to the linked Google Ads account. If this field is not set
736
- # on create/update it will be defaulted to true.
1049
+ # on create/update, it will be defaulted to true.
737
1050
  # Corresponds to the JSON property `adsPersonalizationEnabled`
738
1051
  # @return [Boolean]
739
1052
  attr_accessor :ads_personalization_enabled
@@ -767,11 +1080,6 @@ module Google
767
1080
  # @return [String]
768
1081
  attr_accessor :name
769
1082
 
770
- # Immutable. Format: properties/`propertyId`
771
- # Corresponds to the JSON property `parent`
772
- # @return [String]
773
- attr_accessor :parent
774
-
775
1083
  # Output only. Time when this link was last updated.
776
1084
  # Corresponds to the JSON property `updateTime`
777
1085
  # @return [String]
@@ -789,7 +1097,6 @@ module Google
789
1097
  @customer_id = args[:customer_id] if args.key?(:customer_id)
790
1098
  @email_address = args[:email_address] if args.key?(:email_address)
791
1099
  @name = args[:name] if args.key?(:name)
792
- @parent = args[:parent] if args.key?(:parent)
793
1100
  @update_time = args[:update_time] if args.key?(:update_time)
794
1101
  end
795
1102
  end
@@ -926,6 +1233,84 @@ module Google
926
1233
  end
927
1234
  end
928
1235
 
1236
+ # Response message for ListConversionEvents RPC.
1237
+ class GoogleAnalyticsAdminV1alphaListConversionEventsResponse
1238
+ include Google::Apis::Core::Hashable
1239
+
1240
+ # The requested conversion events
1241
+ # Corresponds to the JSON property `conversionEvents`
1242
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaConversionEvent>]
1243
+ attr_accessor :conversion_events
1244
+
1245
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
1246
+ # field is omitted, there are no subsequent pages.
1247
+ # Corresponds to the JSON property `nextPageToken`
1248
+ # @return [String]
1249
+ attr_accessor :next_page_token
1250
+
1251
+ def initialize(**args)
1252
+ update!(**args)
1253
+ end
1254
+
1255
+ # Update properties of this object
1256
+ def update!(**args)
1257
+ @conversion_events = args[:conversion_events] if args.key?(:conversion_events)
1258
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1259
+ end
1260
+ end
1261
+
1262
+ # Response message for ListCustomDimensions RPC.
1263
+ class GoogleAnalyticsAdminV1alphaListCustomDimensionsResponse
1264
+ include Google::Apis::Core::Hashable
1265
+
1266
+ # List of CustomDimensions.
1267
+ # Corresponds to the JSON property `customDimensions`
1268
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension>]
1269
+ attr_accessor :custom_dimensions
1270
+
1271
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
1272
+ # field is omitted, there are no subsequent pages.
1273
+ # Corresponds to the JSON property `nextPageToken`
1274
+ # @return [String]
1275
+ attr_accessor :next_page_token
1276
+
1277
+ def initialize(**args)
1278
+ update!(**args)
1279
+ end
1280
+
1281
+ # Update properties of this object
1282
+ def update!(**args)
1283
+ @custom_dimensions = args[:custom_dimensions] if args.key?(:custom_dimensions)
1284
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1285
+ end
1286
+ end
1287
+
1288
+ # Response message for ListCustomMetrics RPC.
1289
+ class GoogleAnalyticsAdminV1alphaListCustomMetricsResponse
1290
+ include Google::Apis::Core::Hashable
1291
+
1292
+ # List of CustomMetrics.
1293
+ # Corresponds to the JSON property `customMetrics`
1294
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric>]
1295
+ attr_accessor :custom_metrics
1296
+
1297
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
1298
+ # field is omitted, there are no subsequent pages.
1299
+ # Corresponds to the JSON property `nextPageToken`
1300
+ # @return [String]
1301
+ attr_accessor :next_page_token
1302
+
1303
+ def initialize(**args)
1304
+ update!(**args)
1305
+ end
1306
+
1307
+ # Update properties of this object
1308
+ def update!(**args)
1309
+ @custom_metrics = args[:custom_metrics] if args.key?(:custom_metrics)
1310
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1311
+ end
1312
+ end
1313
+
929
1314
  # Response message for ListFirebaseLinks RPC
930
1315
  class GoogleAnalyticsAdminV1alphaListFirebaseLinksResponse
931
1316
  include Google::Apis::Core::Hashable
@@ -1098,12 +1483,11 @@ module Google
1098
1483
  # @return [String]
1099
1484
  attr_accessor :currency_code
1100
1485
 
1101
- # Output only. Indicates whether this Property is soft-deleted or not. Deleted
1102
- # properties are excluded from List results unless specifically requested.
1103
- # Corresponds to the JSON property `deleted`
1104
- # @return [Boolean]
1105
- attr_accessor :deleted
1106
- alias_method :deleted?, :deleted
1486
+ # Output only. If set, the time at which this property was trashed. If not set,
1487
+ # then this property is not currently in the trash can.
1488
+ # Corresponds to the JSON property `deleteTime`
1489
+ # @return [String]
1490
+ attr_accessor :delete_time
1107
1491
 
1108
1492
  # Required. Human-readable display name for this property. The max allowed
1109
1493
  # display name length is 100 UTF-16 code units.
@@ -1111,6 +1495,13 @@ module Google
1111
1495
  # @return [String]
1112
1496
  attr_accessor :display_name
1113
1497
 
1498
+ # Output only. If set, the time at which this trashed property will be
1499
+ # permanently deleted. If not set, then this property is not currently in the
1500
+ # trash can and is not slated to be deleted.
1501
+ # Corresponds to the JSON property `expireTime`
1502
+ # @return [String]
1503
+ attr_accessor :expire_time
1504
+
1114
1505
  # Industry associated with this property Example: AUTOMOTIVE, FOOD_AND_DRINK
1115
1506
  # Corresponds to the JSON property `industryCategory`
1116
1507
  # @return [String]
@@ -1129,11 +1520,11 @@ module Google
1129
1520
  # @return [String]
1130
1521
  attr_accessor :parent
1131
1522
 
1132
- # Reporting Time Zone, used as the day boundary for reports, regardless of where
1133
- # the data originates. If the time zone honors DST, Analytics will automatically
1134
- # adjust for the changes. NOTE: Changing the time zone only affects data going
1135
- # forward, and is not applied retroactively. Format: https://www.iana.org/time-
1136
- # zones Example: "America/Los_Angeles"
1523
+ # Required. Reporting Time Zone, used as the day boundary for reports,
1524
+ # regardless of where the data originates. If the time zone honors DST,
1525
+ # Analytics will automatically adjust for the changes. NOTE: Changing the time
1526
+ # zone only affects data going forward, and is not applied retroactively. Format:
1527
+ # https://www.iana.org/time-zones Example: "America/Los_Angeles"
1137
1528
  # Corresponds to the JSON property `timeZone`
1138
1529
  # @return [String]
1139
1530
  attr_accessor :time_zone
@@ -1151,8 +1542,9 @@ module Google
1151
1542
  def update!(**args)
1152
1543
  @create_time = args[:create_time] if args.key?(:create_time)
1153
1544
  @currency_code = args[:currency_code] if args.key?(:currency_code)
1154
- @deleted = args[:deleted] if args.key?(:deleted)
1545
+ @delete_time = args[:delete_time] if args.key?(:delete_time)
1155
1546
  @display_name = args[:display_name] if args.key?(:display_name)
1547
+ @expire_time = args[:expire_time] if args.key?(:expire_time)
1156
1548
  @industry_category = args[:industry_category] if args.key?(:industry_category)
1157
1549
  @name = args[:name] if args.key?(:name)
1158
1550
  @parent = args[:parent] if args.key?(:parent)
@@ -1232,6 +1624,102 @@ module Google
1232
1624
  end
1233
1625
  end
1234
1626
 
1627
+ # Request message for SearchChangeHistoryEvents RPC.
1628
+ class GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest
1629
+ include Google::Apis::Core::Hashable
1630
+
1631
+ # Optional. If set, only return changes that match one or more of these types of
1632
+ # actions.
1633
+ # Corresponds to the JSON property `action`
1634
+ # @return [Array<String>]
1635
+ attr_accessor :action
1636
+
1637
+ # Optional. If set, only return changes if they are made by a user in this list.
1638
+ # Corresponds to the JSON property `actorEmail`
1639
+ # @return [Array<String>]
1640
+ attr_accessor :actor_email
1641
+
1642
+ # Optional. If set, only return changes made after this time (inclusive).
1643
+ # Corresponds to the JSON property `earliestChangeTime`
1644
+ # @return [String]
1645
+ attr_accessor :earliest_change_time
1646
+
1647
+ # Optional. If set, only return changes made before this time (inclusive).
1648
+ # Corresponds to the JSON property `latestChangeTime`
1649
+ # @return [String]
1650
+ attr_accessor :latest_change_time
1651
+
1652
+ # Optional. The maximum number of ChangeHistoryEvent items to return. The
1653
+ # service may return fewer than this value, even if there are additional pages.
1654
+ # If unspecified, at most 50 items will be returned. The maximum value is 200 (
1655
+ # higher values will be coerced to the maximum).
1656
+ # Corresponds to the JSON property `pageSize`
1657
+ # @return [Fixnum]
1658
+ attr_accessor :page_size
1659
+
1660
+ # Optional. A page token, received from a previous `SearchChangeHistoryEvents`
1661
+ # call. Provide this to retrieve the subsequent page. When paginating, all other
1662
+ # parameters provided to `SearchChangeHistoryEvents` must match the call that
1663
+ # provided the page token.
1664
+ # Corresponds to the JSON property `pageToken`
1665
+ # @return [String]
1666
+ attr_accessor :page_token
1667
+
1668
+ # Optional. Resource name for a child property. If set, only return changes made
1669
+ # to this property or its child resources.
1670
+ # Corresponds to the JSON property `property`
1671
+ # @return [String]
1672
+ attr_accessor :property
1673
+
1674
+ # Optional. If set, only return changes if they are for a resource that matches
1675
+ # at least one of these types.
1676
+ # Corresponds to the JSON property `resourceType`
1677
+ # @return [Array<String>]
1678
+ attr_accessor :resource_type
1679
+
1680
+ def initialize(**args)
1681
+ update!(**args)
1682
+ end
1683
+
1684
+ # Update properties of this object
1685
+ def update!(**args)
1686
+ @action = args[:action] if args.key?(:action)
1687
+ @actor_email = args[:actor_email] if args.key?(:actor_email)
1688
+ @earliest_change_time = args[:earliest_change_time] if args.key?(:earliest_change_time)
1689
+ @latest_change_time = args[:latest_change_time] if args.key?(:latest_change_time)
1690
+ @page_size = args[:page_size] if args.key?(:page_size)
1691
+ @page_token = args[:page_token] if args.key?(:page_token)
1692
+ @property = args[:property] if args.key?(:property)
1693
+ @resource_type = args[:resource_type] if args.key?(:resource_type)
1694
+ end
1695
+ end
1696
+
1697
+ # Response message for SearchAccounts RPC.
1698
+ class GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsResponse
1699
+ include Google::Apis::Core::Hashable
1700
+
1701
+ # Results that were accessible to the caller.
1702
+ # Corresponds to the JSON property `changeHistoryEvents`
1703
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChangeHistoryEvent>]
1704
+ attr_accessor :change_history_events
1705
+
1706
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
1707
+ # field is omitted, there are no subsequent pages.
1708
+ # Corresponds to the JSON property `nextPageToken`
1709
+ # @return [String]
1710
+ attr_accessor :next_page_token
1711
+
1712
+ def initialize(**args)
1713
+ update!(**args)
1714
+ end
1715
+
1716
+ # Update properties of this object
1717
+ def update!(**args)
1718
+ @change_history_events = args[:change_history_events] if args.key?(:change_history_events)
1719
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1720
+ end
1721
+ end
1722
+
1235
1723
  # Request message for UpdateUserLink RPC.
1236
1724
  class GoogleAnalyticsAdminV1alphaUpdateUserLinkRequest
1237
1725
  include Google::Apis::Core::Hashable
@@ -1266,12 +1754,12 @@ module Google
1266
1754
  # @return [Array<String>]
1267
1755
  attr_accessor :direct_roles
1268
1756
 
1269
- # Email address of the user to link
1757
+ # Immutable. Email address of the user to link
1270
1758
  # Corresponds to the JSON property `emailAddress`
1271
1759
  # @return [String]
1272
1760
  attr_accessor :email_address
1273
1761
 
1274
- # Example format: properties/1234/userLinks/5678
1762
+ # Output only. Example format: properties/1234/userLinks/5678
1275
1763
  # Corresponds to the JSON property `name`
1276
1764
  # @return [String]
1277
1765
  attr_accessor :name