google-apis-analyticsadmin_v1alpha 0.2.0 → 0.7.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: e3a598c9090803d6ce1f8d051c63732e0110aeff4b9e0afb8fa3b2ea1ed1a051
4
- data.tar.gz: b7de7574018efb8977da38f0e10b82e50dd1c04cfe79c27e745bfdc665403349
3
+ metadata.gz: 2373abb0211ed4250745b0563f7e1016db1fd4e5f0df583b5d6057b5116220f4
4
+ data.tar.gz: 5f6cf576e28779e1ad34384cad55222d61ed8fbd60ed32f6edf033e5d383719d
5
5
  SHA512:
6
- metadata.gz: 124980d6abcf821216e0a52c22c9fd78ba09688f20da321552ffc4dc39485277266c943ea5e8f910fb7cabaec2ee9f3dea90b2690ba06285ce168433d89cfe2f
7
- data.tar.gz: 5ded06110005b3b70a540776ad82dd48acea8575bafef974d1f0817389a4fdfdf15def87098bc1d31f42a9d791299f3da54e628420a2ca036b17cca0af74e2ec
6
+ metadata.gz: 49ce89096ecf63acbb5a5a9c9b90542a1aa6d4ab80641c7841c829d45e625126ee400bfa1cb259045f25a1ac03c66bd8c7a95ce5e56adecf338d68286303ed14
7
+ data.tar.gz: 7bae079792ca9721939b2049525fba8fce793a91e372c4db70c6c815fa1c143fd4ee7680f4e04459a5dd0dc3f0fa1874e1a8c94f8f66ccef8c2fd56767d06a28
data/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # Release history for google-apis-analyticsadmin_v1alpha
2
2
 
3
+ ### v0.7.0 (2021-05-19)
4
+
5
+ * Regenerated from discovery document revision 20210517
6
+
7
+ ### v0.6.0 (2021-05-18)
8
+
9
+ * Regenerated from discovery document revision 20210514
10
+
11
+ ### v0.5.0 (2021-03-24)
12
+
13
+ * Regenerated from discovery document revision 20210322
14
+ * Regenerated using generator version 0.2.0
15
+
16
+ ### v0.4.0 (2021-03-05)
17
+
18
+ * Regenerated from discovery document revision 20210304
19
+ * Unspecified changes
20
+
21
+ ### v0.3.0 (2021-02-24)
22
+
23
+ * Regenerated from discovery document revision 20210223
24
+
3
25
  ### v0.2.0 (2021-01-21)
4
26
 
5
27
  * Regenerated from discovery document revision 20210120
@@ -168,6 +168,32 @@ module Google
168
168
  end
169
169
  end
170
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
+
171
197
  # Read-only resource used to summarize a principal's effective roles.
172
198
  class GoogleAnalyticsAdminV1alphaAuditUserLink
173
199
  include Google::Apis::Core::Hashable
@@ -391,6 +417,229 @@ module Google
391
417
  end
392
418
  end
