google-apis-analyticsadmin_v1alpha 0.21.0 → 0.25.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 87b6e06445437e1c228c1cb26c3397dccef093f136988acfa7a4d8d95f0fe81e
4
- data.tar.gz: cc8d21fffbc102bd0f672093871c3078a06bc393b553179edd27ea23b60297e8
3
+ metadata.gz: 1cb80d59c771c638d26180238e7084d6f0a65c150d6cd4bfbcbf9ecfc8749b49
4
+ data.tar.gz: 73b79d4811f7151a32ab4ce02f1f3f61e90e4ef44b6f00f42934700cbe73c8a5
5
5
  SHA512:
6
- metadata.gz: 9f3d1220bfd22fe48ac86601ed5c99746114c26bd85dc6ee7716387e06fe2c6fb7c461c352cc6aae976459903e4fae5ef537520bc194dd8e60ec22992b284926
7
- data.tar.gz: dd8371e67dca0ad9fce710a406dbc1f17fb8d468bbc6f9ea81cf3a38bd8477eac2682a08beb8b2c5eaf69d3c81af58e347edf653be13db71a8ee0f003e223be1
6
+ metadata.gz: 5d798f48bd6fb99ba1705da86227176a9fa4de422ac87b2e5b6a752fd1dec80e5ca0cf54d825d0e4e86d117a6d813c4eb4fae0f4e5da733cfee2156e49ca95dd
7
+ data.tar.gz: d87af7c8949e99dd9e77793a3be78c0ff957a4a2017bb73d0b357887cf48ce52a3c217fb0aed1f73edf06fc326c5cf69a2f37c8bceb266cdffc27d7be2628dc1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Release history for google-apis-analyticsadmin_v1alpha
2
2
 
3
+ ### v0.25.0 (2022-02-03)
4
+
5
+ * Regenerated from discovery document revision 20220131
6
+
7
+ ### v0.24.0 (2022-01-28)
8
+
9
+ * Regenerated from discovery document revision 20220127
10
+
11
+ ### v0.23.0 (2022-01-18)
12
+
13
+ * Regenerated from discovery document revision 20220116
14
+
15
+ ### v0.22.0 (2022-01-14)
16
+
17
+ * Regenerated from discovery document revision 20220112
18
+ * Regenerated using generator version 0.4.1
19
+
3
20
  ### v0.21.0 (2022-01-07)
4
21
 
5
22
  * Regenerated from discovery document revision 20220105
@@ -1349,12 +1349,13 @@ module Google
1349
1349
  end
1350
1350
 
1351
1351
  # Read-only resource with the tag for sending data from a website to a
1352
- # WebDataStream.
1352
+ # DataStream. Only present for web DataStream resources.
1353
1353
  class GoogleAnalyticsAdminV1alphaGlobalSiteTag
1354
1354
  include Google::Apis::Core::Hashable
1355
1355
 
1356
1356
  # Output only. Resource name for this GlobalSiteTag resource. Format: properties/
1357
- # `propertyId`/globalSiteTag
1357
+ # `property_id`/dataStreams/`stream_id`/globalSiteTag Example: "properties/123/
1358
+ # dataStreams/456/globalSiteTag"
1358
1359
  # Corresponds to the JSON property `name`
1359
1360
  # @return [String]
1360
1361
  attr_accessor :name
@@ -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.21.0"
19
+ GEM_VERSION = "0.25.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.0"
22
+ GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220105"
25
+ REVISION = "20220131"
26
26
  end
27
27
  end
28
28
  end
@@ -890,13 +890,15 @@ module Google
890
890
  # default. Returns an empty list if no relevant properties are found.
891
891
  # @param [String] filter
892
892
  # Required. An expression for filtering the results of the request. Fields
893
- # eligible for filtering are: `parent:`(The resource name of the parent account)
894
- # or `firebase_project:`(The id or number of the linked firebase project). Some
893
+ # eligible for filtering are: `parent:`(The resource name of the parent account/
894
+ # property) or `ancestor:`(The resource name of the parent account) or `
895
+ # firebase_project:`(The id or number of the linked firebase project). Some
895
896
  # examples of filters: ``` | Filter | Description | |----------------------------
896
897
  # -|-------------------------------------------| | parent:accounts/123 | The
