google-apis-analyticsadmin_v1alpha 0.47.0 → 0.49.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: e48858b17ccbd766a2b14b33f786452b8487d884df3f4e04d77695f73d1810df
4
- data.tar.gz: f45ca4f49023587814900e88801bd306b7386b93c2c3c53c311504a2b0765415
3
+ metadata.gz: 4bb3d7f0c255034c16a53f9b709459b7af3a6cd0b50cade5401651e3c0c0503f
4
+ data.tar.gz: ba2976df42b0c6f9bda21bc0318008355e031667558752d60cc86755a81bb3f5
5
5
  SHA512:
6
- metadata.gz: 815abcf6bbe8ab791bb06974f98a5355bebc508ae9bbc5ebf2a6993fb3022f0f1ad0f1526605f457d7624966832fed5369d5393a94631b1ae7dceca4ce891be0
7
- data.tar.gz: 3ea96dd9c05f05399f7a003ae2a3588a3f97b3be5e8e9292e1e96b9d613e839c956044a756d68846ee75c174479edc1774e3e71e25e76e7e7ef5fcc248339621
6
+ metadata.gz: 3794818d63e4f00282a5b0a78b2097bb08497fda5ec62f79fce3c717a104f41bcae5a16bf0111e544a9987b5e52ac9cc6f8747b145bb56715fdb643c0bb06371
7
+ data.tar.gz: dd9d9da55f0af310bdce7d76c7f68f864ade052a4ea6d4480c5b5a7d178c842fa68b508139884cf5691c3a5f5949c1b28ab26505cf37cee08f182649c960eb6e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-analyticsadmin_v1alpha
2
2
 
3
+ ### v0.49.0 (2023-03-05)
4
+
5
+ * Regenerated from discovery document revision 20230302
6
+
7
+ ### v0.48.0 (2023-02-26)
8
+
9
+ * Regenerated from discovery document revision 20230223
10
+
3
11
  ### v0.47.0 (2023-02-15)
4
12
 
5
13
  * Regenerated from discovery document revision 20230214
@@ -1753,6 +1753,12 @@ module Google
1753
1753
  attr_accessor :include_advertising_id
1754
1754
  alias_method :include_advertising_id?, :include_advertising_id
1755
1755
 
1756
+ # If set true, enables intraday export to the linked Google Cloud project.
1757
+ # Corresponds to the JSON property `intradayExportEnabled`
1758
+ # @return [Boolean]
1759
+ attr_accessor :intraday_export_enabled
1760
+ alias_method :intraday_export_enabled?, :intraday_export_enabled
1761
+
1756
1762
  # Output only. Resource name of this BigQuery link. Format: 'properties/`
1757
1763
  # property_id`/bigQueryLinks/`bigquery_link_id`' Format: 'properties/1234/
1758
1764
  # bigQueryLinks/abc567'
@@ -1786,6 +1792,7 @@ module Google
1786
1792
  @excluded_events = args[:excluded_events] if args.key?(:excluded_events)
1787
1793
  @export_streams = args[:export_streams] if args.key?(:export_streams)
1788
1794
  @include_advertising_id = args[:include_advertising_id] if args.key?(:include_advertising_id)
1795
+ @intraday_export_enabled = args[:intraday_export_enabled] if args.key?(:intraday_export_enabled)
1789
1796
  @name = args[:name] if args.key?(:name)
1790
1797
  @project = args[:project] if args.key?(:project)
1791
1798
  @streaming_export_enabled = args[:streaming_export_enabled] if args.key?(:streaming_export_enabled)
@@ -2021,6 +2028,33 @@ module Google
2021
2028
  end
2022
2029
  end
2023
2030
 
2031
+ # Configuration for a specific Connected Site Tag.
2032
+ class GoogleAnalyticsAdminV1alphaConnectedSiteTag
2033
+ include Google::Apis::Core::Hashable
2034
+
2035
+ # Required. User-provided display name for the connected site tag. Must be less
2036
+ # than 256 characters.
2037
+ # Corresponds to the JSON property `displayName`
2038
+ # @return [String]
2039
+ attr_accessor :display_name
2040
+
2041
+ # Required. "Tag ID to forward events to. Also known as the Measurement ID, or
2042
+ # the "G-ID" (For example: G-12345).
2043
+ # Corresponds to the JSON property `tagId`
2044
+ # @return [String]
2045
+ attr_accessor :tag_id
2046
+
2047
+ def initialize(**args)
2048
+ update!(**args)
2049
+ end
2050
+
2051
+ # Update properties of this object
2052
+ def update!(**args)
2053
+ @display_name = args[:display_name] if args.key?(:display_name)
2054
+ @tag_id = args[:tag_id] if args.key?(:tag_id)
2055
+ end
2056
+ end
2057
+
2024
2058
  # A conversion event in a Google Analytics property.
