google-apis-analyticsadmin_v1alpha 0.75.0 → 0.76.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 46fb17b949a3e065a694644e3e363f739a89d4ce441143dee9fe76ab8f4c73f5
4
- data.tar.gz: 97dd6f3efbcb0f878d206397c2b4c7eaf42d879ae802f846ca05d76a0cc72d8f
3
+ metadata.gz: ae6f4eaa724bc995620eee8d70013790cbc2c4015aea094f4010c2f820734ed3
4
+ data.tar.gz: 79424cdb2c95143e39a5ed798cce5ced1816c648d215132299da3b64ec9fed38
5
5
  SHA512:
6
- metadata.gz: cfd79f9673c82344861b195b2d72eb4df1421a97c386d2c2d56c3bdbedfc28af74bad4d0dc8bd316b057313c6f67895343157580c9a2c667b6619f31bf3673ce
7
- data.tar.gz: 367e4b2bce8e2045ccecb5f99fe8c433b4dd2318631115709b13617a210b72c3d2bb679bafc0c23ebc7b06ee01795dcb4b73c6766066751281c8b2791cf9c530
6
+ metadata.gz: 9a2a043e3310749f0c8ede19e6e2655b0d17950b28d474dfba2cb6bd7997e21fa94de1995a22ea937c1bfae8866273eac570dd65529b685431472fbe5078538b
7
+ data.tar.gz: 25487032c76f96afcb1bb93112977d2f9a7765f6c58729c36369a3f7c3aa549174e5670b6f8c6951254ed462a09cc78390087df5fba737cf0ff86e4210ed6985
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-analyticsadmin_v1alpha
2
2
 
3
+ ### v0.76.0 (2024-12-02)
4
+
5
+ * Regenerated from discovery document revision 20240929
6
+ * Regenerated using generator version 0.15.1
7
+
3
8
  ### v0.75.0 (2024-07-25)
4
9
 
5
10
  * Regenerated from discovery document revision 20240722
@@ -667,7 +667,7 @@ module Google
667
667
  end
668
668
 
669
669
  # A virtual resource representing an overview of an account and all its child
670
- # GA4 properties.
670
+ # Google Analytics properties.
671
671
  class GoogleAnalyticsAdminV1alphaAccountSummary
672
672
  include Google::Apis::Core::Hashable
673
673
 
@@ -743,12 +743,13 @@ module Google
743
743
  end
744
744
  end
745
745
 
746
- # A link between a GA4 Property and an AdSense for Content ad client.
746
+ # A link between a Google Analytics property and an AdSense for Content ad
747
+ # client.
747
748
  class GoogleAnalyticsAdminV1alphaAdSenseLink
748
749
  include Google::Apis::Core::Hashable
749
750
 
750
- # Immutable. The AdSense ad client code that the GA4 property is linked to.
751
- # Example format: "ca-pub-1234567890"
751
+ # Immutable. The AdSense ad client code that the Google Analytics property is
752
+ # linked to. Example format: "ca-pub-1234567890"
752
753
  # Corresponds to the JSON property `adClientCode`
753
754
  # @return [String]
754
755
  attr_accessor :ad_client_code
@@ -788,7 +789,8 @@ module Google
788
789
  class GoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalResponse
789
790
  include Google::Apis::Core::Hashable
790
791
 
791
- # A link between a GA4 property and a Display & Video 360 advertiser.
792
+ # A link between a Google Analytics property and a Display & Video 360
793
+ # advertiser.
792
794
  # Corresponds to the JSON property `displayVideo360AdvertiserLink`
793
795
  # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink]
794
796
  attr_accessor :display_video360_advertiser_link
@@ -893,7 +895,7 @@ module Google
893
895
  end
894
896
  end
895
897
 
896
- # A resource message representing a GA4 Audience.
898
+ # A resource message representing an Audience.
897
899
  class GoogleAnalyticsAdminV1alphaAudience
898
900
  include Google::Apis::Core::Hashable
899
901
 
@@ -1549,7 +1551,7 @@ module Google
1549
1551
  end
1550
1552
  end
1551
1553
 
1552
- # A link between a GA4 Property and BigQuery project.
1554
+ # A link between a Google Analytics property and BigQuery project.
1553
1555
  class GoogleAnalyticsAdminV1alphaBigQueryLink
1554
1556
  include Google::Apis::Core::Hashable
1555
1557
 
@@ -1774,7 +1776,8 @@ module Google
1774
1776
  # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccount]
1775
1777
  attr_accessor :account
1776
1778
 
1777
- # A link between a GA4 Property and an AdSense for Content ad client.
1779
+ # A link between a Google Analytics property and an AdSense for Content ad
1780
+ # client.
1778
1781
  # Corresponds to the JSON property `adsenseLink`
1779
1782
  # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAdSenseLink]
1780
1783
  attr_accessor :adsense_link
@@ -1785,12 +1788,12 @@ module Google
1785
1788
  # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAttributionSettings]
1786
1789
  attr_accessor :attribution_settings
1787
1790
 
1788
- # A resource message representing a GA4 Audience.
1791
+ # A resource message representing an Audience.
1789
1792
  # Corresponds to the JSON property `audience`
1790
1793
  # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAudience]
1791
1794
  attr_accessor :audience
1792
1795
 
1793
- # A link between a GA4 Property and BigQuery project.
1796
+ # A link between a Google Analytics property and BigQuery project.
1794
1797
  # Corresponds to the JSON property `bigqueryLink`
1795
1798
  # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBigQueryLink]
1796
1799
  attr_accessor :bigquery_link
@@ -1835,15 +1838,16 @@ module Google
1835
1838
  # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream]
1836
1839
  attr_accessor :data_stream
1837
1840
 
1838
- # A link between a GA4 property and a Display & Video 360 advertiser.
1841
+ # A link between a Google Analytics property and a Display & Video 360
1842
+ # advertiser.
1839
1843
  # Corresponds to the JSON property `displayVideo360AdvertiserLink`
1840
1844
  # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink]
1841
1845
  attr_accessor :display_video360_advertiser_link
1842
1846
 
1843
- # A proposal for a link between a GA4 property and a Display & Video 360
1844
- # advertiser. A proposal is converted to a DisplayVideo360AdvertiserLink once
1845
- # approved. Google Analytics admins approve inbound proposals while Display &
1846
- # Video 360 admins approve outbound proposals.
1847
+ # A proposal for a link between a Google Analytics property and a Display &
1848
+ # Video 360 advertiser. A proposal is converted to a
1849
+ # DisplayVideo360AdvertiserLink once approved. Google Analytics admins approve
1850
+ # inbound proposals while Display & Video 360 admins approve outbound proposals.
1847
1851
  # Corresponds to the JSON property `displayVideo360AdvertiserLinkProposal`
1848
1852
  # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal]
1849
1853
  attr_accessor :display_video360_advertiser_link_proposal
@@ -1864,17 +1868,17 @@ module Google
1864
1868
  # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEventCreateRule]
1865
1869
  attr_accessor :event_create_rule
1866
1870
 