393
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
+ # Settings values for Google Signals. This is a singleton resource.
500
+ # Corresponds to the JSON property `googleSignalsSettings`
501
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleSignalsSettings]
502
+ attr_accessor :google_signals_settings
503
+
504
+ # A resource message representing a Google Analytics IOS app stream.
505
+ # Corresponds to the JSON property `iosAppDataStream`
506
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream]
507
+ attr_accessor :ios_app_data_stream
508
+
509
+ # A secret value used for sending hits to Measurement Protocol.
510
+ # Corresponds to the JSON property `measurementProtocolSecret`
511
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret]
512
+ attr_accessor :measurement_protocol_secret
513
+
514
+ # A resource message representing a Google Analytics GA4 property.
515
+ # Corresponds to the JSON property `property`
516
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty]
517
+ attr_accessor :property
518
+
519
+ # A resource message representing a Google Analytics web stream.
520
+ # Corresponds to the JSON property `webDataStream`
521
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaWebDataStream]
522
+ attr_accessor :web_data_stream
523
+
524
+ def initialize(**args)
525
+ update!(**args)
526
+ end
527
+
528
+ # Update properties of this object
529
+ def update!(**args)
530
+ @account = args[:account] if args.key?(:account)
531
+ @android_app_data_stream = args[:android_app_data_stream] if args.key?(:android_app_data_stream)
532
+ @conversion_event = args[:conversion_event] if args.key?(:conversion_event)
533
+ @custom_dimension = args[:custom_dimension] if args.key?(:custom_dimension)
534
+ @custom_metric = args[:custom_metric] if args.key?(:custom_metric)
535
+ @firebase_link = args[:firebase_link] if args.key?(:firebase_link)
536
+ @google_ads_link = args[:google_ads_link] if args.key?(:google_ads_link)
537
+ @google_signals_settings = args[:google_signals_settings] if args.key?(:google_signals_settings)
538
+ @ios_app_data_stream = args[:ios_app_data_stream] if args.key?(:ios_app_data_stream)
539
+ @measurement_protocol_secret = args[:measurement_protocol_secret] if args.key?(:measurement_protocol_secret)
540
+ @property = args[:property] if args.key?(:property)
541
+ @web_data_stream = args[:web_data_stream] if args.key?(:web_data_stream)
542
+ end
543
+ end
544
+
545
+ # A set of changes within a Google Analytics account or its child properties
546
+ # that resulted from the same cause. Common causes would be updates made in the
547
+ # Google Analytics UI, changes from customer support, or automatic Google
548
+ # Analytics system changes.
549
+ class GoogleAnalyticsAdminV1alphaChangeHistoryEvent
550
+ include Google::Apis::Core::Hashable
551
+
552
+ # The type of actor that made this change.
553
+ # Corresponds to the JSON property `actorType`
554
+ # @return [String]
555
+ attr_accessor :actor_type
556
+
557
+ # Time when change was made.
558
+ # Corresponds to the JSON property `changeTime`
559
+ # @return [String]
560
+ attr_accessor :change_time
561
+
562
+ # A list of changes made in this change history event that fit the filters
563
+ # specified in SearchChangeHistoryEventsRequest.
564
+ # Corresponds to the JSON property `changes`
565
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChangeHistoryChange>]
566
+ attr_accessor :changes
567
+
568
+ # If true, then the list of changes returned was filtered, and does not
569
+ # represent all changes that occurred in this event.
570
+ # Corresponds to the JSON property `changesFiltered`
571
+ # @return [Boolean]
572
+ attr_accessor :changes_filtered
573
+ alias_method :changes_filtered?, :changes_filtered
574
+
575
+ # ID of this change history event. This ID is unique across Google Analytics.
576
+ # Corresponds to the JSON property `id`
577
+ # @return [String]
578
+ attr_accessor :id
579
+
580
+ # Email address of the Google account that made the change. This will be a valid
581
+ # email address if the actor field is set to USER, and empty otherwise. Google
582
+ # accounts that have been deleted will cause an error.
583
+ # Corresponds to the JSON property `userActorEmail`
584
+ # @return [String]
585
+ attr_accessor :user_actor_email
586
+
587
+ def initialize(**args)
588
+ update!(**args)
589
+ end
590
+
591
+ # Update properties of this object
592
+ def update!(**args)
593
+ @actor_type = args[:actor_type] if args.key?(:actor_type)
594
+ @change_time = args[:change_time] if args.key?(:change_time)
595
+ @changes = args[:changes] if args.key?(:changes)
596
+ @changes_filtered = args[:changes_filtered] if args.key?(:changes_filtered)
597
+ @id = args[:id] if args.key?(:id)
598
+ @user_actor_email = args[:user_actor_email] if args.key?(:user_actor_email)
599
+ end
600
+ end
601
+
602
+ # A conversion event in a Google Analytics property.
603
+ class GoogleAnalyticsAdminV1alphaConversionEvent
604
+ include Google::Apis::Core::Hashable
605
+
606
+ # Output only. Time when this conversion event was created in the property.
607
+ # Corresponds to the JSON property `createTime`
608
+ # @return [String]
609
+ attr_accessor :create_time
610
+
611
+ # Immutable. The event name for this conversion event. Examples: 'click', '
612
+ # purchase'
613
+ # Corresponds to the JSON property `eventName`
614
+ # @return [String]
615
+ attr_accessor :event_name
616
+
617
+ # Output only. If set, this event can currently be deleted via
618
+ # DeleteConversionEvent.
619
+ # Corresponds to the JSON property `isDeletable`
620
+ # @return [Boolean]
621
+ attr_accessor :is_deletable
622
+ alias_method :is_deletable?, :is_deletable
623
+
624
+ # Output only. Resource name of this conversion event. Format: properties/`
625
+ # property`/conversionEvents/`conversion_event`
626
+ # Corresponds to the JSON property `name`
627
+ # @return [String]
628
+ attr_accessor :name
629
+
630
+ def initialize(**args)
631
+ update!(**args)
632
+ end
633
+
634
+ # Update properties of this object
635
+ def update!(**args)
636
+ @create_time = args[:create_time] if args.key?(:create_time)
637
+ @event_name = args[:event_name] if args.key?(:event_name)
638
+ @is_deletable = args[:is_deletable] if args.key?(:is_deletable)
639
+ @name = args[:name] if args.key?(:name)
640
+ end
641
+ end
642
+
394
643
  # Request message for CreateUserLink RPC. Users can have multiple email
