google-apis-analyticsadmin_v1alpha 0.49.0 → 0.50.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/analyticsadmin_v1alpha/classes.rb +151 -27
- data/lib/google/apis/analyticsadmin_v1alpha/gem_version.rb +2 -2
- data/lib/google/apis/analyticsadmin_v1alpha/representations.rb +52 -3
- data/lib/google/apis/analyticsadmin_v1alpha/service.rb +121 -12
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f8630908c19a67bcdb0e2a4b3485c487e919dfffe45e67d8ca29cd0075c11bba
|
4
|
+
data.tar.gz: 7aaa3f5c2e444e57125f6fdccc6d56685ff43c27320f1a93dc938352aafcc942
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c3f322c1709daadd1b2b5ab7b5bf145260c0172e25a2ef4958bb3e3362f157ce3eaf862e2bbf622905aff9c0566e7d84922faa9c1146439884712020b463b344
|
7
|
+
data.tar.gz: 62fbda8c0db831c0c87ddfb67bedfb0227b01556851f3e129041fd2a479068f2d41c55fa236bfc126998a21919aa8256e7e414e22af18330fb05bdba8347c82d
|
data/CHANGELOG.md
CHANGED
@@ -1910,6 +1910,12 @@ module Google
|
|
1910
1910
|
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal]
|
1911
1911
|
attr_accessor :display_video360_advertiser_link_proposal
|
1912
1912
|
|
1913
|
+
# Singleton resource under a WebDataStream, configuring measurement of
|
1914
|
+
# additional site interactions and content.
|
1915
|
+
# Corresponds to the JSON property `enhancedMeasurementSettings`
|
1916
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings]
|
1917
|
+
attr_accessor :enhanced_measurement_settings
|
1918
|
+
|
1913
1919
|
# A resource message representing a GA4 ExpandedDataSet.
|
1914
1920
|
# Corresponds to the JSON property `expandedDataSet`
|
1915
1921
|
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaExpandedDataSet]
|
@@ -1961,6 +1967,7 @@ module Google
|
|
1961
1967
|
@data_stream = args[:data_stream] if args.key?(:data_stream)
|
1962
1968
|
@display_video360_advertiser_link = args[:display_video360_advertiser_link] if args.key?(:display_video360_advertiser_link)
|
1963
1969
|
@display_video360_advertiser_link_proposal = args[:display_video360_advertiser_link_proposal] if args.key?(:display_video360_advertiser_link_proposal)
|
1970
|
+
@enhanced_measurement_settings = args[:enhanced_measurement_settings] if args.key?(:enhanced_measurement_settings)
|
1964
1971
|
@expanded_data_set = args[:expanded_data_set] if args.key?(:expanded_data_set)
|
1965
1972
|
@firebase_link = args[:firebase_link] if args.key?(:firebase_link)
|
1966
1973
|
@google_ads_link = args[:google_ads_link] if args.key?(:google_ads_link)
|
@@ -2133,6 +2140,46 @@ module Google
|
|
2133
2140
|
end
|
2134
2141
|
end
|
2135
2142
|
|
2143
|
+
# Request message for CreateConnectedSiteTag RPC.
|
2144
|
+
class GoogleAnalyticsAdminV1alphaCreateConnectedSiteTagRequest
|
2145
|
+
include Google::Apis::Core::Hashable
|
2146
|
+
|
2147
|
+
# Configuration for a specific Connected Site Tag.
|
2148
|
+
# Corresponds to the JSON property `connectedSiteTag`
|
2149
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaConnectedSiteTag]
|
2150
|
+
attr_accessor :connected_site_tag
|
2151
|
+
|
2152
|
+
# The Universal Analytics property to create connected site tags for. This API
|
2153
|
+
# does not support GA4 properties. Format: properties/`
|
2154
|
+
# universalAnalyticsPropertyId` Example: properties/1234
|
2155
|
+
# Corresponds to the JSON property `property`
|
2156
|
+
# @return [String]
|
2157
|
+
attr_accessor :property
|
2158
|
+
|
2159
|
+
def initialize(**args)
|
2160
|
+
update!(**args)
|
2161
|
+
end
|
2162
|
+
|
2163
|
+
# Update properties of this object
|
2164
|
+
def update!(**args)
|
2165
|
+
@connected_site_tag = args[:connected_site_tag] if args.key?(:connected_site_tag)
|
2166
|
+
@property = args[:property] if args.key?(:property)
|
2167
|
+
end
|
2168
|
+
end
|
2169
|
+
|
2170
|
+
# Response message for CreateConnectedSiteTag RPC.
|
2171
|
+
class GoogleAnalyticsAdminV1alphaCreateConnectedSiteTagResponse
|
2172
|
+
include Google::Apis::Core::Hashable
|
2173
|
+
|
2174
|
+
def initialize(**args)
|
2175
|
+
update!(**args)
|
2176
|
+
end
|
2177
|
+
|
2178
|
+
# Update properties of this object
|
2179
|
+
def update!(**args)
|
2180
|
+
end
|
2181
|
+
end
|
2182
|
+
|
2136
2183
|
# Request message for CreateUserLink RPC. Users can have multiple email
|
2137
2184
|
# addresses associated with their Google account, and one of these email
|
2138
2185
|
# addresses is the "primary" email address. Any of the email addresses
|
@@ -2751,6 +2798,106 @@ module Google
|
|
2751
2798
|
end
|
2752
2799
|
end
|
2753
2800
|
|
2801
|
+
# Singleton resource under a WebDataStream, configuring measurement of
|
2802
|
+
# additional site interactions and content.
|
2803
|
+
class GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings
|
2804
|
+
include Google::Apis::Core::Hashable
|
2805
|
+
|
2806
|
+
# If enabled, capture a file download event each time a link is clicked with a
|
2807
|
+
# common document, compressed file, application, video, or audio extension.
|
2808
|
+
# Corresponds to the JSON property `fileDownloadsEnabled`
|
2809
|
+
# @return [Boolean]
|
2810
|
+
attr_accessor :file_downloads_enabled
|
2811
|
+
alias_method :file_downloads_enabled?, :file_downloads_enabled
|
2812
|
+
|
2813
|
+
# If enabled, capture a form interaction event each time a visitor interacts
|
2814
|
+
# with a form on your website. False by default.
|
2815
|
+
# Corresponds to the JSON property `formInteractionsEnabled`
|
2816
|
+
# @return [Boolean]
|
2817
|
+
attr_accessor :form_interactions_enabled
|
2818
|
+
alias_method :form_interactions_enabled?, :form_interactions_enabled
|
2819
|
+
|
2820
|
+
# Output only. Resource name of the Enhanced Measurement Settings. Format:
|
2821
|
+
# properties/`property_id`/dataStreams/`data_stream`/enhancedMeasurementSettings
|
2822
|
+
# Example: "properties/1000/dataStreams/2000/enhancedMeasurementSettings"
|
2823
|
+
# Corresponds to the JSON property `name`
|
2824
|
+
# @return [String]
|
2825
|
+
attr_accessor :name
|
2826
|
+
|
2827
|
+
# If enabled, capture an outbound click event each time a visitor clicks a link
|
2828
|
+
# that leads them away from your domain.
|
2829
|
+
# Corresponds to the JSON property `outboundClicksEnabled`
|
2830
|
+
# @return [Boolean]
|
2831
|
+
attr_accessor :outbound_clicks_enabled
|
2832
|
+
alias_method :outbound_clicks_enabled?, :outbound_clicks_enabled
|
2833
|
+
|
2834
|
+
# If enabled, capture a page view event each time the website changes the
|
2835
|
+
# browser history state.
|
2836
|
+
# Corresponds to the JSON property `pageChangesEnabled`
|
2837
|
+
# @return [Boolean]
|
2838
|
+
attr_accessor :page_changes_enabled
|
2839
|
+
alias_method :page_changes_enabled?, :page_changes_enabled
|
2840
|
+
|
2841
|
+
# If enabled, capture scroll events each time a visitor gets to the bottom of a
|
2842
|
+
# page.
|
2843
|
+
# Corresponds to the JSON property `scrollsEnabled`
|
2844
|
+
# @return [Boolean]
|
2845
|
+
attr_accessor :scrolls_enabled
|
2846
|
+
alias_method :scrolls_enabled?, :scrolls_enabled
|
2847
|
+
|
2848
|
+
# Required. URL query parameters to interpret as site search parameters. Max
|
2849
|
+
# length is 1024 characters. Must not be empty.
|
2850
|
+
# Corresponds to the JSON property `searchQueryParameter`
|
2851
|
+
# @return [String]
|
2852
|
+
attr_accessor :search_query_parameter
|
2853
|
+
|
2854
|
+
# If enabled, capture a view search results event each time a visitor performs a
|
2855
|
+
# search on your site (based on a query parameter).
|
2856
|
+
# Corresponds to the JSON property `siteSearchEnabled`
|
2857
|
+
# @return [Boolean]
|
2858
|
+
attr_accessor :site_search_enabled
|
2859
|
+
alias_method :site_search_enabled?, :site_search_enabled
|
2860
|
+
|
2861
|
+
# Indicates whether Enhanced Measurement Settings will be used to automatically
|
2862
|
+
# measure interactions and content on this web stream. Changing this value does
|
2863
|
+
# not affect the settings themselves, but determines whether they are respected.
|
2864
|
+
# Corresponds to the JSON property `streamEnabled`
|
2865
|
+
# @return [Boolean]
|
2866
|
+
attr_accessor :stream_enabled
|
2867
|
+
alias_method :stream_enabled?, :stream_enabled
|
2868
|
+
|
2869
|
+
# Additional URL query parameters. Max length is 1024 characters.
|
2870
|
+
# Corresponds to the JSON property `uriQueryParameter`
|
2871
|
+
# @return [String]
|
2872
|
+
attr_accessor :uri_query_parameter
|
2873
|
+
|
2874
|
+
# If enabled, capture video play, progress, and complete events as visitors view
|
2875
|
+
# embedded videos on your site.
|
2876
|
+
# Corresponds to the JSON property `videoEngagementEnabled`
|
2877
|
+
# @return [Boolean]
|
2878
|
+
attr_accessor :video_engagement_enabled
|
2879
|
+
alias_method :video_engagement_enabled?, :video_engagement_enabled
|
2880
|
+
|
2881
|
+
def initialize(**args)
|
2882
|
+
update!(**args)
|
2883
|
+
end
|
2884
|
+
|
2885
|
+
# Update properties of this object
|
2886
|
+
def update!(**args)
|
2887
|
+
@file_downloads_enabled = args[:file_downloads_enabled] if args.key?(:file_downloads_enabled)
|
2888
|
+
@form_interactions_enabled = args[:form_interactions_enabled] if args.key?(:form_interactions_enabled)
|
2889
|
+
@name = args[:name] if args.key?(:name)
|
2890
|
+
@outbound_clicks_enabled = args[:outbound_clicks_enabled] if args.key?(:outbound_clicks_enabled)
|
2891
|
+
@page_changes_enabled = args[:page_changes_enabled] if args.key?(:page_changes_enabled)
|
2892
|
+
@scrolls_enabled = args[:scrolls_enabled] if args.key?(:scrolls_enabled)
|
2893
|
+
@search_query_parameter = args[:search_query_parameter] if args.key?(:search_query_parameter)
|
2894
|
+
@site_search_enabled = args[:site_search_enabled] if args.key?(:site_search_enabled)
|
2895
|
+
@stream_enabled = args[:stream_enabled] if args.key?(:stream_enabled)
|
2896
|
+
@uri_query_parameter = args[:uri_query_parameter] if args.key?(:uri_query_parameter)
|
2897
|
+
@video_engagement_enabled = args[:video_engagement_enabled] if args.key?(:video_engagement_enabled)
|
2898
|
+
end
|
2899
|
+
end
|
2900
|
+
|
2754
2901
|
# A resource message representing a GA4 ExpandedDataSet.
|
2755
2902
|
class GoogleAnalyticsAdminV1alphaExpandedDataSet
|
2756
2903
|
include Google::Apis::Core::Hashable
|
@@ -3320,24 +3467,9 @@ module Google
|
|
3320
3467
|
class GoogleAnalyticsAdminV1alphaListConnectedSiteTagsRequest
|
3321
3468
|
include Google::Apis::Core::Hashable
|
3322
3469
|
|
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
3470
|
# The Universal Analytics property to fetch connected site tags for. This does
|
3340
|
-
# not work on GA4 properties.
|
3471
|
+
# not work on GA4 properties. A maximum of 20 connected site tags will be
|
3472
|
+
# returned. Example Format: `properties/1234`
|
3341
3473
|
# Corresponds to the JSON property `property`
|
3342
3474
|
# @return [String]
|
3343
3475
|
attr_accessor :property
|
@@ -3348,8 +3480,6 @@ module Google
|
|
3348
3480
|
|
3349
3481
|
# Update properties of this object
|
3350
3482
|
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
3483
|
@property = args[:property] if args.key?(:property)
|
3354
3484
|
end
|
3355
3485
|
end
|
@@ -3358,17 +3488,12 @@ module Google
|
|
3358
3488
|
class GoogleAnalyticsAdminV1alphaListConnectedSiteTagsResponse
|
3359
3489
|
include Google::Apis::Core::Hashable
|
3360
3490
|
|
3361
|
-
# The site tags for the Universal Analytics property
|
3491
|
+
# The site tags for the Universal Analytics property. A maximum of 20 connected
|
3492
|
+
# site tags will be returned.
|
3362
3493
|
# Corresponds to the JSON property `connectedSiteTags`
|
3363
3494
|
# @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaConnectedSiteTag>]
|
3364
3495
|
attr_accessor :connected_site_tags
|
3365
3496
|
|
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
3497
|
def initialize(**args)
|
3373
3498
|
update!(**args)
|
3374
3499
|
end
|
@@ -3376,7 +3501,6 @@ module Google
|
|
3376
3501
|
# Update properties of this object
|
3377
3502
|
def update!(**args)
|
3378
3503
|
@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
3504
|
end
|
3381
3505
|
end
|
3382
3506
|
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.50.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 = "
|
25
|
+
REVISION = "20230322"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -436,6 +436,18 @@ module Google
|
|
436
436
|
include Google::Apis::Core::JsonObjectSupport
|
437
437
|
end
|
438
438
|
|
439
|
+
class GoogleAnalyticsAdminV1alphaCreateConnectedSiteTagRequest
|
440
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
441
|
+
|
442
|
+
include Google::Apis::Core::JsonObjectSupport
|
443
|
+
end
|
444
|
+
|
445
|
+
class GoogleAnalyticsAdminV1alphaCreateConnectedSiteTagResponse
|
446
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
447
|
+
|
448
|
+
include Google::Apis::Core::JsonObjectSupport
|
449
|
+
end
|
450
|
+
|
439
451
|
class GoogleAnalyticsAdminV1alphaCreateUserLinkRequest
|
440
452
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
441
453
|
|
@@ -520,6 +532,12 @@ module Google
|
|
520
532
|
include Google::Apis::Core::JsonObjectSupport
|
521
533
|
end
|
522
534
|
|
535
|
+
class GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings
|
536
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
537
|
+
|
538
|
+
include Google::Apis::Core::JsonObjectSupport
|
539
|
+
end
|
540
|
+
|
523
541
|
class GoogleAnalyticsAdminV1alphaExpandedDataSet
|
524
542
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
525
543
|
|
@@ -1429,6 +1447,8 @@ module Google
|
|
1429
1447
|
|
1430
1448
|
property :display_video360_advertiser_link_proposal, as: 'displayVideo360AdvertiserLinkProposal', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal::Representation
|
1431
1449
|
|
1450
|
+
property :enhanced_measurement_settings, as: 'enhancedMeasurementSettings', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings::Representation
|
1451
|
+
|
1432
1452
|
property :expanded_data_set, as: 'expandedDataSet', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaExpandedDataSet, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaExpandedDataSet::Representation
|
1433
1453
|
|
1434
1454
|
property :firebase_link, as: 'firebaseLink', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFirebaseLink, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFirebaseLink::Representation
|
@@ -1487,6 +1507,21 @@ module Google
|
|
1487
1507
|
end
|
1488
1508
|
end
|
1489
1509
|
|
1510
|
+
class GoogleAnalyticsAdminV1alphaCreateConnectedSiteTagRequest
|
1511
|
+
# @private
|
1512
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1513
|
+
property :connected_site_tag, as: 'connectedSiteTag', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaConnectedSiteTag, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaConnectedSiteTag::Representation
|
1514
|
+
|
1515
|
+
property :property, as: 'property'
|
1516
|
+
end
|
1517
|
+
end
|
1518
|
+
|
1519
|
+
class GoogleAnalyticsAdminV1alphaCreateConnectedSiteTagResponse
|
1520
|
+
# @private
|
1521
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1522
|
+
end
|
1523
|
+
end
|
1524
|
+
|
1490
1525
|
class GoogleAnalyticsAdminV1alphaCreateUserLinkRequest
|
1491
1526
|
# @private
|
1492
1527
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1634,6 +1669,23 @@ module Google
|
|
1634
1669
|
end
|
1635
1670
|
end
|
1636
1671
|
|
1672
|
+
class GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings
|
1673
|
+
# @private
|
1674
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1675
|
+
property :file_downloads_enabled, as: 'fileDownloadsEnabled'
|
1676
|
+
property :form_interactions_enabled, as: 'formInteractionsEnabled'
|
1677
|
+
property :name, as: 'name'
|
1678
|
+
property :outbound_clicks_enabled, as: 'outboundClicksEnabled'
|
1679
|
+
property :page_changes_enabled, as: 'pageChangesEnabled'
|
1680
|
+
property :scrolls_enabled, as: 'scrollsEnabled'
|
1681
|
+
property :search_query_parameter, as: 'searchQueryParameter'
|
1682
|
+
property :site_search_enabled, as: 'siteSearchEnabled'
|
1683
|
+
property :stream_enabled, as: 'streamEnabled'
|
1684
|
+
property :uri_query_parameter, as: 'uriQueryParameter'
|
1685
|
+
property :video_engagement_enabled, as: 'videoEngagementEnabled'
|
1686
|
+
end
|
1687
|
+
end
|
1688
|
+
|
1637
1689
|
class GoogleAnalyticsAdminV1alphaExpandedDataSet
|
1638
1690
|
# @private
|
1639
1691
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1806,8 +1858,6 @@ module Google
|
|
1806
1858
|
class GoogleAnalyticsAdminV1alphaListConnectedSiteTagsRequest
|
1807
1859
|
# @private
|
1808
1860
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1809
|
-
property :page_size, as: 'pageSize'
|
1810
|
-
property :page_token, as: 'pageToken'
|
1811
1861
|
property :property, as: 'property'
|
1812
1862
|
end
|
1813
1863
|
end
|
@@ -1817,7 +1867,6 @@ module Google
|
|
1817
1867
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1818
1868
|
collection :connected_site_tags, as: 'connectedSiteTags', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaConnectedSiteTag, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaConnectedSiteTag::Representation
|
1819
1869
|
|
1820
|
-
property :next_page_token, as: 'nextPageToken'
|
1821
1870
|
end
|
1822
1871
|
end
|
1823
1872
|
|
@@ -422,9 +422,10 @@ module Google
|
|
422
422
|
|
423
423
|
# Deletes information about multiple users' links to an account or property.
|
424
424
|
# @param [String] parent
|
425
|
-
# Required. The account or property that owns the access bindings. The parent
|
426
|
-
#
|
427
|
-
# this field. Formats: - accounts/`account` - properties/`
|
425
|
+
# Required. The account or property that owns the access bindings. The parent of
|
426
|
+
# all provided values for the 'names' field in DeleteAccessBindingRequest
|
427
|
+
# messages must match this field. Formats: - accounts/`account` - properties/`
|
428
|
+
# property`
|
428
429
|
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchDeleteAccessBindingsRequest] google_analytics_admin_v1alpha_batch_delete_access_bindings_request_object
|
429
430
|
# @param [String] fields
|
430
431
|
# Selector specifying which fields to include in a partial response.
|
@@ -495,8 +496,8 @@ module Google
|
|
495
496
|
|
496
497
|
# Updates information about multiple access bindings to an account or property.
|
497
498
|
# @param [String] parent
|
498
|
-
# Required. The account or property that owns the access bindings. The parent
|
499
|
-
#
|
499
|
+
# Required. The account or property that owns the access bindings. The parent of
|
500
|
+
# all provided AccessBinding in UpdateAccessBindingRequest messages must match
|
500
501
|
# this field. Formats: - accounts/`account` - properties/`property`
|
501
502
|
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchUpdateAccessBindingsRequest] google_analytics_admin_v1alpha_batch_update_access_bindings_request_object
|
502
503
|
# @param [String] fields
|
@@ -1120,6 +1121,38 @@ module Google
|
|
1120
1121
|
execute_or_queue_command(command, &block)
|
1121
1122
|
end
|
1122
1123
|
|
1124
|
+
# Creates a connected site tag for a Universal Analytics property. You can
|
1125
|
+
# create a maximum of 20 connected site tags per property. Note: This API cannot
|
1126
|
+
# be used on GA4 properties.
|
1127
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCreateConnectedSiteTagRequest] google_analytics_admin_v1alpha_create_connected_site_tag_request_object
|
1128
|
+
# @param [String] fields
|
1129
|
+
# Selector specifying which fields to include in a partial response.
|
1130
|
+
# @param [String] quota_user
|
1131
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1132
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1133
|
+
# @param [Google::Apis::RequestOptions] options
|
1134
|
+
# Request-specific options
|
1135
|
+
#
|
1136
|
+
# @yield [result, err] Result & error if block supplied
|
1137
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCreateConnectedSiteTagResponse] parsed result object
|
1138
|
+
# @yieldparam err [StandardError] error object if request failed
|
1139
|
+
#
|
1140
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCreateConnectedSiteTagResponse]
|
1141
|
+
#
|
1142
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1143
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1144
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1145
|
+
def create_property_connected_site_tag(google_analytics_admin_v1alpha_create_connected_site_tag_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1146
|
+
command = make_simple_command(:post, 'v1alpha/properties:createConnectedSiteTag', options)
|
1147
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCreateConnectedSiteTagRequest::Representation
|
1148
|
+
command.request_object = google_analytics_admin_v1alpha_create_connected_site_tag_request_object
|
1149
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCreateConnectedSiteTagResponse::Representation
|
1150
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCreateConnectedSiteTagResponse
|
1151
|
+
command.query['fields'] = fields unless fields.nil?
|
1152
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1153
|
+
execute_or_queue_command(command, &block)
|
1154
|
+
end
|
1155
|
+
|
1123
1156
|
# Marks target Property as soft-deleted (ie: "trashed") and returns it. This API
|
1124
1157
|
# does not have a method to restore soft-deleted properties. However, they can
|
1125
1158
|
# be restored using the Trash Can UI. If the properties are not restored before
|
@@ -1400,8 +1433,9 @@ module Google
|
|
1400
1433
|
execute_or_queue_command(command, &block)
|
1401
1434
|
end
|
1402
1435
|
|
1403
|
-
# Lists the connected site tags for a Universal Analytics property.
|
1404
|
-
# has no effect on GA4
|
1436
|
+
# Lists the connected site tags for a Universal Analytics property. A maximum of
|
1437
|
+
# 20 connected site tags will be returned. Note: this has no effect on GA4
|
1438
|
+
# property.
|
1405
1439
|
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListConnectedSiteTagsRequest] google_analytics_admin_v1alpha_list_connected_site_tags_request_object
|
1406
1440
|
# @param [String] fields
|
1407
1441
|
# Selector specifying which fields to include in a partial response.
|
@@ -1706,9 +1740,10 @@ module Google
|
|
1706
1740
|
|
1707
1741
|
# Deletes information about multiple users' links to an account or property.
|
1708
1742
|
# @param [String] parent
|
1709
|
-
# Required. The account or property that owns the access bindings. The parent
|
1710
|
-
#
|
1711
|
-
# this field. Formats: - accounts/`account` - properties/`
|
1743
|
+
# Required. The account or property that owns the access bindings. The parent of
|
1744
|
+
# all provided values for the 'names' field in DeleteAccessBindingRequest
|
1745
|
+
# messages must match this field. Formats: - accounts/`account` - properties/`
|
1746
|
+
# property`
|
1712
1747
|
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchDeleteAccessBindingsRequest] google_analytics_admin_v1alpha_batch_delete_access_bindings_request_object
|
1713
1748
|
# @param [String] fields
|
1714
1749
|
# Selector specifying which fields to include in a partial response.
|
@@ -1779,8 +1814,8 @@ module Google
|
|
1779
1814
|
|
1780
1815
|
# Updates information about multiple access bindings to an account or property.
|
1781
1816
|
# @param [String] parent
|
1782
|
-
# Required. The account or property that owns the access bindings. The parent
|
1783
|
-
#
|
1817
|
+
# Required. The account or property that owns the access bindings. The parent of
|
1818
|
+
# all provided AccessBinding in UpdateAccessBindingRequest messages must match
|
1784
1819
|
# this field. Formats: - accounts/`account` - properties/`property`
|
1785
1820
|
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchUpdateAccessBindingsRequest] google_analytics_admin_v1alpha_batch_update_access_bindings_request_object
|
1786
1821
|
# @param [String] fields
|
@@ -2828,6 +2863,39 @@ module Google
|
|
2828
2863
|
execute_or_queue_command(command, &block)
|
2829
2864
|
end
|
2830
2865
|
|
2866
|
+
# Returns the enhanced measurement settings for this data stream. Note that the
|
2867
|
+
# stream must enable enhanced measurement for these settings to take effect.
|
2868
|
+
# @param [String] name
|
2869
|
+
# Required. The name of the settings to lookup. Format: properties/`property`/
|
2870
|
+
# dataStreams/`data_stream`/enhancedMeasurementSettings Example: "properties/
|
2871
|
+
# 1000/dataStreams/2000/enhancedMeasurementSettings"
|
2872
|
+
# @param [String] fields
|
2873
|
+
# Selector specifying which fields to include in a partial response.
|
2874
|
+
# @param [String] quota_user
|
2875
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2876
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2877
|
+
# @param [Google::Apis::RequestOptions] options
|
2878
|
+
# Request-specific options
|
2879
|
+
#
|
2880
|
+
# @yield [result, err] Result & error if block supplied
|
2881
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings] parsed result object
|
2882
|
+
# @yieldparam err [StandardError] error object if request failed
|
2883
|
+
#
|
2884
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings]
|
2885
|
+
#
|
2886
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2887
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2888
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2889
|
+
def get_property_data_stream_enhanced_measurement_settings(name, fields: nil, quota_user: nil, options: nil, &block)
|
2890
|
+
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
2891
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings::Representation
|
2892
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings
|
2893
|
+
command.params['name'] = name unless name.nil?
|
2894
|
+
command.query['fields'] = fields unless fields.nil?
|
2895
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2896
|
+
execute_or_queue_command(command, &block)
|
2897
|
+
end
|
2898
|
+
|
2831
2899
|
# Returns the Site Tag for the specified web stream. Site Tags are immutable
|
2832
2900
|
# singletons.
|
2833
2901
|
# @param [String] name
|
@@ -2942,6 +3010,47 @@ module Google
|
|
2942
3010
|
execute_or_queue_command(command, &block)
|
2943
3011
|
end
|
2944
3012
|
|
3013
|
+
# Updates the enhanced measurement settings for this data stream. Note that the
|
3014
|
+
# stream must enable enhanced measurement for these settings to take effect.
|
3015
|
+
# @param [String] name
|
3016
|
+
# Output only. Resource name of the Enhanced Measurement Settings. Format:
|
3017
|
+
# properties/`property_id`/dataStreams/`data_stream`/enhancedMeasurementSettings
|
3018
|
+
# Example: "properties/1000/dataStreams/2000/enhancedMeasurementSettings"
|
3019
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings] google_analytics_admin_v1alpha_enhanced_measurement_settings_object
|
3020
|
+
# @param [String] update_mask
|
3021
|
+
# Required. The list of fields to be updated. Field names must be in snake case (
|
3022
|
+
# e.g., "field_to_update"). Omitted fields will not be updated. To replace the
|
3023
|
+
# entire entity, use one path with the string "*" to match all fields.
|
3024
|
+
# @param [String] fields
|
3025
|
+
# Selector specifying which fields to include in a partial response.
|
3026
|
+
# @param [String] quota_user
|
3027
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3028
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3029
|
+
# @param [Google::Apis::RequestOptions] options
|
3030
|
+
# Request-specific options
|
3031
|
+
#
|
3032
|
+
# @yield [result, err] Result & error if block supplied
|
3033
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings] parsed result object
|
3034
|
+
# @yieldparam err [StandardError] error object if request failed
|
3035
|
+
#
|
3036
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings]
|
3037
|
+
#
|
3038
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3039
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3040
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3041
|
+
def update_property_data_stream_enhanced_measurement_settings(name, google_analytics_admin_v1alpha_enhanced_measurement_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3042
|
+
command = make_simple_command(:patch, 'v1alpha/{+name}', options)
|
3043
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings::Representation
|
3044
|
+
command.request_object = google_analytics_admin_v1alpha_enhanced_measurement_settings_object
|
3045
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings::Representation
|
3046
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings
|
3047
|
+
command.params['name'] = name unless name.nil?
|
3048
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
3049
|
+
command.query['fields'] = fields unless fields.nil?
|
3050
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3051
|
+
execute_or_queue_command(command, &block)
|
3052
|
+
end
|
3053
|
+
|
2945
3054
|
# Creates a measurement protocol secret.
|
2946
3055
|
# @param [String] parent
|
2947
3056
|
# Required. The parent resource where this secret will be created. Format:
|
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.
|
4
|
+
version: 0.50.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-03-
|
11
|
+
date: 2023-03-26 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-analyticsadmin_v1alpha/v0.50.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: []
|