1867
- # A resource message representing a GA4 ExpandedDataSet.
1871
+ # A resource message representing an `ExpandedDataSet`.
1868
1872
  # Corresponds to the JSON property `expandedDataSet`
1869
1873
  # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaExpandedDataSet]
1870
1874
  attr_accessor :expanded_data_set
1871
1875
 
1872
- # A link between a GA4 property and a Firebase project.
1876
+ # A link between a Google Analytics property and a Firebase project.
1873
1877
  # Corresponds to the JSON property `firebaseLink`
1874
1878
  # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFirebaseLink]
1875
1879
  attr_accessor :firebase_link
1876
1880
 
1877
- # A link between a GA4 property and a Google Ads account.
1881
+ # A link between a Google Analytics property and a Google Ads account.
1878
1882
  # Corresponds to the JSON property `googleAdsLink`
1879
1883
  # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink]
1880
1884
  attr_accessor :google_ads_link
@@ -1889,12 +1893,12 @@ module Google
1889
1893
  # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret]
1890
1894
  attr_accessor :measurement_protocol_secret
1891
1895
 
1892
- # A resource message representing a Google Analytics GA4 property.
1896
+ # A resource message representing a Google Analytics property.
1893
1897
  # Corresponds to the JSON property `property`
1894
1898
  # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty]
1895
1899
  attr_accessor :property
1896
1900
 
1897
- # A link between a GA4 property and a Search Ads 360 entity.
1901
+ # A link between a Google Analytics property and a Search Ads 360 entity.
1898
1902
  # Corresponds to the JSON property `searchAds360Link`
1899
1903
  # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSearchAds360Link]
1900
1904
  attr_accessor :search_ads360_link
@@ -2435,7 +2439,7 @@ module Google
2435
2439
  class GoogleAnalyticsAdminV1alphaCreateRollupPropertyRequest
2436
2440
  include Google::Apis::Core::Hashable
2437
2441
 
2438
- # A resource message representing a Google Analytics GA4 property.
2442
+ # A resource message representing a Google Analytics property.
2439
2443
  # Corresponds to the JSON property `rollupProperty`
2440
2444
  # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty]
2441
2445
  attr_accessor :rollup_property
@@ -2461,7 +2465,7 @@ module Google
2461
2465
  class GoogleAnalyticsAdminV1alphaCreateRollupPropertyResponse
2462
2466
  include Google::Apis::Core::Hashable
2463
2467
 
2464
- # A resource message representing a Google Analytics GA4 property.
2468
+ # A resource message representing a Google Analytics property.
2465
2469
  # Corresponds to the JSON property `rollupProperty`
2466
2470
  # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty]
2467
2471
  attr_accessor :rollup_property
@@ -2482,56 +2486,6 @@ module Google
2482
2486
  end
2483
2487
  end
2484
2488
 
2485
- # Request message for CreateSubproperty RPC.
2486
- class GoogleAnalyticsAdminV1alphaCreateSubpropertyRequest
2487
- include Google::Apis::Core::Hashable
2488
-
2489
- # A resource message representing a Google Analytics GA4 property.
2490
- # Corresponds to the JSON property `subproperty`
2491
- # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty]
2492
- attr_accessor :subproperty
2493
-
2494
- # A resource message representing a GA4 Subproperty event filter.
2495
- # Corresponds to the JSON property `subpropertyEventFilter`
2496
- # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSubpropertyEventFilter]
2497
- attr_accessor :subproperty_event_filter
2498
-
2499
- def initialize(**args)
2500
- update!(**args)
2501
- end
2502
-
2503
- # Update properties of this object
2504
- def update!(**args)
2505
- @subproperty = args[:subproperty] if args.key?(:subproperty)
2506
- @subproperty_event_filter = args[:subproperty_event_filter] if args.key?(:subproperty_event_filter)
2507
- end
2508
- end
2509
-
2510
- # Response message for CreateSubproperty RPC.
2511
- class GoogleAnalyticsAdminV1alphaCreateSubpropertyResponse
2512
- include Google::Apis::Core::Hashable
2513
-
2514
- # A resource message representing a Google Analytics GA4 property.
2515
- # Corresponds to the JSON property `subproperty`
2516
- # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty]
2517
- attr_accessor :subproperty
2518
-
2519
- # A resource message representing a GA4 Subproperty event filter.
2520
- # Corresponds to the JSON property `subpropertyEventFilter`
2521
- # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSubpropertyEventFilter]
2522
- attr_accessor :subproperty_event_filter
2523
-
2524
- def initialize(**args)
2525
- update!(**args)
2526
- end
2527
-
2528
- # Update properties of this object
2529
- def update!(**args)
2530
- @subproperty = args[:subproperty] if args.key?(:subproperty)
2531
- @subproperty_event_filter = args[:subproperty_event_filter] if args.key?(:subproperty_event_filter)
2532
- end
2533
- end
2534
-
2535
2489
  # A definition for a CustomDimension.
2536
2490
  class GoogleAnalyticsAdminV1alphaCustomDimension
2537
2491
  include Google::Apis::Core::Hashable
@@ -2998,7 +2952,8 @@ module Google
2998
2952
  end
2999
2953
  end
3000
2954
 
3001
- # A link between a GA4 property and a Display & Video 360 advertiser.
2955
+ # A link between a Google Analytics property and a Display & Video 360
2956
+ # advertiser.
3002
2957
  class GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink
3003
2958
  include Google::Apis::Core::Hashable
3004
2959
 
@@ -3020,19 +2975,19 @@ module Google
3020
2975
  attr_accessor :advertiser_id
3021
2976
 
3022
2977
  # Immutable. Enables the import of campaign data from Display & Video 360 into
3023
- # the GA4 property. After link creation, this can only be updated from the
3024
- # Display & Video 360 product. If this field is not set on create, it will be
3025
- # defaulted to true.
2978
+ # the Google Analytics property. After link creation, this can only be updated
2979
+ # from the Display & Video 360 product. If this field is not set on create, it
2980
+ # will be defaulted to true.
3026
2981
  # Corresponds to the JSON property `campaignDataSharingEnabled`
3027
2982
  # @return [Boolean]
3028
2983
  attr_accessor :campaign_data_sharing_enabled
3029
2984
  alias_method :campaign_data_sharing_enabled?, :campaign_data_sharing_enabled
3030
2985
 
3031
2986
  # Immutable. Enables the import of cost data from Display & Video 360 into the
3032
- # GA4 property. This can only be enabled if campaign_data_sharing_enabled is
3033
- # enabled. After link creation, this can only be updated from the Display &
3034
- # Video 360 product. If this field is not set on create, it will be defaulted to
3035
- # true.
2987
+ # Google Analytics property. This can only be enabled if `
2988
+ # campaign_data_sharing_enabled` is true. After link creation, this can only be
2989
+ # updated from the Display & Video 360 product. If this field is not set on
2990
+ # create, it will be defaulted to true.
3036
2991
  # Corresponds to the JSON property `costDataSharingEnabled`
3037
2992
  # @return [Boolean]
3038
2993
  attr_accessor :cost_data_sharing_enabled