395
644
  # addresses associated with their Google account, and one of these email
396
645
  # addresses is the "primary" email address. Any of the email addresses
@@ -430,6 +679,123 @@ module Google
430
679
  end
431
680
  end
432
681
 
682
+ # A definition for a CustomDimension.
683
+ class GoogleAnalyticsAdminV1alphaCustomDimension
684
+ include Google::Apis::Core::Hashable
685
+
686
+ # Optional. Description for this custom dimension. Max length of 150 characters.
687
+ # Corresponds to the JSON property `description`
688
+ # @return [String]
689
+ attr_accessor :description
690
+
691
+ # Optional. If set to true, sets this dimension as NPA and excludes it from ads
692
+ # personalization. This is currently only supported by user-scoped custom
693
+ # dimensions.
694
+ # Corresponds to the JSON property `disallowAdsPersonalization`
695
+ # @return [Boolean]
696
+ attr_accessor :disallow_ads_personalization
697
+ alias_method :disallow_ads_personalization?, :disallow_ads_personalization
698
+
699
+ # Required. Display name for this custom dimension as shown in the Analytics UI.
700
+ # Max length of 82 characters, alphanumeric plus space and underscore starting
701
+ # with a letter. Legacy system-generated display names may contain square
702
+ # brackets, but updates to this field will never permit square brackets.
703
+ # Corresponds to the JSON property `displayName`
704
+ # @return [String]
705
+ attr_accessor :display_name
706
+
707
+ # Output only. Resource name for this CustomDimension resource. Format:
708
+ # properties/`property`/customDimensions/`customDimension`
709
+ # Corresponds to the JSON property `name`
710
+ # @return [String]
711
+ attr_accessor :name
712
+
713
+ # Required. Immutable. Tagging parameter name for this custom dimension. If this
714
+ # is a user-scoped dimension, then this is the user property name. If this is an
715
+ # event-scoped dimension, then this is the event parameter name. May only
716
+ # contain alphanumeric and underscore characters, starting with a letter. Max
717
+ # length of 24 characters for user-scoped dimensions, 40 characters for event-
718
+ # scoped dimensions.
719
+ # Corresponds to the JSON property `parameterName`
720
+ # @return [String]
721
+ attr_accessor :parameter_name
722
+
723
+ # Required. Immutable. The scope of this dimension.
724
+ # Corresponds to the JSON property `scope`
725
+ # @return [String]
726
+ attr_accessor :scope
727
+
728
+ def initialize(**args)
729
+ update!(**args)
730
+ end
731
+
732
+ # Update properties of this object
733
+ def update!(**args)
734
+ @description = args[:description] if args.key?(:description)
735
+ @disallow_ads_personalization = args[:disallow_ads_personalization] if args.key?(:disallow_ads_personalization)
736
+ @display_name = args[:display_name] if args.key?(:display_name)
737
+ @name = args[:name] if args.key?(:name)
738
+ @parameter_name = args[:parameter_name] if args.key?(:parameter_name)
739
+ @scope = args[:scope] if args.key?(:scope)
740
+ end
741
+ end
742
+
743
+ # A definition for a custom metric.
744
+ class GoogleAnalyticsAdminV1alphaCustomMetric
745
+ include Google::Apis::Core::Hashable
746
+
747
+ # Optional. Description for this custom dimension. Max length of 150 characters.
748
+ # Corresponds to the JSON property `description`
749
+ # @return [String]
750
+ attr_accessor :description
751
+
752
+ # Required. Display name for this custom metric as shown in the Analytics UI.
753
+ # Max length of 82 characters, alphanumeric plus space and underscore starting
754
+ # with a letter. Legacy system-generated display names may contain square
755
+ # brackets, but updates to this field will never permit square brackets.
756
+ # Corresponds to the JSON property `displayName`
757
+ # @return [String]
758
+ attr_accessor :display_name
759
+
760
+ # Required. Immutable. The type for the custom metric's value.
761
+ # Corresponds to the JSON property `measurementUnit`
762
+ # @return [String]
763
+ attr_accessor :measurement_unit
764
+
765
+ # Output only. Resource name for this CustomMetric resource. Format: properties/`
766
+ # property`/customMetrics/`customMetric`
767
+ # Corresponds to the JSON property `name`
768
+ # @return [String]
769
+ attr_accessor :name
770
+
771
+ # Required. Immutable. Tagging name for this custom metric. If this is an event-
772
+ # scoped metric, then this is the event parameter name. May only contain
773
+ # alphanumeric and underscore charactes, starting with a letter. Max length of
774
+ # 40 characters for event-scoped metrics.
775
+ # Corresponds to the JSON property `parameterName`
776
+ # @return [String]
777
+ attr_accessor :parameter_name
778
+
779
+ # Required. Immutable. The scope of this custom metric.
780
+ # Corresponds to the JSON property `scope`
781
+ # @return [String]
782
+ attr_accessor :scope
783
+
784
+ def initialize(**args)
785
+ update!(**args)
786
+ end
787
+
788
+ # Update properties of this object
789
+ def update!(**args)
790
+ @description = args[:description] if args.key?(:description)
791
+ @display_name = args[:display_name] if args.key?(:display_name)
792
+ @measurement_unit = args[:measurement_unit] if args.key?(:measurement_unit)
793
+ @name = args[:name] if args.key?(:name)
794
+ @parameter_name = args[:parameter_name] if args.key?(:parameter_name)
795
+ @scope = args[:scope] if args.key?(:scope)
796
+ end
797
+ end
798
+
433
799
  # A resource message representing data sharing settings of a Google Analytics