2025
2059
  class GoogleAnalyticsAdminV1alphaConversionEvent
2026
2060
  include Google::Apis::Core::Hashable
@@ -2041,7 +2075,7 @@ module Google
2041
2075
  attr_accessor :custom
2042
2076
  alias_method :custom?, :custom
2043
2077
 
2044
- # Output only. If set, this event can currently be deleted via
2078
+ # Output only. If set, this event can currently be deleted with
2045
2079
  # DeleteConversionEvent.
2046
2080
  # Corresponds to the JSON property `deletable`
2047
2081
  # @return [Boolean]
@@ -2528,6 +2562,34 @@ module Google
2528
2562
  end
2529
2563
  end
2530
2564
 
2565
+ # Request message for DeleteConnectedSiteTag RPC.
2566
+ class GoogleAnalyticsAdminV1alphaDeleteConnectedSiteTagRequest
2567
+ include Google::Apis::Core::Hashable
2568
+
2569
+ # The Universal Analytics property to delete connected site tags for. This API
2570
+ # does not support GA4 properties. Format: properties/`
2571
+ # universalAnalyticsPropertyId` Example: properties/1234
2572
+ # Corresponds to the JSON property `property`
2573
+ # @return [String]
2574
+ attr_accessor :property
2575
+
2576
+ # Tag ID to forward events to. Also known as the Measurement ID, or the "G-ID" (
2577
+ # For example: G-12345).
2578
+ # Corresponds to the JSON property `tagId`
2579
+ # @return [String]
2580
+ attr_accessor :tag_id
2581
+
2582
+ def initialize(**args)
2583
+ update!(**args)
2584
+ end
2585
+
2586
+ # Update properties of this object
2587
+ def update!(**args)
2588
+ @property = args[:property] if args.key?(:property)
2589
+ @tag_id = args[:tag_id] if args.key?(:tag_id)
2590
+ end
2591
+ end
2592
+
2531
2593
  # Request message for DeleteUserLink RPC.
2532
2594
  class GoogleAnalyticsAdminV1alphaDeleteUserLinkRequest
2533
2595
  include Google::Apis::Core::Hashable
@@ -3254,6 +3316,70 @@ module Google
3254
3316
  end
3255
3317
  end
3256
3318
 
3319
+ # Request message for ListConnectedSiteTags RPC.
3320
+ class GoogleAnalyticsAdminV1alphaListConnectedSiteTagsRequest
3321
+ include Google::Apis::Core::Hashable
3322
+
3323
+ # The maximum number of resources to return. The service may return fewer than
3324
+ # this value, even if there are additional pages. If unspecified, at most 50
3325
+ # resources will be returned. The maximum value is 200; (higher values will be
3326
+ # coerced to the maximum)
3327
+ # Corresponds to the JSON property `pageSize`
3328
+ # @return [Fixnum]
3329
+ attr_accessor :page_size
3330
+
3331
+ # A page token, received from a previous `ListConnectedSiteTags` call. Provide
3332
+ # this to retrieve the subsequent page. When paginating, all other parameters
3333
+ # provided to `ListConnectedSiteTags` must match the call that provided the page
3334
+ # token.
3335
+ # Corresponds to the JSON property `pageToken`
3336
+ # @return [String]
3337
+ attr_accessor :page_token
3338
+
3339
+ # The Universal Analytics property to fetch connected site tags for. This does
3340
+ # not work on GA4 properties. Format: `properties/1234`
3341
+ # Corresponds to the JSON property `property`
3342
+ # @return [String]
3343
+ attr_accessor :property
3344
+
3345
+ def initialize(**args)
3346
+ update!(**args)
3347
+ end
3348
+
3349
+ # Update properties of this object
3350
+ def update!(**args)
3351
+ @page_size = args[:page_size] if args.key?(:page_size)
3352
+ @page_token = args[:page_token] if args.key?(:page_token)
3353
+ @property = args[:property] if args.key?(:property)
3354
+ end
3355
+ end
3356
+
3357
+ # Response message for ListConnectedSiteTags RPC.
3358
+ class GoogleAnalyticsAdminV1alphaListConnectedSiteTagsResponse
3359
+ include Google::Apis::Core::Hashable
3360
+
3361
+ # The site tags for the Universal Analytics property
3362
+ # Corresponds to the JSON property `connectedSiteTags`
3363
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaConnectedSiteTag>]
3364
+ attr_accessor :connected_site_tags
3365
+
3366
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
3367
+ # field is omitted, there are no subsequent pages.
3368
+ # Corresponds to the JSON property `nextPageToken`
3369
+ # @return [String]
3370
+ attr_accessor :next_page_token
3371
+
3372
+ def initialize(**args)
3373
+ update!(**args)
3374
+ end
3375
+
3376
+ # Update properties of this object
3377
+ def update!(**args)
3378
+ @connected_site_tags = args[:connected_site_tags] if args.key?(:connected_site_tags)
3379
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3380
+ end
3381
+ end
3382
+
3257
3383
  # Response message for ListConversionEvents RPC.