@@ -3060,10 +3015,10 @@ module Google
3060
3015
  end
3061
3016
  end
3062
3017
 
3063
- # A proposal for a link between a GA4 property and a Display & Video 360
3064
- # advertiser. A proposal is converted to a DisplayVideo360AdvertiserLink once
3065
- # approved. Google Analytics admins approve inbound proposals while Display &
3066
- # Video 360 admins approve outbound proposals.
3018
+ # A proposal for a link between a Google Analytics property and a Display &
3019
+ # Video 360 advertiser. A proposal is converted to a
3020
+ # DisplayVideo360AdvertiserLink once approved. Google Analytics admins approve
3021
+ # inbound proposals while Display & Video 360 admins approve outbound proposals.
3067
3022
  class GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal
3068
3023
  include Google::Apis::Core::Hashable
3069
3024
 
@@ -3297,12 +3252,66 @@ module Google
3297
3252
  end
3298
3253
  end
3299
3254
 
3255
+ # An Event Edit Rule defines conditions that will trigger the creation of an
3256
+ # entirely new event based upon matched criteria of a source event. Additional
3257
+ # mutations of the parameters from the source event can be defined. Unlike Event
3258
+ # Create rules, Event Edit Rules are applied in their defined order. Event Edit
3259
+ # rules can't be used to modify an event created from an Event Create rule.
3260
+ class GoogleAnalyticsAdminV1alphaEventEditRule
3261
+ include Google::Apis::Core::Hashable
3262
+
3263
+ # Required. The display name of this event edit rule. Maximum of 255 characters.
3264
+ # Corresponds to the JSON property `displayName`
3265
+ # @return [String]
3266
+ attr_accessor :display_name
3267
+
3268
+ # Required. Conditions on the source event must match for this rule to be
3269
+ # applied. Must have at least one condition, and can have up to 10 max.
3270
+ # Corresponds to the JSON property `eventConditions`
3271
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMatchingCondition>]
3272
+ attr_accessor :event_conditions
3273
+
3274
+ # Identifier. Resource name for this EventEditRule resource. Format: properties/`
3275
+ # property`/dataStreams/`data_stream`/eventEditRules/`event_edit_rule`
3276
+ # Corresponds to the JSON property `name`
3277
+ # @return [String]
3278
+ attr_accessor :name
3279
+
3280
+ # Required. Parameter mutations define parameter behavior on the new event, and
3281
+ # are applied in order. A maximum of 20 mutations can be applied.
3282
+ # Corresponds to the JSON property `parameterMutations`
3283
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaParameterMutation>]
3284
+ attr_accessor :parameter_mutations
3285
+
3286
+ # Output only. The order for which this rule will be processed. Rules with an
3287
+ # order value lower than this will be processed before this rule, rules with an
3288
+ # order value higher than this will be processed after this rule. New event edit
3289
+ # rules will be assigned an order value at the end of the order. This value does
3290
+ # not apply to event create rules.
3291
+ # Corresponds to the JSON property `processingOrder`
3292
+ # @return [Fixnum]
3293
+ attr_accessor :processing_order
3294
+
3295
+ def initialize(**args)
3296
+ update!(**args)
3297
+ end
3298
+
3299
+ # Update properties of this object
3300
+ def update!(**args)
3301
+ @display_name = args[:display_name] if args.key?(:display_name)
3302
+ @event_conditions = args[:event_conditions] if args.key?(:event_conditions)
3303
+ @name = args[:name] if args.key?(:name)
3304
+ @parameter_mutations = args[:parameter_mutations] if args.key?(:parameter_mutations)
3305
+ @processing_order = args[:processing_order] if args.key?(:processing_order)
3306
+ end
3307
+ end
3308
+
3300
3309
  # Event setting conditions to match an event.
3301
3310
  class GoogleAnalyticsAdminV1alphaEventMapping
3302
3311
  include Google::Apis::Core::Hashable
3303
3312
 
3304
- # Required. Name of the GA4 event. It must always be set. The max allowed
3305
- # display name length is 40 UTF-16 code units.
3313
+ # Required. Name of the Google Analytics event. It must always be set. The max
3314
+ # allowed display name length is 40 UTF-16 code units.
3306
3315
  # Corresponds to the JSON property `eventName`
3307
3316
  # @return [String]
3308
3317
  attr_accessor :event_name
@@ -3348,7 +3357,7 @@ module Google
3348
3357
  end
3349
3358
  end
3350
3359
 
3351
- # A resource message representing a GA4 ExpandedDataSet.
3360
+ # A resource message representing an `ExpandedDataSet`.
3352
3361
  class GoogleAnalyticsAdminV1alphaExpandedDataSet
3353
3362
  include Google::Apis::Core::Hashable
3354
3363
 
@@ -3614,7 +3623,7 @@ module Google
3614
3623
  end
3615
3624
  end
3616
3625
 
3617
- # A link between a GA4 property and a Firebase project.
3626
+ # A link between a Google Analytics property and a Firebase project.
3618
3627
  class GoogleAnalyticsAdminV1alphaFirebaseLink
3619
3628
  include Google::Apis::Core::Hashable
3620
3629
 
@@ -3678,7 +3687,7 @@ module Google
3678
3687
  end
3679
3688
  end
3680
3689
 
3681
- # A link between a GA4 property and a Google Ads account.
3690
+ # A link between a Google Analytics property and a Google Ads account.
3682
3691
  class GoogleAnalyticsAdminV1alphaGoogleAdsLink
3683
3692
  include Google::Apis::Core::Hashable
3684
3693
 
@@ -4355,6 +4364,33 @@ module Google
4355
4364
  end
4356
4365
  end
4357
4366
 
4367
+ # Response message for ListEventEditRules RPC.
4368
+ class GoogleAnalyticsAdminV1alphaListEventEditRulesResponse
4369
+ include Google::Apis::Core::Hashable
4370
+
4371
+ # List of EventEditRules. These will be ordered stably, but in an arbitrary
4372
+ # order.
4373
+ # Corresponds to the JSON property `eventEditRules`
4374
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEventEditRule>]
4375
+ attr_accessor :event_edit_rules
4376
+
4377
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
4378
+ # field is omitted, there are no subsequent pages.
4379
+ # Corresponds to the JSON property `nextPageToken`
4380
+ # @return [String]
4381
+ attr_accessor :next_page_token
4382
+
4383
+ def initialize(**args)
4384
+ update!(**args)
4385
+ end
4386
+
4387
+ # Update properties of this object
4388
+ def update!(**args)
4389
+ @event_edit_rules = args[:event_edit_rules] if args.key?(:event_edit_rules)
4390
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
4391
+ end
4392
+ end
4393
+
4358
4394
  # Response message for ListExpandedDataSets RPC.
4359
4395
  class GoogleAnalyticsAdminV1alphaListExpandedDataSetsResponse
4360
4396
  include Google::Apis::Core::Hashable
@@ -4790,7 +4826,7 @@ module Google
4790
4826
  end
4791
4827
  end
4792
4828
 