434
800
  # account.
435
801
  class GoogleAnalyticsAdminV1alphaDataSharingSettings
@@ -692,7 +1058,7 @@ module Google
692
1058
  # Enable personalized advertising features with this integration. Automatically
693
1059
  # publish my Google Analytics audience lists and Google Analytics remarketing
694
1060
  # events/parameters to the linked Google Ads account. If this field is not set
695
- # on create/update it will be defaulted to true.
1061
+ # on create/update, it will be defaulted to true.
696
1062
  # Corresponds to the JSON property `adsPersonalizationEnabled`
697
1063
  # @return [Boolean]
698
1064
  attr_accessor :ads_personalization_enabled
@@ -747,6 +1113,38 @@ module Google
747
1113
  end
748
1114
  end
749
1115
 
1116
+ # Settings values for Google Signals. This is a singleton resource.
1117
+ class GoogleAnalyticsAdminV1alphaGoogleSignalsSettings
1118
+ include Google::Apis::Core::Hashable
1119
+
1120
+ # Output only. Terms of Service acceptance.
1121
+ # Corresponds to the JSON property `consent`
1122
+ # @return [String]
1123
+ attr_accessor :consent
1124
+
1125
+ # Output only. Resource name of this setting. Format: properties/`property_id`/
1126
+ # googleSignalsSettings Example: "properties/1000/googleSignalsSettings"
1127
+ # Corresponds to the JSON property `name`
1128
+ # @return [String]
1129
+ attr_accessor :name
1130
+
1131
+ # Status of this setting.
1132
+ # Corresponds to the JSON property `state`
1133
+ # @return [String]
1134
+ attr_accessor :state
1135
+
1136
+ def initialize(**args)
1137
+ update!(**args)
1138
+ end
1139
+
1140
+ # Update properties of this object
1141
+ def update!(**args)
1142
+ @consent = args[:consent] if args.key?(:consent)
1143
+ @name = args[:name] if args.key?(:name)
1144
+ @state = args[:state] if args.key?(:state)
1145
+ end
1146
+ end
1147
+
750
1148
  # A resource message representing a Google Analytics IOS app stream.
