google-apis-analyticsadmin_v1alpha 0.4.0 → 0.9.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: e27fd0a24076b746fa4e2693378cadd0f3c123bd08449b6b58bdb89496b2123c
4
- data.tar.gz: 1c81a963f5ec54dcbc4ce240bb62009d40c8d0e510f688a624188406d53382bb
3
+ metadata.gz: e8256a987d7b9ef9adc731756d3b9e028d83e555209869884c0bdebec3be1015
4
+ data.tar.gz: fc99e22efef33ba5bf0bcb51847c2cc6bdac463ba4b14851c305939384dca466
5
5
  SHA512:
6
- metadata.gz: 46e01b6133787a2842616c06273538976e0c106ec18a191297fd150d0b7ffbb491cf72f81fd05d07fb1e67fa166af9997fdab16b6b262594e979d2abaa2996e8
7
- data.tar.gz: 231eef27a546f1daf575563da191c4445bfebb9ad3bd4e80b6cefda79ef0790bfb0cd91370168b8521f86be07eab90bd4f2430981db59b1ba5a777ea51b264da
6
+ metadata.gz: 402c22f5ddd2665aaa31baa1aa742a51e369e71020d4236796e2927e55018015a9d5c0e3299b0a04cb48cf94a486a1d4311482b6b4e1528a439e81f9e31dd646
7
+ data.tar.gz: e666e261448bf05f39a5c33e0c12d2c3b316e3f76ec5cba0055267016cdb15a0ef397ee754c8622a3ee93019f9e56e80f1bf0e7eebbb21bbbd5ef85d488eb400
data/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # Release history for google-apis-analyticsadmin_v1alpha
2
2
 
3
+ ### v0.9.0 (2021-06-15)
4
+
5
+ * Regenerated from discovery document revision 20210613
6
+
7
+ ### v0.8.0 (2021-06-11)
8
+
9
+ * Regenerated from discovery document revision 20210610
10
+ * Regenerated using generator version 0.3.0
11
+
12
+ ### v0.7.0 (2021-05-19)
13
+
14
+ * Regenerated from discovery document revision 20210517
15
+
16
+ ### v0.6.0 (2021-05-18)
17
+
18
+ * Regenerated from discovery document revision 20210514
19
+
20
+ ### v0.5.0 (2021-03-24)
21
+
22
+ * Regenerated from discovery document revision 20210322
23
+ * Regenerated using generator version 0.2.0
24
+
3
25
  ### v0.4.0 (2021-03-05)
4
26
 
5
27
  * Regenerated from discovery document revision 20210304
@@ -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
@@ -445,6 +471,21 @@ module Google
445
471
  # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAndroidAppDataStream]
446
472
  attr_accessor :android_app_data_stream
447
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
+
448
489
  # A link between an GA4 property and a Firebase project.
449
490
  # Corresponds to the JSON property `firebaseLink`
450
491
  # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFirebaseLink]
@@ -455,11 +496,21 @@ module Google
455
496
  # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink]
456
497
  attr_accessor :google_ads_link
457
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
+
458
504
  # A resource message representing a Google Analytics IOS app stream.
459
505
  # Corresponds to the JSON property `iosAppDataStream`
460
506
  # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream]
461
507
  attr_accessor :ios_app_data_stream
462
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
+
463
514
  # A resource message representing a Google Analytics GA4 property.
464
515
  # Corresponds to the JSON property `property`
465
516
  # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty]
@@ -478,9 +529,14 @@ module Google
478
529
  def update!(**args)
479
530
  @account = args[:account] if args.key?(:account)
480
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)
481
535
  @firebase_link = args[:firebase_link] if args.key?(:firebase_link)
482
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)
483
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)
484
540
  @property = args[:property] if args.key?(:property)
485
541
  @web_data_stream = args[:web_data_stream] if args.key?(:web_data_stream)
486
542
  end
@@ -543,6 +599,59 @@ module Google
543
599
  end
544
600
  end