4793
- # A resource message representing a Google Analytics GA4 property.
4829
+ # A resource message representing a Google Analytics property.
4794
4830
  class GoogleAnalyticsAdminV1alphaProperty
4795
4831
  include Google::Apis::Core::Hashable
4796
4832
 
@@ -4896,7 +4932,7 @@ module Google
4896
4932
  end
4897
4933
  end
4898
4934
 
4899
- # A virtual resource representing metadata for a GA4 property.
4935
+ # A virtual resource representing metadata for a Google Analytics property.
4900
4936
  class GoogleAnalyticsAdminV1alphaPropertySummary
4901
4937
  include Google::Apis::Core::Hashable
4902
4938
 
@@ -4981,6 +5017,77 @@ module Google
4981
5017
  end
4982
5018
  end
4983
5019
 
5020
+ # Request message for CreateSubproperty RPC.
5021
+ class GoogleAnalyticsAdminV1alphaProvisionSubpropertyRequest
5022
+ include Google::Apis::Core::Hashable
5023
+
5024
+ # A resource message representing a Google Analytics property.
5025
+ # Corresponds to the JSON property `subproperty`
5026
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty]
5027
+ attr_accessor :subproperty
5028
+
5029
+ # A resource message representing a Google Analytics subproperty event filter.
5030
+ # Corresponds to the JSON property `subpropertyEventFilter`
5031
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSubpropertyEventFilter]
5032
+ attr_accessor :subproperty_event_filter
5033
+
5034
+ def initialize(**args)
5035
+ update!(**args)
5036
+ end
5037
+
5038
+ # Update properties of this object
5039
+ def update!(**args)
5040
+ @subproperty = args[:subproperty] if args.key?(:subproperty)
5041
+ @subproperty_event_filter = args[:subproperty_event_filter] if args.key?(:subproperty_event_filter)
5042
+ end
5043
+ end
5044
+
5045
+ # Response message for ProvisionSubproperty RPC.
5046
+ class GoogleAnalyticsAdminV1alphaProvisionSubpropertyResponse
5047
+ include Google::Apis::Core::Hashable
5048
+
5049
+ # A resource message representing a Google Analytics property.
5050
+ # Corresponds to the JSON property `subproperty`
5051
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty]
5052
+ attr_accessor :subproperty
5053
+
5054
+ # A resource message representing a Google Analytics subproperty event filter.
5055
+ # Corresponds to the JSON property `subpropertyEventFilter`
5056
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSubpropertyEventFilter]
5057
+ attr_accessor :subproperty_event_filter
5058
+
5059
+ def initialize(**args)
5060
+ update!(**args)
5061
+ end
5062
+
5063
+ # Update properties of this object
5064
+ def update!(**args)
5065
+ @subproperty = args[:subproperty] if args.key?(:subproperty)
5066
+ @subproperty_event_filter = args[:subproperty_event_filter] if args.key?(:subproperty_event_filter)
5067
+ end
5068
+ end
5069
+
5070
+ # Request message for ReorderEventEditRules RPC.
5071
+ class GoogleAnalyticsAdminV1alphaReorderEventEditRulesRequest
5072
+ include Google::Apis::Core::Hashable
5073
+
5074
+ # Required. EventEditRule resource names for the specified data stream, in the
5075
+ # needed processing order. All EventEditRules for the stream must be present in
5076
+ # the list.
5077
+ # Corresponds to the JSON property `eventEditRules`
5078
+ # @return [Array<String>]
5079
+ attr_accessor :event_edit_rules
5080
+
5081
+ def initialize(**args)
5082
+ update!(**args)
5083
+ end
5084
+
5085
+ # Update properties of this object
5086
+ def update!(**args)
5087
+ @event_edit_rules = args[:event_edit_rules] if args.key?(:event_edit_rules)
5088
+ end
5089
+ end
5090
+
4984
5091
  # A link that references a source property under the parent rollup property.
4985
5092
  class GoogleAnalyticsAdminV1alphaRollupPropertySourceLink
4986
5093
  include Google::Apis::Core::Hashable
@@ -5235,7 +5342,7 @@ module Google
5235
5342
  end
5236
5343
  end
5237
5344
 
5238
- # A link between a GA4 property and a Search Ads 360 entity.
5345
+ # A link between a Google Analytics property and a Search Ads 360 entity.
5239
5346
  class GoogleAnalyticsAdminV1alphaSearchAds360Link
5240
5347
  include Google::Apis::Core::Hashable
5241
5348
 
@@ -5259,18 +5366,18 @@ module Google
5259
5366
  attr_accessor :advertiser_id
5260
5367
 
5261
5368
  # Immutable. Enables the import of campaign data from Search Ads 360 into the
5262
- # GA4 property. After link creation, this can only be updated from the Search
5263
- # Ads 360 product. If this field is not set on create, it will be defaulted to
5264
- # true.
5369
+ # Google Analytics property. After link creation, this can only be updated from
5370
+ # the Search Ads 360 product. If this field is not set on create, it will be
5371
+ # defaulted to true.
5265
5372
  # Corresponds to the JSON property `campaignDataSharingEnabled`
5266
5373
  # @return [Boolean]
5267
5374
  attr_accessor :campaign_data_sharing_enabled
5268
5375
  alias_method :campaign_data_sharing_enabled?, :campaign_data_sharing_enabled
5269
5376
 
5270
- # Immutable. Enables the import of cost data from Search Ads 360 to the GA4
5271
- # property. This can only be enabled if campaign_data_sharing_enabled is enabled.
5272
- # After link creation, this can only be updated from the Search Ads 360 product.
5273
- # If this field is not set on create, it will be defaulted to true.
5377
+ # Immutable. Enables the import of cost data from Search Ads 360 to the Google
5378
+ # Analytics property. This can only be enabled if campaign_data_sharing_enabled
5379
+ # is enabled. After link creation, this can only be updated from the Search Ads
5380
+ # 360 product. If this field is not set on create, it will be defaulted to true.
5274
5381
  # Corresponds to the JSON property `costDataSharingEnabled`
5275
5382
  # @return [Boolean]
5276
5383
  attr_accessor :cost_data_sharing_enabled
@@ -5445,7 +5552,7 @@ module Google
5445
5552
  end
5446
5553
  end
5447
5554
 
5448
- # A resource message representing a GA4 Subproperty event filter.
5555
+ # A resource message representing a Google Analytics subproperty event filter.
5449
5556
  class GoogleAnalyticsAdminV1alphaSubpropertyEventFilter
5450
5557
  include Google::Apis::Core::Hashable
5451
5558
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AnalyticsadminV1alpha
18
18
  # Version of the google-apis-analyticsadmin_v1alpha gem
19
- GEM_VERSION = "0.75.0"
19
+ GEM_VERSION = "0.76.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.0"
22
+ GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240722"
25
+ REVISION = "20240929"
26
26
  end
27
27
  end
28
28
  end
@@ -466,18 +466,6 @@ module Google
466
466
  include Google::Apis::Core::JsonObjectSupport
467
467
  end
468
468
 