897
- # account with account id: 123. | | firebase_project:project-id | The firebase
898
- # project with id: project-id. | | firebase_project:123 | The firebase project
899
- # with number: 123. | ```
898
+ # account with account id: 123. | | parent:properties/123 | The property with
899
+ # property id: 123. | | ancestor:accounts/123 | The account with account id: 123.
900
+ # | | firebase_project:project-id | The firebase project with id: project-id. |
901
+ # | firebase_project:123 | The firebase project with number: 123. | ```
900
902
  # @param [Fixnum] page_size
901
903
  # The maximum number of resources to return. The service may return fewer than
902
904
  # this value, even if there are additional pages. If unspecified, at most 50
@@ -1203,189 +1205,6 @@ module Google
1203
1205
  execute_or_queue_command(command, &block)
1204
1206
  end
1205
1207
 
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
1208
  # Creates a conversion event with the specified attributes.
1390
1209
  # @param [String] parent
1391
1210
  # Required. The resource name of the parent property where this conversion event
@@ -1977,6 +1796,40 @@ module Google
1977
1796
  execute_or_queue_command(command, &block)
1978
1797
  end
1979
1798
 
1799
+ # Returns the Site Tag for the specified web stream. Site Tags are immutable
1800
+ # singletons.
1801
+ # @param [String] name
1802
+ # Required. The name of the site tag to lookup. Note that site tags are
1803
+ # singletons and do not have unique IDs. Format: properties/`property_id`/
1804
+ # dataStreams/`stream_id`/globalSiteTag Example: "properties/123/dataStreams/456/
1805
+ # globalSiteTag"
1806
+ # @param [String] fields
1807
+ # Selector specifying which fields to include in a partial response.
1808
+ # @param [String] quota_user
1809
+ # Available to use for quota purposes for server-side applications. Can be any
1810
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1811
+ # @param [Google::Apis::RequestOptions] options
1812
+ # Request-specific options
1813
+ #
1814
+ # @yield [result, err] Result & error if block supplied
1815
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGlobalSiteTag] parsed result object
1816
+ # @yieldparam err [StandardError] error object if request failed
1817
+ #
1818
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGlobalSiteTag]
1819
+ #
1820
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1821
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1822
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1823
+ def get_property_data_stream_global_site_tag(name, fields: nil, quota_user: nil, options: nil, &block)
1824
+ command = make_simple_command(:get, 'v1alpha/{+name}', options)
1825
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGlobalSiteTag::Representation
1826
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGlobalSiteTag
1827
+ command.params['name'] = name unless name.nil?
1828
+ command.query['fields'] = fields unless fields.nil?
1829
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1830
+ execute_or_queue_command(command, &block)
1831
+ end
1832
+
1980
1833
  # Lists DataStreams on a property.
1981
1834
  # @param [String] parent
1982
1835
  # Required. Example format: properties/1234
@@ -2057,13 +1910,11 @@ module Google
2057
1910
  execute_or_queue_command(command, &block)
2058
1911
  end
2059
1912
 
2060
- # Approves a DisplayVideo360AdvertiserLinkProposal. The
2061
- # DisplayVideo360AdvertiserLinkProposal will be deleted and a new
2062
- # DisplayVideo360AdvertiserLink will be created.
2063
- # @param [String] name
2064
- # Required. The name of the DisplayVideo360AdvertiserLinkProposal to approve.
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
1913
+ # Creates a measurement protocol secret.
1914
+ # @param [String] parent
1915
+ # Required. The parent resource where this secret will be created. Format:
1916
+ # properties/`property`/dataStreams/`dataStream`
1917
+ # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] google_analytics_admin_v1alpha_measurement_protocol_secret_object
2067
1918
  # @param [String] fields
2068
1919
  # Selector specifying which fields to include in a partial response.
2069
1920
  # @param [String] quota_user
@@ -2073,34 +1924,31 @@ module Google
2073
1924
  # Request-specific options
2074
1925
  #
2075
1926
  # @yield [result, err] Result & error if block supplied
2076
- # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalResponse] parsed result object
1927
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] parsed result object
2077
1928
  # @yieldparam err [StandardError] error object if request failed
2078
1929
  #
2079
- # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalResponse]
1930
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret]
2080
1931
  #
2081
1932
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2082
1933
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2083
1934
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2084
- 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)
2085
- command = make_simple_command(:post, 'v1alpha/{+name}:approve', options)
2086
- command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalRequest::Representation
2087
- command.request_object = google_analytics_admin_v1alpha_approve_display_video360_advertiser_link_proposal_request_object
2088
- command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalResponse::Representation
2089
- command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalResponse
2090
- command.params['name'] = name unless name.nil?
1935
+ 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)
1936
+ command = make_simple_command(:post, 'v1alpha/{+parent}/measurementProtocolSecrets', options)
1937
+ command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
1938
+ command.request_object = google_analytics_admin_v1alpha_measurement_protocol_secret_object
1939
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
1940
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret
1941
+ command.params['parent'] = parent unless parent.nil?
2091
1942
  command.query['fields'] = fields unless fields.nil?