3258
3384
  class GoogleAnalyticsAdminV1alphaListConversionEventsResponse
3259
3385
  include Google::Apis::Core::Hashable
@@ -3410,6 +3536,33 @@ module Google
3410
3536
  end
3411
3537
  end
3412
3538
 
3539
+ # Response message for ListExpandedDataSets RPC.
3540
+ class GoogleAnalyticsAdminV1alphaListExpandedDataSetsResponse
3541
+ include Google::Apis::Core::Hashable
3542
+
3543
+ # List of ExpandedDataSet. These will be ordered stably, but in an arbitrary
3544
+ # order.
3545
+ # Corresponds to the JSON property `expandedDataSets`
3546
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaExpandedDataSet>]
3547
+ attr_accessor :expanded_data_sets
3548
+
3549
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
3550
+ # field is omitted, there are no subsequent pages.
3551
+ # Corresponds to the JSON property `nextPageToken`
3552
+ # @return [String]
3553
+ attr_accessor :next_page_token
3554
+
3555
+ def initialize(**args)
3556
+ update!(**args)
3557
+ end
3558
+
3559
+ # Update properties of this object
3560
+ def update!(**args)
3561
+ @expanded_data_sets = args[:expanded_data_sets] if args.key?(:expanded_data_sets)
3562
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3563
+ end
3564
+ end
3565
+
3413
3566
  # Response message for ListFirebaseLinks RPC
3414
3567
  class GoogleAnalyticsAdminV1alphaListFirebaseLinksResponse
3415
3568
  include Google::Apis::Core::Hashable
@@ -3688,7 +3841,7 @@ module Google
3688
3841
  # Immutable. The property type for this Property resource. When creating a
3689
3842
  # property, if the type is "PROPERTY_TYPE_UNSPECIFIED", then "ORDINARY_PROPERTY"
3690
3843
  # will be implied. "SUBPROPERTY" and "ROLLUP_PROPERTY" types cannot yet be
3691
- # created via Google Analytics Admin API.
3844
+ # created with the Google Analytics Admin API.
3692
3845
  # Corresponds to the JSON property `propertyType`
3693
3846
  # @return [String]
3694
3847
  attr_accessor :property_type
@@ -3784,7 +3937,7 @@ module Google
3784
3937
  attr_accessor :account
3785
3938
 
3786
3939
  # Redirect URI where the user will be sent after accepting Terms of Service.
3787
- # Must be configured in Developers Console as a Redirect URI.
3940
+ # Must be configured in Cloud Console as a Redirect URI.
3788
3941
  # Corresponds to the JSON property `redirectUri`
3789
3942
  # @return [String]
3790
3943
  attr_accessor :redirect_uri
@@ -3883,7 +4036,8 @@ module Google
3883
4036
  attr_accessor :order_bys
3884
4037
 
3885
4038
  # Toggles whether to return the current state of this Analytics Property's quota.
3886
- # Quota is returned in [AccessQuota](#AccessQuota).
4039
+ # Quota is returned in [AccessQuota](#AccessQuota). For account-level requests,
4040
+ # this field must be false.
3887
4041
  # Corresponds to the JSON property `returnEntityQuota`
3888
4042
  # @return [Boolean]
3889
4043
  attr_accessor :return_entity_quota
@@ -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.47.0"
19
+ GEM_VERSION = "0.49.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230214"
25
+ REVISION = "20230302"
26
26
  end
27
27
  end
28
28
  end