751
1149
  class GoogleAnalyticsAdminV1alphaIosAppDataStream
752
1150
  include Google::Apis::Core::Hashable
@@ -879,6 +1277,84 @@ module Google
879
1277
  end
880
1278
  end
881
1279
 
1280
+ # Response message for ListConversionEvents RPC.
1281
+ class GoogleAnalyticsAdminV1alphaListConversionEventsResponse
1282
+ include Google::Apis::Core::Hashable
1283
+
1284
+ # The requested conversion events
1285
+ # Corresponds to the JSON property `conversionEvents`
1286
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaConversionEvent>]
1287
+ attr_accessor :conversion_events
1288
+
1289
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
1290
+ # field is omitted, there are no subsequent pages.
1291
+ # Corresponds to the JSON property `nextPageToken`
1292
+ # @return [String]
1293
+ attr_accessor :next_page_token
1294
+
1295
+ def initialize(**args)
1296
+ update!(**args)
1297
+ end
1298
+
1299
+ # Update properties of this object
1300
+ def update!(**args)
1301
+ @conversion_events = args[:conversion_events] if args.key?(:conversion_events)
1302
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1303
+ end
1304
+ end
1305
+
1306
+ # Response message for ListCustomDimensions RPC.
1307
+ class GoogleAnalyticsAdminV1alphaListCustomDimensionsResponse
1308
+ include Google::Apis::Core::Hashable
1309
+
1310
+ # List of CustomDimensions.
1311
+ # Corresponds to the JSON property `customDimensions`
1312
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension>]
1313
+ attr_accessor :custom_dimensions
1314
+
1315
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
1316
+ # field is omitted, there are no subsequent pages.
1317
+ # Corresponds to the JSON property `nextPageToken`
1318
+ # @return [String]
1319
+ attr_accessor :next_page_token
1320
+
1321
+ def initialize(**args)
1322
+ update!(**args)
1323
+ end
1324
+
1325
+ # Update properties of this object
1326
+ def update!(**args)
1327
+ @custom_dimensions = args[:custom_dimensions] if args.key?(:custom_dimensions)
1328
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1329
+ end
1330
+ end
1331
+
1332
+ # Response message for ListCustomMetrics RPC.
1333
+ class GoogleAnalyticsAdminV1alphaListCustomMetricsResponse
1334
+ include Google::Apis::Core::Hashable
1335
+
1336
+ # List of CustomMetrics.
1337
+ # Corresponds to the JSON property `customMetrics`
1338
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric>]
1339
+ attr_accessor :custom_metrics
1340
+
1341
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
1342
+ # field is omitted, there are no subsequent pages.
1343
+ # Corresponds to the JSON property `nextPageToken`
1344
+ # @return [String]
1345
+ attr_accessor :next_page_token
1346
+
1347
+ def initialize(**args)
1348
+ update!(**args)
1349
+ end
1350
+
1351
+ # Update properties of this object
1352
+ def update!(**args)
1353
+ @custom_metrics = args[:custom_metrics] if args.key?(:custom_metrics)
1354
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1355
+ end
1356
+ end
1357
+
882
1358
  # Response message for ListFirebaseLinks RPC