2092
1943
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2093
1944
  execute_or_queue_command(command, &block)
2094
1945
  end
2095
1946
 
2096
- # Cancels a DisplayVideo360AdvertiserLinkProposal. Cancelling can mean either: -
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.
1947
+ # Deletes target MeasurementProtocolSecret.
2100
1948
  # @param [String] name
2101
- # Required. The name of the DisplayVideo360AdvertiserLinkProposal to cancel.
2102
- # Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678
2103
- # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCancelDisplayVideo360AdvertiserLinkProposalRequest] google_analytics_admin_v1alpha_cancel_display_video360_advertiser_link_proposal_request_object
1949
+ # Required. The name of the MeasurementProtocolSecret to delete. Format:
1950
+ # properties/`property`/dataStreams/`dataStream`/measurementProtocolSecrets/`
1951
+ # measurementProtocolSecret`
2104
1952
  # @param [String] fields
2105
1953
  # Selector specifying which fields to include in a partial response.
2106
1954
  # @param [String] quota_user
@@ -2110,30 +1958,29 @@ module Google
2110
1958
  # Request-specific options
2111
1959
  #
2112
1960
  # @yield [result, err] Result & error if block supplied
2113
- # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal] parsed result object
1961
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty] parsed result object
2114
1962
  # @yieldparam err [StandardError] error object if request failed
2115
1963
  #
2116
- # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal]
1964
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty]
2117
1965
  #
2118
1966
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2119
1967
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2120
1968
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2121
- 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)
2122
- command = make_simple_command(:post, 'v1alpha/{+name}:cancel', options)
2123
- command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCancelDisplayVideo360AdvertiserLinkProposalRequest::Representation
2124
- command.request_object = google_analytics_admin_v1alpha_cancel_display_video360_advertiser_link_proposal_request_object
2125
- command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal::Representation
2126
- command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal
1969
+ def delete_property_data_stream_measurement_protocol_secret(name, fields: nil, quota_user: nil, options: nil, &block)
1970
+ command = make_simple_command(:delete, 'v1alpha/{+name}', options)
1971
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty::Representation
1972
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty
2127
1973
  command.params['name'] = name unless name.nil?
2128
1974
  command.query['fields'] = fields unless fields.nil?
2129
1975
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2130
1976
  execute_or_queue_command(command, &block)
2131
1977
  end
2132
1978
 
2133
- # Creates a DisplayVideo360AdvertiserLinkProposal.
2134
- # @param [String] parent
2135
- # Required. Example format: properties/1234
2136
- # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal] google_analytics_admin_v1alpha_display_video360_advertiser_link_proposal_object
1979
+ # Lookup for a single "GA4" MeasurementProtocolSecret.
1980
+ # @param [String] name
1981
+ # Required. The name of the measurement protocol secret to lookup. Format:
1982
+ # properties/`property`/dataStreams/`dataStream`/measurementProtocolSecrets/`
1983
+ # measurementProtocolSecret`
2137
1984
  # @param [String] fields
2138
1985
  # Selector specifying which fields to include in a partial response.
2139
1986
  # @param [String] quota_user
@@ -2143,10 +1990,194 @@ module Google
2143
1990
  # Request-specific options
2144
1991
  #
2145
1992
  # @yield [result, err] Result & error if block supplied
2146
- # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal] parsed result object
1993
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] parsed result object
2147
1994
  # @yieldparam err [StandardError] error object if request failed
2148
1995
  #
