google-apis-analyticsadmin_v1alpha 0.48.0 → 0.49.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7c20252e2d47cbddcadf9a5e7ee4ed049f6008f7a0f752463025c55aa098e8c5
4
- data.tar.gz: 948df5ae469528c49abdc40be3806c1223a571519fc89dc4d9095f28c18ac7b3
3
+ metadata.gz: 4bb3d7f0c255034c16a53f9b709459b7af3a6cd0b50cade5401651e3c0c0503f
4
+ data.tar.gz: ba2976df42b0c6f9bda21bc0318008355e031667558752d60cc86755a81bb3f5
5
5
  SHA512:
6
- metadata.gz: dd5f22de2f237af296cc8fc48c7457d585dff9e1a1cc7bfeed1eb1bc689ac73aab1ff3419f79e2bd95317fa9243a6df7fe2199e44c51602b8fcf77c5998b19ea
7
- data.tar.gz: edf03cd7f9de67f334dd916cca8fe61be3da06a460667a8d312f11216888ea15baa7a2a3d56bfdf6e416c16b7146c43dfa6e077f8d2d7848139a2971275e26f5
6
+ metadata.gz: 3794818d63e4f00282a5b0a78b2097bb08497fda5ec62f79fce3c717a104f41bcae5a16bf0111e544a9987b5e52ac9cc6f8747b145bb56715fdb643c0bb06371
7
+ data.tar.gz: dd9d9da55f0af310bdce7d76c7f68f864ade052a4ea6d4480c5b5a7d178c842fa68b508139884cf5691c3a5f5949c1b28ab26505cf37cee08f182649c960eb6e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.48.0 (2023-02-26)
4
8
 
5
9
  * Regenerated from discovery document revision 20230223
@@ -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
@@ -3715,7 +3841,7 @@ module Google
3715
3841
  # Immutable. The property type for this Property resource. When creating a
3716
3842
  # property, if the type is "PROPERTY_TYPE_UNSPECIFIED", then "ORDINARY_PROPERTY"
3717
3843
  # will be implied. "SUBPROPERTY" and "ROLLUP_PROPERTY" types cannot yet be
3718
- # created via Google Analytics Admin API.
3844
+ # created with the Google Analytics Admin API.
3719
3845
  # Corresponds to the JSON property `propertyType`
3720
3846
  # @return [String]
3721
3847
  attr_accessor :property_type
@@ -3811,7 +3937,7 @@ module Google
3811
3937
  attr_accessor :account
3812
3938
 
3813
3939
  # Redirect URI where the user will be sent after accepting Terms of Service.
3814
- # Must be configured in Developers Console as a Redirect URI.
3940
+ # Must be configured in Cloud Console as a Redirect URI.
3815
3941
  # Corresponds to the JSON property `redirectUri`
3816
3942
  # @return [String]
3817
3943
  attr_accessor :redirect_uri
@@ -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.48.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 = "20230223"
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
 
@@ -1357,6 +1381,7 @@ module Google
1357
1381
  collection :excluded_events, as: 'excludedEvents'
1358
1382
  collection :export_streams, as: 'exportStreams'
1359
1383
  property :include_advertising_id, as: 'includeAdvertisingId'
1384
+ property :intraday_export_enabled, as: 'intradayExportEnabled'
1360
1385
  property :name, as: 'name'
1361
1386
  property :project, as: 'project'
1362
1387
  property :streaming_export_enabled, as: 'streamingExportEnabled'
@@ -1434,6 +1459,14 @@ module Google
1434
1459
  end
1435
1460
  end
1436
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
+
1437
1470
  class GoogleAnalyticsAdminV1alphaConversionEvent
1438
1471
  # @private
1439
1472
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1559,6 +1592,14 @@ module Google
1559
1592
  end
1560
1593
  end
1561
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
+
1562
1603
  class GoogleAnalyticsAdminV1alphaDeleteUserLinkRequest
1563
1604
  # @private
1564
1605
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1762,6 +1803,24 @@ module Google
1762
1803
  end
1763
1804
  end
1764
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
+
1765
1824
  class GoogleAnalyticsAdminV1alphaListConversionEventsResponse
1766
1825
  # @private
1767
1826
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1157,6 +1157,37 @@ module Google
1157
1157
  execute_or_queue_command(command, &block)
1158
1158
  end
1159
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
+
1160
1191
  # Fetches the opt out status for the automated GA4 setup process for a UA
1161
1192
  # property. Note: this has no effect on GA4 property.
1162
1193
  # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFetchAutomatedGa4ConfigurationOptOutRequest] google_analytics_admin_v1alpha_fetch_automated_ga4_configuration_opt_out_request_object
@@ -1369,6 +1400,37 @@ module Google
1369
1400
  execute_or_queue_command(command, &block)
1370
1401
  end
1371
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
+
1372
1434
  # Updates a property.
1373
1435
  # @param [String] name
1374
1436
  # Output only. Resource name of this property. Format: properties/`property_id`
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.48.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-26 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.48.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: []