883
1359
  class GoogleAnalyticsAdminV1alphaListFirebaseLinksResponse
884
1360
  include Google::Apis::Core::Hashable
@@ -958,6 +1434,32 @@ module Google
958
1434
  end
959
1435
  end
960
1436
 
1437
+ # Response message for ListMeasurementProtocolSecret RPC
1438
+ class GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse
1439
+ include Google::Apis::Core::Hashable
1440
+
1441
+ # A list of secrets for the parent stream specified in the request.
1442
+ # Corresponds to the JSON property `measurementProtocolSecrets`
1443
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret>]
1444
+ attr_accessor :measurement_protocol_secrets
1445
+
1446
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
1447
+ # field is omitted, there are no subsequent pages.
1448
+ # Corresponds to the JSON property `nextPageToken`
1449
+ # @return [String]
1450
+ attr_accessor :next_page_token
1451
+
1452
+ def initialize(**args)
1453
+ update!(**args)
1454
+ end
1455
+
1456
+ # Update properties of this object
1457
+ def update!(**args)
1458
+ @measurement_protocol_secrets = args[:measurement_protocol_secrets] if args.key?(:measurement_protocol_secrets)
1459
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1460
+ end
1461
+ end
1462
+
961
1463
  # Response message for ListProperties RPC.
962
1464
  class GoogleAnalyticsAdminV1alphaListPropertiesResponse
963
1465
  include Google::Apis::Core::Hashable
@@ -1036,6 +1538,41 @@ module Google
1036
1538
  end
1037
1539
  end
1038
1540
 
1541
+ # A secret value used for sending hits to Measurement Protocol.
1542
+ class GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret
1543
+ include Google::Apis::Core::Hashable
1544
+
1545
+ # Required. Human-readable display name for this secret.
1546
+ # Corresponds to the JSON property `displayName`
1547
+ # @return [String]
1548
+ attr_accessor :display_name
1549
+
1550
+ # Output only. Resource name of this secret. This secret may be a child of any
1551
+ # type of stream. Format: properties/`property`/webDataStreams/`webDataStream`/
1552
+ # measurementProtocolSecrets/`measurementProtocolSecret`
1553
+ # Corresponds to the JSON property `name`
1554
+ # @return [String]
1555
+ attr_accessor :name
1556
+
1557
+ # Output only. The measurement protocol secret value. Pass this value to the
1558
+ # api_secret field of the Measurement Protocol API when sending hits to this
1559
+ # secret's parent property.
1560
+ # Corresponds to the JSON property `secretValue`
1561
+ # @return [String]
1562
+ attr_accessor :secret_value
1563
+
1564
+ def initialize(**args)
1565
+ update!(**args)
1566
+ end
1567
+
1568
+ # Update properties of this object
1569
+ def update!(**args)
1570
+ @display_name = args[:display_name] if args.key?(:display_name)
1571
+ @name = args[:name] if args.key?(:name)
1572
+ @secret_value = args[:secret_value] if args.key?(:secret_value)
1573
+ end
1574
+ end
1575
+
1039
1576
  # A resource message representing a Google Analytics GA4 property.
1040
1577
  class GoogleAnalyticsAdminV1alphaProperty
1041
1578
  include Google::Apis::Core::Hashable
@@ -1051,12 +1588,11 @@ module Google
1051
1588
  # @return [String]
1052
1589
  attr_accessor :currency_code
1053
1590
 
1054
- # Output only. Indicates whether this Property is soft-deleted or not. Deleted
1055
- # properties are excluded from List results unless specifically requested.
1056
- # Corresponds to the JSON property `deleted`
1057
- # @return [Boolean]
1058
- attr_accessor :deleted
1059
- alias_method :deleted?, :deleted
1591
+ # Output only. If set, the time at which this property was trashed. If not set,
1592
+ # then this property is not currently in the trash can.
1593
+ # Corresponds to the JSON property `deleteTime`
1594
+ # @return [String]
1595
+ attr_accessor :delete_time
1060
1596
 