2149
- # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal]
1996
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret]
1997
+ #
1998
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1999
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2000
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2001
+ def get_property_data_stream_measurement_protocol_secret(name, fields: nil, quota_user: nil, options: nil, &block)
2002
+ command = make_simple_command(:get, 'v1alpha/{+name}', options)
2003
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
2004
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret
2005
+ command.params['name'] = name unless name.nil?
2006
+ command.query['fields'] = fields unless fields.nil?
2007
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2008
+ execute_or_queue_command(command, &block)
2009
+ end
2010
+
2011
+ # Returns child MeasurementProtocolSecrets under the specified parent Property.
2012
+ # @param [String] parent
2013
+ # Required. The resource name of the parent stream. Format: properties/`property`
2014
+ # /dataStreams/`dataStream`/measurementProtocolSecrets
2015
+ # @param [Fixnum] page_size
2016
+ # The maximum number of resources to return. If unspecified, at most 10
2017
+ # resources will be returned. The maximum value is 10. Higher values will be
2018
+ # coerced to the maximum.
2019
+ # @param [String] page_token
2020
+ # A page token, received from a previous `ListMeasurementProtocolSecrets` call.
2021
+ # Provide this to retrieve the subsequent page. When paginating, all other
2022
+ # parameters provided to `ListMeasurementProtocolSecrets` must match the call
2023
+ # that provided the page token.
2024
+ # @param [String] fields
2025
+ # Selector specifying which fields to include in a partial response.
2026
+ # @param [String] quota_user
2027
+ # Available to use for quota purposes for server-side applications. Can be any
2028
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2029
+ # @param [Google::Apis::RequestOptions] options
2030
+ # Request-specific options
2031
+ #
2032
+ # @yield [result, err] Result & error if block supplied
2033
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse] parsed result object
2034
+ # @yieldparam err [StandardError] error object if request failed
2035
+ #
2036
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse]
2037
+ #
2038
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2039
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2040
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2041
+ def list_property_data_stream_measurement_protocol_secrets(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2042
+ command = make_simple_command(:get, 'v1alpha/{+parent}/measurementProtocolSecrets', options)
2043
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse::Representation
2044
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse
2045
+ command.params['parent'] = parent unless parent.nil?
2046
+ command.query['pageSize'] = page_size unless page_size.nil?
2047
+ command.query['pageToken'] = page_token unless page_token.nil?
2048
+ command.query['fields'] = fields unless fields.nil?
2049
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2050
+ execute_or_queue_command(command, &block)
2051
+ end
2052
+
2053
+ # Updates a measurement protocol secret.
2054
+ # @param [String] name
2055
+ # Output only. Resource name of this secret. This secret may be a child of any
2056
+ # type of stream. Format: properties/`property`/webDataStreams/`webDataStream`/
2057
+ # measurementProtocolSecrets/`measurementProtocolSecret`
2058
+ # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] google_analytics_admin_v1alpha_measurement_protocol_secret_object
2059
+ # @param [String] update_mask
2060
+ # The list of fields to be updated. Omitted fields will not be updated.
2061
+ # @param [String] fields
2062
+ # Selector specifying which fields to include in a partial response.
2063
+ # @param [String] quota_user
2064
+ # Available to use for quota purposes for server-side applications. Can be any
2065
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2066
+ # @param [Google::Apis::RequestOptions] options
2067
+ # Request-specific options
2068
+ #
2069
+ # @yield [result, err] Result & error if block supplied
2070
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] parsed result object
2071
+ # @yieldparam err [StandardError] error object if request failed
2072
+ #
2073
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret]
2074
+ #
2075
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2076
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2077
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2078
+ 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)
2079
+ command = make_simple_command(:patch, 'v1alpha/{+name}', options)
2080
+ command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
2081
+ command.request_object = google_analytics_admin_v1alpha_measurement_protocol_secret_object
2082
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
2083
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret
2084
+ command.params['name'] = name unless name.nil?
2085
+ command.query['updateMask'] = update_mask unless update_mask.nil?
2086
+ command.query['fields'] = fields unless fields.nil?
2087
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2088
+ execute_or_queue_command(command, &block)
2089
+ end
2090
+
2091
+ # Approves a DisplayVideo360AdvertiserLinkProposal. The
2092
+ # DisplayVideo360AdvertiserLinkProposal will be deleted and a new
2093
+ # DisplayVideo360AdvertiserLink will be created.
2094
+ # @param [String] name
2095
+ # Required. The name of the DisplayVideo360AdvertiserLinkProposal to approve.
2096
+ # Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678
2097
+ # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalRequest] google_analytics_admin_v1alpha_approve_display_video360_advertiser_link_proposal_request_object
2098
+ # @param [String] fields
2099
+ # Selector specifying which fields to include in a partial response.
2100
+ # @param [String] quota_user
2101
+ # Available to use for quota purposes for server-side applications. Can be any
2102
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2103
+ # @param [Google::Apis::RequestOptions] options
2104
+ # Request-specific options
2105
+ #
2106
+ # @yield [result, err] Result & error if block supplied
2107
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalResponse] parsed result object
2108
+ # @yieldparam err [StandardError] error object if request failed
2109
+ #
2110
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalResponse]
2111
+ #
2112
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2113
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2114
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2115
+ 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)
2116
+ command = make_simple_command(:post, 'v1alpha/{+name}:approve', options)
2117
+ command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalRequest::Representation
2118
+ command.request_object = google_analytics_admin_v1alpha_approve_display_video360_advertiser_link_proposal_request_object
2119
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalResponse::Representation
2120
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalResponse
2121
+ command.params['name'] = name unless name.nil?
2122
+ command.query['fields'] = fields unless fields.nil?
2123
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2124
+ execute_or_queue_command(command, &block)
2125
+ end
2126
+
2127
+ # Cancels a DisplayVideo360AdvertiserLinkProposal. Cancelling can mean either: -
2128
+ # Declining a proposal initiated from Display & Video 360 - Withdrawing a
2129
+ # proposal initiated from Google Analytics After being cancelled, a proposal
2130
+ # will eventually be deleted automatically.
2131
+ # @param [String] name
2132
+ # Required. The name of the DisplayVideo360AdvertiserLinkProposal to cancel.
2133
+ # Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678
2134
+ # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCancelDisplayVideo360AdvertiserLinkProposalRequest] google_analytics_admin_v1alpha_cancel_display_video360_advertiser_link_proposal_request_object
2135
+ # @param [String] fields
2136
+ # Selector specifying which fields to include in a partial response.
2137
+ # @param [String] quota_user
2138
+ # Available to use for quota purposes for server-side applications. Can be any
2139
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2140
+ # @param [Google::Apis::RequestOptions] options
2141
+ # Request-specific options
2142
+ #
2143
+ # @yield [result, err] Result & error if block supplied
2144
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal] parsed result object
2145
+ # @yieldparam err [StandardError] error object if request failed
2146
+ #
2147
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal]
2148
+ #
2149
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2150
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2151
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2152
+ 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)
2153
+ command = make_simple_command(:post, 'v1alpha/{+name}:cancel', options)
2154
+ command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCancelDisplayVideo360AdvertiserLinkProposalRequest::Representation
2155
+ command.request_object = google_analytics_admin_v1alpha_cancel_display_video360_advertiser_link_proposal_request_object
2156
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal::Representation
2157
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal
2158
+ command.params['name'] = name unless name.nil?
2159
+ command.query['fields'] = fields unless fields.nil?
2160
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2161
+ execute_or_queue_command(command, &block)
2162
+ end
2163
+
2164
+ # Creates a DisplayVideo360AdvertiserLinkProposal.
2165
+ # @param [String] parent
2166
+ # Required. Example format: properties/1234
2167
+ # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal] google_analytics_admin_v1alpha_display_video360_advertiser_link_proposal_object
2168
+ # @param [String] fields
2169
+ # Selector specifying which fields to include in a partial response.
2170
+ # @param [String] quota_user
2171
+ # Available to use for quota purposes for server-side applications. Can be any
2172
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2173
+ # @param [Google::Apis::RequestOptions] options
2174
+ # Request-specific options
2175
+ #
2176
+ # @yield [result, err] Result & error if block supplied
2177
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal] parsed result object
2178
+ # @yieldparam err [StandardError] error object if request failed
2179
+ #
2180
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal]
2150
2181
  #