469
- class GoogleAnalyticsAdminV1alphaCreateSubpropertyRequest
470
- class Representation < Google::Apis::Core::JsonRepresentation; end
471
-
472
- include Google::Apis::Core::JsonObjectSupport
473
- end
474
-
475
- class GoogleAnalyticsAdminV1alphaCreateSubpropertyResponse
476
- class Representation < Google::Apis::Core::JsonRepresentation; end
477
-
478
- include Google::Apis::Core::JsonObjectSupport
479
- end
480
-
481
469
  class GoogleAnalyticsAdminV1alphaCustomDimension
482
470
  class Representation < Google::Apis::Core::JsonRepresentation; end
483
471
 
@@ -568,6 +556,12 @@ module Google
568
556
  include Google::Apis::Core::JsonObjectSupport
569
557
  end
570
558
 
559
+ class GoogleAnalyticsAdminV1alphaEventEditRule
560
+ class Representation < Google::Apis::Core::JsonRepresentation; end
561
+
562
+ include Google::Apis::Core::JsonObjectSupport
563
+ end
564
+
571
565
  class GoogleAnalyticsAdminV1alphaEventMapping
572
566
  class Representation < Google::Apis::Core::JsonRepresentation; end
573
567
 
@@ -778,6 +772,12 @@ module Google
778
772
  include Google::Apis::Core::JsonObjectSupport
779
773
  end
780
774
 
775
+ class GoogleAnalyticsAdminV1alphaListEventEditRulesResponse
776
+ class Representation < Google::Apis::Core::JsonRepresentation; end
777
+
778
+ include Google::Apis::Core::JsonObjectSupport
779
+ end
780
+
781
781
  class GoogleAnalyticsAdminV1alphaListExpandedDataSetsResponse
782
782
  class Representation < Google::Apis::Core::JsonRepresentation; end
783
783
 
@@ -892,6 +892,24 @@ module Google
892
892
  include Google::Apis::Core::JsonObjectSupport
893
893
  end
894
894
 
895
+ class GoogleAnalyticsAdminV1alphaProvisionSubpropertyRequest
896
+ class Representation < Google::Apis::Core::JsonRepresentation; end
897
+
898
+ include Google::Apis::Core::JsonObjectSupport
899
+ end
900
+
901
+ class GoogleAnalyticsAdminV1alphaProvisionSubpropertyResponse
902
+ class Representation < Google::Apis::Core::JsonRepresentation; end
903
+
904
+ include Google::Apis::Core::JsonObjectSupport
905
+ end
906
+
907
+ class GoogleAnalyticsAdminV1alphaReorderEventEditRulesRequest
908
+ class Representation < Google::Apis::Core::JsonRepresentation; end
909
+
910
+ include Google::Apis::Core::JsonObjectSupport
911
+ end
912
+
895
913
  class GoogleAnalyticsAdminV1alphaRollupPropertySourceLink
896
914
  class Representation < Google::Apis::Core::JsonRepresentation; end
897
915
 
@@ -1745,26 +1763,6 @@ module Google
1745
1763
  end
1746
1764
  end
1747
1765
 
1748
- class GoogleAnalyticsAdminV1alphaCreateSubpropertyRequest
1749
- # @private
1750
- class Representation < Google::Apis::Core::JsonRepresentation
1751
- property :subproperty, as: 'subproperty', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty::Representation
1752
-
1753
- property :subproperty_event_filter, as: 'subpropertyEventFilter', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSubpropertyEventFilter, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSubpropertyEventFilter::Representation
1754
-
1755
- end
1756
- end
1757
-
1758
- class GoogleAnalyticsAdminV1alphaCreateSubpropertyResponse
1759
- # @private
1760
- class Representation < Google::Apis::Core::JsonRepresentation
1761
- property :subproperty, as: 'subproperty', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty::Representation
1762
-
1763
- property :subproperty_event_filter, as: 'subpropertyEventFilter', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSubpropertyEventFilter, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSubpropertyEventFilter::Representation
1764
-
1765
- end
1766
- end
1767
-
1768
1766
  class GoogleAnalyticsAdminV1alphaCustomDimension
1769
1767
  # @private
1770
1768
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1935,6 +1933,19 @@ module Google
1935
1933
  end
1936
1934
  end
1937
1935
 
1936
+ class GoogleAnalyticsAdminV1alphaEventEditRule
1937
+ # @private
1938
+ class Representation < Google::Apis::Core::JsonRepresentation
1939
+ property :display_name, as: 'displayName'
1940
+ collection :event_conditions, as: 'eventConditions', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMatchingCondition, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMatchingCondition::Representation
1941
+
1942
+ property :name, as: 'name'
1943
+ collection :parameter_mutations, as: 'parameterMutations', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaParameterMutation, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaParameterMutation::Representation
1944
+
1945
+ property :processing_order, :numeric_string => true, as: 'processingOrder'
1946
+ end
1947
+ end
1948
+
1938
1949
  class GoogleAnalyticsAdminV1alphaEventMapping
1939
1950
  # @private
1940
1951
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2258,6 +2269,15 @@ module Google
2258
2269
  end
2259
2270
  end
2260
2271
 
2272
+ class GoogleAnalyticsAdminV1alphaListEventEditRulesResponse
2273
+ # @private
2274
+ class Representation < Google::Apis::Core::JsonRepresentation
2275
+ collection :event_edit_rules, as: 'eventEditRules', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEventEditRule, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEventEditRule::Representation
2276
+
2277
+ property :next_page_token, as: 'nextPageToken'
2278
+ end
2279
+ end
2280
+
2261
2281
  class GoogleAnalyticsAdminV1alphaListExpandedDataSetsResponse
2262
2282
  # @private
2263
2283
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2437,6 +2457,33 @@ module Google
2437
2457
  end
2438
2458
  end
2439
2459
 
2460
+ class GoogleAnalyticsAdminV1alphaProvisionSubpropertyRequest
2461
+ # @private
2462
+ class Representation < Google::Apis::Core::JsonRepresentation
2463
+ property :subproperty, as: 'subproperty', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty::Representation
2464
+
2465
+ property :subproperty_event_filter, as: 'subpropertyEventFilter', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSubpropertyEventFilter, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSubpropertyEventFilter::Representation
2466
+
2467
+ end
2468
+ end
2469
+
2470
+ class GoogleAnalyticsAdminV1alphaProvisionSubpropertyResponse
2471
+ # @private
2472
+ class Representation < Google::Apis::Core::JsonRepresentation
2473
+ property :subproperty, as: 'subproperty', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty::Representation
2474
+
2475
+ property :subproperty_event_filter, as: 'subpropertyEventFilter', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSubpropertyEventFilter, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSubpropertyEventFilter::Representation
2476
+
2477
+ end
2478
+ end
2479
+
2480
+ class GoogleAnalyticsAdminV1alphaReorderEventEditRulesRequest
2481
+ # @private
2482
+ class Representation < Google::Apis::Core::JsonRepresentation
2483
+ collection :event_edit_rules, as: 'eventEditRules'
2484
+ end
2485
+ end
2486
+
2440
2487
  class GoogleAnalyticsAdminV1alphaRollupPropertySourceLink
2441
2488
  # @private
