google-apis-analyticsadmin_v1alpha 0.14.0 → 0.18.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/OVERVIEW.md +2 -2
- data/lib/google/apis/analyticsadmin_v1alpha/classes.rb +60 -122
- data/lib/google/apis/analyticsadmin_v1alpha/gem_version.rb +2 -2
- data/lib/google/apis/analyticsadmin_v1alpha/representations.rb +26 -24
- data/lib/google/apis/analyticsadmin_v1alpha/service.rb +35 -76
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7f18e02239cff4fb86844a84750f2963e3fbf819ab9194a1040921b259ef021c
|
4
|
+
data.tar.gz: 87591921c0de42625efffdc20b13e723e79cb354db06dd511e7fa054ce69cfee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a8fa87603d5d2d52b5c741960fbb701c2e79be7a7a99e2dbbe9873d161e8b8d10db5a18133f0dbc86ac4f928a536fb910bee049cf5e945cbc8fde377bf58863d
|
7
|
+
data.tar.gz: 97f430f138786de7b5789339071cc5cf2808624fa2e0acb419b0a2d1bf192a2ccf777226a59da6cfb8c778c0b7c56a80d93d1a237acbc316e50040f0424b1de0
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Release history for google-apis-analyticsadmin_v1alpha
|
2
2
|
|
3
|
+
### v0.18.0 (2021-10-22)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20211021
|
6
|
+
|
7
|
+
### v0.17.0 (2021-10-06)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20211005
|
10
|
+
|
11
|
+
### v0.16.0 (2021-09-24)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210922
|
14
|
+
|
15
|
+
### v0.15.0 (2021-09-17)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210916
|
18
|
+
|
3
19
|
### v0.14.0 (2021-08-24)
|
4
20
|
|
5
21
|
* Regenerated from discovery document revision 20210822
|
data/OVERVIEW.md
CHANGED
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
|
|
60
60
|
|
61
61
|
More detailed descriptions of the Google simple REST clients are available in two documents.
|
62
62
|
|
63
|
-
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
64
|
-
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
63
|
+
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
|
64
|
+
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
|
65
65
|
|
66
66
|
(Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Analyticsadmin service in particular.)
|
67
67
|
|
@@ -114,6 +114,43 @@ module Google
|
|
114
114
|
end
|
115
115
|
end
|
116
116
|
|
117
|
+
# Request message for AcknowledgeUserDataCollection RPC.
|
118
|
+
class GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionRequest
|
119
|
+
include Google::Apis::Core::Hashable
|
120
|
+
|
121
|
+
# Required. An acknowledgement that the caller of this method understands the
|
122
|
+
# terms of user data collection. This field must contain the exact value: "I
|
123
|
+
# acknowledge that I have the necessary privacy disclosures and rights from my
|
124
|
+
# end users for the collection and processing of their data, including the
|
125
|
+
# association of such data with the visitation information Google Analytics
|
126
|
+
# collects from my site and/or app property."
|
127
|
+
# Corresponds to the JSON property `acknowledgement`
|
128
|
+
# @return [String]
|
129
|
+
attr_accessor :acknowledgement
|
130
|
+
|
131
|
+
def initialize(**args)
|
132
|
+
update!(**args)
|
133
|
+
end
|
134
|
+
|
135
|
+
# Update properties of this object
|
136
|
+
def update!(**args)
|
137
|
+
@acknowledgement = args[:acknowledgement] if args.key?(:acknowledgement)
|
138
|
+
end
|
139
|
+
end
|
140
|
+
|
141
|
+
# Response message for AcknowledgeUserDataCollection RPC.
|
142
|
+
class GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionResponse
|
143
|
+
include Google::Apis::Core::Hashable
|
144
|
+
|
145
|
+
def initialize(**args)
|
146
|
+
update!(**args)
|
147
|
+
end
|
148
|
+
|
149
|
+
# Update properties of this object
|
150
|
+
def update!(**args)
|
151
|
+
end
|
152
|
+
end
|
153
|
+
|
117
154
|
# A resource message representing a Google Analytics Android app stream.
|
118
155
|
class GoogleAnalyticsAdminV1alphaAndroidAppDataStream
|
119
156
|
include Google::Apis::Core::Hashable
|
@@ -231,7 +268,7 @@ module Google
|
|
231
268
|
include Google::Apis::Core::Hashable
|
232
269
|
|
233
270
|
# Roles directly assigned to this user for this entity. Format: predefinedRoles/
|
234
|
-
#
|
271
|
+
# viewer Excludes roles that are inherited from an account (if this is for a
|
235
272
|
# property), group, or organization admin role.
|
236
273
|
# Corresponds to the JSON property `directRoles`
|
237
274
|
# @return [Array<String>]
|
@@ -239,7 +276,7 @@ module Google
|
|
239
276
|
|
240
277
|
# Union of all permissions a user has at this account or property (includes
|
241
278
|
# direct permissions, group-inherited permissions, etc.). Format:
|
242
|
-
# predefinedRoles/
|
279
|
+
# predefinedRoles/viewer
|
243
280
|
# Corresponds to the JSON property `effectiveRoles`
|
244
281
|
# @return [Array<String>]
|
245
282
|
attr_accessor :effective_roles
|
@@ -541,7 +578,7 @@ module Google
|
|
541
578
|
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink]
|
542
579
|
attr_accessor :display_video360_advertiser_link
|
543
580
|
|
544
|
-
# A proposal for a link between
|
581
|
+
# A proposal for a link between a GA4 property and a Display & Video 360
|
545
582
|
# advertiser. A proposal is converted to a DisplayVideo360AdvertiserLink once
|
546
583
|
# approved. Google Analytics admins approve inbound proposals while Display &
|
547
584
|
# Video 360 admins approve outbound proposals.
|
@@ -549,12 +586,12 @@ module Google
|
|
549
586
|
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal]
|
550
587
|
attr_accessor :display_video360_advertiser_link_proposal
|
551
588
|
|
552
|
-
# A link between
|
589
|
+
# A link between a GA4 property and a Firebase project.
|
553
590
|
# Corresponds to the JSON property `firebaseLink`
|
554
591
|
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFirebaseLink]
|
555
592
|
attr_accessor :firebase_link
|
556
593
|
|
557
|
-
# A link between
|
594
|
+
# A link between a GA4 property and a Google Ads account.
|
558
595
|
# Corresponds to the JSON property `googleAdsLink`
|
559
596
|
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink]
|
560
597
|
attr_accessor :google_ads_link
|
@@ -1017,7 +1054,7 @@ module Google
|
|
1017
1054
|
alias_method :campaign_data_sharing_enabled?, :campaign_data_sharing_enabled
|
1018
1055
|
|
1019
1056
|
# Immutable. Enables the import of cost data from Display & Video 360 into the
|
1020
|
-
# GA4 property. This can only be enabled if
|
1057
|
+
# GA4 property. This can only be enabled if campaign_data_sharing_enabled is
|
1021
1058
|
# enabled. After link creation, this can only be updated from the Display &
|
1022
1059
|
# Video 360 product. If this field is not set on create, it will be defaulted to
|
1023
1060
|
# true.
|
@@ -1048,7 +1085,7 @@ module Google
|
|
1048
1085
|
end
|
1049
1086
|
end
|
1050
1087
|
|
1051
|
-
# A proposal for a link between
|
1088
|
+
# A proposal for a link between a GA4 property and a Display & Video 360
|
1052
1089
|
# advertiser. A proposal is converted to a DisplayVideo360AdvertiserLink once
|
1053
1090
|
# approved. Google Analytics admins approve inbound proposals while Display &
|
1054
1091
|
# Video 360 admins approve outbound proposals.
|
@@ -1081,7 +1118,7 @@ module Google
|
|
1081
1118
|
alias_method :campaign_data_sharing_enabled?, :campaign_data_sharing_enabled
|
1082
1119
|
|
1083
1120
|
# Immutable. Enables the import of cost data from Display & Video 360. This can
|
1084
|
-
# only be enabled if
|
1121
|
+
# only be enabled if campaign_data_sharing_enabled is enabled. If this field is
|
1085
1122
|
# not set on create, it will be defaulted to true.
|
1086
1123
|
# Corresponds to the JSON property `costDataSharingEnabled`
|
1087
1124
|
# @return [Boolean]
|
@@ -1128,114 +1165,7 @@ module Google
|
|
1128
1165
|
end
|
1129
1166
|
end
|
1130
1167
|
|
1131
|
-
#
|
1132
|
-
# additional site interactions and content.
|
1133
|
-
class GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings
|
1134
|
-
include Google::Apis::Core::Hashable
|
1135
|
-
|
1136
|
-
# If enabled, capture a file download event each time a link is clicked with a
|
1137
|
-
# common document, compressed file, application, video, or audio extension.
|
1138
|
-
# Corresponds to the JSON property `fileDownloadsEnabled`
|
1139
|
-
# @return [Boolean]
|
1140
|
-
attr_accessor :file_downloads_enabled
|
1141
|
-
alias_method :file_downloads_enabled?, :file_downloads_enabled
|
1142
|
-
|
1143
|
-
# Output only. Resource name of this Data Stream. Format: properties/`
|
1144
|
-
# property_id`/webDataStreams/`stream_id`/enhancedMeasurementSettings Example: "
|
1145
|
-
# properties/1000/webDataStreams/2000/enhancedMeasurementSettings"
|
1146
|
-
# Corresponds to the JSON property `name`
|
1147
|
-
# @return [String]
|
1148
|
-
attr_accessor :name
|
1149
|
-
|
1150
|
-
# If enabled, capture an outbound click event each time a visitor clicks a link
|
1151
|
-
# that leads them away from your domain.
|
1152
|
-
# Corresponds to the JSON property `outboundClicksEnabled`
|
1153
|
-
# @return [Boolean]
|
1154
|
-
attr_accessor :outbound_clicks_enabled
|
1155
|
-
alias_method :outbound_clicks_enabled?, :outbound_clicks_enabled
|
1156
|
-
|
1157
|
-
# If enabled, capture a page view event each time the website changes the
|
1158
|
-
# browser history state.
|
1159
|
-
# Corresponds to the JSON property `pageChangesEnabled`
|
1160
|
-
# @return [Boolean]
|
1161
|
-
attr_accessor :page_changes_enabled
|
1162
|
-
alias_method :page_changes_enabled?, :page_changes_enabled
|
1163
|
-
|
1164
|
-
# Output only. If enabled, capture a page view event each time a page loads.
|
1165
|
-
# Corresponds to the JSON property `pageLoadsEnabled`
|
1166
|
-
# @return [Boolean]
|
1167
|
-
attr_accessor :page_loads_enabled
|
1168
|
-
alias_method :page_loads_enabled?, :page_loads_enabled
|
1169
|
-
|
1170
|
-
# Output only. If enabled, capture a page view event each time a page loads or
|
1171
|
-
# the website changes the browser history state.
|
1172
|
-
# Corresponds to the JSON property `pageViewsEnabled`
|
1173
|
-
# @return [Boolean]
|
1174
|
-
attr_accessor :page_views_enabled
|
1175
|
-
alias_method :page_views_enabled?, :page_views_enabled
|
1176
|
-
|
1177
|
-
# If enabled, capture scroll events each time a visitor gets to the bottom of a
|
1178
|
-
# page.
|
1179
|
-
# Corresponds to the JSON property `scrollsEnabled`
|
1180
|
-
# @return [Boolean]
|
1181
|
-
attr_accessor :scrolls_enabled
|
1182
|
-
alias_method :scrolls_enabled?, :scrolls_enabled
|
1183
|
-
|
1184
|
-
# Required. URL query parameters to interpret as site search parameters. Max
|
1185
|
-
# length is 1024 characters. Must not be empty.
|
1186
|
-
# Corresponds to the JSON property `searchQueryParameter`
|
1187
|
-
# @return [String]
|
1188
|
-
attr_accessor :search_query_parameter
|
1189
|
-
|
1190
|
-
# If enabled, capture a view search results event each time a visitor performs a
|
1191
|
-
# search on your site (based on a query parameter).
|
1192
|
-
# Corresponds to the JSON property `siteSearchEnabled`
|
1193
|
-
# @return [Boolean]
|
1194
|
-
attr_accessor :site_search_enabled
|
1195
|
-
alias_method :site_search_enabled?, :site_search_enabled
|
1196
|
-
|
1197
|
-
# Indicates whether Enhanced Measurement Settings will be used to automatically
|
1198
|
-
# measure interactions and content on this web stream. Changing this value does
|
1199
|
-
# not affect the settings themselves, but determines whether they are respected.
|
1200
|
-
# Corresponds to the JSON property `streamEnabled`
|
1201
|
-
# @return [Boolean]
|
1202
|
-
attr_accessor :stream_enabled
|
1203
|
-
alias_method :stream_enabled?, :stream_enabled
|
1204
|
-
|
1205
|
-
# Additional URL query parameters. Max length is 1024 characters.
|
1206
|
-
# Corresponds to the JSON property `uriQueryParameter`
|
1207
|
-
# @return [String]
|
1208
|
-
attr_accessor :uri_query_parameter
|
1209
|
-
|
1210
|
-
# If enabled, capture video play, progress, and complete events as visitors view
|
1211
|
-
# embedded videos on your site.
|
1212
|
-
# Corresponds to the JSON property `videoEngagementEnabled`
|
1213
|
-
# @return [Boolean]
|
1214
|
-
attr_accessor :video_engagement_enabled
|
1215
|
-
alias_method :video_engagement_enabled?, :video_engagement_enabled
|
1216
|
-
|
1217
|
-
def initialize(**args)
|
1218
|
-
update!(**args)
|
1219
|
-
end
|
1220
|
-
|
1221
|
-
# Update properties of this object
|
1222
|
-
def update!(**args)
|
1223
|
-
@file_downloads_enabled = args[:file_downloads_enabled] if args.key?(:file_downloads_enabled)
|
1224
|
-
@name = args[:name] if args.key?(:name)
|
1225
|
-
@outbound_clicks_enabled = args[:outbound_clicks_enabled] if args.key?(:outbound_clicks_enabled)
|
1226
|
-
@page_changes_enabled = args[:page_changes_enabled] if args.key?(:page_changes_enabled)
|
1227
|
-
@page_loads_enabled = args[:page_loads_enabled] if args.key?(:page_loads_enabled)
|
1228
|
-
@page_views_enabled = args[:page_views_enabled] if args.key?(:page_views_enabled)
|
1229
|
-
@scrolls_enabled = args[:scrolls_enabled] if args.key?(:scrolls_enabled)
|
1230
|
-
@search_query_parameter = args[:search_query_parameter] if args.key?(:search_query_parameter)
|
1231
|
-
@site_search_enabled = args[:site_search_enabled] if args.key?(:site_search_enabled)
|
1232
|
-
@stream_enabled = args[:stream_enabled] if args.key?(:stream_enabled)
|
1233
|
-
@uri_query_parameter = args[:uri_query_parameter] if args.key?(:uri_query_parameter)
|
1234
|
-
@video_engagement_enabled = args[:video_engagement_enabled] if args.key?(:video_engagement_enabled)
|
1235
|
-
end
|
1236
|
-
end
|
1237
|
-
|
1238
|
-
# A link between an GA4 property and a Firebase project.
|
1168
|
+
# A link between a GA4 property and a Firebase project.
|
1239
1169
|
class GoogleAnalyticsAdminV1alphaFirebaseLink
|
1240
1170
|
include Google::Apis::Core::Hashable
|
1241
1171
|
|
@@ -1298,7 +1228,7 @@ module Google
|
|
1298
1228
|
end
|
1299
1229
|
end
|
1300
1230
|
|
1301
|
-
# A link between
|
1231
|
+
# A link between a GA4 property and a Google Ads account.
|
1302
1232
|
class GoogleAnalyticsAdminV1alphaGoogleAdsLink
|
1303
1233
|
include Google::Apis::Core::Hashable
|
1304
1234
|
|
@@ -1907,6 +1837,12 @@ module Google
|
|
1907
1837
|
class GoogleAnalyticsAdminV1alphaProperty
|
1908
1838
|
include Google::Apis::Core::Hashable
|
1909
1839
|
|
1840
|
+
# Immutable. The resource name of the parent account Format: accounts/`
|
1841
|
+
# account_id` Example: "accounts/123"
|
1842
|
+
# Corresponds to the JSON property `account`
|
1843
|
+
# @return [String]
|
1844
|
+
attr_accessor :account
|
1845
|
+
|
1910
1846
|
# Output only. Time when the entity was originally created.
|
1911
1847
|
# Corresponds to the JSON property `createTime`
|
1912
1848
|
# @return [String]
|
@@ -1980,6 +1916,7 @@ module Google
|
|
1980
1916
|
|
1981
1917
|
# Update properties of this object
|
1982
1918
|
def update!(**args)
|
1919
|
+
@account = args[:account] if args.key?(:account)
|
1983
1920
|
@create_time = args[:create_time] if args.key?(:create_time)
|
1984
1921
|
@currency_code = args[:currency_code] if args.key?(:currency_code)
|
1985
1922
|
@delete_time = args[:delete_time] if args.key?(:delete_time)
|
@@ -1994,7 +1931,7 @@ module Google
|
|
1994
1931
|
end
|
1995
1932
|
end
|
1996
1933
|
|
1997
|
-
# A virtual resource representing metadata for
|
1934
|
+
# A virtual resource representing metadata for a GA4 property.
|
1998
1935
|
class GoogleAnalyticsAdminV1alphaPropertySummary
|
1999
1936
|
include Google::Apis::Core::Hashable
|
2000
1937
|
|
@@ -2187,10 +2124,11 @@ module Google
|
|
2187
2124
|
include Google::Apis::Core::Hashable
|
2188
2125
|
|
2189
2126
|
# Roles directly assigned to this user for this account or property. Valid
|
2190
|
-
# values: predefinedRoles/
|
2191
|
-
# predefinedRoles/
|
2192
|
-
#
|
2193
|
-
# have an empty list of
|
2127
|
+
# values: predefinedRoles/viewer predefinedRoles/analyst predefinedRoles/editor
|
2128
|
+
# predefinedRoles/admin predefinedRoles/no-cost-data predefinedRoles/no-revenue-
|
2129
|
+
# data Excludes roles that are inherited from a higher-level entity, group, or
|
2130
|
+
# organization admin role. A UserLink that is updated to have an empty list of
|
2131
|
+
# direct_roles will be deleted.
|
2194
2132
|
# Corresponds to the JSON property `directRoles`
|
2195
2133
|
# @return [Array<String>]
|
2196
2134
|
attr_accessor :direct_roles
|
@@ -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.18.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20211021"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -34,6 +34,18 @@ module Google
|
|
34
34
|
include Google::Apis::Core::JsonObjectSupport
|
35
35
|
end
|
36
36
|
|
37
|
+
class GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionRequest
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
43
|
+
class GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionResponse
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
37
49
|
class GoogleAnalyticsAdminV1alphaAndroidAppDataStream
|
38
50
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
51
|
|
@@ -196,12 +208,6 @@ module Google
|
|
196
208
|
include Google::Apis::Core::JsonObjectSupport
|
197
209
|
end
|
198
210
|
|
199
|
-
class GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings
|
200
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
|
-
|
202
|
-
include Google::Apis::Core::JsonObjectSupport
|
203
|
-
end
|
204
|
-
|
205
211
|
class GoogleAnalyticsAdminV1alphaFirebaseLink
|
206
212
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
213
|
|
@@ -417,6 +423,19 @@ module Google
|
|
417
423
|
end
|
418
424
|
end
|
419
425
|
|
426
|
+
class GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionRequest
|
427
|
+
# @private
|
428
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
429
|
+
property :acknowledgement, as: 'acknowledgement'
|
430
|
+
end
|
431
|
+
end
|
432
|
+
|
433
|
+
class GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionResponse
|
434
|
+
# @private
|
435
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
436
|
+
end
|
437
|
+
end
|
438
|
+
|
420
439
|
class GoogleAnalyticsAdminV1alphaAndroidAppDataStream
|
421
440
|
# @private
|
422
441
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -698,24 +717,6 @@ module Google
|
|
698
717
|
end
|
699
718
|
end
|
700
719
|
|
701
|
-
class GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings
|
702
|
-
# @private
|
703
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
704
|
-
property :file_downloads_enabled, as: 'fileDownloadsEnabled'
|
705
|
-
property :name, as: 'name'
|
706
|
-
property :outbound_clicks_enabled, as: 'outboundClicksEnabled'
|
707
|
-
property :page_changes_enabled, as: 'pageChangesEnabled'
|
708
|
-
property :page_loads_enabled, as: 'pageLoadsEnabled'
|
709
|
-
property :page_views_enabled, as: 'pageViewsEnabled'
|
710
|
-
property :scrolls_enabled, as: 'scrollsEnabled'
|
711
|
-
property :search_query_parameter, as: 'searchQueryParameter'
|
712
|
-
property :site_search_enabled, as: 'siteSearchEnabled'
|
713
|
-
property :stream_enabled, as: 'streamEnabled'
|
714
|
-
property :uri_query_parameter, as: 'uriQueryParameter'
|
715
|
-
property :video_engagement_enabled, as: 'videoEngagementEnabled'
|
716
|
-
end
|
717
|
-
end
|
718
|
-
|
719
720
|
class GoogleAnalyticsAdminV1alphaFirebaseLink
|
720
721
|
# @private
|
721
722
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -923,6 +924,7 @@ module Google
|
|
923
924
|
class GoogleAnalyticsAdminV1alphaProperty
|
924
925
|
# @private
|
925
926
|
class Representation < Google::Apis::Core::JsonRepresentation
|
927
|
+
property :account, as: 'account'
|
926
928
|
property :create_time, as: 'createTime'
|
927
929
|
property :currency_code, as: 'currencyCode'
|
928
930
|
property :delete_time, as: 'deleteTime'
|
@@ -689,6 +689,41 @@ module Google
|
|
689
689
|
execute_or_queue_command(command, &block)
|
690
690
|
end
|
691
691
|
|
692
|
+
# Acknowledges the terms of user data collection for the specified property.
|
693
|
+
# This acknowledgement must be completed (either in the Google Analytics UI or
|
694
|
+
# via this API) before MeasurementProtocolSecret resources may be created.
|
695
|
+
# @param [String] property
|
696
|
+
# Required. The property for which to acknowledge user data collection.
|
697
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionRequest] google_analytics_admin_v1alpha_acknowledge_user_data_collection_request_object
|
698
|
+
# @param [String] fields
|
699
|
+
# Selector specifying which fields to include in a partial response.
|
700
|
+
# @param [String] quota_user
|
701
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
702
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
703
|
+
# @param [Google::Apis::RequestOptions] options
|
704
|
+
# Request-specific options
|
705
|
+
#
|
706
|
+
# @yield [result, err] Result & error if block supplied
|
707
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionResponse] parsed result object
|
708
|
+
# @yieldparam err [StandardError] error object if request failed
|
709
|
+
#
|
710
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionResponse]
|
711
|
+
#
|
712
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
713
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
714
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
715
|
+
def acknowledge_property_user_data_collection(property, google_analytics_admin_v1alpha_acknowledge_user_data_collection_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
716
|
+
command = make_simple_command(:post, 'v1alpha/{+property}:acknowledgeUserDataCollection', options)
|
717
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionRequest::Representation
|
718
|
+
command.request_object = google_analytics_admin_v1alpha_acknowledge_user_data_collection_request_object
|
719
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionResponse::Representation
|
720
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionResponse
|
721
|
+
command.params['property'] = property unless property.nil?
|
722
|
+
command.query['fields'] = fields unless fields.nil?
|
723
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
724
|
+
execute_or_queue_command(command, &block)
|
725
|
+
end
|
726
|
+
|
692
727
|
# Creates an "GA4" property with the specified location and attributes.
|
693
728
|
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty] google_analytics_admin_v1alpha_property_object
|
694
729
|
# @param [String] fields
|
@@ -3271,40 +3306,6 @@ module Google
|
|
3271
3306
|
execute_or_queue_command(command, &block)
|
3272
3307
|
end
|
3273
3308
|
|
3274
|
-
# Returns the singleton enhanced measurement settings for this web stream. Note
|
3275
|
-
# that the stream must enable enhanced measurement for these settings to take
|
3276
|
-
# effect.
|
3277
|
-
# @param [String] name
|
3278
|
-
# Required. The name of the settings to lookup. Format: properties/`property_id`/
|
3279
|
-
# webDataStreams/`stream_id`/enhancedMeasurementSettings Example: "properties/
|
3280
|
-
# 1000/webDataStreams/2000/enhancedMeasurementSettings"
|
3281
|
-
# @param [String] fields
|
3282
|
-
# Selector specifying which fields to include in a partial response.
|
3283
|
-
# @param [String] quota_user
|
3284
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
3285
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3286
|
-
# @param [Google::Apis::RequestOptions] options
|
3287
|
-
# Request-specific options
|
3288
|
-
#
|
3289
|
-
# @yield [result, err] Result & error if block supplied
|
3290
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings] parsed result object
|
3291
|
-
# @yieldparam err [StandardError] error object if request failed
|
3292
|
-
#
|
3293
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings]
|
3294
|
-
#
|
3295
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3296
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3297
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3298
|
-
def get_property_web_data_stream_enhanced_measurement_settings(name, fields: nil, quota_user: nil, options: nil, &block)
|
3299
|
-
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
3300
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings::Representation
|
3301
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings
|
3302
|
-
command.params['name'] = name unless name.nil?
|
3303
|
-
command.query['fields'] = fields unless fields.nil?
|
3304
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3305
|
-
execute_or_queue_command(command, &block)
|
3306
|
-
end
|
3307
|
-
|
3308
3309
|
# Returns the Site Tag for the specified web stream. Site Tags are immutable
|
3309
3310
|
# singletons.
|
3310
3311
|
# @param [String] name
|
@@ -3423,48 +3424,6 @@ module Google
|
|
3423
3424
|
execute_or_queue_command(command, &block)
|
3424
3425
|
end
|
3425
3426
|
|
3426
|
-
# Updates the singleton enhanced measurement settings for this web stream. Note
|
3427
|
-
# that the stream must enable enhanced measurement for these settings to take
|
3428
|
-
# effect.
|
3429
|
-
# @param [String] name
|
3430
|
-
# Output only. Resource name of this Data Stream. Format: properties/`
|
3431
|
-
# property_id`/webDataStreams/`stream_id`/enhancedMeasurementSettings Example: "
|
3432
|
-
# properties/1000/webDataStreams/2000/enhancedMeasurementSettings"
|
3433
|
-
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings] google_analytics_admin_v1alpha_enhanced_measurement_settings_object
|
3434
|
-
# @param [String] update_mask
|
3435
|
-
# Required. The list of fields to be updated. Field names must be in snake case (
|
3436
|
-
# e.g., "field_to_update"). Omitted fields will not be updated. To replace the
|
3437
|
-
# entire entity, use one path with the string "*" to match all fields.
|
3438
|
-
# @param [String] fields
|
3439
|
-
# Selector specifying which fields to include in a partial response.
|
3440
|
-
# @param [String] quota_user
|
3441
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
3442
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3443
|
-
# @param [Google::Apis::RequestOptions] options
|
3444
|
-
# Request-specific options
|
3445
|
-
#
|
3446
|
-
# @yield [result, err] Result & error if block supplied
|
3447
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings] parsed result object
|
3448
|
-
# @yieldparam err [StandardError] error object if request failed
|
3449
|
-
#
|
3450
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings]
|
3451
|
-
#
|
3452
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3453
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3454
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3455
|
-
def update_property_web_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)
|
3456
|
-
command = make_simple_command(:patch, 'v1alpha/{+name}', options)
|
3457
|
-
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings::Representation
|
3458
|
-
command.request_object = google_analytics_admin_v1alpha_enhanced_measurement_settings_object
|
3459
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings::Representation
|
3460
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings
|
3461
|
-
command.params['name'] = name unless name.nil?
|
3462
|
-
command.query['updateMask'] = update_mask unless update_mask.nil?
|
3463
|
-
command.query['fields'] = fields unless fields.nil?
|
3464
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3465
|
-
execute_or_queue_command(command, &block)
|
3466
|
-
end
|
3467
|
-
|
3468
3427
|
# Creates a measurement protocol secret.
|
3469
3428
|
# @param [String] parent
|
3470
3429
|
# Required. The parent resource where this secret will be created. Any type of
|
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.18.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: 2021-
|
11
|
+
date: 2021-10-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -57,9 +57,9 @@ licenses:
|
|
57
57
|
- Apache-2.0
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
|
-
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-analyticsadmin_v1alpha/v0.
|
62
|
-
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
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.18.0
|
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: []
|
65
65
|
require_paths:
|