1061
1597
  # Required. Human-readable display name for this property. The max allowed
1062
1598
  # display name length is 100 UTF-16 code units.
@@ -1064,6 +1600,13 @@ module Google
1064
1600
  # @return [String]
1065
1601
  attr_accessor :display_name
1066
1602
 
1603
+ # Output only. If set, the time at which this trashed property will be
1604
+ # permanently deleted. If not set, then this property is not currently in the
1605
+ # trash can and is not slated to be deleted.
1606
+ # Corresponds to the JSON property `expireTime`
1607
+ # @return [String]
1608
+ attr_accessor :expire_time
1609
+
1067
1610
  # Industry associated with this property Example: AUTOMOTIVE, FOOD_AND_DRINK
1068
1611
  # Corresponds to the JSON property `industryCategory`
1069
1612
  # @return [String]
@@ -1082,11 +1625,11 @@ module Google
1082
1625
  # @return [String]
1083
1626
  attr_accessor :parent
1084
1627
 
1085
- # Reporting Time Zone, used as the day boundary for reports, regardless of where
1086
- # the data originates. If the time zone honors DST, Analytics will automatically
1087
- # adjust for the changes. NOTE: Changing the time zone only affects data going
1088
- # forward, and is not applied retroactively. Format: https://www.iana.org/time-
1089
- # zones Example: "America/Los_Angeles"
1628
+ # Required. Reporting Time Zone, used as the day boundary for reports,
1629
+ # regardless of where the data originates. If the time zone honors DST,
1630
+ # Analytics will automatically adjust for the changes. NOTE: Changing the time
1631
+ # zone only affects data going forward, and is not applied retroactively. Format:
1632
+ # https://www.iana.org/time-zones Example: "America/Los_Angeles"
1090
1633
  # Corresponds to the JSON property `timeZone`
1091
1634
  # @return [String]
1092
1635
  attr_accessor :time_zone
@@ -1104,8 +1647,9 @@ module Google
1104
1647
  def update!(**args)
1105
1648
  @create_time = args[:create_time] if args.key?(:create_time)
1106
1649
  @currency_code = args[:currency_code] if args.key?(:currency_code)
1107
- @deleted = args[:deleted] if args.key?(:deleted)
1650
+ @delete_time = args[:delete_time] if args.key?(:delete_time)
1108
1651
  @display_name = args[:display_name] if args.key?(:display_name)
1652
+ @expire_time = args[:expire_time] if args.key?(:expire_time)
1109
1653
  @industry_category = args[:industry_category] if args.key?(:industry_category)
1110
1654
  @name = args[:name] if args.key?(:name)
1111
1655
  @parent = args[:parent] if args.key?(:parent)
@@ -1185,6 +1729,102 @@ module Google
1185
1729
  end
1186
1730
  end
1187
1731
 