545
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
+ # Output only. If set to true, this conversion event refers to a custom event.
612
+ # If set to false, this conversion event refers to a default event in GA.
613
+ # Default events typically have special meaning in GA. Default events are
614
+ # usually created for you by the GA system, but in some cases can be created by
615
+ # property admins. Custom events count towards the maximum number of custom
616
+ # conversion events that may be created per property.
617
+ # Corresponds to the JSON property `custom`
618
+ # @return [Boolean]
619
+ attr_accessor :custom
620
+ alias_method :custom?, :custom
621
+
622
+ # Immutable. The event name for this conversion event. Examples: 'click', '
623
+ # purchase'
624
+ # Corresponds to the JSON property `eventName`
625
+ # @return [String]
626
+ attr_accessor :event_name
627
+
628
+ # Output only. If set, this event can currently be deleted via
629
+ # DeleteConversionEvent.
630
+ # Corresponds to the JSON property `isDeletable`
631
+ # @return [Boolean]
632
+ attr_accessor :is_deletable
633
+ alias_method :is_deletable?, :is_deletable
634
+
635
+ # Output only. Resource name of this conversion event. Format: properties/`
636
+ # property`/conversionEvents/`conversion_event`
637
+ # Corresponds to the JSON property `name`
638
+ # @return [String]
639
+ attr_accessor :name
640
+
641
+ def initialize(**args)
642
+ update!(**args)
643
+ end
644
+
645
+ # Update properties of this object
646
+ def update!(**args)
647
+ @create_time = args[:create_time] if args.key?(:create_time)
648
+ @custom = args[:custom] if args.key?(:custom)
649
+ @event_name = args[:event_name] if args.key?(:event_name)
650
+ @is_deletable = args[:is_deletable] if args.key?(:is_deletable)
651
+ @name = args[:name] if args.key?(:name)
652
+ end
653
+ end
654
+
546
655
  # Request message for CreateUserLink RPC. Users can have multiple email
547
656
  # addresses associated with their Google account, and one of these email
548
657
  # addresses is the "primary" email address. Any of the email addresses
@@ -582,6 +691,123 @@ module Google
582
691
  end
583
692
  end
584
693
 
694
+ # A definition for a CustomDimension.
695
+ class GoogleAnalyticsAdminV1alphaCustomDimension
696
+ include Google::Apis::Core::Hashable
697
+
698
+ # Optional. Description for this custom dimension. Max length of 150 characters.
699
+ # Corresponds to the JSON property `description`
700
+ # @return [String]
701
+ attr_accessor :description
702
+
703
+ # Optional. If set to true, sets this dimension as NPA and excludes it from ads
704
+ # personalization. This is currently only supported by user-scoped custom
705
+ # dimensions.
706
+ # Corresponds to the JSON property `disallowAdsPersonalization`
707
+ # @return [Boolean]
708
+ attr_accessor :disallow_ads_personalization
709
+ alias_method :disallow_ads_personalization?, :disallow_ads_personalization
710
+
711
+ # Required. Display name for this custom dimension as shown in the Analytics UI.
712
+ # Max length of 82 characters, alphanumeric plus space and underscore starting
713
+ # with a letter. Legacy system-generated display names may contain square
714
+ # brackets, but updates to this field will never permit square brackets.
715
+ # Corresponds to the JSON property `displayName`
716
+ # @return [String]
717
+ attr_accessor :display_name
718
+
719
+ # Output only. Resource name for this CustomDimension resource. Format:
720
+ # properties/`property`/customDimensions/`customDimension`
721
+ # Corresponds to the JSON property `name`
722
+ # @return [String]
723
+ attr_accessor :name
724
+
725
+ # Required. Immutable. Tagging parameter name for this custom dimension. If this
726
+ # is a user-scoped dimension, then this is the user property name. If this is an
727
+ # event-scoped dimension, then this is the event parameter name. May only
728
+ # contain alphanumeric and underscore characters, starting with a letter. Max
729
+ # length of 24 characters for user-scoped dimensions, 40 characters for event-
730
+ # scoped dimensions.
731
+ # Corresponds to the JSON property `parameterName`
732
+ # @return [String]
733
+ attr_accessor :parameter_name
734
+
735
+ # Required. Immutable. The scope of this dimension.
736
+ # Corresponds to the JSON property `scope`
737
+ # @return [String]
738
+ attr_accessor :scope
739
+
740
+ def initialize(**args)
741
+ update!(**args)
742
+ end
743
+
744
+ # Update properties of this object
745
+ def update!(**args)
746
+ @description = args[:description] if args.key?(:description)
747
+ @disallow_ads_personalization = args[:disallow_ads_personalization] if args.key?(:disallow_ads_personalization)
748
+ @display_name = args[:display_name] if args.key?(:display_name)
749
+ @name = args[:name] if args.key?(:name)
750
+ @parameter_name = args[:parameter_name] if args.key?(:parameter_name)
751
+ @scope = args[:scope] if args.key?(:scope)
752
+ end
753
+ end
754
+
755
+ # A definition for a custom metric.
756
+ class GoogleAnalyticsAdminV1alphaCustomMetric
757
+ include Google::Apis::Core::Hashable
758
+
759
+ # Optional. Description for this custom dimension. Max length of 150 characters.
760
+ # Corresponds to the JSON property `description`
761
+ # @return [String]
762
+ attr_accessor :description
763
+
764
+ # Required. Display name for this custom metric as shown in the Analytics UI.
765
+ # Max length of 82 characters, alphanumeric plus space and underscore starting
766
+ # with a letter. Legacy system-generated display names may contain square
767
+ # brackets, but updates to this field will never permit square brackets.
768
+ # Corresponds to the JSON property `displayName`
769
+ # @return [String]
770
+ attr_accessor :display_name
771
+
772
+ # Required. Immutable. The type for the custom metric's value.
773
+ # Corresponds to the JSON property `measurementUnit`
774
+ # @return [String]
775
+ attr_accessor :measurement_unit
776
+
777
+ # Output only. Resource name for this CustomMetric resource. Format: properties/`
778
+ # property`/customMetrics/`customMetric`
779
+ # Corresponds to the JSON property `name`
780
+ # @return [String]
781
+ attr_accessor :name
782
+
783
+ # Required. Immutable. Tagging name for this custom metric. If this is an event-
784
+ # scoped metric, then this is the event parameter name. May only contain
785
+ # alphanumeric and underscore charactes, starting with a letter. Max length of
786
+ # 40 characters for event-scoped metrics.
787
+ # Corresponds to the JSON property `parameterName`
788
+ # @return [String]
789
+ attr_accessor :parameter_name
790
+
791
+ # Required. Immutable. The scope of this custom metric.
792
+ # Corresponds to the JSON property `scope`
793
+ # @return [String]
794
+ attr_accessor :scope
795
+
796
+ def initialize(**args)
797
+ update!(**args)
798
+ end
799
+
800
+ # Update properties of this object
801
+ def update!(**args)
802
+ @description = args[:description] if args.key?(:description)
803
+ @display_name = args[:display_name] if args.key?(:display_name)
804
+ @measurement_unit = args[:measurement_unit] if args.key?(:measurement_unit)
805
+ @name = args[:name] if args.key?(:name)
806
+ @parameter_name = args[:parameter_name] if args.key?(:parameter_name)
807
+ @scope = args[:scope] if args.key?(:scope)
808
+ end
809
+ end
810
+
585
811
  # A resource message representing data sharing settings of a Google Analytics
