google-apis-analyticsadmin_v1alpha 0.18.0 → 0.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +17 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/analyticsadmin_v1alpha/classes.rb +194 -20
- data/lib/google/apis/analyticsadmin_v1alpha/gem_version.rb +3 -3
- data/lib/google/apis/analyticsadmin_v1alpha/representations.rb +84 -6
- data/lib/google/apis/analyticsadmin_v1alpha/service.rb +454 -649
- metadata +4 -4
@@ -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
|
@@ -1773,8 +1591,361 @@ module Google
|
|
1773
1591
|
|
1774
1592
|
# Lookup for a single CustomMetric.
|
1775
1593
|
# @param [String] name
|
1776
|
-
# Required. The name of the CustomMetric to get. Example format: properties/1234/
|
1777
|
-
# customMetrics/5678
|
1594
|
+
# Required. The name of the CustomMetric to get. Example format: properties/1234/
|
1595
|
+
# customMetrics/5678
|
1596
|
+
# @param [String] fields
|
1597
|
+
# Selector specifying which fields to include in a partial response.
|
1598
|
+
# @param [String] quota_user
|
1599
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1600
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1601
|
+
# @param [Google::Apis::RequestOptions] options
|
1602
|
+
# Request-specific options
|
1603
|
+
#
|
1604
|
+
# @yield [result, err] Result & error if block supplied
|
1605
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric] parsed result object
|
1606
|
+
# @yieldparam err [StandardError] error object if request failed
|
1607
|
+
#
|
1608
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric]
|
1609
|
+
#
|
1610
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1611
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1612
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1613
|
+
def get_property_custom_metric(name, fields: nil, quota_user: nil, options: nil, &block)
|
1614
|
+
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
1615
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric::Representation
|
1616
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric
|
1617
|
+
command.params['name'] = name unless name.nil?
|
1618
|
+
command.query['fields'] = fields unless fields.nil?
|
1619
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1620
|
+
execute_or_queue_command(command, &block)
|
1621
|
+
end
|
1622
|
+
|
1623
|
+
# Lists CustomMetrics on a property.
|
1624
|
+
# @param [String] parent
|
1625
|
+
# Required. Example format: properties/1234
|
1626
|
+
# @param [Fixnum] page_size
|
1627
|
+
# The maximum number of resources to return. If unspecified, at most 50
|
1628
|
+
# resources will be returned. The maximum value is 200 (higher values will be
|
1629
|
+
# coerced to the maximum).
|
1630
|
+
# @param [String] page_token
|
1631
|
+
# A page token, received from a previous `ListCustomMetrics` call. Provide this
|
1632
|
+
# to retrieve the subsequent page. When paginating, all other parameters
|
1633
|
+
# provided to `ListCustomMetrics` must match the call that provided the page
|
1634
|
+
# token.
|
1635
|
+
# @param [String] fields
|
1636
|
+
# Selector specifying which fields to include in a partial response.
|
1637
|
+
# @param [String] quota_user
|
1638
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1639
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1640
|
+
# @param [Google::Apis::RequestOptions] options
|
1641
|
+
# Request-specific options
|
1642
|
+
#
|
1643
|
+
# @yield [result, err] Result & error if block supplied
|
1644
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListCustomMetricsResponse] parsed result object
|
1645
|
+
# @yieldparam err [StandardError] error object if request failed
|
1646
|
+
#
|
1647
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListCustomMetricsResponse]
|
1648
|
+
#
|
1649
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1650
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1651
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1652
|
+
def list_property_custom_metrics(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1653
|
+
command = make_simple_command(:get, 'v1alpha/{+parent}/customMetrics', options)
|
1654
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListCustomMetricsResponse::Representation
|
1655
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListCustomMetricsResponse
|
1656
|
+
command.params['parent'] = parent unless parent.nil?
|
1657
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1658
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1659
|
+
command.query['fields'] = fields unless fields.nil?
|
1660
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1661
|
+
execute_or_queue_command(command, &block)
|
1662
|
+
end
|
1663
|
+
|
1664
|
+
# Updates a CustomMetric on a property.
|
1665
|
+
# @param [String] name
|
1666
|
+
# Output only. Resource name for this CustomMetric resource. Format: properties/`
|
1667
|
+
# property`/customMetrics/`customMetric`
|
1668
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric] google_analytics_admin_v1alpha_custom_metric_object
|
1669
|
+
# @param [String] update_mask
|
1670
|
+
# Required. The list of fields to be updated. Omitted fields will not be updated.
|
1671
|
+
# To replace the entire entity, use one path with the string "*" to match all
|
1672
|
+
# fields.
|
1673
|
+
# @param [String] fields
|
1674
|
+
# Selector specifying which fields to include in a partial response.
|
1675
|
+
# @param [String] quota_user
|
1676
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1677
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1678
|
+
# @param [Google::Apis::RequestOptions] options
|
1679
|
+
# Request-specific options
|
1680
|
+
#
|
1681
|
+
# @yield [result, err] Result & error if block supplied
|
1682
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric] parsed result object
|
1683
|
+
# @yieldparam err [StandardError] error object if request failed
|
1684
|
+
#
|
1685
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric]
|
1686
|
+
#
|
1687
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1688
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1689
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1690
|
+
def patch_property_custom_metric(name, google_analytics_admin_v1alpha_custom_metric_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1691
|
+
command = make_simple_command(:patch, 'v1alpha/{+name}', options)
|
1692
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric::Representation
|
1693
|
+
command.request_object = google_analytics_admin_v1alpha_custom_metric_object
|
1694
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric::Representation
|
1695
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric
|
1696
|
+
command.params['name'] = name unless name.nil?
|
1697
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1698
|
+
command.query['fields'] = fields unless fields.nil?
|
1699
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1700
|
+
execute_or_queue_command(command, &block)
|
1701
|
+
end
|
1702
|
+
|
1703
|
+
# Creates a DataStream.
|
1704
|
+
# @param [String] parent
|
1705
|
+
# Required. Example format: properties/1234
|
1706
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream] google_analytics_admin_v1alpha_data_stream_object
|
1707
|
+
# @param [String] fields
|
1708
|
+
# Selector specifying which fields to include in a partial response.
|
1709
|
+
# @param [String] quota_user
|
1710
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1711
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1712
|
+
# @param [Google::Apis::RequestOptions] options
|
1713
|
+
# Request-specific options
|
1714
|
+
#
|
1715
|
+
# @yield [result, err] Result & error if block supplied
|
1716
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream] parsed result object
|
1717
|
+
# @yieldparam err [StandardError] error object if request failed
|
1718
|
+
#
|
1719
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream]
|
1720
|
+
#
|
1721
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1722
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1723
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1724
|
+
def create_property_data_stream(parent, google_analytics_admin_v1alpha_data_stream_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1725
|
+
command = make_simple_command(:post, 'v1alpha/{+parent}/dataStreams', options)
|
1726
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream::Representation
|
1727
|
+
command.request_object = google_analytics_admin_v1alpha_data_stream_object
|
1728
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream::Representation
|
1729
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream
|
1730
|
+
command.params['parent'] = parent unless parent.nil?
|
1731
|
+
command.query['fields'] = fields unless fields.nil?
|
1732
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1733
|
+
execute_or_queue_command(command, &block)
|
1734
|
+
end
|
1735
|
+
|
1736
|
+
# Deletes a DataStream on a property.
|
1737
|
+
# @param [String] name
|
1738
|
+
# Required. The name of the DataStream to delete. Example format: properties/
|
1739
|
+
# 1234/dataStreams/5678
|
1740
|
+
# @param [String] fields
|
1741
|
+
# Selector specifying which fields to include in a partial response.
|
1742
|
+
# @param [String] quota_user
|
1743
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1744
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1745
|
+
# @param [Google::Apis::RequestOptions] options
|
1746
|
+
# Request-specific options
|
1747
|
+
#
|
1748
|
+
# @yield [result, err] Result & error if block supplied
|
1749
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty] parsed result object
|
1750
|
+
# @yieldparam err [StandardError] error object if request failed
|
1751
|
+
#
|
1752
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty]
|
1753
|
+
#
|
1754
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1755
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1756
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1757
|
+
def delete_property_data_stream(name, fields: nil, quota_user: nil, options: nil, &block)
|
1758
|
+
command = make_simple_command(:delete, 'v1alpha/{+name}', options)
|
1759
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty::Representation
|
1760
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty
|
1761
|
+
command.params['name'] = name unless name.nil?
|
1762
|
+
command.query['fields'] = fields unless fields.nil?
|
1763
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1764
|
+
execute_or_queue_command(command, &block)
|
1765
|
+
end
|
1766
|
+
|
1767
|
+
# Lookup for a single DataStream.
|
1768
|
+
# @param [String] name
|
1769
|
+
# Required. The name of the DataStream to get. Example format: properties/1234/
|
1770
|
+
# dataStreams/5678
|
1771
|
+
# @param [String] fields
|
1772
|
+
# Selector specifying which fields to include in a partial response.
|
1773
|
+
# @param [String] quota_user
|
1774
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1775
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1776
|
+
# @param [Google::Apis::RequestOptions] options
|
1777
|
+
# Request-specific options
|
1778
|
+
#
|
1779
|
+
# @yield [result, err] Result & error if block supplied
|
1780
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream] parsed result object
|
1781
|
+
# @yieldparam err [StandardError] error object if request failed
|
1782
|
+
#
|
1783
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream]
|
1784
|
+
#
|
1785
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1786
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1787
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1788
|
+
def get_property_data_stream(name, fields: nil, quota_user: nil, options: nil, &block)
|
1789
|
+
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
1790
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream::Representation
|
1791
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream
|
1792
|
+
command.params['name'] = name unless name.nil?
|
1793
|
+
command.query['fields'] = fields unless fields.nil?
|
1794
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1795
|
+
execute_or_queue_command(command, &block)
|
1796
|
+
end
|
1797
|
+
|
1798
|
+
# Lists DataStreams on a property.
|
1799
|
+
# @param [String] parent
|
1800
|
+
# Required. Example format: properties/1234
|
1801
|
+
# @param [Fixnum] page_size
|
1802
|
+
# The maximum number of resources to return. If unspecified, at most 50
|
1803
|
+
# resources will be returned. The maximum value is 200 (higher values will be
|
1804
|
+
# coerced to the maximum).
|
1805
|
+
# @param [String] page_token
|
1806
|
+
# A page token, received from a previous `ListDataStreams` call. Provide this to
|
1807
|
+
# retrieve the subsequent page. When paginating, all other parameters provided
|
1808
|
+
# to `ListDataStreams` must match the call that provided the page token.
|
1809
|
+
# @param [String] fields
|
1810
|
+
# Selector specifying which fields to include in a partial response.
|
1811
|
+
# @param [String] quota_user
|
1812
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1813
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1814
|
+
# @param [Google::Apis::RequestOptions] options
|
1815
|
+
# Request-specific options
|
1816
|
+
#
|
1817
|
+
# @yield [result, err] Result & error if block supplied
|
1818
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListDataStreamsResponse] parsed result object
|
1819
|
+
# @yieldparam err [StandardError] error object if request failed
|
1820
|
+
#
|
1821
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListDataStreamsResponse]
|
1822
|
+
#
|
1823
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1824
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1825
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1826
|
+
def list_property_data_streams(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1827
|
+
command = make_simple_command(:get, 'v1alpha/{+parent}/dataStreams', options)
|
1828
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListDataStreamsResponse::Representation
|
1829
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListDataStreamsResponse
|
1830
|
+
command.params['parent'] = parent unless parent.nil?
|
1831
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1832
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1833
|
+
command.query['fields'] = fields unless fields.nil?
|
1834
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1835
|
+
execute_or_queue_command(command, &block)
|
1836
|
+
end
|
1837
|
+
|
1838
|
+
# Updates a DataStream on a property.
|
1839
|
+
# @param [String] name
|
1840
|
+
# Output only. Resource name of this Data Stream. Format: properties/`
|
1841
|
+
# property_id`/dataStreams/`stream_id` Example: "properties/1000/dataStreams/
|
1842
|
+
# 2000"
|
1843
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream] google_analytics_admin_v1alpha_data_stream_object
|
1844
|
+
# @param [String] update_mask
|
1845
|
+
# Required. The list of fields to be updated. Omitted fields will not be updated.
|
1846
|
+
# To replace the entire entity, use one path with the string "*" to match all
|
1847
|
+
# fields.
|
1848
|
+
# @param [String] fields
|
1849
|
+
# Selector specifying which fields to include in a partial response.
|
1850
|
+
# @param [String] quota_user
|
1851
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1852
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1853
|
+
# @param [Google::Apis::RequestOptions] options
|
1854
|
+
# Request-specific options
|
1855
|
+
#
|
1856
|
+
# @yield [result, err] Result & error if block supplied
|
1857
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream] parsed result object
|
1858
|
+
# @yieldparam err [StandardError] error object if request failed
|
1859
|
+
#
|
1860
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream]
|
1861
|
+
#
|
1862
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1863
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1864
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1865
|
+
def patch_property_data_stream(name, google_analytics_admin_v1alpha_data_stream_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1866
|
+
command = make_simple_command(:patch, 'v1alpha/{+name}', options)
|
1867
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream::Representation
|
1868
|
+
command.request_object = google_analytics_admin_v1alpha_data_stream_object
|
1869
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream::Representation
|
1870
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream
|
1871
|
+
command.params['name'] = name unless name.nil?
|
1872
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1873
|
+
command.query['fields'] = fields unless fields.nil?
|
1874
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1875
|
+
execute_or_queue_command(command, &block)
|
1876
|
+
end
|
1877
|
+
|
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
|
1883
|
+
# @param [String] fields
|
1884
|
+
# Selector specifying which fields to include in a partial response.
|
1885
|
+
# @param [String] quota_user
|
1886
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1887
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1888
|
+
# @param [Google::Apis::RequestOptions] options
|
1889
|
+
# Request-specific options
|
1890
|
+
#
|
1891
|
+
# @yield [result, err] Result & error if block supplied
|
1892
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] parsed result object
|
1893
|
+
# @yieldparam err [StandardError] error object if request failed
|
1894
|
+
#
|
1895
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret]
|
1896
|
+
#
|
1897
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1898
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1899
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
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?
|
1907
|
+
command.query['fields'] = fields unless fields.nil?
|
1908
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1909
|
+
execute_or_queue_command(command, &block)
|
1910
|
+
end
|
1911
|
+
|
1912
|
+
# Deletes target MeasurementProtocolSecret.
|
1913
|
+
# @param [String] name
|
1914
|
+
# Required. The name of the MeasurementProtocolSecret to delete. Format:
|
1915
|
+
# properties/`property`/dataStreams/`dataStream`/measurementProtocolSecrets/`
|
1916
|
+
# measurementProtocolSecret`
|
1917
|
+
# @param [String] fields
|
1918
|
+
# Selector specifying which fields to include in a partial response.
|
1919
|
+
# @param [String] quota_user
|
1920
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1921
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1922
|
+
# @param [Google::Apis::RequestOptions] options
|
1923
|
+
# Request-specific options
|
1924
|
+
#
|
1925
|
+
# @yield [result, err] Result & error if block supplied
|
1926
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty] parsed result object
|
1927
|
+
# @yieldparam err [StandardError] error object if request failed
|
1928
|
+
#
|
1929
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty]
|
1930
|
+
#
|
1931
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1932
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1933
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
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
|
1938
|
+
command.params['name'] = name unless name.nil?
|
1939
|
+
command.query['fields'] = fields unless fields.nil?
|
1940
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1941
|
+
execute_or_queue_command(command, &block)
|
1942
|
+
end
|
1943
|
+
|
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`
|
1778
1949
|
# @param [String] fields
|
1779
1950
|
# Selector specifying which fields to include in a partial response.
|
1780
1951
|
# @param [String] quota_user
|
@@ -1784,36 +1955,37 @@ module Google
|
|
1784
1955
|
# Request-specific options
|
1785
1956
|
#
|
1786
1957
|
# @yield [result, err] Result & error if block supplied
|
1787
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::
|
1958
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] parsed result object
|
1788
1959
|
# @yieldparam err [StandardError] error object if request failed
|
1789
1960
|
#
|
1790
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::
|
1961
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret]
|
1791
1962
|
#
|
1792
1963
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1793
1964
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1794
1965
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1795
|
-
def
|
1966
|
+
def get_property_data_stream_measurement_protocol_secret(name, fields: nil, quota_user: nil, options: nil, &block)
|
1796
1967
|
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
1797
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::
|
1798
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::
|
1968
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
|
1969
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret
|
1799
1970
|
command.params['name'] = name unless name.nil?
|
1800
1971
|
command.query['fields'] = fields unless fields.nil?
|
1801
1972
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1802
1973
|
execute_or_queue_command(command, &block)
|
1803
1974
|
end
|
1804
1975
|
|
1805
|
-
#
|
1976
|
+
# Returns child MeasurementProtocolSecrets under the specified parent Property.
|
1806
1977
|
# @param [String] parent
|
1807
|
-
# Required.
|
1978
|
+
# Required. The resource name of the parent stream. Format: properties/`property`
|
1979
|
+
# /dataStreams/`dataStream`/measurementProtocolSecrets
|
1808
1980
|
# @param [Fixnum] page_size
|
1809
|
-
# The maximum number of resources to return. If unspecified, at most
|
1810
|
-
# resources will be returned. The maximum value is
|
1811
|
-
# coerced to the maximum
|
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.
|
1812
1984
|
# @param [String] page_token
|
1813
|
-
# A page token, received from a previous `
|
1814
|
-
# to retrieve the subsequent page. When paginating, all other
|
1815
|
-
# provided to `
|
1816
|
-
# 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.
|
1817
1989
|
# @param [String] fields
|
1818
1990
|
# Selector specifying which fields to include in a partial response.
|
1819
1991
|
# @param [String] quota_user
|
@@ -1823,18 +1995,18 @@ module Google
|
|
1823
1995
|
# Request-specific options
|
1824
1996
|
#
|
1825
1997
|
# @yield [result, err] Result & error if block supplied
|
1826
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::
|
1998
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse] parsed result object
|
1827
1999
|
# @yieldparam err [StandardError] error object if request failed
|
1828
2000
|
#
|
1829
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::
|
2001
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse]
|
1830
2002
|
#
|
1831
2003
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1832
2004
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1833
2005
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1834
|
-
def
|
1835
|
-
command = make_simple_command(:get, 'v1alpha/{+parent}/
|
1836
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::
|
1837
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::
|
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
|
1838
2010
|
command.params['parent'] = parent unless parent.nil?
|
1839
2011
|
command.query['pageSize'] = page_size unless page_size.nil?
|
1840
2012
|
command.query['pageToken'] = page_token unless page_token.nil?
|
@@ -1843,15 +2015,14 @@ module Google
|
|
1843
2015
|
execute_or_queue_command(command, &block)
|
1844
2016
|
end
|
1845
2017
|
|
1846
|
-
# Updates a
|
2018
|
+
# Updates a measurement protocol secret.
|
1847
2019
|
# @param [String] name
|
1848
|
-
# Output only. Resource name
|
1849
|
-
# property`/
|
1850
|
-
#
|
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
|
1851
2024
|
# @param [String] update_mask
|
1852
|
-
#
|
1853
|
-
# To replace the entire entity, use one path with the string "*" to match all
|
1854
|
-
# fields.
|
2025
|
+
# The list of fields to be updated. Omitted fields will not be updated.
|
1855
2026
|
# @param [String] fields
|
1856
2027
|
# Selector specifying which fields to include in a partial response.
|
1857
2028
|
# @param [String] quota_user
|
@@ -1861,20 +2032,20 @@ module Google
|
|
1861
2032
|
# Request-specific options
|
1862
2033
|
#
|
1863
2034
|
# @yield [result, err] Result & error if block supplied
|
1864
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::
|
2035
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] parsed result object
|
1865
2036
|
# @yieldparam err [StandardError] error object if request failed
|
1866
2037
|
#
|
1867
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::
|
2038
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret]
|
1868
2039
|
#
|
1869
2040
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1870
2041
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1871
2042
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1872
|
-
def
|
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)
|
1873
2044
|
command = make_simple_command(:patch, 'v1alpha/{+name}', options)
|
1874
|
-
command.request_representation = Google::Apis::AnalyticsadminV1alpha::
|
1875
|
-
command.request_object =
|
1876
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::
|
1877
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::
|
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
|
1878
2049
|
command.params['name'] = name unless name.nil?
|
1879
2050
|
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1880
2051
|
command.query['fields'] = fields unless fields.nil?
|
@@ -2506,211 +2677,27 @@ module Google
|
|
2506
2677
|
#
|
2507
2678
|
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink]
|
2508
2679
|
#
|
2509
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2510
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2511
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2512
|
-
def patch_property_google_ads_link(name, google_analytics_admin_v1alpha_google_ads_link_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2513
|
-
command = make_simple_command(:patch, 'v1alpha/{+name}', options)
|
2514
|
-
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink::Representation
|
2515
|
-
command.request_object = google_analytics_admin_v1alpha_google_ads_link_object
|
2516
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink::Representation
|
2517
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink
|
2518
|
-
command.params['name'] = name unless name.nil?
|
2519
|
-
command.query['updateMask'] = update_mask unless update_mask.nil?
|
2520
|
-
command.query['fields'] = fields unless fields.nil?
|
2521
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2522
|
-
execute_or_queue_command(command, &block)
|
2523
|
-
end
|
2524
|
-
|
2525
|
-
# Deletes an iOS app stream on a property.
|
2526
|
-
# @param [String] name
|
2527
|
-
# Required. The name of the iOS app data stream to delete. Format: properties/`
|
2528
|
-
# property_id`/iosAppDataStreams/`stream_id` Example: "properties/123/
|
2529
|
-
# iosAppDataStreams/456"
|
2530
|
-
# @param [String] fields
|
2531
|
-
# Selector specifying which fields to include in a partial response.
|
2532
|
-
# @param [String] quota_user
|
2533
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
2534
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2535
|
-
# @param [Google::Apis::RequestOptions] options
|
2536
|
-
# Request-specific options
|
2537
|
-
#
|
2538
|
-
# @yield [result, err] Result & error if block supplied
|
2539
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty] parsed result object
|
2540
|
-
# @yieldparam err [StandardError] error object if request failed
|
2541
|
-
#
|
2542
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty]
|
2543
|
-
#
|
2544
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2545
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2546
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2547
|
-
def delete_property_ios_app_data_stream(name, fields: nil, quota_user: nil, options: nil, &block)
|
2548
|
-
command = make_simple_command(:delete, 'v1alpha/{+name}', options)
|
2549
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty::Representation
|
2550
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty
|
2551
|
-
command.params['name'] = name unless name.nil?
|
2552
|
-
command.query['fields'] = fields unless fields.nil?
|
2553
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2554
|
-
execute_or_queue_command(command, &block)
|
2555
|
-
end
|
2556
|
-
|
2557
|
-
# Lookup for a single IosAppDataStream
|
2558
|
-
# @param [String] name
|
2559
|
-
# Required. The name of the iOS app data stream to lookup. Format: properties/`
|
2560
|
-
# property_id`/iosAppDataStreams/`stream_id` Example: "properties/123/
|
2561
|
-
# iosAppDataStreams/456"
|
2562
|
-
# @param [String] fields
|
2563
|
-
# Selector specifying which fields to include in a partial response.
|
2564
|
-
# @param [String] quota_user
|
2565
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
2566
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2567
|
-
# @param [Google::Apis::RequestOptions] options
|
2568
|
-
# Request-specific options
|
2569
|
-
#
|
2570
|
-
# @yield [result, err] Result & error if block supplied
|
2571
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream] parsed result object
|
2572
|
-
# @yieldparam err [StandardError] error object if request failed
|
2573
|
-
#
|
2574
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream]
|
2575
|
-
#
|
2576
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2577
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2578
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2579
|
-
def get_property_ios_app_data_stream(name, fields: nil, quota_user: nil, options: nil, &block)
|
2580
|
-
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
2581
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream::Representation
|
2582
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream
|
2583
|
-
command.params['name'] = name unless name.nil?
|
2584
|
-
command.query['fields'] = fields unless fields.nil?
|
2585
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2586
|
-
execute_or_queue_command(command, &block)
|
2587
|
-
end
|
2588
|
-
|
2589
|
-
# Returns child iOS app data streams under the specified parent property. iOS
|
2590
|
-
# app data streams will be excluded if the caller does not have access. Returns
|
2591
|
-
# an empty list if no relevant iOS app data streams are found.
|
2592
|
-
# @param [String] parent
|
2593
|
-
# Required. The name of the parent property. For example, to list results of app
|
2594
|
-
# streams under the property with Id 123: "properties/123"
|
2595
|
-
# @param [Fixnum] page_size
|
2596
|
-
# The maximum number of resources to return. If unspecified, at most 50
|
2597
|
-
# resources will be returned. The maximum value is 200; (higher values will be
|
2598
|
-
# coerced to the maximum)
|
2599
|
-
# @param [String] page_token
|
2600
|
-
# A page token, received from a previous `ListIosAppDataStreams` call. Provide
|
2601
|
-
# this to retrieve the subsequent page. When paginating, all other parameters
|
2602
|
-
# provided to `ListIosAppDataStreams` must match the call that provided the page
|
2603
|
-
# token.
|
2604
|
-
# @param [String] fields
|
2605
|
-
# Selector specifying which fields to include in a partial response.
|
2606
|
-
# @param [String] quota_user
|
2607
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
2608
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2609
|
-
# @param [Google::Apis::RequestOptions] options
|
2610
|
-
# Request-specific options
|
2611
|
-
#
|
2612
|
-
# @yield [result, err] Result & error if block supplied
|
2613
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListIosAppDataStreamsResponse] parsed result object
|
2614
|
-
# @yieldparam err [StandardError] error object if request failed
|
2615
|
-
#
|
2616
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListIosAppDataStreamsResponse]
|
2617
|
-
#
|
2618
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2619
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2620
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2621
|
-
def list_property_ios_app_data_streams(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2622
|
-
command = make_simple_command(:get, 'v1alpha/{+parent}/iosAppDataStreams', options)
|
2623
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListIosAppDataStreamsResponse::Representation
|
2624
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListIosAppDataStreamsResponse
|
2625
|
-
command.params['parent'] = parent unless parent.nil?
|
2626
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
2627
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
2628
|
-
command.query['fields'] = fields unless fields.nil?
|
2629
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2630
|
-
execute_or_queue_command(command, &block)
|
2631
|
-
end
|
2632
|
-
|
2633
|
-
# Updates an iOS app stream on a property.
|
2634
|
-
# @param [String] name
|
2635
|
-
# Output only. Resource name of this Data Stream. Format: properties/`
|
2636
|
-
# property_id`/iosAppDataStreams/`stream_id` Example: "properties/1000/
|
2637
|
-
# iosAppDataStreams/2000"
|
2638
|
-
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream] google_analytics_admin_v1alpha_ios_app_data_stream_object
|
2639
|
-
# @param [String] update_mask
|
2640
|
-
# Required. The list of fields to be updated. Field names must be in snake case (
|
2641
|
-
# e.g., "field_to_update"). Omitted fields will not be updated. To replace the
|
2642
|
-
# entire entity, use one path with the string "*" to match all fields.
|
2643
|
-
# @param [String] fields
|
2644
|
-
# Selector specifying which fields to include in a partial response.
|
2645
|
-
# @param [String] quota_user
|
2646
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
2647
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2648
|
-
# @param [Google::Apis::RequestOptions] options
|
2649
|
-
# Request-specific options
|
2650
|
-
#
|
2651
|
-
# @yield [result, err] Result & error if block supplied
|
2652
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream] parsed result object
|
2653
|
-
# @yieldparam err [StandardError] error object if request failed
|
2654
|
-
#
|
2655
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream]
|
2656
|
-
#
|
2657
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2658
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2659
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2660
|
-
def patch_property_ios_app_data_stream(name, google_analytics_admin_v1alpha_ios_app_data_stream_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2661
|
-
command = make_simple_command(:patch, 'v1alpha/{+name}', options)
|
2662
|
-
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream::Representation
|
2663
|
-
command.request_object = google_analytics_admin_v1alpha_ios_app_data_stream_object
|
2664
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream::Representation
|
2665
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream
|
2666
|
-
command.params['name'] = name unless name.nil?
|
2667
|
-
command.query['updateMask'] = update_mask unless update_mask.nil?
|
2668
|
-
command.query['fields'] = fields unless fields.nil?
|
2669
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2670
|
-
execute_or_queue_command(command, &block)
|
2671
|
-
end
|
2672
|
-
|
2673
|
-
# Creates a measurement protocol secret.
|
2674
|
-
# @param [String] parent
|
2675
|
-
# Required. The parent resource where this secret will be created. Any type of
|
2676
|
-
# stream (WebDataStream, IosAppDataStream, AndroidAppDataStream) may be a parent.
|
2677
|
-
# Format: properties/`property`/webDataStreams/`webDataStream`
|
2678
|
-
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] google_analytics_admin_v1alpha_measurement_protocol_secret_object
|
2679
|
-
# @param [String] fields
|
2680
|
-
# Selector specifying which fields to include in a partial response.
|
2681
|
-
# @param [String] quota_user
|
2682
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
2683
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2684
|
-
# @param [Google::Apis::RequestOptions] options
|
2685
|
-
# Request-specific options
|
2686
|
-
#
|
2687
|
-
# @yield [result, err] Result & error if block supplied
|
2688
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] parsed result object
|
2689
|
-
# @yieldparam err [StandardError] error object if request failed
|
2690
|
-
#
|
2691
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret]
|
2692
|
-
#
|
2693
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2694
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2695
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2696
|
-
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)
|
2697
|
-
command = make_simple_command(:post, 'v1alpha/{+parent}/measurementProtocolSecrets', options)
|
2698
|
-
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
|
2699
|
-
command.request_object = google_analytics_admin_v1alpha_measurement_protocol_secret_object
|
2700
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
|
2701
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret
|
2702
|
-
command.params['parent'] = parent unless parent.nil?
|
2680
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2681
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2682
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2683
|
+
def patch_property_google_ads_link(name, google_analytics_admin_v1alpha_google_ads_link_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2684
|
+
command = make_simple_command(:patch, 'v1alpha/{+name}', options)
|
2685
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink::Representation
|
2686
|
+
command.request_object = google_analytics_admin_v1alpha_google_ads_link_object
|
2687
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink::Representation
|
2688
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink
|
2689
|
+
command.params['name'] = name unless name.nil?
|
2690
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
2703
2691
|
command.query['fields'] = fields unless fields.nil?
|
2704
2692
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2705
2693
|
execute_or_queue_command(command, &block)
|
2706
2694
|
end
|
2707
2695
|
|
2708
|
-
# Deletes
|
2696
|
+
# Deletes an iOS app stream on a property.
|
2709
2697
|
# @param [String] name
|
2710
|
-
# Required. The name of the
|
2711
|
-
#
|
2712
|
-
#
|
2713
|
-
# stream (WebDataStream, IosAppDataStream, AndroidAppDataStream) may be a parent.
|
2698
|
+
# Required. The name of the iOS app data stream to delete. Format: properties/`
|
2699
|
+
# property_id`/iosAppDataStreams/`stream_id` Example: "properties/123/
|
2700
|
+
# iosAppDataStreams/456"
|
2714
2701
|
# @param [String] fields
|
2715
2702
|
# Selector specifying which fields to include in a partial response.
|
2716
2703
|
# @param [String] quota_user
|
@@ -2728,7 +2715,7 @@ module Google
|
|
2728
2715
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2729
2716
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2730
2717
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2731
|
-
def
|
2718
|
+
def delete_property_ios_app_data_stream(name, fields: nil, quota_user: nil, options: nil, &block)
|
2732
2719
|
command = make_simple_command(:delete, 'v1alpha/{+name}', options)
|
2733
2720
|
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty::Representation
|
2734
2721
|
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty
|
@@ -2738,12 +2725,11 @@ module Google
|
|
2738
2725
|
execute_or_queue_command(command, &block)
|
2739
2726
|
end
|
2740
2727
|
|
2741
|
-
# Lookup for a single
|
2728
|
+
# Lookup for a single IosAppDataStream
|
2742
2729
|
# @param [String] name
|
2743
|
-
# Required. The name of the
|
2744
|
-
#
|
2745
|
-
#
|
2746
|
-
# stream (WebDataStream, IosAppDataStream, AndroidAppDataStream) may be a parent.
|
2730
|
+
# Required. The name of the iOS app data stream to lookup. Format: properties/`
|
2731
|
+
# property_id`/iosAppDataStreams/`stream_id` Example: "properties/123/
|
2732
|
+
# iosAppDataStreams/456"
|
2747
2733
|
# @param [String] fields
|
2748
2734
|
# Selector specifying which fields to include in a partial response.
|
2749
2735
|
# @param [String] quota_user
|
@@ -2753,39 +2739,39 @@ module Google
|
|
2753
2739
|
# Request-specific options
|
2754
2740
|
#
|
2755
2741
|
# @yield [result, err] Result & error if block supplied
|
2756
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::
|
2742
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream] parsed result object
|
2757
2743
|
# @yieldparam err [StandardError] error object if request failed
|
2758
2744
|
#
|
2759
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::
|
2745
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream]
|
2760
2746
|
#
|
2761
2747
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2762
2748
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2763
2749
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2764
|
-
def
|
2750
|
+
def get_property_ios_app_data_stream(name, fields: nil, quota_user: nil, options: nil, &block)
|
2765
2751
|
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
2766
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::
|
2767
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::
|
2752
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream::Representation
|
2753
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream
|
2768
2754
|
command.params['name'] = name unless name.nil?
|
2769
2755
|
command.query['fields'] = fields unless fields.nil?
|
2770
2756
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2771
2757
|
execute_or_queue_command(command, &block)
|
2772
2758
|
end
|
2773
2759
|
|
2774
|
-
# Returns child
|
2760
|
+
# Returns child iOS app data streams under the specified parent property. iOS
|
2761
|
+
# app data streams will be excluded if the caller does not have access. Returns
|
2762
|
+
# an empty list if no relevant iOS app data streams are found.
|
2775
2763
|
# @param [String] parent
|
2776
|
-
# Required. The
|
2777
|
-
#
|
2778
|
-
# properties/`property`/webDataStreams/`webDataStream`/
|
2779
|
-
# measurementProtocolSecrets
|
2764
|
+
# Required. The name of the parent property. For example, to list results of app
|
2765
|
+
# streams under the property with Id 123: "properties/123"
|
2780
2766
|
# @param [Fixnum] page_size
|
2781
|
-
# The maximum number of resources to return. If unspecified, at most
|
2782
|
-
# resources will be returned. The maximum value is
|
2783
|
-
# coerced to the maximum
|
2767
|
+
# The maximum number of resources to return. If unspecified, at most 50
|
2768
|
+
# resources will be returned. The maximum value is 200; (higher values will be
|
2769
|
+
# coerced to the maximum)
|
2784
2770
|
# @param [String] page_token
|
2785
|
-
# A page token, received from a previous `
|
2786
|
-
#
|
2787
|
-
#
|
2788
|
-
#
|
2771
|
+
# A page token, received from a previous `ListIosAppDataStreams` call. Provide
|
2772
|
+
# this to retrieve the subsequent page. When paginating, all other parameters
|
2773
|
+
# provided to `ListIosAppDataStreams` must match the call that provided the page
|
2774
|
+
# token.
|
2789
2775
|
# @param [String] fields
|
2790
2776
|
# Selector specifying which fields to include in a partial response.
|
2791
2777
|
# @param [String] quota_user
|
@@ -2795,18 +2781,18 @@ module Google
|
|
2795
2781
|
# Request-specific options
|
2796
2782
|
#
|
2797
2783
|
# @yield [result, err] Result & error if block supplied
|
2798
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::
|
2784
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListIosAppDataStreamsResponse] parsed result object
|
2799
2785
|
# @yieldparam err [StandardError] error object if request failed
|
2800
2786
|
#
|
2801
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::
|
2787
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListIosAppDataStreamsResponse]
|
2802
2788
|
#
|
2803
2789
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2804
2790
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2805
2791
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2806
|
-
def
|
2807
|
-
command = make_simple_command(:get, 'v1alpha/{+parent}/
|
2808
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::
|
2809
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::
|
2792
|
+
def list_property_ios_app_data_streams(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2793
|
+
command = make_simple_command(:get, 'v1alpha/{+parent}/iosAppDataStreams', options)
|
2794
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListIosAppDataStreamsResponse::Representation
|
2795
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListIosAppDataStreamsResponse
|
2810
2796
|
command.params['parent'] = parent unless parent.nil?
|
2811
2797
|
command.query['pageSize'] = page_size unless page_size.nil?
|
2812
2798
|
command.query['pageToken'] = page_token unless page_token.nil?
|
@@ -2815,14 +2801,16 @@ module Google
|
|
2815
2801
|
execute_or_queue_command(command, &block)
|
2816
2802
|
end
|
2817
2803
|
|
2818
|
-
# Updates
|
2804
|
+
# Updates an iOS app stream on a property.
|
2819
2805
|
# @param [String] name
|
2820
|
-
# Output only. Resource name of this
|
2821
|
-
#
|
2822
|
-
#
|
2823
|
-
# @param [Google::Apis::AnalyticsadminV1alpha::
|
2806
|
+
# Output only. Resource name of this Data Stream. Format: properties/`
|
2807
|
+
# property_id`/iosAppDataStreams/`stream_id` Example: "properties/1000/
|
2808
|
+
# iosAppDataStreams/2000"
|
2809
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream] google_analytics_admin_v1alpha_ios_app_data_stream_object
|
2824
2810
|
# @param [String] update_mask
|
2825
|
-
# The list of fields to be updated.
|
2811
|
+
# Required. The list of fields to be updated. Field names must be in snake case (
|
2812
|
+
# e.g., "field_to_update"). Omitted fields will not be updated. To replace the
|
2813
|
+
# entire entity, use one path with the string "*" to match all fields.
|
2826
2814
|
# @param [String] fields
|
2827
2815
|
# Selector specifying which fields to include in a partial response.
|
2828
2816
|
# @param [String] quota_user
|
@@ -2832,20 +2820,20 @@ module Google
|
|
2832
2820
|
# Request-specific options
|
2833
2821
|
#
|
2834
2822
|
# @yield [result, err] Result & error if block supplied
|
2835
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::
|
2823
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream] parsed result object
|
2836
2824
|
# @yieldparam err [StandardError] error object if request failed
|
2837
2825
|
#
|
2838
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::
|
2826
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream]
|
2839
2827
|
#
|
2840
2828
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2841
2829
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2842
2830
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2843
|
-
def
|
2831
|
+
def patch_property_ios_app_data_stream(name, google_analytics_admin_v1alpha_ios_app_data_stream_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2844
2832
|
command = make_simple_command(:patch, 'v1alpha/{+name}', options)
|
2845
|
-
command.request_representation = Google::Apis::AnalyticsadminV1alpha::
|
2846
|
-
command.request_object =
|
2847
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::
|
2848
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::
|
2833
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream::Representation
|
2834
|
+
command.request_object = google_analytics_admin_v1alpha_ios_app_data_stream_object
|
2835
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream::Representation
|
2836
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream
|
2849
2837
|
command.params['name'] = name unless name.nil?
|
2850
2838
|
command.query['updateMask'] = update_mask unless update_mask.nil?
|
2851
2839
|
command.query['fields'] = fields unless fields.nil?
|
@@ -3423,189 +3411,6 @@ module Google
|
|
3423
3411
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3424
3412
|
execute_or_queue_command(command, &block)
|
3425
3413
|
end
|
3426
|
-
|
3427
|
-
# Creates a measurement protocol secret.
|
3428
|
-
# @param [String] parent
|
3429
|
-
# Required. The parent resource where this secret will be created. Any type of
|
3430
|
-
# stream (WebDataStream, IosAppDataStream, AndroidAppDataStream) may be a parent.
|
3431
|
-
# Format: properties/`property`/webDataStreams/`webDataStream`
|
3432
|
-
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] google_analytics_admin_v1alpha_measurement_protocol_secret_object
|
3433
|
-
# @param [String] fields
|
3434
|
-
# Selector specifying which fields to include in a partial response.
|
3435
|
-
# @param [String] quota_user
|
3436
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
3437
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3438
|
-
# @param [Google::Apis::RequestOptions] options
|
3439
|
-
# Request-specific options
|
3440
|
-
#
|
3441
|
-
# @yield [result, err] Result & error if block supplied
|
3442
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] parsed result object
|
3443
|
-
# @yieldparam err [StandardError] error object if request failed
|
3444
|
-
#
|
3445
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret]
|
3446
|
-
#
|
3447
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3448
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3449
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3450
|
-
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)
|
3451
|
-
command = make_simple_command(:post, 'v1alpha/{+parent}/measurementProtocolSecrets', options)
|
3452
|
-
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
|
3453
|
-
command.request_object = google_analytics_admin_v1alpha_measurement_protocol_secret_object
|
3454
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
|
3455
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret
|
3456
|
-
command.params['parent'] = parent unless parent.nil?
|
3457
|
-
command.query['fields'] = fields unless fields.nil?
|
3458
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3459
|
-
execute_or_queue_command(command, &block)
|
3460
|
-
end
|
3461
|
-
|
3462
|
-
# Deletes target MeasurementProtocolSecret.
|
3463
|
-
# @param [String] name
|
3464
|
-
# Required. The name of the MeasurementProtocolSecret to delete. Format:
|
3465
|
-
# properties/`property`/webDataStreams/`webDataStream`/
|
3466
|
-
# measurementProtocolSecrets/`measurementProtocolSecret` Note: Any type of
|
3467
|
-
# stream (WebDataStream, IosAppDataStream, AndroidAppDataStream) may be a parent.
|
3468
|
-
# @param [String] fields
|
3469
|
-
# Selector specifying which fields to include in a partial response.
|
3470
|
-
# @param [String] quota_user
|
3471
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
3472
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3473
|
-
# @param [Google::Apis::RequestOptions] options
|
3474
|
-
# Request-specific options
|
3475
|
-
#
|
3476
|
-
# @yield [result, err] Result & error if block supplied
|
3477
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty] parsed result object
|
3478
|
-
# @yieldparam err [StandardError] error object if request failed
|
3479
|
-
#
|
3480
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty]
|
3481
|
-
#
|
3482
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3483
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3484
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3485
|
-
def delete_property_web_data_stream_measurement_protocol_secret(name, fields: nil, quota_user: nil, options: nil, &block)
|
3486
|
-
command = make_simple_command(:delete, 'v1alpha/{+name}', options)
|
3487
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty::Representation
|
3488
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty
|
3489
|
-
command.params['name'] = name unless name.nil?
|
3490
|
-
command.query['fields'] = fields unless fields.nil?
|
3491
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3492
|
-
execute_or_queue_command(command, &block)
|
3493
|
-
end
|
3494
|
-
|
3495
|
-
# Lookup for a single "GA4" MeasurementProtocolSecret.
|
3496
|
-
# @param [String] name
|
3497
|
-
# Required. The name of the measurement protocol secret to lookup. Format:
|
3498
|
-
# properties/`property`/webDataStreams/`webDataStream`/
|
3499
|
-
# measurementProtocolSecrets/`measurementProtocolSecret` Note: Any type of
|
3500
|
-
# stream (WebDataStream, IosAppDataStream, AndroidAppDataStream) may be a parent.
|
3501
|
-
# @param [String] fields
|
3502
|
-
# Selector specifying which fields to include in a partial response.
|
3503
|
-
# @param [String] quota_user
|
3504
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
3505
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3506
|
-
# @param [Google::Apis::RequestOptions] options
|
3507
|
-
# Request-specific options
|
3508
|
-
#
|
3509
|
-
# @yield [result, err] Result & error if block supplied
|
3510
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] parsed result object
|
3511
|
-
# @yieldparam err [StandardError] error object if request failed
|
3512
|
-
#
|
3513
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret]
|
3514
|
-
#
|
3515
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3516
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3517
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3518
|
-
def get_property_web_data_stream_measurement_protocol_secret(name, fields: nil, quota_user: nil, options: nil, &block)
|
3519
|
-
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
3520
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
|
3521
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret
|
3522
|
-
command.params['name'] = name unless name.nil?
|
3523
|
-
command.query['fields'] = fields unless fields.nil?
|
3524
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3525
|
-
execute_or_queue_command(command, &block)
|
3526
|
-
end
|
3527
|
-
|
3528
|
-
# Returns child MeasurementProtocolSecrets under the specified parent Property.
|
3529
|
-
# @param [String] parent
|
3530
|
-
# Required. The resource name of the parent stream. Any type of stream (
|
3531
|
-
# WebDataStream, IosAppDataStream, AndroidAppDataStream) may be a parent. Format:
|
3532
|
-
# properties/`property`/webDataStreams/`webDataStream`/
|
3533
|
-
# measurementProtocolSecrets
|
3534
|
-
# @param [Fixnum] page_size
|
3535
|
-
# The maximum number of resources to return. If unspecified, at most 10
|
3536
|
-
# resources will be returned. The maximum value is 10. Higher values will be
|
3537
|
-
# coerced to the maximum.
|
3538
|
-
# @param [String] page_token
|
3539
|
-
# A page token, received from a previous `ListMeasurementProtocolSecrets` call.
|
3540
|
-
# Provide this to retrieve the subsequent page. When paginating, all other
|
3541
|
-
# parameters provided to `ListMeasurementProtocolSecrets` must match the call
|
3542
|
-
# that provided the page token.
|
3543
|
-
# @param [String] fields
|
3544
|
-
# Selector specifying which fields to include in a partial response.
|
3545
|
-
# @param [String] quota_user
|
3546
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
3547
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3548
|
-
# @param [Google::Apis::RequestOptions] options
|
3549
|
-
# Request-specific options
|
3550
|
-
#
|
3551
|
-
# @yield [result, err] Result & error if block supplied
|
3552
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse] parsed result object
|
3553
|
-
# @yieldparam err [StandardError] error object if request failed
|
3554
|
-
#
|
3555
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse]
|
3556
|
-
#
|
3557
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3558
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3559
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3560
|
-
def list_property_web_data_stream_measurement_protocol_secrets(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3561
|
-
command = make_simple_command(:get, 'v1alpha/{+parent}/measurementProtocolSecrets', options)
|
3562
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse::Representation
|
3563
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse
|
3564
|
-
command.params['parent'] = parent unless parent.nil?
|
3565
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
3566
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
3567
|
-
command.query['fields'] = fields unless fields.nil?
|
3568
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3569
|
-
execute_or_queue_command(command, &block)
|
3570
|
-
end
|
3571
|
-
|
3572
|
-
# Updates a measurement protocol secret.
|
3573
|
-
# @param [String] name
|
3574
|
-
# Output only. Resource name of this secret. This secret may be a child of any
|
3575
|
-
# type of stream. Format: properties/`property`/webDataStreams/`webDataStream`/
|
3576
|
-
# measurementProtocolSecrets/`measurementProtocolSecret`
|
3577
|
-
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] google_analytics_admin_v1alpha_measurement_protocol_secret_object
|
3578
|
-
# @param [String] update_mask
|
3579
|
-
# The list of fields to be updated. Omitted fields will not be updated.
|
3580
|
-
# @param [String] fields
|
3581
|
-
# Selector specifying which fields to include in a partial response.
|
3582
|
-
# @param [String] quota_user
|
3583
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
3584
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3585
|
-
# @param [Google::Apis::RequestOptions] options
|
3586
|
-
# Request-specific options
|
3587
|
-
#
|
3588
|
-
# @yield [result, err] Result & error if block supplied
|
3589
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] parsed result object
|
3590
|
-
# @yieldparam err [StandardError] error object if request failed
|
3591
|
-
#
|
3592
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret]
|
3593
|
-
#
|
3594
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3595
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3596
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3597
|
-
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)
|
3598
|
-
command = make_simple_command(:patch, 'v1alpha/{+name}', options)
|
3599
|
-
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
|
3600
|
-
command.request_object = google_analytics_admin_v1alpha_measurement_protocol_secret_object
|
3601
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
|
3602
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret
|
3603
|
-
command.params['name'] = name unless name.nil?
|
3604
|
-
command.query['updateMask'] = update_mask unless update_mask.nil?
|
3605
|
-
command.query['fields'] = fields unless fields.nil?
|
3606
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3607
|
-
execute_or_queue_command(command, &block)
|
3608
|
-
end
|
3609
3414
|
|
3610
3415
|
protected
|
3611
3416
|
|