google-apis-analyticsadmin_v1alpha 0.21.0 → 0.22.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 +5 -0
- data/lib/google/apis/analyticsadmin_v1alpha/gem_version.rb +3 -3
- data/lib/google/apis/analyticsadmin_v1alpha/service.rb +236 -606
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 35d749bd6efd26fb4ca9d3c1aeae27db2d951f1f020c969f3ff8c89f9d9f76c0
|
4
|
+
data.tar.gz: 57197e93c4a4e1e05d78fca368203814a47722854bdb3529d76d416ffcafb369
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 87d5067a6052c167e0c578bdcf23465ce29533607af0b40517f7d73ff254d17d7fe1dac49f98b9bf91cc1d4227f1ac490eecf78189d59e500575c8fdca0bae25
|
7
|
+
data.tar.gz: 3f3c3074c9b592243dc0219681ffb20db08e6d2841bafd57ff190502baec5d78dfbec549660eb1ceae603c81da60c09b5942177bd6499be93199981cc84370b3
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-analyticsadmin_v1alpha
|
2
2
|
|
3
|
+
### v0.22.0 (2022-01-14)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220112
|
6
|
+
* Regenerated using generator version 0.4.1
|
7
|
+
|
3
8
|
### v0.21.0 (2022-01-07)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20220105
|
@@ -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.22.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.4.
|
22
|
+
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220112"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -891,12 +891,13 @@ module Google
|
|
891
891
|
# @param [String] filter
|
892
892
|
# Required. An expression for filtering the results of the request. Fields
|
893
893
|
# eligible for filtering are: `parent:`(The resource name of the parent account)
|
894
|
-
# or `
|
895
|
-
#
|
896
|
-
#
|
897
|
-
#
|
898
|
-
#
|
899
|
-
# with
|
894
|
+
# or `ancestor:`(The resource name of the parent account) or `firebase_project:`(
|
895
|
+
# The id or number of the linked firebase project). Some examples of filters: ```
|
896
|
+
# | Filter | Description | |-----------------------------|----------------------
|
897
|
+
# ---------------------| | parent:accounts/123 | The account with account id:
|
898
|
+
# 123. | | ancestor:accounts/123 | The account with account id: 123. | |
|
899
|
+
# firebase_project:project-id | The firebase project with id: project-id. | |
|
900
|
+
# firebase_project:123 | The firebase project with number: 123. | ```
|
900
901
|
# @param [Fixnum] page_size
|
901
902
|
# The maximum number of resources to return. The service may return fewer than
|
902
903
|
# this value, even if there are additional pages. If unspecified, at most 50
|
@@ -1203,189 +1204,6 @@ module Google
|
|
1203
1204
|
execute_or_queue_command(command, &block)
|
1204
1205
|
end
|
1205
1206
|
|
1206
|
-
# Creates a measurement protocol secret.
|
1207
|
-
# @param [String] parent
|
1208
|
-
# Required. The parent resource where this secret will be created. Any type of
|
1209
|
-
# stream (WebDataStream, IosAppDataStream, AndroidAppDataStream) may be a parent.
|
1210
|
-
# Format: properties/`property`/webDataStreams/`webDataStream`
|
1211
|
-
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] google_analytics_admin_v1alpha_measurement_protocol_secret_object
|
1212
|
-
# @param [String] fields
|
1213
|
-
# Selector specifying which fields to include in a partial response.
|
1214
|
-
# @param [String] quota_user
|
1215
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1216
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1217
|
-
# @param [Google::Apis::RequestOptions] options
|
1218
|
-
# Request-specific options
|
1219
|
-
#
|
1220
|
-
# @yield [result, err] Result & error if block supplied
|
1221
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] parsed result object
|
1222
|
-
# @yieldparam err [StandardError] error object if request failed
|
1223
|
-
#
|
1224
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret]
|
1225
|
-
#
|
1226
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1227
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1228
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1229
|
-
def create_property_android_app_data_stream_measurement_protocol_secret(parent, google_analytics_admin_v1alpha_measurement_protocol_secret_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1230
|
-
command = make_simple_command(:post, 'v1alpha/{+parent}/measurementProtocolSecrets', options)
|
1231
|
-
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
|
1232
|
-
command.request_object = google_analytics_admin_v1alpha_measurement_protocol_secret_object
|
1233
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
|
1234
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret
|
1235
|
-
command.params['parent'] = parent unless parent.nil?
|
1236
|
-
command.query['fields'] = fields unless fields.nil?
|
1237
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1238
|
-
execute_or_queue_command(command, &block)
|
1239
|
-
end
|
1240
|
-
|
1241
|
-
# Deletes target MeasurementProtocolSecret.
|
1242
|
-
# @param [String] name
|
1243
|
-
# Required. The name of the MeasurementProtocolSecret to delete. Format:
|
1244
|
-
# properties/`property`/webDataStreams/`webDataStream`/
|
1245
|
-
# measurementProtocolSecrets/`measurementProtocolSecret` Note: Any type of
|
1246
|
-
# stream (WebDataStream, IosAppDataStream, AndroidAppDataStream) may be a parent.
|
1247
|
-
# @param [String] fields
|
1248
|
-
# Selector specifying which fields to include in a partial response.
|
1249
|
-
# @param [String] quota_user
|
1250
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1251
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1252
|
-
# @param [Google::Apis::RequestOptions] options
|
1253
|
-
# Request-specific options
|
1254
|
-
#
|
1255
|
-
# @yield [result, err] Result & error if block supplied
|
1256
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty] parsed result object
|
1257
|
-
# @yieldparam err [StandardError] error object if request failed
|
1258
|
-
#
|
1259
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty]
|
1260
|
-
#
|
1261
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1262
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1263
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1264
|
-
def delete_property_android_app_data_stream_measurement_protocol_secret(name, fields: nil, quota_user: nil, options: nil, &block)
|
1265
|
-
command = make_simple_command(:delete, 'v1alpha/{+name}', options)
|
1266
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty::Representation
|
1267
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty
|
1268
|
-
command.params['name'] = name unless name.nil?
|
1269
|
-
command.query['fields'] = fields unless fields.nil?
|
1270
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1271
|
-
execute_or_queue_command(command, &block)
|
1272
|
-
end
|
1273
|
-
|
1274
|
-
# Lookup for a single "GA4" MeasurementProtocolSecret.
|
1275
|
-
# @param [String] name
|
1276
|
-
# Required. The name of the measurement protocol secret to lookup. Format:
|
1277
|
-
# properties/`property`/webDataStreams/`webDataStream`/
|
1278
|
-
# measurementProtocolSecrets/`measurementProtocolSecret` Note: Any type of
|
1279
|
-
# stream (WebDataStream, IosAppDataStream, AndroidAppDataStream) may be a parent.
|
1280
|
-
# @param [String] fields
|
1281
|
-
# Selector specifying which fields to include in a partial response.
|
1282
|
-
# @param [String] quota_user
|
1283
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1284
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1285
|
-
# @param [Google::Apis::RequestOptions] options
|
1286
|
-
# Request-specific options
|
1287
|
-
#
|
1288
|
-
# @yield [result, err] Result & error if block supplied
|
1289
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] parsed result object
|
1290
|
-
# @yieldparam err [StandardError] error object if request failed
|
1291
|
-
#
|
1292
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret]
|
1293
|
-
#
|
1294
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1295
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1296
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1297
|
-
def get_property_android_app_data_stream_measurement_protocol_secret(name, fields: nil, quota_user: nil, options: nil, &block)
|
1298
|
-
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
1299
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
|
1300
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret
|
1301
|
-
command.params['name'] = name unless name.nil?
|
1302
|
-
command.query['fields'] = fields unless fields.nil?
|
1303
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1304
|
-
execute_or_queue_command(command, &block)
|
1305
|
-
end
|
1306
|
-
|
1307
|
-
# Returns child MeasurementProtocolSecrets under the specified parent Property.
|
1308
|
-
# @param [String] parent
|
1309
|
-
# Required. The resource name of the parent stream. Any type of stream (
|
1310
|
-
# WebDataStream, IosAppDataStream, AndroidAppDataStream) may be a parent. Format:
|
1311
|
-
# properties/`property`/webDataStreams/`webDataStream`/
|
1312
|
-
# measurementProtocolSecrets
|
1313
|
-
# @param [Fixnum] page_size
|
1314
|
-
# The maximum number of resources to return. If unspecified, at most 10
|
1315
|
-
# resources will be returned. The maximum value is 10. Higher values will be
|
1316
|
-
# coerced to the maximum.
|
1317
|
-
# @param [String] page_token
|
1318
|
-
# A page token, received from a previous `ListMeasurementProtocolSecrets` call.
|
1319
|
-
# Provide this to retrieve the subsequent page. When paginating, all other
|
1320
|
-
# parameters provided to `ListMeasurementProtocolSecrets` must match the call
|
1321
|
-
# that provided the page token.
|
1322
|
-
# @param [String] fields
|
1323
|
-
# Selector specifying which fields to include in a partial response.
|
1324
|
-
# @param [String] quota_user
|
1325
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1326
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1327
|
-
# @param [Google::Apis::RequestOptions] options
|
1328
|
-
# Request-specific options
|
1329
|
-
#
|
1330
|
-
# @yield [result, err] Result & error if block supplied
|
1331
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse] parsed result object
|
1332
|
-
# @yieldparam err [StandardError] error object if request failed
|
1333
|
-
#
|
1334
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse]
|
1335
|
-
#
|
1336
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1337
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1338
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1339
|
-
def list_property_android_app_data_stream_measurement_protocol_secrets(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1340
|
-
command = make_simple_command(:get, 'v1alpha/{+parent}/measurementProtocolSecrets', options)
|
1341
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse::Representation
|
1342
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse
|
1343
|
-
command.params['parent'] = parent unless parent.nil?
|
1344
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
1345
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
1346
|
-
command.query['fields'] = fields unless fields.nil?
|
1347
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1348
|
-
execute_or_queue_command(command, &block)
|
1349
|
-
end
|
1350
|
-
|
1351
|
-
# Updates a measurement protocol secret.
|
1352
|
-
# @param [String] name
|
1353
|
-
# Output only. Resource name of this secret. This secret may be a child of any
|
1354
|
-
# type of stream. Format: properties/`property`/webDataStreams/`webDataStream`/
|
1355
|
-
# measurementProtocolSecrets/`measurementProtocolSecret`
|
1356
|
-
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] google_analytics_admin_v1alpha_measurement_protocol_secret_object
|
1357
|
-
# @param [String] update_mask
|
1358
|
-
# The list of fields to be updated. Omitted fields will not be updated.
|
1359
|
-
# @param [String] fields
|
1360
|
-
# Selector specifying which fields to include in a partial response.
|
1361
|
-
# @param [String] quota_user
|
1362
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1363
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1364
|
-
# @param [Google::Apis::RequestOptions] options
|
1365
|
-
# Request-specific options
|
1366
|
-
#
|
1367
|
-
# @yield [result, err] Result & error if block supplied
|
1368
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] parsed result object
|
1369
|
-
# @yieldparam err [StandardError] error object if request failed
|
1370
|
-
#
|
1371
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret]
|
1372
|
-
#
|
1373
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1374
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1375
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1376
|
-
def patch_property_android_app_data_stream_measurement_protocol_secret(name, google_analytics_admin_v1alpha_measurement_protocol_secret_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1377
|
-
command = make_simple_command(:patch, 'v1alpha/{+name}', options)
|
1378
|
-
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
|
1379
|
-
command.request_object = google_analytics_admin_v1alpha_measurement_protocol_secret_object
|
1380
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
|
1381
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret
|
1382
|
-
command.params['name'] = name unless name.nil?
|
1383
|
-
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1384
|
-
command.query['fields'] = fields unless fields.nil?
|
1385
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1386
|
-
execute_or_queue_command(command, &block)
|
1387
|
-
end
|
1388
|
-
|
1389
1207
|
# Creates a conversion event with the specified attributes.
|
1390
1208
|
# @param [String] parent
|
1391
1209
|
# Required. The resource name of the parent property where this conversion event
|
@@ -2057,13 +1875,11 @@ module Google
|
|
2057
1875
|
execute_or_queue_command(command, &block)
|
2058
1876
|
end
|
2059
1877
|
|
2060
|
-
#
|
2061
|
-
#
|
2062
|
-
#
|
2063
|
-
#
|
2064
|
-
#
|
2065
|
-
# Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678
|
2066
|
-
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalRequest] google_analytics_admin_v1alpha_approve_display_video360_advertiser_link_proposal_request_object
|
1878
|
+
# Creates a measurement protocol secret.
|
1879
|
+
# @param [String] parent
|
1880
|
+
# Required. The parent resource where this secret will be created. Format:
|
1881
|
+
# properties/`property`/dataStreams/`dataStream`
|
1882
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] google_analytics_admin_v1alpha_measurement_protocol_secret_object
|
2067
1883
|
# @param [String] fields
|
2068
1884
|
# Selector specifying which fields to include in a partial response.
|
2069
1885
|
# @param [String] quota_user
|
@@ -2073,34 +1889,31 @@ module Google
|
|
2073
1889
|
# Request-specific options
|
2074
1890
|
#
|
2075
1891
|
# @yield [result, err] Result & error if block supplied
|
2076
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::
|
1892
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] parsed result object
|
2077
1893
|
# @yieldparam err [StandardError] error object if request failed
|
2078
1894
|
#
|
2079
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::
|
1895
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret]
|
2080
1896
|
#
|
2081
1897
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2082
1898
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2083
1899
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2084
|
-
def
|
2085
|
-
command = make_simple_command(:post, 'v1alpha/{+
|
2086
|
-
command.request_representation = Google::Apis::AnalyticsadminV1alpha::
|
2087
|
-
command.request_object =
|
2088
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::
|
2089
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::
|
2090
|
-
command.params['
|
1900
|
+
def create_property_data_stream_measurement_protocol_secret(parent, google_analytics_admin_v1alpha_measurement_protocol_secret_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1901
|
+
command = make_simple_command(:post, 'v1alpha/{+parent}/measurementProtocolSecrets', options)
|
1902
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
|
1903
|
+
command.request_object = google_analytics_admin_v1alpha_measurement_protocol_secret_object
|
1904
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
|
1905
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret
|
1906
|
+
command.params['parent'] = parent unless parent.nil?
|
2091
1907
|
command.query['fields'] = fields unless fields.nil?
|
2092
1908
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2093
1909
|
execute_or_queue_command(command, &block)
|
2094
1910
|
end
|
2095
1911
|
|
2096
|
-
#
|
2097
|
-
# Declining a proposal initiated from Display & Video 360 - Withdrawing a
|
2098
|
-
# proposal initiated from Google Analytics After being cancelled, a proposal
|
2099
|
-
# will eventually be deleted automatically.
|
1912
|
+
# Deletes target MeasurementProtocolSecret.
|
2100
1913
|
# @param [String] name
|
2101
|
-
# Required. The name of the
|
2102
|
-
#
|
2103
|
-
#
|
1914
|
+
# Required. The name of the MeasurementProtocolSecret to delete. Format:
|
1915
|
+
# properties/`property`/dataStreams/`dataStream`/measurementProtocolSecrets/`
|
1916
|
+
# measurementProtocolSecret`
|
2104
1917
|
# @param [String] fields
|
2105
1918
|
# Selector specifying which fields to include in a partial response.
|
2106
1919
|
# @param [String] quota_user
|
@@ -2110,30 +1923,29 @@ module Google
|
|
2110
1923
|
# Request-specific options
|
2111
1924
|
#
|
2112
1925
|
# @yield [result, err] Result & error if block supplied
|
2113
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::
|
1926
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty] parsed result object
|
2114
1927
|
# @yieldparam err [StandardError] error object if request failed
|
2115
1928
|
#
|
2116
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::
|
1929
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty]
|
2117
1930
|
#
|
2118
1931
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2119
1932
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2120
1933
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2121
|
-
def
|
2122
|
-
command = make_simple_command(:
|
2123
|
-
command.
|
2124
|
-
command.
|
2125
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal::Representation
|
2126
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal
|
1934
|
+
def delete_property_data_stream_measurement_protocol_secret(name, fields: nil, quota_user: nil, options: nil, &block)
|
1935
|
+
command = make_simple_command(:delete, 'v1alpha/{+name}', options)
|
1936
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty::Representation
|
1937
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty
|
2127
1938
|
command.params['name'] = name unless name.nil?
|
2128
1939
|
command.query['fields'] = fields unless fields.nil?
|
2129
1940
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2130
1941
|
execute_or_queue_command(command, &block)
|
2131
1942
|
end
|
2132
1943
|
|
2133
|
-
#
|
2134
|
-
# @param [String]
|
2135
|
-
# Required.
|
2136
|
-
#
|
1944
|
+
# Lookup for a single "GA4" MeasurementProtocolSecret.
|
1945
|
+
# @param [String] name
|
1946
|
+
# Required. The name of the measurement protocol secret to lookup. Format:
|
1947
|
+
# properties/`property`/dataStreams/`dataStream`/measurementProtocolSecrets/`
|
1948
|
+
# measurementProtocolSecret`
|
2137
1949
|
# @param [String] fields
|
2138
1950
|
# Selector specifying which fields to include in a partial response.
|
2139
1951
|
# @param [String] quota_user
|
@@ -2143,31 +1955,37 @@ module Google
|
|
2143
1955
|
# Request-specific options
|
2144
1956
|
#
|
2145
1957
|
# @yield [result, err] Result & error if block supplied
|
2146
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::
|
1958
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] parsed result object
|
2147
1959
|
# @yieldparam err [StandardError] error object if request failed
|
2148
1960
|
#
|
2149
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::
|
1961
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret]
|
2150
1962
|
#
|
2151
1963
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2152
1964
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2153
1965
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2154
|
-
def
|
2155
|
-
command = make_simple_command(:
|
2156
|
-
command.
|
2157
|
-
command.
|
2158
|
-
command.
|
2159
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal
|
2160
|
-
command.params['parent'] = parent unless parent.nil?
|
1966
|
+
def get_property_data_stream_measurement_protocol_secret(name, fields: nil, quota_user: nil, options: nil, &block)
|
1967
|
+
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
1968
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
|
1969
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret
|
1970
|
+
command.params['name'] = name unless name.nil?
|
2161
1971
|
command.query['fields'] = fields unless fields.nil?
|
2162
1972
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2163
1973
|
execute_or_queue_command(command, &block)
|
2164
1974
|
end
|
2165
1975
|
|
2166
|
-
#
|
2167
|
-
#
|
2168
|
-
#
|
2169
|
-
#
|
2170
|
-
#
|
1976
|
+
# Returns child MeasurementProtocolSecrets under the specified parent Property.
|
1977
|
+
# @param [String] parent
|
1978
|
+
# Required. The resource name of the parent stream. Format: properties/`property`
|
1979
|
+
# /dataStreams/`dataStream`/measurementProtocolSecrets
|
1980
|
+
# @param [Fixnum] page_size
|
1981
|
+
# The maximum number of resources to return. If unspecified, at most 10
|
1982
|
+
# resources will be returned. The maximum value is 10. Higher values will be
|
1983
|
+
# coerced to the maximum.
|
1984
|
+
# @param [String] page_token
|
1985
|
+
# A page token, received from a previous `ListMeasurementProtocolSecrets` call.
|
1986
|
+
# Provide this to retrieve the subsequent page. When paginating, all other
|
1987
|
+
# parameters provided to `ListMeasurementProtocolSecrets` must match the call
|
1988
|
+
# that provided the page token.
|
2171
1989
|
# @param [String] fields
|
2172
1990
|
# Selector specifying which fields to include in a partial response.
|
2173
1991
|
# @param [String] quota_user
|
@@ -2177,10 +1995,188 @@ module Google
|
|
2177
1995
|
# Request-specific options
|
2178
1996
|
#
|
2179
1997
|
# @yield [result, err] Result & error if block supplied
|
2180
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::
|
1998
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse] parsed result object
|
2181
1999
|
# @yieldparam err [StandardError] error object if request failed
|
2182
2000
|
#
|
2183
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::
|
2001
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse]
|
2002
|
+
#
|
2003
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2004
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2005
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2006
|
+
def list_property_data_stream_measurement_protocol_secrets(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2007
|
+
command = make_simple_command(:get, 'v1alpha/{+parent}/measurementProtocolSecrets', options)
|
2008
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse::Representation
|
2009
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse
|
2010
|
+
command.params['parent'] = parent unless parent.nil?
|
2011
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
2012
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
2013
|
+
command.query['fields'] = fields unless fields.nil?
|
2014
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2015
|
+
execute_or_queue_command(command, &block)
|
2016
|
+
end
|
2017
|
+
|
2018
|
+
# Updates a measurement protocol secret.
|
2019
|
+
# @param [String] name
|
2020
|
+
# Output only. Resource name of this secret. This secret may be a child of any
|
2021
|
+
# type of stream. Format: properties/`property`/webDataStreams/`webDataStream`/
|
2022
|
+
# measurementProtocolSecrets/`measurementProtocolSecret`
|
2023
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] google_analytics_admin_v1alpha_measurement_protocol_secret_object
|
2024
|
+
# @param [String] update_mask
|
2025
|
+
# The list of fields to be updated. Omitted fields will not be updated.
|
2026
|
+
# @param [String] fields
|
2027
|
+
# Selector specifying which fields to include in a partial response.
|
2028
|
+
# @param [String] quota_user
|
2029
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2030
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2031
|
+
# @param [Google::Apis::RequestOptions] options
|
2032
|
+
# Request-specific options
|
2033
|
+
#
|
2034
|
+
# @yield [result, err] Result & error if block supplied
|
2035
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] parsed result object
|
2036
|
+
# @yieldparam err [StandardError] error object if request failed
|
2037
|
+
#
|
2038
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret]
|
2039
|
+
#
|
2040
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2041
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2042
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2043
|
+
def patch_property_data_stream_measurement_protocol_secret(name, google_analytics_admin_v1alpha_measurement_protocol_secret_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2044
|
+
command = make_simple_command(:patch, 'v1alpha/{+name}', options)
|
2045
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
|
2046
|
+
command.request_object = google_analytics_admin_v1alpha_measurement_protocol_secret_object
|
2047
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
|
2048
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret
|
2049
|
+
command.params['name'] = name unless name.nil?
|
2050
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
2051
|
+
command.query['fields'] = fields unless fields.nil?
|
2052
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2053
|
+
execute_or_queue_command(command, &block)
|
2054
|
+
end
|
2055
|
+
|
2056
|
+
# Approves a DisplayVideo360AdvertiserLinkProposal. The
|
2057
|
+
# DisplayVideo360AdvertiserLinkProposal will be deleted and a new
|
2058
|
+
# DisplayVideo360AdvertiserLink will be created.
|
2059
|
+
# @param [String] name
|
2060
|
+
# Required. The name of the DisplayVideo360AdvertiserLinkProposal to approve.
|
2061
|
+
# Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678
|
2062
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalRequest] google_analytics_admin_v1alpha_approve_display_video360_advertiser_link_proposal_request_object
|
2063
|
+
# @param [String] fields
|
2064
|
+
# Selector specifying which fields to include in a partial response.
|
2065
|
+
# @param [String] quota_user
|
2066
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2067
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2068
|
+
# @param [Google::Apis::RequestOptions] options
|
2069
|
+
# Request-specific options
|
2070
|
+
#
|
2071
|
+
# @yield [result, err] Result & error if block supplied
|
2072
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalResponse] parsed result object
|
2073
|
+
# @yieldparam err [StandardError] error object if request failed
|
2074
|
+
#
|
2075
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalResponse]
|
2076
|
+
#
|
2077
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2078
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2079
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2080
|
+
def approve_property_display_video360_advertiser_link_proposal(name, google_analytics_admin_v1alpha_approve_display_video360_advertiser_link_proposal_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2081
|
+
command = make_simple_command(:post, 'v1alpha/{+name}:approve', options)
|
2082
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalRequest::Representation
|
2083
|
+
command.request_object = google_analytics_admin_v1alpha_approve_display_video360_advertiser_link_proposal_request_object
|
2084
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalResponse::Representation
|
2085
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalResponse
|
2086
|
+
command.params['name'] = name unless name.nil?
|
2087
|
+
command.query['fields'] = fields unless fields.nil?
|
2088
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2089
|
+
execute_or_queue_command(command, &block)
|
2090
|
+
end
|
2091
|
+
|
2092
|
+
# Cancels a DisplayVideo360AdvertiserLinkProposal. Cancelling can mean either: -
|
2093
|
+
# Declining a proposal initiated from Display & Video 360 - Withdrawing a
|
2094
|
+
# proposal initiated from Google Analytics After being cancelled, a proposal
|
2095
|
+
# will eventually be deleted automatically.
|
2096
|
+
# @param [String] name
|
2097
|
+
# Required. The name of the DisplayVideo360AdvertiserLinkProposal to cancel.
|
2098
|
+
# Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678
|
2099
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCancelDisplayVideo360AdvertiserLinkProposalRequest] google_analytics_admin_v1alpha_cancel_display_video360_advertiser_link_proposal_request_object
|
2100
|
+
# @param [String] fields
|
2101
|
+
# Selector specifying which fields to include in a partial response.
|
2102
|
+
# @param [String] quota_user
|
2103
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2104
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2105
|
+
# @param [Google::Apis::RequestOptions] options
|
2106
|
+
# Request-specific options
|
2107
|
+
#
|
2108
|
+
# @yield [result, err] Result & error if block supplied
|
2109
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal] parsed result object
|
2110
|
+
# @yieldparam err [StandardError] error object if request failed
|
2111
|
+
#
|
2112
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal]
|
2113
|
+
#
|
2114
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2115
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2116
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2117
|
+
def cancel_property_display_video360_advertiser_link_proposal(name, google_analytics_admin_v1alpha_cancel_display_video360_advertiser_link_proposal_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2118
|
+
command = make_simple_command(:post, 'v1alpha/{+name}:cancel', options)
|
2119
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCancelDisplayVideo360AdvertiserLinkProposalRequest::Representation
|
2120
|
+
command.request_object = google_analytics_admin_v1alpha_cancel_display_video360_advertiser_link_proposal_request_object
|
2121
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal::Representation
|
2122
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal
|
2123
|
+
command.params['name'] = name unless name.nil?
|
2124
|
+
command.query['fields'] = fields unless fields.nil?
|
2125
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2126
|
+
execute_or_queue_command(command, &block)
|
2127
|
+
end
|
2128
|
+
|
2129
|
+
# Creates a DisplayVideo360AdvertiserLinkProposal.
|
2130
|
+
# @param [String] parent
|
2131
|
+
# Required. Example format: properties/1234
|
2132
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal] google_analytics_admin_v1alpha_display_video360_advertiser_link_proposal_object
|
2133
|
+
# @param [String] fields
|
2134
|
+
# Selector specifying which fields to include in a partial response.
|
2135
|
+
# @param [String] quota_user
|
2136
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2137
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2138
|
+
# @param [Google::Apis::RequestOptions] options
|
2139
|
+
# Request-specific options
|
2140
|
+
#
|
2141
|
+
# @yield [result, err] Result & error if block supplied
|
2142
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal] parsed result object
|
2143
|
+
# @yieldparam err [StandardError] error object if request failed
|
2144
|
+
#
|
2145
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal]
|
2146
|
+
#
|
2147
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2148
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2149
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2150
|
+
def create_property_display_video360_advertiser_link_proposal(parent, google_analytics_admin_v1alpha_display_video360_advertiser_link_proposal_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2151
|
+
command = make_simple_command(:post, 'v1alpha/{+parent}/displayVideo360AdvertiserLinkProposals', options)
|
2152
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal::Representation
|
2153
|
+
command.request_object = google_analytics_admin_v1alpha_display_video360_advertiser_link_proposal_object
|
2154
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal::Representation
|
2155
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal
|
2156
|
+
command.params['parent'] = parent unless parent.nil?
|
2157
|
+
command.query['fields'] = fields unless fields.nil?
|
2158
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2159
|
+
execute_or_queue_command(command, &block)
|
2160
|
+
end
|
2161
|
+
|
2162
|
+
# Deletes a DisplayVideo360AdvertiserLinkProposal on a property. This can only
|
2163
|
+
# be used on cancelled proposals.
|
2164
|
+
# @param [String] name
|
2165
|
+
# Required. The name of the DisplayVideo360AdvertiserLinkProposal to delete.
|
2166
|
+
# Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678
|
2167
|
+
# @param [String] fields
|
2168
|
+
# Selector specifying which fields to include in a partial response.
|
2169
|
+
# @param [String] quota_user
|
2170
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2171
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2172
|
+
# @param [Google::Apis::RequestOptions] options
|
2173
|
+
# Request-specific options
|
2174
|
+
#
|
2175
|
+
# @yield [result, err] Result & error if block supplied
|
2176
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty] parsed result object
|
2177
|
+
# @yieldparam err [StandardError] error object if request failed
|
2178
|
+
#
|
2179
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty]
|
2184
2180
|
#
|
2185
2181
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2186
2182
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
@@ -2845,189 +2841,6 @@ module Google
|
|
2845
2841
|
execute_or_queue_command(command, &block)
|
2846
2842
|
end
|
2847
2843
|
|
2848
|
-
# Creates a measurement protocol secret.
|
2849
|
-
# @param [String] parent
|
2850
|
-
# Required. The parent resource where this secret will be created. Any type of
|
2851
|
-
# stream (WebDataStream, IosAppDataStream, AndroidAppDataStream) may be a parent.
|
2852
|
-
# Format: properties/`property`/webDataStreams/`webDataStream`
|
2853
|
-
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] google_analytics_admin_v1alpha_measurement_protocol_secret_object
|
2854
|
-
# @param [String] fields
|
2855
|
-
# Selector specifying which fields to include in a partial response.
|
2856
|
-
# @param [String] quota_user
|
2857
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
2858
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2859
|
-
# @param [Google::Apis::RequestOptions] options
|
2860
|
-
# Request-specific options
|
2861
|
-
#
|
2862
|
-
# @yield [result, err] Result & error if block supplied
|
2863
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] parsed result object
|
2864
|
-
# @yieldparam err [StandardError] error object if request failed
|
2865
|
-
#
|
2866
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret]
|
2867
|
-
#
|
2868
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2869
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2870
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2871
|
-
def create_property_ios_app_data_stream_measurement_protocol_secret(parent, google_analytics_admin_v1alpha_measurement_protocol_secret_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2872
|
-
command = make_simple_command(:post, 'v1alpha/{+parent}/measurementProtocolSecrets', options)
|
2873
|
-
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
|
2874
|
-
command.request_object = google_analytics_admin_v1alpha_measurement_protocol_secret_object
|
2875
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
|
2876
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret
|
2877
|
-
command.params['parent'] = parent unless parent.nil?
|
2878
|
-
command.query['fields'] = fields unless fields.nil?
|
2879
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2880
|
-
execute_or_queue_command(command, &block)
|
2881
|
-
end
|
2882
|
-
|
2883
|
-
# Deletes target MeasurementProtocolSecret.
|
2884
|
-
# @param [String] name
|
2885
|
-
# Required. The name of the MeasurementProtocolSecret to delete. Format:
|
2886
|
-
# properties/`property`/webDataStreams/`webDataStream`/
|
2887
|
-
# measurementProtocolSecrets/`measurementProtocolSecret` Note: Any type of
|
2888
|
-
# stream (WebDataStream, IosAppDataStream, AndroidAppDataStream) may be a parent.
|
2889
|
-
# @param [String] fields
|
2890
|
-
# Selector specifying which fields to include in a partial response.
|
2891
|
-
# @param [String] quota_user
|
2892
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
2893
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2894
|
-
# @param [Google::Apis::RequestOptions] options
|
2895
|
-
# Request-specific options
|
2896
|
-
#
|
2897
|
-
# @yield [result, err] Result & error if block supplied
|
2898
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty] parsed result object
|
2899
|
-
# @yieldparam err [StandardError] error object if request failed
|
2900
|
-
#
|
2901
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty]
|
2902
|
-
#
|
2903
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2904
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2905
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2906
|
-
def delete_property_ios_app_data_stream_measurement_protocol_secret(name, fields: nil, quota_user: nil, options: nil, &block)
|
2907
|
-
command = make_simple_command(:delete, 'v1alpha/{+name}', options)
|
2908
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty::Representation
|
2909
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty
|
2910
|
-
command.params['name'] = name unless name.nil?
|
2911
|
-
command.query['fields'] = fields unless fields.nil?
|
2912
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2913
|
-
execute_or_queue_command(command, &block)
|
2914
|
-
end
|
2915
|
-
|
2916
|
-
# Lookup for a single "GA4" MeasurementProtocolSecret.
|
2917
|
-
# @param [String] name
|
2918
|
-
# Required. The name of the measurement protocol secret to lookup. Format:
|
2919
|
-
# properties/`property`/webDataStreams/`webDataStream`/
|
2920
|
-
# measurementProtocolSecrets/`measurementProtocolSecret` Note: Any type of
|
2921
|
-
# stream (WebDataStream, IosAppDataStream, AndroidAppDataStream) may be a parent.
|
2922
|
-
# @param [String] fields
|
2923
|
-
# Selector specifying which fields to include in a partial response.
|
2924
|
-
# @param [String] quota_user
|
2925
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
2926
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2927
|
-
# @param [Google::Apis::RequestOptions] options
|
2928
|
-
# Request-specific options
|
2929
|
-
#
|
2930
|
-
# @yield [result, err] Result & error if block supplied
|
2931
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] parsed result object
|
2932
|
-
# @yieldparam err [StandardError] error object if request failed
|
2933
|
-
#
|
2934
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret]
|
2935
|
-
#
|
2936
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2937
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2938
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2939
|
-
def get_property_ios_app_data_stream_measurement_protocol_secret(name, fields: nil, quota_user: nil, options: nil, &block)
|
2940
|
-
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
2941
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
|
2942
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret
|
2943
|
-
command.params['name'] = name unless name.nil?
|
2944
|
-
command.query['fields'] = fields unless fields.nil?
|
2945
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2946
|
-
execute_or_queue_command(command, &block)
|
2947
|
-
end
|
2948
|
-
|
2949
|
-
# Returns child MeasurementProtocolSecrets under the specified parent Property.
|
2950
|
-
# @param [String] parent
|
2951
|
-
# Required. The resource name of the parent stream. Any type of stream (
|
2952
|
-
# WebDataStream, IosAppDataStream, AndroidAppDataStream) may be a parent. Format:
|
2953
|
-
# properties/`property`/webDataStreams/`webDataStream`/
|
2954
|
-
# measurementProtocolSecrets
|
2955
|
-
# @param [Fixnum] page_size
|
2956
|
-
# The maximum number of resources to return. If unspecified, at most 10
|
2957
|
-
# resources will be returned. The maximum value is 10. Higher values will be
|
2958
|
-
# coerced to the maximum.
|
2959
|
-
# @param [String] page_token
|
2960
|
-
# A page token, received from a previous `ListMeasurementProtocolSecrets` call.
|
2961
|
-
# Provide this to retrieve the subsequent page. When paginating, all other
|
2962
|
-
# parameters provided to `ListMeasurementProtocolSecrets` must match the call
|
2963
|
-
# that provided the page token.
|
2964
|
-
# @param [String] fields
|
2965
|
-
# Selector specifying which fields to include in a partial response.
|
2966
|
-
# @param [String] quota_user
|
2967
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
2968
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2969
|
-
# @param [Google::Apis::RequestOptions] options
|
2970
|
-
# Request-specific options
|
2971
|
-
#
|
2972
|
-
# @yield [result, err] Result & error if block supplied
|
2973
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse] parsed result object
|
2974
|
-
# @yieldparam err [StandardError] error object if request failed
|
2975
|
-
#
|
2976
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse]
|
2977
|
-
#
|
2978
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2979
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2980
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2981
|
-
def list_property_ios_app_data_stream_measurement_protocol_secrets(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2982
|
-
command = make_simple_command(:get, 'v1alpha/{+parent}/measurementProtocolSecrets', options)
|
2983
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse::Representation
|
2984
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse
|
2985
|
-
command.params['parent'] = parent unless parent.nil?
|
2986
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
2987
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
2988
|
-
command.query['fields'] = fields unless fields.nil?
|
2989
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2990
|
-
execute_or_queue_command(command, &block)
|
2991
|
-
end
|
2992
|
-
|
2993
|
-
# Updates a measurement protocol secret.
|
2994
|
-
# @param [String] name
|
2995
|
-
# Output only. Resource name of this secret. This secret may be a child of any
|
2996
|
-
# type of stream. Format: properties/`property`/webDataStreams/`webDataStream`/
|
2997
|
-
# measurementProtocolSecrets/`measurementProtocolSecret`
|
2998
|
-
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] google_analytics_admin_v1alpha_measurement_protocol_secret_object
|
2999
|
-
# @param [String] update_mask
|
3000
|
-
# The list of fields to be updated. Omitted fields will not be updated.
|
3001
|
-
# @param [String] fields
|
3002
|
-
# Selector specifying which fields to include in a partial response.
|
3003
|
-
# @param [String] quota_user
|
3004
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
3005
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3006
|
-
# @param [Google::Apis::RequestOptions] options
|
3007
|
-
# Request-specific options
|
3008
|
-
#
|
3009
|
-
# @yield [result, err] Result & error if block supplied
|
3010
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] parsed result object
|
3011
|
-
# @yieldparam err [StandardError] error object if request failed
|
3012
|
-
#
|
3013
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret]
|
3014
|
-
#
|
3015
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3016
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3017
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3018
|
-
def patch_property_ios_app_data_stream_measurement_protocol_secret(name, google_analytics_admin_v1alpha_measurement_protocol_secret_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3019
|
-
command = make_simple_command(:patch, 'v1alpha/{+name}', options)
|
3020
|
-
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
|
3021
|
-
command.request_object = google_analytics_admin_v1alpha_measurement_protocol_secret_object
|
3022
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
|
3023
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret
|
3024
|
-
command.params['name'] = name unless name.nil?
|
3025
|
-
command.query['updateMask'] = update_mask unless update_mask.nil?
|
3026
|
-
command.query['fields'] = fields unless fields.nil?
|
3027
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3028
|
-
execute_or_queue_command(command, &block)
|
3029
|
-
end
|
3030
|
-
|
3031
2844
|
# Lists all user links on an account or property, including implicit ones that
|
3032
2845
|
# come from effective permissions granted by groups or organization admin roles.
|
3033
2846
|
# If a returned user link does not have direct permissions, they cannot be
|
@@ -3598,189 +3411,6 @@ module Google
|
|
3598
3411
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3599
3412
|
execute_or_queue_command(command, &block)
|
3600
3413
|
end
|
3601
|
-
|
3602
|
-
# Creates a measurement protocol secret.
|
3603
|
-
# @param [String] parent
|
3604
|
-
# Required. The parent resource where this secret will be created. Any type of
|
3605
|
-
# stream (WebDataStream, IosAppDataStream, AndroidAppDataStream) may be a parent.
|
3606
|
-
# Format: properties/`property`/webDataStreams/`webDataStream`
|
3607
|
-
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] google_analytics_admin_v1alpha_measurement_protocol_secret_object
|
3608
|
-
# @param [String] fields
|
3609
|
-
# Selector specifying which fields to include in a partial response.
|
3610
|
-
# @param [String] quota_user
|
3611
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
3612
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3613
|
-
# @param [Google::Apis::RequestOptions] options
|
3614
|
-
# Request-specific options
|
3615
|
-
#
|
3616
|
-
# @yield [result, err] Result & error if block supplied
|
3617
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] parsed result object
|
3618
|
-
# @yieldparam err [StandardError] error object if request failed
|
3619
|
-
#
|
3620
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret]
|
3621
|
-
#
|
3622
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3623
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3624
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3625
|
-
def create_property_web_data_stream_measurement_protocol_secret(parent, google_analytics_admin_v1alpha_measurement_protocol_secret_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
3626
|
-
command = make_simple_command(:post, 'v1alpha/{+parent}/measurementProtocolSecrets', options)
|
3627
|
-
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
|
3628
|
-
command.request_object = google_analytics_admin_v1alpha_measurement_protocol_secret_object
|
3629
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
|
3630
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret
|
3631
|
-
command.params['parent'] = parent unless parent.nil?
|
3632
|
-
command.query['fields'] = fields unless fields.nil?
|
3633
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3634
|
-
execute_or_queue_command(command, &block)
|
3635
|
-
end
|
3636
|
-
|
3637
|
-
# Deletes target MeasurementProtocolSecret.
|
3638
|
-
# @param [String] name
|
3639
|
-
# Required. The name of the MeasurementProtocolSecret to delete. Format:
|
3640
|
-
# properties/`property`/webDataStreams/`webDataStream`/
|
3641
|
-
# measurementProtocolSecrets/`measurementProtocolSecret` Note: Any type of
|
3642
|
-
# stream (WebDataStream, IosAppDataStream, AndroidAppDataStream) may be a parent.
|
3643
|
-
# @param [String] fields
|
3644
|
-
# Selector specifying which fields to include in a partial response.
|
3645
|
-
# @param [String] quota_user
|
3646
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
3647
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3648
|
-
# @param [Google::Apis::RequestOptions] options
|
3649
|
-
# Request-specific options
|
3650
|
-
#
|
3651
|
-
# @yield [result, err] Result & error if block supplied
|
3652
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty] parsed result object
|
3653
|
-
# @yieldparam err [StandardError] error object if request failed
|
3654
|
-
#
|
3655
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty]
|
3656
|
-
#
|
3657
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3658
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3659
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3660
|
-
def delete_property_web_data_stream_measurement_protocol_secret(name, fields: nil, quota_user: nil, options: nil, &block)
|
3661
|
-
command = make_simple_command(:delete, 'v1alpha/{+name}', options)
|
3662
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty::Representation
|
3663
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty
|
3664
|
-
command.params['name'] = name unless name.nil?
|
3665
|
-
command.query['fields'] = fields unless fields.nil?
|
3666
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3667
|
-
execute_or_queue_command(command, &block)
|
3668
|
-
end
|
3669
|
-
|
3670
|
-
# Lookup for a single "GA4" MeasurementProtocolSecret.
|
3671
|
-
# @param [String] name
|
3672
|
-
# Required. The name of the measurement protocol secret to lookup. Format:
|
3673
|
-
# properties/`property`/webDataStreams/`webDataStream`/
|
3674
|
-
# measurementProtocolSecrets/`measurementProtocolSecret` Note: Any type of
|
3675
|
-
# stream (WebDataStream, IosAppDataStream, AndroidAppDataStream) may be a parent.
|
3676
|
-
# @param [String] fields
|
3677
|
-
# Selector specifying which fields to include in a partial response.
|
3678
|
-
# @param [String] quota_user
|
3679
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
3680
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3681
|
-
# @param [Google::Apis::RequestOptions] options
|
3682
|
-
# Request-specific options
|
3683
|
-
#
|
3684
|
-
# @yield [result, err] Result & error if block supplied
|
3685
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] parsed result object
|
3686
|
-
# @yieldparam err [StandardError] error object if request failed
|
3687
|
-
#
|
3688
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret]
|
3689
|
-
#
|
3690
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3691
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3692
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3693
|
-
def get_property_web_data_stream_measurement_protocol_secret(name, fields: nil, quota_user: nil, options: nil, &block)
|
3694
|
-
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
3695
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
|
3696
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret
|
3697
|
-
command.params['name'] = name unless name.nil?
|
3698
|
-
command.query['fields'] = fields unless fields.nil?
|
3699
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3700
|
-
execute_or_queue_command(command, &block)
|
3701
|
-
end
|
3702
|
-
|
3703
|
-
# Returns child MeasurementProtocolSecrets under the specified parent Property.
|
3704
|
-
# @param [String] parent
|
3705
|
-
# Required. The resource name of the parent stream. Any type of stream (
|
3706
|
-
# WebDataStream, IosAppDataStream, AndroidAppDataStream) may be a parent. Format:
|
3707
|
-
# properties/`property`/webDataStreams/`webDataStream`/
|
3708
|
-
# measurementProtocolSecrets
|
3709
|
-
# @param [Fixnum] page_size
|
3710
|
-
# The maximum number of resources to return. If unspecified, at most 10
|
3711
|
-
# resources will be returned. The maximum value is 10. Higher values will be
|
3712
|
-
# coerced to the maximum.
|
3713
|
-
# @param [String] page_token
|
3714
|
-
# A page token, received from a previous `ListMeasurementProtocolSecrets` call.
|
3715
|
-
# Provide this to retrieve the subsequent page. When paginating, all other
|
3716
|
-
# parameters provided to `ListMeasurementProtocolSecrets` must match the call
|
3717
|
-
# that provided the page token.
|
3718
|
-
# @param [String] fields
|
3719
|
-
# Selector specifying which fields to include in a partial response.
|
3720
|
-
# @param [String] quota_user
|
3721
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
3722
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3723
|
-
# @param [Google::Apis::RequestOptions] options
|
3724
|
-
# Request-specific options
|
3725
|
-
#
|
3726
|
-
# @yield [result, err] Result & error if block supplied
|
3727
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse] parsed result object
|
3728
|
-
# @yieldparam err [StandardError] error object if request failed
|
3729
|
-
#
|
3730
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse]
|
3731
|
-
#
|
3732
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3733
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3734
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3735
|
-
def list_property_web_data_stream_measurement_protocol_secrets(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3736
|
-
command = make_simple_command(:get, 'v1alpha/{+parent}/measurementProtocolSecrets', options)
|
3737
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse::Representation
|
3738
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse
|
3739
|
-
command.params['parent'] = parent unless parent.nil?
|
3740
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
3741
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
3742
|
-
command.query['fields'] = fields unless fields.nil?
|
3743
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3744
|
-
execute_or_queue_command(command, &block)
|
3745
|
-
end
|
3746
|
-
|
3747
|
-
# Updates a measurement protocol secret.
|
3748
|
-
# @param [String] name
|
3749
|
-
# Output only. Resource name of this secret. This secret may be a child of any
|
3750
|
-
# type of stream. Format: properties/`property`/webDataStreams/`webDataStream`/
|
3751
|
-
# measurementProtocolSecrets/`measurementProtocolSecret`
|
3752
|
-
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] google_analytics_admin_v1alpha_measurement_protocol_secret_object
|
3753
|
-
# @param [String] update_mask
|
3754
|
-
# The list of fields to be updated. Omitted fields will not be updated.
|
3755
|
-
# @param [String] fields
|
3756
|
-
# Selector specifying which fields to include in a partial response.
|
3757
|
-
# @param [String] quota_user
|
3758
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
3759
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3760
|
-
# @param [Google::Apis::RequestOptions] options
|
3761
|
-
# Request-specific options
|
3762
|
-
#
|
3763
|
-
# @yield [result, err] Result & error if block supplied
|
3764
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] parsed result object
|
3765
|
-
# @yieldparam err [StandardError] error object if request failed
|
3766
|
-
#
|
3767
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret]
|
3768
|
-
#
|
3769
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3770
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3771
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3772
|
-
def patch_property_web_data_stream_measurement_protocol_secret(name, google_analytics_admin_v1alpha_measurement_protocol_secret_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3773
|
-
command = make_simple_command(:patch, 'v1alpha/{+name}', options)
|
3774
|
-
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
|
3775
|
-
command.request_object = google_analytics_admin_v1alpha_measurement_protocol_secret_object
|
3776
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
|
3777
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret
|
3778
|
-
command.params['name'] = name unless name.nil?
|
3779
|
-
command.query['updateMask'] = update_mask unless update_mask.nil?
|
3780
|
-
command.query['fields'] = fields unless fields.nil?
|
3781
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3782
|
-
execute_or_queue_command(command, &block)
|
3783
|
-
end
|
3784
3414
|
|
3785
3415
|
protected
|
3786
3416
|
|
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.22.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: 2022-01-
|
11
|
+
date: 2022-01-17 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.22.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-analyticsadmin_v1alpha
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.3.
|
78
|
+
rubygems_version: 3.3.5
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Google Analytics Admin API V1alpha
|