2151
2182
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2152
2183
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
@@ -2845,12 +2876,15 @@ module Google
2845
2876
  execute_or_queue_command(command, &block)
2846
2877
  end
2847
2878
 
2848
- # Creates a measurement protocol secret.
2879
+ # Lists all user links on an account or property, including implicit ones that
2880
+ # come from effective permissions granted by groups or organization admin roles.
2881
+ # If a returned user link does not have direct permissions, they cannot be
2882
+ # removed from the account or property directly with the DeleteUserLink command.
2883
+ # They have to be removed from the group/etc that gives them permissions, which
2884
+ # is currently only usable/discoverable in the GA or GMP UIs.
2849
2885
  # @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
2886
+ # Required. Example format: accounts/1234
2887
+ # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAuditUserLinksRequest] google_analytics_admin_v1alpha_audit_user_links_request_object
2854
2888
  # @param [String] fields
2855
2889
  # Selector specifying which fields to include in a partial response.
2856
2890
  # @param [String] quota_user
@@ -2860,32 +2894,34 @@ module Google
2860
2894
  # Request-specific options
2861
2895
  #
2862
2896
  # @yield [result, err] Result & error if block supplied
2863
- # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] parsed result object
2897
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAuditUserLinksResponse] parsed result object
2864
2898
  # @yieldparam err [StandardError] error object if request failed