2442
2489
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -195,7 +195,7 @@ module Google
195
195
  end
196
196
 
197
197
  # Returns all accounts accessible by the caller. Note that these accounts might
198
- # not currently have GA4 properties. Soft-deleted (ie: "trashed") accounts are
198
+ # not currently have GA properties. Soft-deleted (ie: "trashed") accounts are
199
199
  # excluded by default. Returns an empty list if no relevant accounts are found.
200
200
  # @param [Fixnum] page_size
201
201
  # The maximum number of resources to return. The service may return fewer than
@@ -314,20 +314,22 @@ module Google
314
314
  # for a property. Reports may be requested for any property, but dimensions that
315
315
  # aren't related to quota can only be requested on Google Analytics 360
316
316
  # properties. This method is only available to Administrators. These data access
317
- # records include GA4 UI Reporting, GA4 UI Explorations, GA4 Data API, and other
317
+ # records include GA UI Reporting, GA UI Explorations, GA Data API, and other
318
318
  # products like Firebase & Admob that can retrieve data from Google Analytics
319
319
  # through a linkage. These records don't include property configuration changes
320
320
  # like adding a stream or changing a property's time zone. For configuration
321
321
  # change history, see [searchChangeHistoryEvents](https://developers.google.com/
322
322
  # analytics/devguides/config/admin/v1/rest/v1alpha/accounts/
323
- # searchChangeHistoryEvents).
323
+ # searchChangeHistoryEvents). To give your feedback on this API, complete the [
324
+ # Google Analytics Access Reports feedback](https://docs.google.com/forms/d/e/
325
+ # 1FAIpQLSdmEBUrMzAEdiEKk5TV5dEHvDUZDRlgWYdQdAeSdtR4hVjEhw/viewform) form.
324
326
  # @param [String] entity
325
327
  # The Data Access Report supports requesting at the property level or account
326
328
  # level. If requested at the account level, Data Access Reports include all
327
329
  # access for all properties under that account. To request at the property level,
328
- # entity should be for example 'properties/123' if "123" is your GA4 property
329
- # ID. To request at the account level, entity should be for example 'accounts/
330
- # 1234' if "1234" is your GA4 Account ID.
330
+ # entity should be for example 'properties/123' if "123" is your Google
331
+ # Analytics property ID. To request at the account level, entity should be for
332
+ # example 'accounts/1234' if "1234" is your Google Analytics Account ID.
331
333
  # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaRunAccessReportRequest] google_analytics_admin_v1alpha_run_access_report_request_object
332
334
  # @param [String] fields
333
335
  # Selector specifying which fields to include in a partial response.
@@ -746,7 +748,7 @@ module Google
746
748
  execute_or_queue_command(command, &block)
747
749
  end
748
750
 
749
- # Creates an "GA4" property with the specified location and attributes.
751
+ # Creates a Google Analytics property with the specified location and attributes.
750
752
  # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty] google_analytics_admin_v1alpha_property_object
751
753
  # @param [String] fields
752
754
  # Selector specifying which fields to include in a partial response.
@@ -838,44 +840,12 @@ module Google
838
840
  execute_or_queue_command(command, &block)
839
841
  end
840
842
 