@@ -418,6 +418,12 @@ module Google
418
418
  include Google::Apis::Core::JsonObjectSupport
419
419
  end
420
420
 
421
+ class GoogleAnalyticsAdminV1alphaConnectedSiteTag
422
+ class Representation < Google::Apis::Core::JsonRepresentation; end
423
+
424
+ include Google::Apis::Core::JsonObjectSupport
425
+ end
426
+
421
427
  class GoogleAnalyticsAdminV1alphaConversionEvent
422
428
  class Representation < Google::Apis::Core::JsonRepresentation; end
423
429
 
@@ -490,6 +496,12 @@ module Google
490
496
  include Google::Apis::Core::JsonObjectSupport
491
497
  end
492
498
 
499
+ class GoogleAnalyticsAdminV1alphaDeleteConnectedSiteTagRequest
500
+ class Representation < Google::Apis::Core::JsonRepresentation; end
501
+
502
+ include Google::Apis::Core::JsonObjectSupport
503
+ end
504
+
493
505
  class GoogleAnalyticsAdminV1alphaDeleteUserLinkRequest
494
506
  class Representation < Google::Apis::Core::JsonRepresentation; end
495
507
 
@@ -616,6 +628,18 @@ module Google
616
628
  include Google::Apis::Core::JsonObjectSupport
617
629
  end
618
630
 
631
+ class GoogleAnalyticsAdminV1alphaListConnectedSiteTagsRequest
632
+ class Representation < Google::Apis::Core::JsonRepresentation; end
633
+
634
+ include Google::Apis::Core::JsonObjectSupport
635
+ end
636
+
637
+ class GoogleAnalyticsAdminV1alphaListConnectedSiteTagsResponse
638
+ class Representation < Google::Apis::Core::JsonRepresentation; end
639
+
640
+ include Google::Apis::Core::JsonObjectSupport
641
+ end
642
+
619
643
  class GoogleAnalyticsAdminV1alphaListConversionEventsResponse
620
644
  class Representation < Google::Apis::Core::JsonRepresentation; end
621
645
 
@@ -652,6 +676,12 @@ module Google
652
676
  include Google::Apis::Core::JsonObjectSupport
653
677
  end
654
678
 
679
+ class GoogleAnalyticsAdminV1alphaListExpandedDataSetsResponse
680
+ class Representation < Google::Apis::Core::JsonRepresentation; end
681
+
682
+ include Google::Apis::Core::JsonObjectSupport
683
+ end
684
+
655
685
  class GoogleAnalyticsAdminV1alphaListFirebaseLinksResponse
656
686
  class Representation < Google::Apis::Core::JsonRepresentation; end
657
687
 
@@ -1351,6 +1381,7 @@ module Google
1351
1381
  collection :excluded_events, as: 'excludedEvents'
1352
1382
  collection :export_streams, as: 'exportStreams'
1353
1383
  property :include_advertising_id, as: 'includeAdvertisingId'
1384
+ property :intraday_export_enabled, as: 'intradayExportEnabled'
1354
1385
  property :name, as: 'name'
1355
1386
  property :project, as: 'project'
1356
1387
  property :streaming_export_enabled, as: 'streamingExportEnabled'
@@ -1428,6 +1459,14 @@ module Google
1428
1459
  end
1429
1460
  end
1430
1461
 
1462
+ class GoogleAnalyticsAdminV1alphaConnectedSiteTag
1463
+ # @private
1464
+ class Representation < Google::Apis::Core::JsonRepresentation
1465
+ property :display_name, as: 'displayName'
1466
+ property :tag_id, as: 'tagId'
1467
+ end
1468
+ end
1469
+
1431
1470
  class GoogleAnalyticsAdminV1alphaConversionEvent
1432
1471
  # @private
1433
1472
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1553,6 +1592,14 @@ module Google
1553
1592
  end
1554
1593
  end
1555
1594
 
1595
+ class GoogleAnalyticsAdminV1alphaDeleteConnectedSiteTagRequest
1596
+ # @private
1597
+ class Representation < Google::Apis::Core::JsonRepresentation
1598
+ property :property, as: 'property'
1599
+ property :tag_id, as: 'tagId'
1600
+ end
1601
+ end
1602
+
1556
1603
  class GoogleAnalyticsAdminV1alphaDeleteUserLinkRequest
1557
1604
  # @private
1558
1605
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1756,6 +1803,24 @@ module Google
1756
1803
  end
1757
1804
  end
1758
1805
 