586
812
  # account.
587
813
  class GoogleAnalyticsAdminV1alphaDataSharingSettings
@@ -776,12 +1002,6 @@ module Google
776
1002
  # @return [String]
777
1003
  attr_accessor :create_time
778
1004
 
779
- # Maximum user access to the GA4 property allowed to admins of the linked
780
- # Firebase project.
781
- # Corresponds to the JSON property `maximumUserAccess`
782
- # @return [String]
783
- attr_accessor :maximum_user_access
784
-
785
1005
  # Output only. Example format: properties/1234/firebaseLinks/5678
786
1006
  # Corresponds to the JSON property `name`
787
1007
  # @return [String]
@@ -803,7 +1023,6 @@ module Google
803
1023
  # Update properties of this object
804
1024
  def update!(**args)
805
1025
  @create_time = args[:create_time] if args.key?(:create_time)
806
- @maximum_user_access = args[:maximum_user_access] if args.key?(:maximum_user_access)
807
1026
  @name = args[:name] if args.key?(:name)
808
1027
  @project = args[:project] if args.key?(:project)
809
1028
  end
@@ -844,7 +1063,7 @@ module Google
844
1063
  # Enable personalized advertising features with this integration. Automatically
845
1064
  # publish my Google Analytics audience lists and Google Analytics remarketing
846
1065
  # events/parameters to the linked Google Ads account. If this field is not set
847
- # on create/update it will be defaulted to true.
1066
+ # on create/update, it will be defaulted to true.
848
1067
  # Corresponds to the JSON property `adsPersonalizationEnabled`
849
1068
  # @return [Boolean]
850
1069
  attr_accessor :ads_personalization_enabled
@@ -861,17 +1080,17 @@ module Google
861
1080
  # @return [String]
862
1081
  attr_accessor :create_time
863
1082
 
1083
+ # Output only. Email address of the user that created the link. An empty string
1084
+ # will be returned if the email address can't be retrieved.
1085
+ # Corresponds to the JSON property `creatorEmailAddress`
1086
+ # @return [String]
1087
+ attr_accessor :creator_email_address
1088
+
864
1089
  # Immutable. Google Ads customer ID.