2865
2899
  #
2866
- # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret]
2900
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAuditUserLinksResponse]
2867
2901
  #
2868
2902
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2869
2903
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2870
2904
  # @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
2905
+ def audit_property_user_link(parent, google_analytics_admin_v1alpha_audit_user_links_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2906
+ command = make_simple_command(:post, 'v1alpha/{+parent}/userLinks:audit', options)
2907
+ command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAuditUserLinksRequest::Representation
2908
+ command.request_object = google_analytics_admin_v1alpha_audit_user_links_request_object
2909
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAuditUserLinksResponse::Representation
2910
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAuditUserLinksResponse
2877
2911
  command.params['parent'] = parent unless parent.nil?
2878
2912
  command.query['fields'] = fields unless fields.nil?
2879
2913
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2880
2914
  execute_or_queue_command(command, &block)
2881
2915
  end
2882
2916
 
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.
2917
+ # Creates information about multiple users' links to an account or property.
2918
+ # This method is transactional. If any UserLink cannot be created, none of the
2919
+ # UserLinks will be created.
2920
+ # @param [String] parent
2921
+ # Required. The account or property that all user links in the request are for.
2922
+ # This field is required. The parent field in the CreateUserLinkRequest messages
2923
+ # must either be empty or match this field. Example format: accounts/1234
2924
+ # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchCreateUserLinksRequest] google_analytics_admin_v1alpha_batch_create_user_links_request_object
2889
2925
  # @param [String] fields
2890
2926
  # Selector specifying which fields to include in a partial response.
2891
2927
  # @param [String] quota_user
@@ -2895,30 +2931,32 @@ module Google
2895
2931
  # Request-specific options
2896
2932
  #
2897
2933
  # @yield [result, err] Result & error if block supplied
2898
- # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty] parsed result object
2934
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchCreateUserLinksResponse] parsed result object
2899
2935
  # @yieldparam err [StandardError] error object if request failed
2900
2936
  #
2901
- # @return [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty]
2937
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchCreateUserLinksResponse]
2902
2938
  #
2903
2939
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2904
2940
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2905
2941
  # @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?
2942
+ def batch_property_user_link_create(parent, google_analytics_admin_v1alpha_batch_create_user_links_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2943
+ command = make_simple_command(:post, 'v1alpha/{+parent}/userLinks:batchCreate', options)
2944
+ command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchCreateUserLinksRequest::Representation
2945
+ command.request_object = google_analytics_admin_v1alpha_batch_create_user_links_request_object
2946
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchCreateUserLinksResponse::Representation
2947
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchCreateUserLinksResponse
2948
+ command.params['parent'] = parent unless parent.nil?
2911
2949
  command.query['fields'] = fields unless fields.nil?
2912
2950
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2913
2951
  execute_or_queue_command(command, &block)
2914
2952
  end
2915
2953
 
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.
2954
+ # Deletes information about multiple users' links to an account or property.
2955
+ # @param [String] parent
2956
+ # Required. The account or property that all user links in the request are for.
2957
+ # The parent of all values for user link names to delete must match this field.
2958
+ # Example format: accounts/1234
2959
+ # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchDeleteUserLinksRequest] google_analytics_admin_v1alpha_batch_delete_user_links_request_object
2922
2960
  # @param [String] fields
2923
2961
  # Selector specifying which fields to include in a partial response.
2924
2962
  # @param [String] quota_user
@@ -2928,217 +2966,27 @@ module Google
2928
2966
  # Request-specific options
2929
2967
  #
2930
2968
  # @yield [result, err] Result & error if block supplied
2931
- # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] parsed result object
2969
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty] parsed result object
2932
2970
  # @yieldparam err [StandardError] error object if request failed
2933
2971
  #
2934
- # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret]
2972
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty]
2935
2973
  #
2936
2974
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2937
2975
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2938
2976
  # @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?