1806
+ class GoogleAnalyticsAdminV1alphaListConnectedSiteTagsRequest
1807
+ # @private
1808
+ class Representation < Google::Apis::Core::JsonRepresentation
1809
+ property :page_size, as: 'pageSize'
1810
+ property :page_token, as: 'pageToken'
1811
+ property :property, as: 'property'
1812
+ end
1813
+ end
1814
+
1815
+ class GoogleAnalyticsAdminV1alphaListConnectedSiteTagsResponse
1816
+ # @private
1817
+ class Representation < Google::Apis::Core::JsonRepresentation
1818
+ collection :connected_site_tags, as: 'connectedSiteTags', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaConnectedSiteTag, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaConnectedSiteTag::Representation
1819
+
1820
+ property :next_page_token, as: 'nextPageToken'
1821
+ end
1822
+ end
1823
+
1759
1824
  class GoogleAnalyticsAdminV1alphaListConversionEventsResponse
1760
1825
  # @private
1761
1826
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1810,6 +1875,15 @@ module Google
1810
1875
  end
1811
1876
  end
1812
1877
 
1878
+ class GoogleAnalyticsAdminV1alphaListExpandedDataSetsResponse
1879
+ # @private
1880
+ class Representation < Google::Apis::Core::JsonRepresentation
1881
+ collection :expanded_data_sets, as: 'expandedDataSets', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaExpandedDataSet, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaExpandedDataSet::Representation
1882
+
1883
+ property :next_page_token, as: 'nextPageToken'
1884
+ end
1885
+ end
1886
+
1813
1887
  class GoogleAnalyticsAdminV1alphaListFirebaseLinksResponse
1814
1888
  # @private
1815
1889
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -301,6 +301,54 @@ module Google
301
301
  execute_or_queue_command(command, &block)
302
302
  end
303
303
 