865
1090
  # Corresponds to the JSON property `customerId`
866
1091
  # @return [String]
867
1092
  attr_accessor :customer_id
868
1093
 
869
- # Output only. Email address of the user that created the link. An empty string
870
- # will be returned if the email address can't be retrieved.
871
- # Corresponds to the JSON property `emailAddress`
872
- # @return [String]
873
- attr_accessor :email_address
874
-
875
1094
  # Output only. Format: properties/`propertyId`/googleAdsLinks/`googleAdsLinkId`
876
1095
  # Note: googleAdsLinkId is not the Google Ads customer ID.
877
1096
  # Corresponds to the JSON property `name`
@@ -892,13 +1111,45 @@ module Google
892
1111
  @ads_personalization_enabled = args[:ads_personalization_enabled] if args.key?(:ads_personalization_enabled)
893
1112
  @can_manage_clients = args[:can_manage_clients] if args.key?(:can_manage_clients)
894
1113
  @create_time = args[:create_time] if args.key?(:create_time)
1114
+ @creator_email_address = args[:creator_email_address] if args.key?(:creator_email_address)
895
1115
  @customer_id = args[:customer_id] if args.key?(:customer_id)
896
- @email_address = args[:email_address] if args.key?(:email_address)
897
1116
  @name = args[:name] if args.key?(:name)
898
1117
  @update_time = args[:update_time] if args.key?(:update_time)
899
1118
  end
900
1119
  end
901
1120
 
1121
+ # Settings values for Google Signals. This is a singleton resource.
1122
+ class GoogleAnalyticsAdminV1alphaGoogleSignalsSettings
1123
+ include Google::Apis::Core::Hashable
1124
+
1125
+ # Output only. Terms of Service acceptance.
1126
+ # Corresponds to the JSON property `consent`
1127
+ # @return [String]
1128
+ attr_accessor :consent
1129
+
1130
+ # Output only. Resource name of this setting. Format: properties/`property_id`/
1131
+ # googleSignalsSettings Example: "properties/1000/googleSignalsSettings"
1132
+ # Corresponds to the JSON property `name`
1133
+ # @return [String]
1134
+ attr_accessor :name
1135
+
1136
+ # Status of this setting.
1137
+ # Corresponds to the JSON property `state`
1138
+ # @return [String]
1139
+ attr_accessor :state
1140
+
1141
+ def initialize(**args)
1142
+ update!(**args)
1143
+ end
1144
+
1145
+ # Update properties of this object
1146
+ def update!(**args)
1147
+ @consent = args[:consent] if args.key?(:consent)
1148
+ @name = args[:name] if args.key?(:name)
1149
+ @state = args[:state] if args.key?(:state)
1150
+ end
1151
+ end
1152
+
902
1153
  # A resource message representing a Google Analytics IOS app stream.
903
1154
  class GoogleAnalyticsAdminV1alphaIosAppDataStream
904
1155
  include Google::Apis::Core::Hashable
@@ -1031,6 +1282,84 @@ module Google
1031
1282
  end
1032
1283
  end
1033
1284
 