2977
+ def batch_property_user_link_delete(parent, google_analytics_admin_v1alpha_batch_delete_user_links_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2978
+ command = make_simple_command(:post, 'v1alpha/{+parent}/userLinks:batchDelete', options)
2979
+ command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchDeleteUserLinksRequest::Representation
2980
+ command.request_object = google_analytics_admin_v1alpha_batch_delete_user_links_request_object
2981
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty::Representation
2982
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty
2983
+ command.params['parent'] = parent unless parent.nil?
2944
2984
  command.query['fields'] = fields unless fields.nil?
2945
2985
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2946
2986
  execute_or_queue_command(command, &block)
2947
2987
  end
2948
2988
 
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
- # Lists all user links on an account or property, including implicit ones that
3032
- # come from effective permissions granted by groups or organization admin roles.
3033
- # If a returned user link does not have direct permissions, they cannot be
3034
- # removed from the account or property directly with the DeleteUserLink command.
3035
- # They have to be removed from the group/etc that gives them permissions, which
3036
- # is currently only usable/discoverable in the GA or GMP UIs.
3037
- # @param [String] parent
3038
- # Required. Example format: accounts/1234
3039
- # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAuditUserLinksRequest] google_analytics_admin_v1alpha_audit_user_links_request_object
3040
- # @param [String] fields
3041
- # Selector specifying which fields to include in a partial response.
3042
- # @param [String] quota_user
3043
- # Available to use for quota purposes for server-side applications. Can be any
3044
- # arbitrary string assigned to a user, but should not exceed 40 characters.
3045
- # @param [Google::Apis::RequestOptions] options
3046
- # Request-specific options
3047
- #
3048
- # @yield [result, err] Result & error if block supplied
3049
- # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAuditUserLinksResponse] parsed result object
3050
- # @yieldparam err [StandardError] error object if request failed
3051
- #
3052
- # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAuditUserLinksResponse]
3053
- #
3054
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3055
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3056
- # @raise [Google::Apis::AuthorizationError] Authorization is required
3057
- def audit_property_user_link(parent, google_analytics_admin_v1alpha_audit_user_links_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3058
- command = make_simple_command(:post, 'v1alpha/{+parent}/userLinks:audit', options)
3059
- command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAuditUserLinksRequest::Representation
3060
- command.request_object = google_analytics_admin_v1alpha_audit_user_links_request_object
3061
- command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAuditUserLinksResponse::Representation
3062
- command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAuditUserLinksResponse
3063
- command.params['parent'] = parent unless parent.nil?
3064
- command.query['fields'] = fields unless fields.nil?
3065
- command.query['quotaUser'] = quota_user unless quota_user.nil?
3066
- execute_or_queue_command(command, &block)
3067
- end
3068
-
3069
- # Creates information about multiple users' links to an account or property.
3070
- # This method is transactional. If any UserLink cannot be created, none of the
3071
- # UserLinks will be created.
3072
- # @param [String] parent
3073
- # Required. The account or property that all user links in the request are for.
3074
- # This field is required. The parent field in the CreateUserLinkRequest messages
3075
- # must either be empty or match this field. Example format: accounts/1234
3076
- # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchCreateUserLinksRequest] google_analytics_admin_v1alpha_batch_create_user_links_request_object
3077
- # @param [String] fields
3078
- # Selector specifying which fields to include in a partial response.
3079
- # @param [String] quota_user
3080
- # Available to use for quota purposes for server-side applications. Can be any
3081
- # arbitrary string assigned to a user, but should not exceed 40 characters.
3082
- # @param [Google::Apis::RequestOptions] options
3083
- # Request-specific options
3084
- #
3085
- # @yield [result, err] Result & error if block supplied
3086
- # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchCreateUserLinksResponse] parsed result object
3087
- # @yieldparam err [StandardError] error object if request failed
3088
- #
3089
- # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchCreateUserLinksResponse]
3090
- #
3091
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3092
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3093
- # @raise [Google::Apis::AuthorizationError] Authorization is required
3094
- def batch_property_user_link_create(parent, google_analytics_admin_v1alpha_batch_create_user_links_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3095
- command = make_simple_command(:post, 'v1alpha/{+parent}/userLinks:batchCreate', options)
3096
- command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchCreateUserLinksRequest::Representation
3097
- command.request_object = google_analytics_admin_v1alpha_batch_create_user_links_request_object
3098
- command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchCreateUserLinksResponse::Representation
3099
- command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchCreateUserLinksResponse
3100
- command.params['parent'] = parent unless parent.nil?
3101
- command.query['fields'] = fields unless fields.nil?
3102
- command.query['quotaUser'] = quota_user unless quota_user.nil?
3103
- execute_or_queue_command(command, &block)
3104
- end
3105
-
3106
- # Deletes information about multiple users' links to an account or property.
3107
- # @param [String] parent
3108
- # Required. The account or property that all user links in the request are for.
3109
- # The parent of all values for user link names to delete must match this field.
3110
- # Example format: accounts/1234
3111
- # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchDeleteUserLinksRequest] google_analytics_admin_v1alpha_batch_delete_user_links_request_object
3112
- # @param [String] fields
3113
- # Selector specifying which fields to include in a partial response.
3114
- # @param [String] quota_user
3115
- # Available to use for quota purposes for server-side applications. Can be any
3116
- # arbitrary string assigned to a user, but should not exceed 40 characters.
3117
- # @param [Google::Apis::RequestOptions] options
3118
- # Request-specific options
3119
- #
3120
- # @yield [result, err] Result & error if block supplied
3121
- # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty] parsed result object
3122
- # @yieldparam err [StandardError] error object if request failed
3123
- #
3124
- # @return [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty]
3125
- #
3126
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3127
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3128
- # @raise [Google::Apis::AuthorizationError] Authorization is required
3129
- def batch_property_user_link_delete(parent, google_analytics_admin_v1alpha_batch_delete_user_links_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3130
- command = make_simple_command(:post, 'v1alpha/{+parent}/userLinks:batchDelete', options)
3131
- command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchDeleteUserLinksRequest::Representation
3132
- command.request_object = google_analytics_admin_v1alpha_batch_delete_user_links_request_object
3133
- command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty::Representation
3134
- command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty
3135
- command.params['parent'] = parent unless parent.nil?
3136
- command.query['fields'] = fields unless fields.nil?
3137
- command.query['quotaUser'] = quota_user unless quota_user.nil?
3138
- execute_or_queue_command(command, &block)
3139
- end
3140
-
3141
- # Gets information about multiple users' links to an account or property.
2989
+ # Gets information about multiple users' links to an account or property.
3142
2990
  # @param [String] parent
3143
2991
  # Required. The account or property that all user links in the request are for.
3144
2992
  # The parent of all provided values for the 'names' field must match this field.
@@ -3481,40 +3329,6 @@ module Google
3481
3329
  execute_or_queue_command(command, &block)
3482
3330
  end
3483
3331
 
3484
- # Returns the Site Tag for the specified web stream. Site Tags are immutable
3485
- # singletons.
3486
- # @param [String] name
3487
- # Required. The name of the site tag to lookup. Note that site tags are
3488
- # singletons and do not have unique IDs. Format: properties/`property_id`/
3489
- # webDataStreams/`stream_id`/globalSiteTag Example: "properties/123/
3490
- # webDataStreams/456/globalSiteTag"
3491
- # @param [String] fields
3492
- # Selector specifying which fields to include in a partial response.
3493
- # @param [String] quota_user
3494
- # Available to use for quota purposes for server-side applications. Can be any
3495
- # arbitrary string assigned to a user, but should not exceed 40 characters.
3496
- # @param [Google::Apis::RequestOptions] options
3497
- # Request-specific options
3498
- #
3499
- # @yield [result, err] Result & error if block supplied
3500
- # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGlobalSiteTag] parsed result object
3501
- # @yieldparam err [StandardError] error object if request failed
3502
- #
3503
- # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGlobalSiteTag]
3504
- #
3505
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3506
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3507
- # @raise [Google::Apis::AuthorizationError] Authorization is required
3508
- def get_property_web_data_stream_global_site_tag(name, fields: nil, quota_user: nil, options: nil, &block)
3509
- command = make_simple_command(:get, 'v1alpha/{+name}', options)
3510
- command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGlobalSiteTag::Representation
3511
- command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGlobalSiteTag
3512
- command.params['name'] = name unless name.nil?
3513
- command.query['fields'] = fields unless fields.nil?
3514
- command.query['quotaUser'] = quota_user unless quota_user.nil?
3515
- execute_or_queue_command(command, &block)
3516
- end
3517
-
3518
3332
  # Returns child web data streams under the specified parent property. Web data
3519
3333
  # streams will be excluded if the caller does not have access. Returns an empty
3520
3334
  # list if no relevant web data streams are found.
@@ -3598,189 +3412,6 @@ module Google
3598
3412
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3599
3413
  execute_or_queue_command(command, &block)
3600
3414
  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
3415
 
3785
3416
  protected
3786
3417
 
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.21.0
4
+ version: 0.25.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-10 00:00:00.000000000 Z
11
+ date: 2022-02-07 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.21.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-analyticsadmin_v1alpha/v0.25.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.4
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