304
+ # Returns a customized report of data access records. The report provides
305
+ # records of each time a user reads Google Analytics reporting data. Access
306
+ # records are retained for up to 2 years. Data Access Reports can be requested
307
+ # for a property. The property must be in Google Analytics 360. This method is
308
+ # only available to Administrators. These data access records include GA4 UI
309
+ # Reporting, GA4 UI Explorations, GA4 Data API, and other products like Firebase
310
+ # & Admob that can retrieve data from Google Analytics through a linkage. These
311
+ # records don't include property configuration changes like adding a stream or
312
+ # changing a property's time zone. For configuration change history, see [
313
+ # searchChangeHistoryEvents](https://developers.google.com/analytics/devguides/
314
+ # config/admin/v1/rest/v1alpha/accounts/searchChangeHistoryEvents).
315
+ # @param [String] entity
316
+ # The Data Access Report supports requesting at the property level or account
317
+ # level. If requested at the account level, Data Access Reports include all
318
+ # access for all properties under that account. To request at the property level,
319
+ # entity should be for example 'properties/123' if "123" is your GA4 property
320
+ # ID. To request at the account level, entity should be for example 'accounts/
321
+ # 1234' if "1234" is your GA4 Account ID.
322
+ # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaRunAccessReportRequest] google_analytics_admin_v1alpha_run_access_report_request_object
323
+ # @param [String] fields
324
+ # Selector specifying which fields to include in a partial response.
325
+ # @param [String] quota_user
326
+ # Available to use for quota purposes for server-side applications. Can be any
327
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
328
+ # @param [Google::Apis::RequestOptions] options
329
+ # Request-specific options
330
+ #
331
+ # @yield [result, err] Result & error if block supplied
332
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaRunAccessReportResponse] parsed result object
333
+ # @yieldparam err [StandardError] error object if request failed
334
+ #
335
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaRunAccessReportResponse]
336
+ #
337
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
338
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
339
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
340
+ def run_account_access_report(entity, google_analytics_admin_v1alpha_run_access_report_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
341
+ command = make_simple_command(:post, 'v1alpha/{+entity}:runAccessReport', options)
342
+ command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaRunAccessReportRequest::Representation
343
+ command.request_object = google_analytics_admin_v1alpha_run_access_report_request_object
344
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaRunAccessReportResponse::Representation
345
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaRunAccessReportResponse
346
+ command.params['entity'] = entity unless entity.nil?
347
+ command.query['fields'] = fields unless fields.nil?
348
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
349
+ execute_or_queue_command(command, &block)
350
+ end
351
+
304
352
  # Searches through all changes to an account or its children given the specified
305
353
  # set of filters.
306
354
  # @param [String] account
@@ -1109,6 +1157,37 @@ module Google
1109
1157
  execute_or_queue_command(command, &block)
1110
1158
  end
1111
1159
 
1160
+ # Deletes a connected site tag for a Universal Analytics property. Note: this
1161
+ # has no effect on GA4 properties.
1162
+ # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDeleteConnectedSiteTagRequest] google_analytics_admin_v1alpha_delete_connected_site_tag_request_object
1163
+ # @param [String] fields
1164
+ # Selector specifying which fields to include in a partial response.
1165
+ # @param [String] quota_user
1166
+ # Available to use for quota purposes for server-side applications. Can be any
1167
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1168
+ # @param [Google::Apis::RequestOptions] options
1169
+ # Request-specific options
1170
+ #
1171
+ # @yield [result, err] Result & error if block supplied
1172
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty] parsed result object
1173
+ # @yieldparam err [StandardError] error object if request failed
1174
+ #
1175
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty]
1176
+ #
1177
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1178
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1179
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1180
+ def delete_property_connected_site_tag(google_analytics_admin_v1alpha_delete_connected_site_tag_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1181
+ command = make_simple_command(:post, 'v1alpha/properties:deleteConnectedSiteTag', options)
1182
+ command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDeleteConnectedSiteTagRequest::Representation
1183
+ command.request_object = google_analytics_admin_v1alpha_delete_connected_site_tag_request_object
1184
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty::Representation
1185
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty
1186
+ command.query['fields'] = fields unless fields.nil?
1187
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1188
+ execute_or_queue_command(command, &block)
1189
+ end
1190
+
1112
1191
  # Fetches the opt out status for the automated GA4 setup process for a UA
1113
1192
  # property. Note: this has no effect on GA4 property.
1114
1193
  # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFetchAutomatedGa4ConfigurationOptOutRequest] google_analytics_admin_v1alpha_fetch_automated_ga4_configuration_opt_out_request_object
@@ -1321,6 +1400,37 @@ module Google
1321
1400
  execute_or_queue_command(command, &block)
1322
1401
  end
1323
1402
 
1403
+ # Lists the connected site tags for a Universal Analytics property. Note: this
1404
+ # has no effect on GA4 property.
1405
+ # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListConnectedSiteTagsRequest] google_analytics_admin_v1alpha_list_connected_site_tags_request_object
1406
+ # @param [String] fields
1407
+ # Selector specifying which fields to include in a partial response.
1408
+ # @param [String] quota_user
1409
+ # Available to use for quota purposes for server-side applications. Can be any
1410
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1411
+ # @param [Google::Apis::RequestOptions] options
1412
+ # Request-specific options
1413
+ #
1414
+ # @yield [result, err] Result & error if block supplied
1415
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListConnectedSiteTagsResponse] parsed result object
1416
+ # @yieldparam err [StandardError] error object if request failed
1417
+ #
1418
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListConnectedSiteTagsResponse]
1419
+ #
1420
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1421
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1422
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1423
+ def list_property_connected_site_tags(google_analytics_admin_v1alpha_list_connected_site_tags_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1424
+ command = make_simple_command(:post, 'v1alpha/properties:listConnectedSiteTags', options)
1425
+ command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListConnectedSiteTagsRequest::Representation
1426
+ command.request_object = google_analytics_admin_v1alpha_list_connected_site_tags_request_object
1427
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListConnectedSiteTagsResponse::Representation
1428
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListConnectedSiteTagsResponse
1429
+ command.query['fields'] = fields unless fields.nil?
1430
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1431
+ execute_or_queue_command(command, &block)
1432
+ end
1433
+
1324
1434
  # Updates a property.
1325
1435
  # @param [String] name
1326
1436
  # Output only. Resource name of this property. Format: properties/`property_id`
@@ -1372,8 +1482,12 @@ module Google
1372
1482
  # searchChangeHistoryEvents](https://developers.google.com/analytics/devguides/
1373
1483
  # config/admin/v1/rest/v1alpha/accounts/searchChangeHistoryEvents).
1374
1484
  # @param [String] entity
1375
- # The Data Access Report is requested for this property. For example if "123" is
1376
- # your GA4 property ID, then entity should be "properties/123".
1485
+ # The Data Access Report supports requesting at the property level or account
1486
+ # level. If requested at the account level, Data Access Reports include all
1487
+ # access for all properties under that account. To request at the property level,
1488
+ # entity should be for example 'properties/123' if "123" is your GA4 property
1489
+ # ID. To request at the account level, entity should be for example 'accounts/
1490
+ # 1234' if "1234" is your GA4 Account ID.
1377
1491
  # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaRunAccessReportRequest] google_analytics_admin_v1alpha_run_access_report_request_object
1378
1492
  # @param [String] fields
1379
1493
  # Selector specifying which fields to include in a partial response.
@@ -3397,6 +3511,180 @@ module Google
3397
3511
  execute_or_queue_command(command, &block)
3398
3512
  end
3399
3513
 
3514
+ # Creates a ExpandedDataSet.
3515
+ # @param [String] parent
3516
+ # Required. Example format: properties/1234
3517
+ # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaExpandedDataSet] google_analytics_admin_v1alpha_expanded_data_set_object
3518
+ # @param [String] fields
3519
+ # Selector specifying which fields to include in a partial response.
3520
+ # @param [String] quota_user
3521
+ # Available to use for quota purposes for server-side applications. Can be any
3522
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3523
+ # @param [Google::Apis::RequestOptions] options
3524
+ # Request-specific options
3525
+ #
3526
+ # @yield [result, err] Result & error if block supplied
3527
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaExpandedDataSet] parsed result object
3528
+ # @yieldparam err [StandardError] error object if request failed
3529
+ #
3530
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaExpandedDataSet]
3531
+ #
3532
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3533
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3534
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3535
+ def create_property_expanded_data_set(parent, google_analytics_admin_v1alpha_expanded_data_set_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3536
+ command = make_simple_command(:post, 'v1alpha/{+parent}/expandedDataSets', options)
3537
+ command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaExpandedDataSet::Representation
3538
+ command.request_object = google_analytics_admin_v1alpha_expanded_data_set_object
3539
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaExpandedDataSet::Representation
3540
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaExpandedDataSet
3541
+ command.params['parent'] = parent unless parent.nil?
3542
+ command.query['fields'] = fields unless fields.nil?
3543
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3544
+ execute_or_queue_command(command, &block)
3545
+ end
3546
+
3547
+ # Deletes a ExpandedDataSet on a property.
3548
+ # @param [String] name
3549
+ # Required. Example format: properties/1234/expandedDataSets/5678
3550
+ # @param [String] fields
3551
+ # Selector specifying which fields to include in a partial response.
3552
+ # @param [String] quota_user
3553
+ # Available to use for quota purposes for server-side applications. Can be any
3554
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3555
+ # @param [Google::Apis::RequestOptions] options
3556
+ # Request-specific options
3557
+ #
3558
+ # @yield [result, err] Result & error if block supplied
3559
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty] parsed result object
3560
+ # @yieldparam err [StandardError] error object if request failed
3561
+ #
3562
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty]
3563
+ #
3564
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3565
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3566
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3567
+ def delete_property_expanded_data_set(name, fields: nil, quota_user: nil, options: nil, &block)
3568
+ command = make_simple_command(:delete, 'v1alpha/{+name}', options)
3569
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty::Representation
3570
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty
3571
+ command.params['name'] = name unless name.nil?
3572
+ command.query['fields'] = fields unless fields.nil?
3573
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3574
+ execute_or_queue_command(command, &block)
3575
+ end
3576
+
3577
+ # Lookup for a single ExpandedDataSet.
3578
+ # @param [String] name
3579
+ # Required. The name of the Audience to get. Example format: properties/1234/
3580
+ # expandedDataSets/5678
3581
+ # @param [String] fields
3582
+ # Selector specifying which fields to include in a partial response.
3583
+ # @param [String] quota_user
3584
+ # Available to use for quota purposes for server-side applications. Can be any
3585
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3586
+ # @param [Google::Apis::RequestOptions] options
3587
+ # Request-specific options
3588
+ #
3589
+ # @yield [result, err] Result & error if block supplied
3590
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaExpandedDataSet] parsed result object
3591
+ # @yieldparam err [StandardError] error object if request failed
3592
+ #
3593
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaExpandedDataSet]
3594
+ #
3595
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3596
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3597
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3598
+ def get_property_expanded_data_set(name, fields: nil, quota_user: nil, options: nil, &block)
3599
+ command = make_simple_command(:get, 'v1alpha/{+name}', options)
3600
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaExpandedDataSet::Representation
3601
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaExpandedDataSet
3602
+ command.params['name'] = name unless name.nil?
3603
+ command.query['fields'] = fields unless fields.nil?
3604
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3605
+ execute_or_queue_command(command, &block)
3606
+ end
3607
+
3608
+ # Lists ExpandedDataSets on a property.
3609
+ # @param [String] parent
3610
+ # Required. Example format: properties/1234
3611
+ # @param [Fixnum] page_size
3612
+ # The maximum number of resources to return. If unspecified, at most 50
3613
+ # resources will be returned. The maximum value is 200 (higher values will be
3614
+ # coerced to the maximum).
3615
+ # @param [String] page_token
3616
+ # A page token, received from a previous `ListExpandedDataSets` call. Provide
3617
+ # this to retrieve the subsequent page. When paginating, all other parameters
3618
+ # provided to `ListExpandedDataSet` must match the call that provided the page
3619
+ # token.
3620
+ # @param [String] fields
3621
+ # Selector specifying which fields to include in a partial response.
3622
+ # @param [String] quota_user
3623
+ # Available to use for quota purposes for server-side applications. Can be any
3624
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3625
+ # @param [Google::Apis::RequestOptions] options
3626
+ # Request-specific options
3627
+ #
3628
+ # @yield [result, err] Result & error if block supplied
3629
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListExpandedDataSetsResponse] parsed result object
3630
+ # @yieldparam err [StandardError] error object if request failed
3631
+ #
3632
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListExpandedDataSetsResponse]
3633
+ #
3634
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3635
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3636
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3637
+ def list_property_expanded_data_sets(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
3638
+ command = make_simple_command(:get, 'v1alpha/{+parent}/expandedDataSets', options)
3639
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListExpandedDataSetsResponse::Representation
3640
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListExpandedDataSetsResponse
3641
+ command.params['parent'] = parent unless parent.nil?
3642
+ command.query['pageSize'] = page_size unless page_size.nil?
3643
+ command.query['pageToken'] = page_token unless page_token.nil?
3644
+ command.query['fields'] = fields unless fields.nil?
3645
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3646
+ execute_or_queue_command(command, &block)
3647
+ end
3648
+
3649
+ # Updates a ExpandedDataSet on a property.
3650
+ # @param [String] name
3651
+ # Output only. The resource name for this ExpandedDataSet resource. Format:
3652
+ # properties/`property_id`/expandedDataSets/`expanded_data_set`
3653
+ # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaExpandedDataSet] google_analytics_admin_v1alpha_expanded_data_set_object
3654
+ # @param [String] update_mask
3655
+ # Required. The list of fields to be updated. Field names must be in snake case (
3656
+ # e.g., "field_to_update"). Omitted fields will not be updated. To replace the
3657
+ # entire entity, use one path with the string "*" to match all fields.
3658
+ # @param [String] fields
3659
+ # Selector specifying which fields to include in a partial response.
3660
+ # @param [String] quota_user
3661
+ # Available to use for quota purposes for server-side applications. Can be any
3662
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3663
+ # @param [Google::Apis::RequestOptions] options
3664
+ # Request-specific options
3665
+ #
3666
+ # @yield [result, err] Result & error if block supplied
3667
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaExpandedDataSet] parsed result object
3668
+ # @yieldparam err [StandardError] error object if request failed
3669
+ #
3670
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaExpandedDataSet]
3671
+ #
3672
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3673
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3674
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3675
+ def patch_property_expanded_data_set(name, google_analytics_admin_v1alpha_expanded_data_set_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
3676
+ command = make_simple_command(:patch, 'v1alpha/{+name}', options)
3677
+ command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaExpandedDataSet::Representation
3678
+ command.request_object = google_analytics_admin_v1alpha_expanded_data_set_object
3679
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaExpandedDataSet::Representation
3680
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaExpandedDataSet
3681
+ command.params['name'] = name unless name.nil?
3682
+ command.query['updateMask'] = update_mask unless update_mask.nil?
3683
+ command.query['fields'] = fields unless fields.nil?
3684
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3685
+ execute_or_queue_command(command, &block)
3686
+ end
3687
+
3400
3688
  # Creates a FirebaseLink. Properties can have at most one FirebaseLink.
3401
3689
  # @param [String] parent
3402
3690
  # Required. Format: properties/`property_id` Example: properties/1234
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.47.0
4
+ version: 0.49.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: 2023-02-19 00:00:00.000000000 Z
11
+ date: 2023-03-05 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.47.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-analyticsadmin_v1alpha/v0.49.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: []