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