1285
+ # Response message for ListConversionEvents RPC.
1286
+ class GoogleAnalyticsAdminV1alphaListConversionEventsResponse
1287
+ include Google::Apis::Core::Hashable
1288
+
1289
+ # The requested conversion events
1290
+ # Corresponds to the JSON property `conversionEvents`
1291
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaConversionEvent>]
1292
+ attr_accessor :conversion_events
1293
+
1294
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
1295
+ # field is omitted, there are no subsequent pages.
1296
+ # Corresponds to the JSON property `nextPageToken`
1297
+ # @return [String]
1298
+ attr_accessor :next_page_token
1299
+
1300
+ def initialize(**args)
1301
+ update!(**args)
1302
+ end
1303
+
1304
+ # Update properties of this object
1305
+ def update!(**args)
1306
+ @conversion_events = args[:conversion_events] if args.key?(:conversion_events)
1307
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1308
+ end
1309
+ end
1310
+
1311
+ # Response message for ListCustomDimensions RPC.
1312
+ class GoogleAnalyticsAdminV1alphaListCustomDimensionsResponse
1313
+ include Google::Apis::Core::Hashable
1314
+
1315
+ # List of CustomDimensions.
1316
+ # Corresponds to the JSON property `customDimensions`
1317
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension>]
1318
+ attr_accessor :custom_dimensions
1319
+
1320
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
1321
+ # field is omitted, there are no subsequent pages.
1322
+ # Corresponds to the JSON property `nextPageToken`
1323
+ # @return [String]
1324
+ attr_accessor :next_page_token
1325
+
1326
+ def initialize(**args)
1327
+ update!(**args)
1328
+ end
1329
+
1330
+ # Update properties of this object
1331
+ def update!(**args)
1332
+ @custom_dimensions = args[:custom_dimensions] if args.key?(:custom_dimensions)
1333
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1334
+ end
1335
+ end
1336
+
1337
+ # Response message for ListCustomMetrics RPC.
1338
+ class GoogleAnalyticsAdminV1alphaListCustomMetricsResponse
1339
+ include Google::Apis::Core::Hashable
1340
+
1341
+ # List of CustomMetrics.
1342
+ # Corresponds to the JSON property `customMetrics`
1343
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric>]
1344
+ attr_accessor :custom_metrics
1345
+
1346
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
1347
+ # field is omitted, there are no subsequent pages.
1348
+ # Corresponds to the JSON property `nextPageToken`
1349
+ # @return [String]
1350
+ attr_accessor :next_page_token
1351
+
1352
+ def initialize(**args)
1353
+ update!(**args)
1354
+ end
1355
+
1356
+ # Update properties of this object
1357
+ def update!(**args)
1358
+ @custom_metrics = args[:custom_metrics] if args.key?(:custom_metrics)
1359
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1360
+ end
1361
+ end
1362
+
1034
1363
  # Response message for ListFirebaseLinks RPC
1035
1364
  class GoogleAnalyticsAdminV1alphaListFirebaseLinksResponse
1036
1365
  include Google::Apis::Core::Hashable
@@ -1110,6 +1439,32 @@ module Google
1110
1439
  end
1111
1440
  end
1112
1441
 
1442
+ # Response message for ListMeasurementProtocolSecret RPC
1443
+ class GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse
1444
+ include Google::Apis::Core::Hashable
1445
+
1446
+ # A list of secrets for the parent stream specified in the request.
1447
+ # Corresponds to the JSON property `measurementProtocolSecrets`
1448
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret>]
1449
+ attr_accessor :measurement_protocol_secrets
1450
+
1451
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
1452
+ # field is omitted, there are no subsequent pages.
1453
+ # Corresponds to the JSON property `nextPageToken`
1454
+ # @return [String]
1455
+ attr_accessor :next_page_token
1456
+
1457
+ def initialize(**args)
1458
+ update!(**args)
1459
+ end
1460
+
1461
+ # Update properties of this object
1462
+ def update!(**args)
1463
+ @measurement_protocol_secrets = args[:measurement_protocol_secrets] if args.key?(:measurement_protocol_secrets)
1464
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1465
+ end
1466
+ end
1467
+
1113
1468
  # Response message for ListProperties RPC.
1114
1469
  class GoogleAnalyticsAdminV1alphaListPropertiesResponse
1115
1470
  include Google::Apis::Core::Hashable
@@ -1188,6 +1543,41 @@ module Google
1188
1543
  end
1189
1544
  end
1190
1545
 
1546
+ # A secret value used for sending hits to Measurement Protocol.
1547
+ class GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret
1548
+ include Google::Apis::Core::Hashable
1549
+
1550
+ # Required. Human-readable display name for this secret.
1551
+ # Corresponds to the JSON property `displayName`
1552
+ # @return [String]
1553
+ attr_accessor :display_name
1554
+
1555
+ # Output only. Resource name of this secret. This secret may be a child of any
1556
+ # type of stream. Format: properties/`property`/webDataStreams/`webDataStream`/
1557
+ # measurementProtocolSecrets/`measurementProtocolSecret`
1558
+ # Corresponds to the JSON property `name`
1559
+ # @return [String]
1560
+ attr_accessor :name
1561
+
1562
+ # Output only. The measurement protocol secret value. Pass this value to the
1563
+ # api_secret field of the Measurement Protocol API when sending hits to this
1564
+ # secret's parent property.
1565
+ # Corresponds to the JSON property `secretValue`
1566
+ # @return [String]
1567
+ attr_accessor :secret_value
1568
+
1569
+ def initialize(**args)
1570
+ update!(**args)
1571
+ end
1572
+
1573
+ # Update properties of this object
1574
+ def update!(**args)
1575
+ @display_name = args[:display_name] if args.key?(:display_name)
1576
+ @name = args[:name] if args.key?(:name)
1577
+ @secret_value = args[:secret_value] if args.key?(:secret_value)
1578
+ end
1579
+ end
1580
+
1191
1581
  # A resource message representing a Google Analytics GA4 property.