841
- # Create a subproperty and a subproperty event filter that applies to the
842
- # created subproperty.
843
- # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCreateSubpropertyRequest] google_analytics_admin_v1alpha_create_subproperty_request_object
844
- # @param [String] fields
845
- # Selector specifying which fields to include in a partial response.
846
- # @param [String] quota_user
847
- # Available to use for quota purposes for server-side applications. Can be any
848
- # arbitrary string assigned to a user, but should not exceed 40 characters.
849
- # @param [Google::Apis::RequestOptions] options
850
- # Request-specific options
851
- #
852
- # @yield [result, err] Result & error if block supplied
853
- # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCreateSubpropertyResponse] parsed result object
854
- # @yieldparam err [StandardError] error object if request failed
855
- #
856
- # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCreateSubpropertyResponse]
857
- #
858
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
859
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
860
- # @raise [Google::Apis::AuthorizationError] Authorization is required
861
- def create_property_subproperty(google_analytics_admin_v1alpha_create_subproperty_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
862
- command = make_simple_command(:post, 'v1alpha/properties:createSubproperty', options)
863
- command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCreateSubpropertyRequest::Representation
864
- command.request_object = google_analytics_admin_v1alpha_create_subproperty_request_object
865
- command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCreateSubpropertyResponse::Representation
866
- command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCreateSubpropertyResponse
867
- command.query['fields'] = fields unless fields.nil?
868
- command.query['quotaUser'] = quota_user unless quota_user.nil?
869
- execute_or_queue_command(command, &block)
870
- end
871
-
872
843
  # Marks target Property as soft-deleted (ie: "trashed") and returns it. This API
873
844
  # does not have a method to restore soft-deleted properties. However, they can
874
845
  # be restored using the Trash Can UI. If the properties are not restored before
875
846
  # the expiration time, the Property and all child resources (eg: GoogleAdsLinks,
876
847
  # Streams, AccessBindings) will be permanently purged. https://support.google.
877
- # com/analytics/answer/6154772 Returns an error if the target is not found, or
878
- # is not a GA4 Property.
848
+ # com/analytics/answer/6154772 Returns an error if the target is not found.
879
849
  # @param [String] name
880
850
  # Required. The name of the Property to soft-delete. Format: properties/`
881
851
  # property_id` Example: "properties/1000"
@@ -1002,7 +972,7 @@ module Google
1002
972
  execute_or_queue_command(command, &block)
1003
973
  end
1004
974
 
1005
- # Lookup for a single "GA4" Property.
975
+ # Lookup for a single GA Property.
1006
976
  # @param [String] name
1007
977
  # Required. The name of the property to lookup. Format: properties/`property_id`
1008
978
  # Example: "properties/1000"
@@ -1126,10 +1096,10 @@ module Google
1126
1096
  execute_or_queue_command(command, &block)
1127
1097
  end
1128
1098
 
1129
- # Returns child Properties under the specified parent Account. Only "GA4"
1130
- # properties will be returned. Properties will be excluded if the caller does
1131
- # not have access. Soft-deleted (ie: "trashed") properties are excluded by
1132
- # default. Returns an empty list if no relevant properties are found.
1099
+ # Returns child Properties under the specified parent Account. Properties will
1100
+ # be excluded if the caller does not have access. Soft-deleted (ie: "trashed")
1101
+ # properties are excluded by default. Returns an empty list if no relevant
1102
+ # properties are found.
1133
1103
  # @param [String] filter
1134
1104
  # Required. An expression for filtering the results of the request. Fields
1135
1105
  # eligible for filtering are: `parent:`(The resource name of the parent account/
@@ -1254,26 +1224,59 @@ module Google
1254
1224
  execute_or_queue_command(command, &block)
1255
1225
  end
1256
1226
 
1227
+ # Create a subproperty and a subproperty event filter that applies to the
1228
+ # created subproperty.
1229
+ # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProvisionSubpropertyRequest] google_analytics_admin_v1alpha_provision_subproperty_request_object
1230
+ # @param [String] fields
1231
+ # Selector specifying which fields to include in a partial response.
1232
+ # @param [String] quota_user
1233
+ # Available to use for quota purposes for server-side applications. Can be any
1234
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1235
+ # @param [Google::Apis::RequestOptions] options
1236
+ # Request-specific options
1237
+ #
1238
+ # @yield [result, err] Result & error if block supplied
1239
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProvisionSubpropertyResponse] parsed result object
1240
+ # @yieldparam err [StandardError] error object if request failed
1241
+ #
1242
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProvisionSubpropertyResponse]
1243
+ #
1244
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1245
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1246
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1247
+ def provision_property_subproperty(google_analytics_admin_v1alpha_provision_subproperty_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1248
+ command = make_simple_command(:post, 'v1alpha/properties:provisionSubproperty', options)
1249
+ command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProvisionSubpropertyRequest::Representation
1250
+ command.request_object = google_analytics_admin_v1alpha_provision_subproperty_request_object
1251
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProvisionSubpropertyResponse::Representation
1252
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProvisionSubpropertyResponse
1253
+ command.query['fields'] = fields unless fields.nil?
1254
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1255
+ execute_or_queue_command(command, &block)
1256
+ end
1257
+
1257
1258
  # Returns a customized report of data access records. The report provides
1258
1259
  # records of each time a user reads Google Analytics reporting data. Access
1259
1260
  # records are retained for up to 2 years. Data Access Reports can be requested
1260
1261
  # for a property. Reports may be requested for any property, but dimensions that
1261
1262
  # aren't related to quota can only be requested on Google Analytics 360
1262
1263
  # properties. This method is only available to Administrators. These data access
1263
- # records include GA4 UI Reporting, GA4 UI Explorations, GA4 Data API, and other
1264
+ # records include GA UI Reporting, GA UI Explorations, GA Data API, and other
1264
1265
  # products like Firebase & Admob that can retrieve data from Google Analytics
1265
1266
  # through a linkage. These records don't include property configuration changes
1266
1267
  # like adding a stream or changing a property's time zone. For configuration
1267
1268
  # change history, see [searchChangeHistoryEvents](https://developers.google.com/
1268
1269
  # analytics/devguides/config/admin/v1/rest/v1alpha/accounts/
1269
- # searchChangeHistoryEvents).
1270
+ # searchChangeHistoryEvents). To give your feedback on this API, complete the [
1271
+ # Google Analytics Access Reports feedback](https://docs.google.com/forms/d/e/
1272
+ # 1FAIpQLSdmEBUrMzAEdiEKk5TV5dEHvDUZDRlgWYdQdAeSdtR4hVjEhw/viewform) form.
1270
1273
  # @param [String] entity
1271
1274
  # The Data Access Report supports requesting at the property level or account
1272
1275
  # level. If requested at the account level, Data Access Reports include all
1273
1276
  # access for all properties under that account. To request at the property level,
1274
- # entity should be for example 'properties/123' if "123" is your GA4 property
1275
- # ID. To request at the account level, entity should be for example 'accounts/
1276
- # 1234' if "1234" is your GA4 Account ID.
1277
+ # entity should be for example 'properties/123' if "123" is your Google
1278
+ # Analytics property ID. To request at the account level, entity should be for
1279
+ # example 'accounts/1234' if "1234" is your Google Analytics Account ID.
1277
1280
  # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaRunAccessReportRequest] google_analytics_admin_v1alpha_run_access_report_request_object
1278
1281
  # @param [String] fields
1279
1282
  # Selector specifying which fields to include in a partial response.
@@ -3697,6 +3700,213 @@ module Google
3697
3700
  execute_or_queue_command(command, &block)
3698
3701
  end
3699
3702
 
3703
+ # Creates an EventEditRule.
3704
+ # @param [String] parent
3705
+ # Required. Example format: properties/123/dataStreams/456
3706
+ # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEventEditRule] google_analytics_admin_v1alpha_event_edit_rule_object
3707
+ # @param [String] fields
3708
+ # Selector specifying which fields to include in a partial response.
3709
+ # @param [String] quota_user
3710
+ # Available to use for quota purposes for server-side applications. Can be any
3711
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3712
+ # @param [Google::Apis::RequestOptions] options
3713
+ # Request-specific options
3714
+ #
3715
+ # @yield [result, err] Result & error if block supplied
3716
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEventEditRule] parsed result object
3717
+ # @yieldparam err [StandardError] error object if request failed
3718
+ #
3719
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEventEditRule]
3720
+ #
3721
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3722
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3723
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3724
+ def create_property_data_stream_event_edit_rule(parent, google_analytics_admin_v1alpha_event_edit_rule_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3725
+ command = make_simple_command(:post, 'v1alpha/{+parent}/eventEditRules', options)
3726
+ command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEventEditRule::Representation
3727
+ command.request_object = google_analytics_admin_v1alpha_event_edit_rule_object
3728
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEventEditRule::Representation
3729
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEventEditRule
3730
+ command.params['parent'] = parent unless parent.nil?
3731
+ command.query['fields'] = fields unless fields.nil?
3732
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3733
+ execute_or_queue_command(command, &block)
3734
+ end
3735
+
3736
+ # Deletes an EventEditRule.
3737
+ # @param [String] name
3738
+ # Required. Example format: properties/123/dataStreams/456/eventEditRules/789
3739
+ # @param [String] fields
3740
+ # Selector specifying which fields to include in a partial response.
3741
+ # @param [String] quota_user
3742
+ # Available to use for quota purposes for server-side applications. Can be any
3743
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3744
+ # @param [Google::Apis::RequestOptions] options
3745
+ # Request-specific options
3746
+ #
3747
+ # @yield [result, err] Result & error if block supplied
3748
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty] parsed result object
3749
+ # @yieldparam err [StandardError] error object if request failed
3750
+ #
3751
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty]
3752
+ #
3753
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3754
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3755
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3756
+ def delete_property_data_stream_event_edit_rule(name, fields: nil, quota_user: nil, options: nil, &block)
3757
+ command = make_simple_command(:delete, 'v1alpha/{+name}', options)
3758
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty::Representation
3759
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty
3760
+ command.params['name'] = name unless name.nil?
3761
+ command.query['fields'] = fields unless fields.nil?
3762
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3763
+ execute_or_queue_command(command, &block)
3764
+ end
3765
+
3766
+ # Lookup for a single EventEditRule.
3767
+ # @param [String] name
3768
+ # Required. The name of the EventEditRule to get. Example format: properties/123/
3769
+ # dataStreams/456/eventEditRules/789
3770
+ # @param [String] fields
3771
+ # Selector specifying which fields to include in a partial response.
3772
+ # @param [String] quota_user
3773
+ # Available to use for quota purposes for server-side applications. Can be any
3774
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3775
+ # @param [Google::Apis::RequestOptions] options
3776
+ # Request-specific options
3777
+ #
3778
+ # @yield [result, err] Result & error if block supplied
3779
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEventEditRule] parsed result object
3780
+ # @yieldparam err [StandardError] error object if request failed
3781
+ #
3782
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEventEditRule]
3783
+ #
3784
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3785
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3786
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3787
+ def get_property_data_stream_event_edit_rule(name, fields: nil, quota_user: nil, options: nil, &block)
3788
+ command = make_simple_command(:get, 'v1alpha/{+name}', options)
3789
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEventEditRule::Representation
3790
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEventEditRule
3791
+ command.params['name'] = name unless name.nil?
3792
+ command.query['fields'] = fields unless fields.nil?
3793
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3794
+ execute_or_queue_command(command, &block)
3795
+ end
3796
+
3797
+ # Lists EventEditRules on a web data stream.
3798
+ # @param [String] parent
3799
+ # Required. Example format: properties/123/dataStreams/456
3800
+ # @param [Fixnum] page_size
3801
+ # Optional. The maximum number of resources to return. If unspecified, at most
3802
+ # 50 resources will be returned. The maximum value is 200 (higher values will be
3803
+ # coerced to the maximum).
3804
+ # @param [String] page_token
3805
+ # Optional. A page token, received from a previous `ListEventEditRules` call.
3806
+ # Provide this to retrieve the subsequent page. When paginating, all other
3807
+ # parameters provided to `ListEventEditRules` must match the call that provided
3808
+ # the page token.
3809
+ # @param [String] fields
3810
+ # Selector specifying which fields to include in a partial response.
3811
+ # @param [String] quota_user
3812
+ # Available to use for quota purposes for server-side applications. Can be any
3813
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3814
+ # @param [Google::Apis::RequestOptions] options
3815
+ # Request-specific options
3816
+ #
3817
+ # @yield [result, err] Result & error if block supplied
3818
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListEventEditRulesResponse] parsed result object
3819
+ # @yieldparam err [StandardError] error object if request failed
3820
+ #
3821
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListEventEditRulesResponse]
3822
+ #
3823
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3824
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3825
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3826
+ def list_property_data_stream_event_edit_rules(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
3827
+ command = make_simple_command(:get, 'v1alpha/{+parent}/eventEditRules', options)
3828
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListEventEditRulesResponse::Representation
3829
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListEventEditRulesResponse
3830
+ command.params['parent'] = parent unless parent.nil?
3831
+ command.query['pageSize'] = page_size unless page_size.nil?
3832
+ command.query['pageToken'] = page_token unless page_token.nil?
3833
+ command.query['fields'] = fields unless fields.nil?
3834
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3835
+ execute_or_queue_command(command, &block)
3836
+ end
3837
+
3838
+ # Updates an EventEditRule.
3839
+ # @param [String] name
3840
+ # Identifier. Resource name for this EventEditRule resource. Format: properties/`
3841
+ # property`/dataStreams/`data_stream`/eventEditRules/`event_edit_rule`
3842
+ # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEventEditRule] google_analytics_admin_v1alpha_event_edit_rule_object
3843
+ # @param [String] update_mask
3844
+ # Required. The list of fields to be updated. Field names must be in snake case (
3845
+ # e.g., "field_to_update"). Omitted fields will not be updated. To replace the
3846
+ # entire entity, use one path with the string "*" to match all fields.
3847
+ # @param [String] fields
3848
+ # Selector specifying which fields to include in a partial response.
3849
+ # @param [String] quota_user
3850
+ # Available to use for quota purposes for server-side applications. Can be any
3851
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3852
+ # @param [Google::Apis::RequestOptions] options
3853
+ # Request-specific options
3854
+ #
3855
+ # @yield [result, err] Result & error if block supplied
3856
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEventEditRule] parsed result object
3857
+ # @yieldparam err [StandardError] error object if request failed
3858
+ #
3859
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEventEditRule]
3860
+ #
3861
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3862
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3863
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3864
+ def patch_property_data_stream_event_edit_rule(name, google_analytics_admin_v1alpha_event_edit_rule_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
3865
+ command = make_simple_command(:patch, 'v1alpha/{+name}', options)
3866
+ command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEventEditRule::Representation
3867
+ command.request_object = google_analytics_admin_v1alpha_event_edit_rule_object
3868
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEventEditRule::Representation
3869
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEventEditRule
3870
+ command.params['name'] = name unless name.nil?
3871
+ command.query['updateMask'] = update_mask unless update_mask.nil?
3872
+ command.query['fields'] = fields unless fields.nil?
3873
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3874
+ execute_or_queue_command(command, &block)
3875
+ end
3876
+
3877
+ # Changes the processing order of event edit rules on the specified stream.
3878
+ # @param [String] parent
3879
+ # Required. Example format: properties/123/dataStreams/456
3880
+ # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaReorderEventEditRulesRequest] google_analytics_admin_v1alpha_reorder_event_edit_rules_request_object
3881
+ # @param [String] fields
3882
+ # Selector specifying which fields to include in a partial response.
3883
+ # @param [String] quota_user
3884
+ # Available to use for quota purposes for server-side applications. Can be any
3885
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3886
+ # @param [Google::Apis::RequestOptions] options
3887
+ # Request-specific options
3888
+ #
3889
+ # @yield [result, err] Result & error if block supplied
3890
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty] parsed result object
3891
+ # @yieldparam err [StandardError] error object if request failed
3892
+ #
3893
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty]
3894
+ #
3895
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3896
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3897
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3898
+ def reorder_property_data_stream_event_edit_rule(parent, google_analytics_admin_v1alpha_reorder_event_edit_rules_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3899
+ command = make_simple_command(:post, 'v1alpha/{+parent}/eventEditRules:reorder', options)
3900
+ command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaReorderEventEditRulesRequest::Representation
3901
+ command.request_object = google_analytics_admin_v1alpha_reorder_event_edit_rules_request_object
3902
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty::Representation
3903
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty
3904
+ command.params['parent'] = parent unless parent.nil?
3905
+ command.query['fields'] = fields unless fields.nil?
3906
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3907
+ execute_or_queue_command(command, &block)
3908
+ end
3909
+
3700
3910
  # Creates a measurement protocol secret.
3701
3911
  # @param [String] parent
3702
3912
  # Required. The parent resource where this secret will be created. Format:
@@ -3763,7 +3973,7 @@ module Google
3763
3973
  execute_or_queue_command(command, &block)
3764
3974
  end
3765
3975
 
3766
- # Lookup for a single "GA4" MeasurementProtocolSecret.
3976
+ # Lookup for a single MeasurementProtocolSecret.
3767
3977
  # @param [String] name
3768
3978
  # Required. The name of the measurement protocol secret to lookup. Format:
3769
3979
  # properties/`property`/dataStreams/`dataStream`/measurementProtocolSecrets/`
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-analyticsadmin_v1alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.75.0
4
+ version: 0.76.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-07-25 00:00:00.000000000 Z
11
+ date: 2024-12-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-analyticsadmin_v1alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-analyticsadmin_v1alpha/v0.75.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-analyticsadmin_v1alpha/v0.76.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-analyticsadmin_v1alpha
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.5.6
78
+ rubygems_version: 3.5.22
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Google Analytics Admin API V1alpha