1732
+ # Request message for SearchChangeHistoryEvents RPC.
1733
+ class GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest
1734
+ include Google::Apis::Core::Hashable
1735
+
1736
+ # Optional. If set, only return changes that match one or more of these types of
1737
+ # actions.
1738
+ # Corresponds to the JSON property `action`
1739
+ # @return [Array<String>]
1740
+ attr_accessor :action
1741
+
1742
+ # Optional. If set, only return changes if they are made by a user in this list.
1743
+ # Corresponds to the JSON property `actorEmail`
1744
+ # @return [Array<String>]
1745
+ attr_accessor :actor_email
1746
+
1747
+ # Optional. If set, only return changes made after this time (inclusive).
1748
+ # Corresponds to the JSON property `earliestChangeTime`
1749
+ # @return [String]
1750
+ attr_accessor :earliest_change_time
1751
+
1752
+ # Optional. If set, only return changes made before this time (inclusive).
1753
+ # Corresponds to the JSON property `latestChangeTime`
1754
+ # @return [String]
1755
+ attr_accessor :latest_change_time
1756
+
1757
+ # Optional. The maximum number of ChangeHistoryEvent items to return. The
1758
+ # service may return fewer than this value, even if there are additional pages.
1759
+ # If unspecified, at most 50 items will be returned. The maximum value is 200 (
1760
+ # higher values will be coerced to the maximum).
1761
+ # Corresponds to the JSON property `pageSize`
1762
+ # @return [Fixnum]
1763
+ attr_accessor :page_size
1764
+
1765
+ # Optional. A page token, received from a previous `SearchChangeHistoryEvents`
1766
+ # call. Provide this to retrieve the subsequent page. When paginating, all other
1767
+ # parameters provided to `SearchChangeHistoryEvents` must match the call that
1768
+ # provided the page token.
1769
+ # Corresponds to the JSON property `pageToken`
1770
+ # @return [String]
1771
+ attr_accessor :page_token
1772
+
1773
+ # Optional. Resource name for a child property. If set, only return changes made
1774
+ # to this property or its child resources.
1775
+ # Corresponds to the JSON property `property`
1776
+ # @return [String]
1777
+ attr_accessor :property
1778
+
1779
+ # Optional. If set, only return changes if they are for a resource that matches
1780
+ # at least one of these types.
1781
+ # Corresponds to the JSON property `resourceType`
1782
+ # @return [Array<String>]
1783
+ attr_accessor :resource_type
1784
+
1785
+ def initialize(**args)
1786
+ update!(**args)
1787
+ end
1788
+
1789
+ # Update properties of this object
1790
+ def update!(**args)
1791
+ @action = args[:action] if args.key?(:action)
1792
+ @actor_email = args[:actor_email] if args.key?(:actor_email)
1793
+ @earliest_change_time = args[:earliest_change_time] if args.key?(:earliest_change_time)
1794
+ @latest_change_time = args[:latest_change_time] if args.key?(:latest_change_time)
1795
+ @page_size = args[:page_size] if args.key?(:page_size)
1796
+ @page_token = args[:page_token] if args.key?(:page_token)
1797
+ @property = args[:property] if args.key?(:property)
1798
+ @resource_type = args[:resource_type] if args.key?(:resource_type)
1799
+ end
1800
+ end
1801
+
1802
+ # Response message for SearchAccounts RPC.
1803
+ class GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsResponse
1804
+ include Google::Apis::Core::Hashable
1805
+
1806
+ # Results that were accessible to the caller.
1807
+ # Corresponds to the JSON property `changeHistoryEvents`
1808
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChangeHistoryEvent>]
1809
+ attr_accessor :change_history_events
1810
+
1811
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
1812
+ # field is omitted, there are no subsequent pages.
1813
+ # Corresponds to the JSON property `nextPageToken`
1814
+ # @return [String]
1815
+ attr_accessor :next_page_token
1816
+
1817
+ def initialize(**args)
1818
+ update!(**args)
1819
+ end
1820
+
1821
+ # Update properties of this object
1822
+ def update!(**args)
1823
+ @change_history_events = args[:change_history_events] if args.key?(:change_history_events)
1824
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1825
+ end
1826
+ end
1827
+
1188
1828
  # Request message for UpdateUserLink RPC.
1189
1829
  class GoogleAnalyticsAdminV1alphaUpdateUserLinkRequest
1190
1830
  include Google::Apis::Core::Hashable
@@ -1219,12 +1859,12 @@ module Google
1219
1859
  # @return [Array<String>]
1220
1860
  attr_accessor :direct_roles
1221
1861
 
1222
- # Email address of the user to link
1862
+ # Immutable. Email address of the user to link
1223
1863
  # Corresponds to the JSON property `emailAddress`
1224
1864
  # @return [String]
1225
1865
  attr_accessor :email_address
1226
1866
 
1227
- # Example format: properties/1234/userLinks/5678
1867
+ # Output only. Example format: properties/1234/userLinks/5678
1228
1868
  # Corresponds to the JSON property `name`
1229
1869
  # @return [String]
1230
1870
  attr_accessor :name