1192
1582
  class GoogleAnalyticsAdminV1alphaProperty
1193
1583
  include Google::Apis::Core::Hashable
@@ -1203,12 +1593,11 @@ module Google
1203
1593
  # @return [String]
1204
1594
  attr_accessor :currency_code
1205
1595
 
1206
- # Output only. Indicates whether this Property is soft-deleted or not. Deleted
1207
- # properties are excluded from List results unless specifically requested.
1208
- # Corresponds to the JSON property `deleted`
1209
- # @return [Boolean]
1210
- attr_accessor :deleted
1211
- alias_method :deleted?, :deleted
1596
+ # Output only. If set, the time at which this property was trashed. If not set,
1597
+ # then this property is not currently in the trash can.
1598
+ # Corresponds to the JSON property `deleteTime`
1599
+ # @return [String]
1600
+ attr_accessor :delete_time
1212
1601
 
1213
1602
  # Required. Human-readable display name for this property. The max allowed
1214
1603
  # display name length is 100 UTF-16 code units.
@@ -1216,6 +1605,13 @@ module Google
1216
1605
  # @return [String]
1217
1606
  attr_accessor :display_name
1218
1607
 
1608
+ # Output only. If set, the time at which this trashed property will be
1609
+ # permanently deleted. If not set, then this property is not currently in the
1610
+ # trash can and is not slated to be deleted.
1611
+ # Corresponds to the JSON property `expireTime`
1612
+ # @return [String]
1613
+ attr_accessor :expire_time
1614
+
1219
1615
  # Industry associated with this property Example: AUTOMOTIVE, FOOD_AND_DRINK
1220
1616
  # Corresponds to the JSON property `industryCategory`
1221
1617
  # @return [String]
@@ -1234,11 +1630,11 @@ module Google
1234
1630
  # @return [String]
1235
1631
  attr_accessor :parent
1236
1632
 
1237
- # Reporting Time Zone, used as the day boundary for reports, regardless of where
1238
- # the data originates. If the time zone honors DST, Analytics will automatically
1239
- # adjust for the changes. NOTE: Changing the time zone only affects data going
1240
- # forward, and is not applied retroactively. Format: https://www.iana.org/time-
1241
- # zones Example: "America/Los_Angeles"
1633
+ # Required. Reporting Time Zone, used as the day boundary for reports,
1634
+ # regardless of where the data originates. If the time zone honors DST,
1635
+ # Analytics will automatically adjust for the changes. NOTE: Changing the time
1636
+ # zone only affects data going forward, and is not applied retroactively. Format:
1637
+ # https://www.iana.org/time-zones Example: "America/Los_Angeles"
1242
1638
  # Corresponds to the JSON property `timeZone`
1243
1639
  # @return [String]
1244
1640
  attr_accessor :time_zone
@@ -1256,8 +1652,9 @@ module Google
1256
1652
  def update!(**args)
1257
1653
  @create_time = args[:create_time] if args.key?(:create_time)
1258
1654
  @currency_code = args[:currency_code] if args.key?(:currency_code)
1259
- @deleted = args[:deleted] if args.key?(:deleted)
1655
+ @delete_time = args[:delete_time] if args.key?(:delete_time)
1260
1656
  @display_name = args[:display_name] if args.key?(:display_name)
1657
+ @expire_time = args[:expire_time] if args.key?(:expire_time)
1261
1658
  @industry_category = args[:industry_category] if args.key?(:industry_category)
1262
1659
  @name = args[:name] if args.key?(:name)
1263
1660
  @parent = args[:parent] if args.key?(:parent)
@@ -1467,12 +1864,12 @@ module Google
1467
1864
  # @return [Array<String>]
1468
1865
  attr_accessor :direct_roles
1469
1866
 
1470
- # Email address of the user to link
1867
+ # Immutable. Email address of the user to link
1471
1868
  # Corresponds to the JSON property `emailAddress`
1472
1869
  # @return [String]
1473
1870
  attr_accessor :email_address
1474
1871
 
1475
- # Example format: properties/1234/userLinks/5678
1872
+ # Output only. Example format: properties/1234/userLinks/5678
1476
1873
  # Corresponds to the JSON property `name`
1477
1874
  # @return [String]
1478
1875
  attr_accessor :name