google-apis-analyticsadmin_v1alpha 0.3.0 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +23 -0
- data/lib/google/apis/analyticsadmin_v1alpha/classes.rb +662 -29
- data/lib/google/apis/analyticsadmin_v1alpha/gem_version.rb +3 -3
- data/lib/google/apis/analyticsadmin_v1alpha/representations.rb +277 -3
- data/lib/google/apis/analyticsadmin_v1alpha/service.rb +1244 -172
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: af8b193de6496380665f5a55c376ae038a03471c18346b69f0a9c1cf4c3bd01c
|
4
|
+
data.tar.gz: 631ea72f70b576580adcd68269e3af8e7a6eec19692dcb9ff97f91bb350cb62e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 932201b4f539b012f2eacbebee06b8eaa1af27f8cdd79e1e0a513dc87df29196ae777ec3ae9fddef2cd85da236cea3a8f36ba50df46ca8d99575b61c20d445a9
|
7
|
+
data.tar.gz: 735bb992a2c8db759f1b192255c5e3780c711d7b5cf9ef3e67f9a1efa4335cb3da9f68fad9dab8e12e8d1e51b92f73030a940d00363b6d2c477db8755f75895c
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,28 @@
|
|
1
1
|
# Release history for google-apis-analyticsadmin_v1alpha
|
2
2
|
|
3
|
+
### v0.8.0 (2021-06-11)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210610
|
6
|
+
* Regenerated using generator version 0.3.0
|
7
|
+
|
8
|
+
### v0.7.0 (2021-05-19)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20210517
|
11
|
+
|
12
|
+
### v0.6.0 (2021-05-18)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20210514
|
15
|
+
|
16
|
+
### v0.5.0 (2021-03-24)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20210322
|
19
|
+
* Regenerated using generator version 0.2.0
|
20
|
+
|
21
|
+
### v0.4.0 (2021-03-05)
|
22
|
+
|
23
|
+
* Regenerated from discovery document revision 20210304
|
24
|
+
* Unspecified changes
|
25
|
+
|
3
26
|
### v0.3.0 (2021-02-24)
|
4
27
|
|
5
28
|
* Regenerated from discovery document revision 20210223
|
@@ -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
|
@@ -624,12 +990,6 @@ module Google
|
|
624
990
|
# @return [String]
|
625
991
|
attr_accessor :create_time
|
626
992
|
|
627
|
-
# Maximum user access to the GA4 property allowed to admins of the linked
|
628
|
-
# Firebase project.
|
629
|
-
# Corresponds to the JSON property `maximumUserAccess`
|
630
|
-
# @return [String]
|
631
|
-
attr_accessor :maximum_user_access
|
632
|
-
|
633
993
|
# Output only. Example format: properties/1234/firebaseLinks/5678
|
634
994
|
# Corresponds to the JSON property `name`
|
635
995
|
# @return [String]
|
@@ -651,7 +1011,6 @@ module Google
|
|
651
1011
|
# Update properties of this object
|
652
1012
|
def update!(**args)
|
653
1013
|
@create_time = args[:create_time] if args.key?(:create_time)
|
654
|
-
@maximum_user_access = args[:maximum_user_access] if args.key?(:maximum_user_access)
|
655
1014
|
@name = args[:name] if args.key?(:name)
|
656
1015
|
@project = args[:project] if args.key?(:project)
|
657
1016
|
end
|
@@ -692,7 +1051,7 @@ module Google
|
|
692
1051
|
# Enable personalized advertising features with this integration. Automatically
|
693
1052
|
# publish my Google Analytics audience lists and Google Analytics remarketing
|
694
1053
|
# events/parameters to the linked Google Ads account. If this field is not set
|
695
|
-
# on create/update it will be defaulted to true.
|
1054
|
+
# on create/update, it will be defaulted to true.
|
696
1055
|
# Corresponds to the JSON property `adsPersonalizationEnabled`
|
697
1056
|
# @return [Boolean]
|
698
1057
|
attr_accessor :ads_personalization_enabled
|
@@ -709,17 +1068,17 @@ module Google
|
|
709
1068
|
# @return [String]
|
710
1069
|
attr_accessor :create_time
|
711
1070
|
|
1071
|
+
# Output only. Email address of the user that created the link. An empty string
|
1072
|
+
# will be returned if the email address can't be retrieved.
|
1073
|
+
# Corresponds to the JSON property `creatorEmailAddress`
|
1074
|
+
# @return [String]
|
1075
|
+
attr_accessor :creator_email_address
|
1076
|
+
|
712
1077
|
# Immutable. Google Ads customer ID.
|
713
1078
|
# Corresponds to the JSON property `customerId`
|
714
1079
|
# @return [String]
|
715
1080
|
attr_accessor :customer_id
|
716
1081
|
|
717
|
-
# Output only. Email address of the user that created the link. An empty string
|
718
|
-
# will be returned if the email address can't be retrieved.
|
719
|
-
# Corresponds to the JSON property `emailAddress`
|
720
|
-
# @return [String]
|
721
|
-
attr_accessor :email_address
|
722
|
-
|
723
1082
|
# Output only. Format: properties/`propertyId`/googleAdsLinks/`googleAdsLinkId`
|
724
1083
|
# Note: googleAdsLinkId is not the Google Ads customer ID.
|
725
1084
|
# Corresponds to the JSON property `name`
|
@@ -740,13 +1099,45 @@ module Google
|
|
740
1099
|
@ads_personalization_enabled = args[:ads_personalization_enabled] if args.key?(:ads_personalization_enabled)
|
741
1100
|
@can_manage_clients = args[:can_manage_clients] if args.key?(:can_manage_clients)
|
742
1101
|
@create_time = args[:create_time] if args.key?(:create_time)
|
1102
|
+
@creator_email_address = args[:creator_email_address] if args.key?(:creator_email_address)
|
743
1103
|
@customer_id = args[:customer_id] if args.key?(:customer_id)
|
744
|
-
@email_address = args[:email_address] if args.key?(:email_address)
|
745
1104
|
@name = args[:name] if args.key?(:name)
|
746
1105
|
@update_time = args[:update_time] if args.key?(:update_time)
|
747
1106
|
end
|
748
1107
|
end
|
749
1108
|
|
1109
|
+
# Settings values for Google Signals. This is a singleton resource.
|
1110
|
+
class GoogleAnalyticsAdminV1alphaGoogleSignalsSettings
|
1111
|
+
include Google::Apis::Core::Hashable
|
1112
|
+
|
1113
|
+
# Output only. Terms of Service acceptance.
|
1114
|
+
# Corresponds to the JSON property `consent`
|
1115
|
+
# @return [String]
|
1116
|
+
attr_accessor :consent
|
1117
|
+
|
1118
|
+
# Output only. Resource name of this setting. Format: properties/`property_id`/
|
1119
|
+
# googleSignalsSettings Example: "properties/1000/googleSignalsSettings"
|
1120
|
+
# Corresponds to the JSON property `name`
|
1121
|
+
# @return [String]
|
1122
|
+
attr_accessor :name
|
1123
|
+
|
1124
|
+
# Status of this setting.
|
1125
|
+
# Corresponds to the JSON property `state`
|
1126
|
+
# @return [String]
|
1127
|
+
attr_accessor :state
|
1128
|
+
|
1129
|
+
def initialize(**args)
|
1130
|
+
update!(**args)
|
1131
|
+
end
|
1132
|
+
|
1133
|
+
# Update properties of this object
|
1134
|
+
def update!(**args)
|
1135
|
+
@consent = args[:consent] if args.key?(:consent)
|
1136
|
+
@name = args[:name] if args.key?(:name)
|
1137
|
+
@state = args[:state] if args.key?(:state)
|
1138
|
+
end
|
1139
|
+
end
|
1140
|
+
|
750
1141
|
# A resource message representing a Google Analytics IOS app stream.
|
751
1142
|
class GoogleAnalyticsAdminV1alphaIosAppDataStream
|
752
1143
|
include Google::Apis::Core::Hashable
|
@@ -879,6 +1270,84 @@ module Google
|
|
879
1270
|
end
|
880
1271
|
end
|
881
1272
|
|
1273
|
+
# Response message for ListConversionEvents RPC.
|
1274
|
+
class GoogleAnalyticsAdminV1alphaListConversionEventsResponse
|
1275
|
+
include Google::Apis::Core::Hashable
|
1276
|
+
|
1277
|
+
# The requested conversion events
|
1278
|
+
# Corresponds to the JSON property `conversionEvents`
|
1279
|
+
# @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaConversionEvent>]
|
1280
|
+
attr_accessor :conversion_events
|
1281
|
+
|
1282
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
1283
|
+
# field is omitted, there are no subsequent pages.
|
1284
|
+
# Corresponds to the JSON property `nextPageToken`
|
1285
|
+
# @return [String]
|
1286
|
+
attr_accessor :next_page_token
|
1287
|
+
|
1288
|
+
def initialize(**args)
|
1289
|
+
update!(**args)
|
1290
|
+
end
|
1291
|
+
|
1292
|
+
# Update properties of this object
|
1293
|
+
def update!(**args)
|
1294
|
+
@conversion_events = args[:conversion_events] if args.key?(:conversion_events)
|
1295
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1296
|
+
end
|
1297
|
+
end
|
1298
|
+
|
1299
|
+
# Response message for ListCustomDimensions RPC.
|
1300
|
+
class GoogleAnalyticsAdminV1alphaListCustomDimensionsResponse
|
1301
|
+
include Google::Apis::Core::Hashable
|
1302
|
+
|
1303
|
+
# List of CustomDimensions.
|
1304
|
+
# Corresponds to the JSON property `customDimensions`
|
1305
|
+
# @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension>]
|
1306
|
+
attr_accessor :custom_dimensions
|
1307
|
+
|
1308
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
1309
|
+
# field is omitted, there are no subsequent pages.
|
1310
|
+
# Corresponds to the JSON property `nextPageToken`
|
1311
|
+
# @return [String]
|
1312
|
+
attr_accessor :next_page_token
|
1313
|
+
|
1314
|
+
def initialize(**args)
|
1315
|
+
update!(**args)
|
1316
|
+
end
|
1317
|
+
|
1318
|
+
# Update properties of this object
|
1319
|
+
def update!(**args)
|
1320
|
+
@custom_dimensions = args[:custom_dimensions] if args.key?(:custom_dimensions)
|
1321
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1322
|
+
end
|
1323
|
+
end
|
1324
|
+
|
1325
|
+
# Response message for ListCustomMetrics RPC.
|
1326
|
+
class GoogleAnalyticsAdminV1alphaListCustomMetricsResponse
|
1327
|
+
include Google::Apis::Core::Hashable
|
1328
|
+
|
1329
|
+
# List of CustomMetrics.
|
1330
|
+
# Corresponds to the JSON property `customMetrics`
|
1331
|
+
# @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric>]
|
1332
|
+
attr_accessor :custom_metrics
|
1333
|
+
|
1334
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
1335
|
+
# field is omitted, there are no subsequent pages.
|
1336
|
+
# Corresponds to the JSON property `nextPageToken`
|
1337
|
+
# @return [String]
|
1338
|
+
attr_accessor :next_page_token
|
1339
|
+
|
1340
|
+
def initialize(**args)
|
1341
|
+
update!(**args)
|
1342
|
+
end
|
1343
|
+
|
1344
|
+
# Update properties of this object
|
1345
|
+
def update!(**args)
|
1346
|
+
@custom_metrics = args[:custom_metrics] if args.key?(:custom_metrics)
|
1347
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1348
|
+
end
|
1349
|
+
end
|
1350
|
+
|
882
1351
|
# Response message for ListFirebaseLinks RPC
|
883
1352
|
class GoogleAnalyticsAdminV1alphaListFirebaseLinksResponse
|
884
1353
|
include Google::Apis::Core::Hashable
|
@@ -958,6 +1427,32 @@ module Google
|
|
958
1427
|
end
|
959
1428
|
end
|
960
1429
|
|
1430
|
+
# Response message for ListMeasurementProtocolSecret RPC
|
1431
|
+
class GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse
|
1432
|
+
include Google::Apis::Core::Hashable
|
1433
|
+
|
1434
|
+
# A list of secrets for the parent stream specified in the request.
|
1435
|
+
# Corresponds to the JSON property `measurementProtocolSecrets`
|
1436
|
+
# @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret>]
|
1437
|
+
attr_accessor :measurement_protocol_secrets
|
1438
|
+
|
1439
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
1440
|
+
# field is omitted, there are no subsequent pages.
|
1441
|
+
# Corresponds to the JSON property `nextPageToken`
|
1442
|
+
# @return [String]
|
1443
|
+
attr_accessor :next_page_token
|
1444
|
+
|
1445
|
+
def initialize(**args)
|
1446
|
+
update!(**args)
|
1447
|
+
end
|
1448
|
+
|
1449
|
+
# Update properties of this object
|
1450
|
+
def update!(**args)
|
1451
|
+
@measurement_protocol_secrets = args[:measurement_protocol_secrets] if args.key?(:measurement_protocol_secrets)
|
1452
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1453
|
+
end
|
1454
|
+
end
|
1455
|
+
|
961
1456
|
# Response message for ListProperties RPC.
|
962
1457
|
class GoogleAnalyticsAdminV1alphaListPropertiesResponse
|
963
1458
|
include Google::Apis::Core::Hashable
|
@@ -1036,6 +1531,41 @@ module Google
|
|
1036
1531
|
end
|
1037
1532
|
end
|
1038
1533
|
|
1534
|
+
# A secret value used for sending hits to Measurement Protocol.
|
1535
|
+
class GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret
|
1536
|
+
include Google::Apis::Core::Hashable
|
1537
|
+
|
1538
|
+
# Required. Human-readable display name for this secret.
|
1539
|
+
# Corresponds to the JSON property `displayName`
|
1540
|
+
# @return [String]
|
1541
|
+
attr_accessor :display_name
|
1542
|
+
|
1543
|
+
# Output only. Resource name of this secret. This secret may be a child of any
|
1544
|
+
# type of stream. Format: properties/`property`/webDataStreams/`webDataStream`/
|
1545
|
+
# measurementProtocolSecrets/`measurementProtocolSecret`
|
1546
|
+
# Corresponds to the JSON property `name`
|
1547
|
+
# @return [String]
|
1548
|
+
attr_accessor :name
|
1549
|
+
|
1550
|
+
# Output only. The measurement protocol secret value. Pass this value to the
|
1551
|
+
# api_secret field of the Measurement Protocol API when sending hits to this
|
1552
|
+
# secret's parent property.
|
1553
|
+
# Corresponds to the JSON property `secretValue`
|
1554
|
+
# @return [String]
|
1555
|
+
attr_accessor :secret_value
|
1556
|
+
|
1557
|
+
def initialize(**args)
|
1558
|
+
update!(**args)
|
1559
|
+
end
|
1560
|
+
|
1561
|
+
# Update properties of this object
|
1562
|
+
def update!(**args)
|
1563
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
1564
|
+
@name = args[:name] if args.key?(:name)
|
1565
|
+
@secret_value = args[:secret_value] if args.key?(:secret_value)
|
1566
|
+
end
|
1567
|
+
end
|
1568
|
+
|
1039
1569
|
# A resource message representing a Google Analytics GA4 property.
|
1040
1570
|
class GoogleAnalyticsAdminV1alphaProperty
|
1041
1571
|
include Google::Apis::Core::Hashable
|
@@ -1051,12 +1581,11 @@ module Google
|
|
1051
1581
|
# @return [String]
|
1052
1582
|
attr_accessor :currency_code
|
1053
1583
|
|
1054
|
-
# Output only.
|
1055
|
-
#
|
1056
|
-
# Corresponds to the JSON property `
|
1057
|
-
# @return [
|
1058
|
-
attr_accessor :
|
1059
|
-
alias_method :deleted?, :deleted
|
1584
|
+
# Output only. If set, the time at which this property was trashed. If not set,
|
1585
|
+
# then this property is not currently in the trash can.
|
1586
|
+
# Corresponds to the JSON property `deleteTime`
|
1587
|
+
# @return [String]
|
1588
|
+
attr_accessor :delete_time
|
1060
1589
|
|
1061
1590
|
# Required. Human-readable display name for this property. The max allowed
|
1062
1591
|
# display name length is 100 UTF-16 code units.
|
@@ -1064,6 +1593,13 @@ module Google
|
|
1064
1593
|
# @return [String]
|
1065
1594
|
attr_accessor :display_name
|
1066
1595
|
|
1596
|
+
# Output only. If set, the time at which this trashed property will be
|
1597
|
+
# permanently deleted. If not set, then this property is not currently in the
|
1598
|
+
# trash can and is not slated to be deleted.
|
1599
|
+
# Corresponds to the JSON property `expireTime`
|
1600
|
+
# @return [String]
|
1601
|
+
attr_accessor :expire_time
|
1602
|
+
|
1067
1603
|
# Industry associated with this property Example: AUTOMOTIVE, FOOD_AND_DRINK
|
1068
1604
|
# Corresponds to the JSON property `industryCategory`
|
1069
1605
|
# @return [String]
|
@@ -1082,11 +1618,11 @@ module Google
|
|
1082
1618
|
# @return [String]
|
1083
1619
|
attr_accessor :parent
|
1084
1620
|
|
1085
|
-
# Reporting Time Zone, used as the day boundary for reports,
|
1086
|
-
# the data originates. If the time zone honors DST,
|
1087
|
-
# adjust for the changes. NOTE: Changing the time
|
1088
|
-
# forward, and is not applied retroactively. Format:
|
1089
|
-
# zones Example: "America/Los_Angeles"
|
1621
|
+
# Required. Reporting Time Zone, used as the day boundary for reports,
|
1622
|
+
# regardless of where the data originates. If the time zone honors DST,
|
1623
|
+
# Analytics will automatically adjust for the changes. NOTE: Changing the time
|
1624
|
+
# zone only affects data going forward, and is not applied retroactively. Format:
|
1625
|
+
# https://www.iana.org/time-zones Example: "America/Los_Angeles"
|
1090
1626
|
# Corresponds to the JSON property `timeZone`
|
1091
1627
|
# @return [String]
|
1092
1628
|
attr_accessor :time_zone
|
@@ -1104,8 +1640,9 @@ module Google
|
|
1104
1640
|
def update!(**args)
|
1105
1641
|
@create_time = args[:create_time] if args.key?(:create_time)
|
1106
1642
|
@currency_code = args[:currency_code] if args.key?(:currency_code)
|
1107
|
-
@
|
1643
|
+
@delete_time = args[:delete_time] if args.key?(:delete_time)
|
1108
1644
|
@display_name = args[:display_name] if args.key?(:display_name)
|
1645
|
+
@expire_time = args[:expire_time] if args.key?(:expire_time)
|
1109
1646
|
@industry_category = args[:industry_category] if args.key?(:industry_category)
|
1110
1647
|
@name = args[:name] if args.key?(:name)
|
1111
1648
|
@parent = args[:parent] if args.key?(:parent)
|
@@ -1185,6 +1722,102 @@ module Google
|
|
1185
1722
|
end
|
1186
1723
|
end
|
1187
1724
|
|
1725
|
+
# Request message for SearchChangeHistoryEvents RPC.
|
1726
|
+
class GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest
|
1727
|
+
include Google::Apis::Core::Hashable
|
1728
|
+
|
1729
|
+
# Optional. If set, only return changes that match one or more of these types of
|
1730
|
+
# actions.
|
1731
|
+
# Corresponds to the JSON property `action`
|
1732
|
+
# @return [Array<String>]
|
1733
|
+
attr_accessor :action
|
1734
|
+
|
1735
|
+
# Optional. If set, only return changes if they are made by a user in this list.
|
1736
|
+
# Corresponds to the JSON property `actorEmail`
|
1737
|
+
# @return [Array<String>]
|
1738
|
+
attr_accessor :actor_email
|
1739
|
+
|
1740
|
+
# Optional. If set, only return changes made after this time (inclusive).
|
1741
|
+
# Corresponds to the JSON property `earliestChangeTime`
|
1742
|
+
# @return [String]
|
1743
|
+
attr_accessor :earliest_change_time
|
1744
|
+
|
1745
|
+
# Optional. If set, only return changes made before this time (inclusive).
|
1746
|
+
# Corresponds to the JSON property `latestChangeTime`
|
1747
|
+
# @return [String]
|
1748
|
+
attr_accessor :latest_change_time
|
1749
|
+
|
1750
|
+
# Optional. The maximum number of ChangeHistoryEvent items to return. The
|
1751
|
+
# service may return fewer than this value, even if there are additional pages.
|
1752
|
+
# If unspecified, at most 50 items will be returned. The maximum value is 200 (
|
1753
|
+
# higher values will be coerced to the maximum).
|
1754
|
+
# Corresponds to the JSON property `pageSize`
|
1755
|
+
# @return [Fixnum]
|
1756
|
+
attr_accessor :page_size
|
1757
|
+
|
1758
|
+
# Optional. A page token, received from a previous `SearchChangeHistoryEvents`
|
1759
|
+
# call. Provide this to retrieve the subsequent page. When paginating, all other
|
1760
|
+
# parameters provided to `SearchChangeHistoryEvents` must match the call that
|
1761
|
+
# provided the page token.
|
1762
|
+
# Corresponds to the JSON property `pageToken`
|
1763
|
+
# @return [String]
|
1764
|
+
attr_accessor :page_token
|
1765
|
+
|
1766
|
+
# Optional. Resource name for a child property. If set, only return changes made
|
1767
|
+
# to this property or its child resources.
|
1768
|
+
# Corresponds to the JSON property `property`
|
1769
|
+
# @return [String]
|
1770
|
+
attr_accessor :property
|
1771
|
+
|
1772
|
+
# Optional. If set, only return changes if they are for a resource that matches
|
1773
|
+
# at least one of these types.
|
1774
|
+
# Corresponds to the JSON property `resourceType`
|
1775
|
+
# @return [Array<String>]
|
1776
|
+
attr_accessor :resource_type
|
1777
|
+
|
1778
|
+
def initialize(**args)
|
1779
|
+
update!(**args)
|
1780
|
+
end
|
1781
|
+
|
1782
|
+
# Update properties of this object
|
1783
|
+
def update!(**args)
|
1784
|
+
@action = args[:action] if args.key?(:action)
|
1785
|
+
@actor_email = args[:actor_email] if args.key?(:actor_email)
|
1786
|
+
@earliest_change_time = args[:earliest_change_time] if args.key?(:earliest_change_time)
|
1787
|
+
@latest_change_time = args[:latest_change_time] if args.key?(:latest_change_time)
|
1788
|
+
@page_size = args[:page_size] if args.key?(:page_size)
|
1789
|
+
@page_token = args[:page_token] if args.key?(:page_token)
|
1790
|
+
@property = args[:property] if args.key?(:property)
|
1791
|
+
@resource_type = args[:resource_type] if args.key?(:resource_type)
|
1792
|
+
end
|
1793
|
+
end
|
1794
|
+
|
1795
|
+
# Response message for SearchAccounts RPC.
|
1796
|
+
class GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsResponse
|
1797
|
+
include Google::Apis::Core::Hashable
|
1798
|
+
|
1799
|
+
# Results that were accessible to the caller.
|
1800
|
+
# Corresponds to the JSON property `changeHistoryEvents`
|
1801
|
+
# @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChangeHistoryEvent>]
|
1802
|
+
attr_accessor :change_history_events
|
1803
|
+
|
1804
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
1805
|
+
# field is omitted, there are no subsequent pages.
|
1806
|
+
# Corresponds to the JSON property `nextPageToken`
|
1807
|
+
# @return [String]
|
1808
|
+
attr_accessor :next_page_token
|
1809
|
+
|
1810
|
+
def initialize(**args)
|
1811
|
+
update!(**args)
|
1812
|
+
end
|
1813
|
+
|
1814
|
+
# Update properties of this object
|
1815
|
+
def update!(**args)
|
1816
|
+
@change_history_events = args[:change_history_events] if args.key?(:change_history_events)
|
1817
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1818
|
+
end
|
1819
|
+
end
|
1820
|
+
|
1188
1821
|
# Request message for UpdateUserLink RPC.
|
1189
1822
|
class GoogleAnalyticsAdminV1alphaUpdateUserLinkRequest
|
1190
1823
|
include Google::Apis::Core::Hashable
|
@@ -1219,12 +1852,12 @@ module Google
|
|
1219
1852
|
# @return [Array<String>]
|
1220
1853
|
attr_accessor :direct_roles
|
1221
1854
|
|
1222
|
-
# Email address of the user to link
|
1855
|
+
# Immutable. Email address of the user to link
|
1223
1856
|
# Corresponds to the JSON property `emailAddress`
|
1224
1857
|
# @return [String]
|
1225
1858
|
attr_accessor :email_address
|
1226
1859
|
|
1227
|
-
# Example format: properties/1234/userLinks/5678
|
1860
|
+
# Output only. Example format: properties/1234/userLinks/5678
|
1228
1861
|
# Corresponds to the JSON property `name`
|
1229
1862
|
# @return [String]
|
1230
1863
|
attr_accessor :name
|