google-apis-analyticsadmin_v1alpha 0.3.0 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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.3.0"
19
+ GEM_VERSION = "0.8.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.1.2"
22
+ GENERATOR_VERSION = "0.3.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210223"
25
+ REVISION = "20210610"
26
26
  end
27
27
  end
28
28
  end
@@ -40,6 +40,18 @@ module Google
40
40
  include Google::Apis::Core::JsonObjectSupport
41
41
  end
42
42
 
43
+ class GoogleAnalyticsAdminV1alphaArchiveCustomDimensionRequest
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class GoogleAnalyticsAdminV1alphaArchiveCustomMetricRequest
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
43
55
  class GoogleAnalyticsAdminV1alphaAuditUserLink
44
56
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
57
 
@@ -94,12 +106,48 @@ module Google
94
106
  include Google::Apis::Core::JsonObjectSupport
95
107
  end
96
108
 
109
+ class GoogleAnalyticsAdminV1alphaChangeHistoryChange
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class GoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class GoogleAnalyticsAdminV1alphaChangeHistoryEvent
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class GoogleAnalyticsAdminV1alphaConversionEvent
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
97
133
  class GoogleAnalyticsAdminV1alphaCreateUserLinkRequest
98
134
  class Representation < Google::Apis::Core::JsonRepresentation; end
99
135
 
100
136
  include Google::Apis::Core::JsonObjectSupport
101
137
  end
102
138
 
139
+ class GoogleAnalyticsAdminV1alphaCustomDimension
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class GoogleAnalyticsAdminV1alphaCustomMetric
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
103
151
  class GoogleAnalyticsAdminV1alphaDataSharingSettings
104
152
  class Representation < Google::Apis::Core::JsonRepresentation; end
105
153
 
@@ -136,6 +184,12 @@ module Google
136
184
  include Google::Apis::Core::JsonObjectSupport
137
185
  end
138
186
 
187
+ class GoogleAnalyticsAdminV1alphaGoogleSignalsSettings
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
139
193
  class GoogleAnalyticsAdminV1alphaIosAppDataStream
140
194
  class Representation < Google::Apis::Core::JsonRepresentation; end
141
195
 
@@ -160,6 +214,24 @@ module Google
160
214
  include Google::Apis::Core::JsonObjectSupport
161
215
  end
162
216
 
217
+ class GoogleAnalyticsAdminV1alphaListConversionEventsResponse
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class GoogleAnalyticsAdminV1alphaListCustomDimensionsResponse
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class GoogleAnalyticsAdminV1alphaListCustomMetricsResponse
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
163
235
  class GoogleAnalyticsAdminV1alphaListFirebaseLinksResponse
164
236
  class Representation < Google::Apis::Core::JsonRepresentation; end
165
237
 
@@ -178,6 +250,12 @@ module Google
178
250
  include Google::Apis::Core::JsonObjectSupport
179
251
  end
180
252
 
253
+ class GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
181
259
  class GoogleAnalyticsAdminV1alphaListPropertiesResponse
182
260
  class Representation < Google::Apis::Core::JsonRepresentation; end
183
261
 
@@ -196,6 +274,12 @@ module Google
196
274
  include Google::Apis::Core::JsonObjectSupport
197
275
  end
198
276
 
277
+ class GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
199
283
  class GoogleAnalyticsAdminV1alphaProperty
200
284
  class Representation < Google::Apis::Core::JsonRepresentation; end
201
285
 
@@ -220,6 +304,18 @@ module Google
220
304
  include Google::Apis::Core::JsonObjectSupport
221
305
  end
222
306
 
307
+ class GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
313
+ class GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsResponse
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
223
319
  class GoogleAnalyticsAdminV1alphaUpdateUserLinkRequest
224
320
  class Representation < Google::Apis::Core::JsonRepresentation; end
225
321
 
@@ -279,6 +375,18 @@ module Google
279
375
  end
280
376
  end
281
377
 
378
+ class GoogleAnalyticsAdminV1alphaArchiveCustomDimensionRequest
379
+ # @private
380
+ class Representation < Google::Apis::Core::JsonRepresentation
381
+ end
382
+ end
383
+
384
+ class GoogleAnalyticsAdminV1alphaArchiveCustomMetricRequest
385
+ # @private
386
+ class Representation < Google::Apis::Core::JsonRepresentation
387
+ end
388
+ end
389
+
282
390
  class GoogleAnalyticsAdminV1alphaAuditUserLink
283
391
  # @private
284
392
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -355,6 +463,71 @@ module Google
355
463
  end
356
464
  end
357
465
 
466
+ class GoogleAnalyticsAdminV1alphaChangeHistoryChange
467
+ # @private
468
+ class Representation < Google::Apis::Core::JsonRepresentation
469
+ property :action, as: 'action'
470
+ property :resource, as: 'resource'
471
+ property :resource_after_change, as: 'resourceAfterChange', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource::Representation
472
+
473
+ property :resource_before_change, as: 'resourceBeforeChange', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource::Representation
474
+
475
+ end
476
+ end
477
+
478
+ class GoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource
479
+ # @private
480
+ class Representation < Google::Apis::Core::JsonRepresentation
481
+ property :account, as: 'account', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccount, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccount::Representation
482
+
483
+ property :android_app_data_stream, as: 'androidAppDataStream', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAndroidAppDataStream, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAndroidAppDataStream::Representation
484
+
485
+ property :conversion_event, as: 'conversionEvent', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaConversionEvent, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaConversionEvent::Representation
486
+
487
+ property :custom_dimension, as: 'customDimension', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension::Representation
488
+
489
+ property :custom_metric, as: 'customMetric', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric::Representation
490
+
491
+ property :firebase_link, as: 'firebaseLink', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFirebaseLink, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFirebaseLink::Representation
492
+
493
+ property :google_ads_link, as: 'googleAdsLink', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink::Representation
494
+
495
+ property :google_signals_settings, as: 'googleSignalsSettings', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleSignalsSettings, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleSignalsSettings::Representation
496
+
497
+ property :ios_app_data_stream, as: 'iosAppDataStream', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream::Representation
498
+
499
+ property :measurement_protocol_secret, as: 'measurementProtocolSecret', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
500
+
501
+ property :property, as: 'property', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty::Representation
502
+
503
+ property :web_data_stream, as: 'webDataStream', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaWebDataStream, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaWebDataStream::Representation
504
+
505
+ end
506
+ end
507
+
508
+ class GoogleAnalyticsAdminV1alphaChangeHistoryEvent
509
+ # @private
510
+ class Representation < Google::Apis::Core::JsonRepresentation
511
+ property :actor_type, as: 'actorType'
512
+ property :change_time, as: 'changeTime'
513
+ collection :changes, as: 'changes', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChangeHistoryChange, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChangeHistoryChange::Representation
514
+
515
+ property :changes_filtered, as: 'changesFiltered'
516
+ property :id, as: 'id'
517
+ property :user_actor_email, as: 'userActorEmail'
518
+ end
519
+ end
520
+
521
+ class GoogleAnalyticsAdminV1alphaConversionEvent
522
+ # @private
523
+ class Representation < Google::Apis::Core::JsonRepresentation
524
+ property :create_time, as: 'createTime'
525
+ property :event_name, as: 'eventName'
526
+ property :is_deletable, as: 'isDeletable'
527
+ property :name, as: 'name'
528
+ end
529
+ end
530
+
358
531
  class GoogleAnalyticsAdminV1alphaCreateUserLinkRequest
359
532
  # @private
360
533
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -365,6 +538,30 @@ module Google
365
538
  end
366
539
  end
367
540
 
541
+ class GoogleAnalyticsAdminV1alphaCustomDimension
542
+ # @private
543
+ class Representation < Google::Apis::Core::JsonRepresentation
544
+ property :description, as: 'description'
545
+ property :disallow_ads_personalization, as: 'disallowAdsPersonalization'
546
+ property :display_name, as: 'displayName'
547
+ property :name, as: 'name'
548
+ property :parameter_name, as: 'parameterName'
549
+ property :scope, as: 'scope'
550
+ end
551
+ end
552
+
553
+ class GoogleAnalyticsAdminV1alphaCustomMetric
554
+ # @private
555
+ class Representation < Google::Apis::Core::JsonRepresentation
556
+ property :description, as: 'description'
557
+ property :display_name, as: 'displayName'
558
+ property :measurement_unit, as: 'measurementUnit'
559
+ property :name, as: 'name'
560
+ property :parameter_name, as: 'parameterName'
561
+ property :scope, as: 'scope'
562
+ end
563
+ end
564
+
368
565
  class GoogleAnalyticsAdminV1alphaDataSharingSettings
369
566
  # @private
370
567
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -406,7 +603,6 @@ module Google
406
603
  # @private
407
604
  class Representation < Google::Apis::Core::JsonRepresentation
408
605
  property :create_time, as: 'createTime'
409
- property :maximum_user_access, as: 'maximumUserAccess'
410
606
  property :name, as: 'name'
411
607
  property :project, as: 'project'
412
608
  end
@@ -426,13 +622,22 @@ module Google
426
622
  property :ads_personalization_enabled, as: 'adsPersonalizationEnabled'
427
623
  property :can_manage_clients, as: 'canManageClients'
428
624
  property :create_time, as: 'createTime'
625
+ property :creator_email_address, as: 'creatorEmailAddress'
429
626
  property :customer_id, as: 'customerId'
430
- property :email_address, as: 'emailAddress'
431
627
  property :name, as: 'name'
432
628
  property :update_time, as: 'updateTime'
433
629
  end
434
630
  end
435
631
 
632
+ class GoogleAnalyticsAdminV1alphaGoogleSignalsSettings
633
+ # @private
634
+ class Representation < Google::Apis::Core::JsonRepresentation
635
+ property :consent, as: 'consent'
636
+ property :name, as: 'name'
637
+ property :state, as: 'state'
638
+ end
639
+ end
640
+
436
641
  class GoogleAnalyticsAdminV1alphaIosAppDataStream
437
642
  # @private
438
643
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -472,6 +677,33 @@ module Google
472
677
  end
473
678
  end
474
679
 
680
+ class GoogleAnalyticsAdminV1alphaListConversionEventsResponse
681
+ # @private
682
+ class Representation < Google::Apis::Core::JsonRepresentation
683
+ collection :conversion_events, as: 'conversionEvents', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaConversionEvent, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaConversionEvent::Representation
684
+
685
+ property :next_page_token, as: 'nextPageToken'
686
+ end
687
+ end
688
+
689
+ class GoogleAnalyticsAdminV1alphaListCustomDimensionsResponse
690
+ # @private
691
+ class Representation < Google::Apis::Core::JsonRepresentation
692
+ collection :custom_dimensions, as: 'customDimensions', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension::Representation
693
+
694
+ property :next_page_token, as: 'nextPageToken'
695
+ end
696
+ end
697
+
698
+ class GoogleAnalyticsAdminV1alphaListCustomMetricsResponse
699
+ # @private
700
+ class Representation < Google::Apis::Core::JsonRepresentation
701
+ collection :custom_metrics, as: 'customMetrics', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric::Representation
702
+
703
+ property :next_page_token, as: 'nextPageToken'
704
+ end
705
+ end
706
+
475
707
  class GoogleAnalyticsAdminV1alphaListFirebaseLinksResponse
476
708
  # @private
477
709
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -499,6 +731,15 @@ module Google
499
731
  end
500
732
  end
501
733
 
734
+ class GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse
735
+ # @private
736
+ class Representation < Google::Apis::Core::JsonRepresentation
737
+ collection :measurement_protocol_secrets, as: 'measurementProtocolSecrets', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
738
+
739
+ property :next_page_token, as: 'nextPageToken'
740
+ end
741
+ end
742
+
502
743
  class GoogleAnalyticsAdminV1alphaListPropertiesResponse
503
744
  # @private
504
745
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -526,13 +767,23 @@ module Google
526
767
  end
527
768
  end
528
769
 
770
+ class GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret
771
+ # @private
772
+ class Representation < Google::Apis::Core::JsonRepresentation
773
+ property :display_name, as: 'displayName'
774
+ property :name, as: 'name'
775
+ property :secret_value, as: 'secretValue'
776
+ end
777
+ end
778
+
529
779
  class GoogleAnalyticsAdminV1alphaProperty
530
780
  # @private
531
781
  class Representation < Google::Apis::Core::JsonRepresentation
532
782
  property :create_time, as: 'createTime'
533
783
  property :currency_code, as: 'currencyCode'
534
- property :deleted, as: 'deleted'
784
+ property :delete_time, as: 'deleteTime'
535
785
  property :display_name, as: 'displayName'
786
+ property :expire_time, as: 'expireTime'
536
787
  property :industry_category, as: 'industryCategory'
537
788
  property :name, as: 'name'
538
789
  property :parent, as: 'parent'
@@ -565,6 +816,29 @@ module Google
565
816
  end
566
817
  end
567
818
 
819
+ class GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest
820
+ # @private
821
+ class Representation < Google::Apis::Core::JsonRepresentation
822
+ collection :action, as: 'action'
823
+ collection :actor_email, as: 'actorEmail'
824
+ property :earliest_change_time, as: 'earliestChangeTime'
825
+ property :latest_change_time, as: 'latestChangeTime'
826
+ property :page_size, as: 'pageSize'
827
+ property :page_token, as: 'pageToken'
828
+ property :property, as: 'property'
829
+ collection :resource_type, as: 'resourceType'
830
+ end
831
+ end
832
+
833
+ class GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsResponse
834
+ # @private
835
+ class Representation < Google::Apis::Core::JsonRepresentation
836
+ collection :change_history_events, as: 'changeHistoryEvents', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChangeHistoryEvent, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChangeHistoryEvent::Representation
837
+
838
+ property :next_page_token, as: 'nextPageToken'
839
+ end
840
+ end
841
+
568
842
  class GoogleAnalyticsAdminV1alphaUpdateUserLinkRequest
569
843
  # @private
570
844
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -300,6 +300,40 @@ module Google
300
300
  execute_or_queue_command(command, &block)
301
301
  end
302
302
 
303
+ # Searches through all changes to an account or its children given the specified
304
+ # set of filters.
305
+ # @param [String] account
306
+ # Required. The account resource for which to return change history resources.
307
+ # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest] google_analytics_admin_v1alpha_search_change_history_events_request_object
308
+ # @param [String] fields
309
+ # Selector specifying which fields to include in a partial response.
310
+ # @param [String] quota_user
311
+ # Available to use for quota purposes for server-side applications. Can be any
312
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
313
+ # @param [Google::Apis::RequestOptions] options
314
+ # Request-specific options
315
+ #
316
+ # @yield [result, err] Result & error if block supplied
317
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsResponse] parsed result object
318
+ # @yieldparam err [StandardError] error object if request failed
319
+ #
320
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsResponse]
321
+ #
322
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
323
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
324
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
325
+ def search_account_change_history_events(account, google_analytics_admin_v1alpha_search_change_history_events_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
326
+ command = make_simple_command(:post, 'v1alpha/{+account}:searchChangeHistoryEvents', options)
327
+ command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest::Representation
328
+ command.request_object = google_analytics_admin_v1alpha_search_change_history_events_request_object
329
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsResponse::Representation
330
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsResponse
331
+ command.params['account'] = account unless account.nil?
332
+ command.query['fields'] = fields unless fields.nil?
333
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
334
+ execute_or_queue_command(command, &block)
335
+ end
336
+
303
337
  # Lists all user links on an account or property, including implicit ones that
304
338
  # come from effective permissions granted by groups or organization admin roles.
305
339
  # If a returned user link does not have direct permissions, they cannot be
@@ -624,7 +658,7 @@ module Google
624
658
 
625
659
  # Updates a user link on an account or property.
626
660
  # @param [String] name
627
- # Example format: properties/1234/userLinks/5678
661
+ # Output only. Example format: properties/1234/userLinks/5678
628
662
  # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink] google_analytics_admin_v1alpha_user_link_object
629
663
  # @param [String] fields
630
664
  # Selector specifying which fields to include in a partial response.
@@ -704,18 +738,18 @@ module Google
704
738
  # Request-specific options
705
739
  #
706
740
  # @yield [result, err] Result & error if block supplied
707
- # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty] parsed result object
741
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty] parsed result object
708
742
  # @yieldparam err [StandardError] error object if request failed
709
743
  #
710
- # @return [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty]
744
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty]
711
745
  #
712
746
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
713
747
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
714
748
  # @raise [Google::Apis::AuthorizationError] Authorization is required
715
749
  def delete_property(name, fields: nil, quota_user: nil, options: nil, &block)
716
750
  command = make_simple_command(:delete, 'v1alpha/{+name}', options)
717
- command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty::Representation
718
- command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty
751
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty::Representation
752
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty
719
753
  command.params['name'] = name unless name.nil?
720
754
  command.query['fields'] = fields unless fields.nil?
721
755
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -753,6 +787,37 @@ module Google
753
787
  execute_or_queue_command(command, &block)
754
788
  end
755
789
 
790
+ # Lookup for Google Signals settings for a property.
791
+ # @param [String] name
792
+ # Required. The name of the google signals settings to retrieve. Format:
793
+ # properties/`property`/googleSignalsSettings
794
+ # @param [String] fields
795
+ # Selector specifying which fields to include in a partial response.
796
+ # @param [String] quota_user
797
+ # Available to use for quota purposes for server-side applications. Can be any
798
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
799
+ # @param [Google::Apis::RequestOptions] options
800
+ # Request-specific options
801
+ #
802
+ # @yield [result, err] Result & error if block supplied
803
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleSignalsSettings] parsed result object
804
+ # @yieldparam err [StandardError] error object if request failed
805
+ #
806
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleSignalsSettings]
807
+ #
808
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
809
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
810
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
811
+ def get_property_google_signals_settings(name, fields: nil, quota_user: nil, options: nil, &block)
812
+ command = make_simple_command(:get, 'v1alpha/{+name}', options)
813
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleSignalsSettings::Representation
814
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleSignalsSettings
815
+ command.params['name'] = name unless name.nil?
816
+ command.query['fields'] = fields unless fields.nil?
817
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
818
+ execute_or_queue_command(command, &block)
819
+ end
820
+
756
821
  # Returns child Properties under the specified parent Account. Only "GA4"
757
822
  # properties will be returned. Properties will be excluded if the caller does
758
823
  # not have access. Soft-deleted (ie: "trashed") properties are excluded by
@@ -847,16 +912,15 @@ module Google
847
912
  execute_or_queue_command(command, &block)
848
913
  end
849
914
 
850
- # Creates an Android app stream with the specified location and attributes. Note
851
- # that an Android app stream must be linked to a Firebase app to receive traffic.
852
- # To create a working app stream, make sure your property is linked to a
853
- # Firebase project. Then, use the Firebase API to create a Firebase app, which
854
- # will also create an appropriate data stream in Analytics (may take up to 24
855
- # hours).
856
- # @param [String] parent
857
- # Required. The parent resource where this android app data stream will be
858
- # created. Format: properties/123
859
- # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAndroidAppDataStream] google_analytics_admin_v1alpha_android_app_data_stream_object
915
+ # Updates Google Signals settings for a property.
916
+ # @param [String] name
917
+ # Output only. Resource name of this setting. Format: properties/`property_id`/
918
+ # googleSignalsSettings Example: "properties/1000/googleSignalsSettings"
919
+ # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleSignalsSettings] google_analytics_admin_v1alpha_google_signals_settings_object
920
+ # @param [String] update_mask
921
+ # Required. The list of fields to be updated. Field names must be in snake case (
922
+ # e.g., "field_to_update"). Omitted fields will not be updated. To replace the
923
+ # entire entity, use one path with the string "*" to match all fields.
860
924
  # @param [String] fields
861
925
  # Selector specifying which fields to include in a partial response.
862
926
  # @param [String] quota_user
@@ -866,21 +930,22 @@ module Google
866
930
  # Request-specific options
867
931
  #
868
932
  # @yield [result, err] Result & error if block supplied
869
- # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAndroidAppDataStream] parsed result object
933
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleSignalsSettings] parsed result object
870
934
  # @yieldparam err [StandardError] error object if request failed
871
935
  #
872
- # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAndroidAppDataStream]
936
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleSignalsSettings]
873
937
  #
874
938
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
875
939
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
876
940
  # @raise [Google::Apis::AuthorizationError] Authorization is required
877
- def create_property_android_app_data_stream(parent, google_analytics_admin_v1alpha_android_app_data_stream_object = nil, fields: nil, quota_user: nil, options: nil, &block)
878
- command = make_simple_command(:post, 'v1alpha/{+parent}/androidAppDataStreams', options)
879
- command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAndroidAppDataStream::Representation
880
- command.request_object = google_analytics_admin_v1alpha_android_app_data_stream_object
881
- command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAndroidAppDataStream::Representation
882
- command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAndroidAppDataStream
883
- command.params['parent'] = parent unless parent.nil?
941
+ def update_property_google_signals_settings(name, google_analytics_admin_v1alpha_google_signals_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
942
+ command = make_simple_command(:patch, 'v1alpha/{+name}', options)
943
+ command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleSignalsSettings::Representation
944
+ command.request_object = google_analytics_admin_v1alpha_google_signals_settings_object
945
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleSignalsSettings::Representation
946
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleSignalsSettings
947
+ command.params['name'] = name unless name.nil?
948
+ command.query['updateMask'] = update_mask unless update_mask.nil?
884
949
  command.query['fields'] = fields unless fields.nil?
885
950
  command.query['quotaUser'] = quota_user unless quota_user.nil?
886
951
  execute_or_queue_command(command, &block)
@@ -1033,10 +1098,12 @@ module Google
1033
1098
  execute_or_queue_command(command, &block)
1034
1099
  end
1035
1100
 
1036
- # Creates a FirebaseLink. Properties can have at most one FirebaseLink.
1101
+ # Creates a measurement protocol secret.
1037
1102
  # @param [String] parent
1038
- # Required. Format: properties/`property_id` Example: properties/1234
1039
- # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFirebaseLink] google_analytics_admin_v1alpha_firebase_link_object
1103
+ # Required. The parent resource where this secret will be created. Any type of
1104
+ # stream (WebDataStream, IosAppDataStream, AndroidAppDataStream) may be a parent.
1105
+ # Format: properties/`property`/webDataStreams/`webDataStream`
1106
+ # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] google_analytics_admin_v1alpha_measurement_protocol_secret_object
1040
1107
  # @param [String] fields
1041
1108
  # Selector specifying which fields to include in a partial response.
1042
1109
  # @param [String] quota_user
@@ -1046,30 +1113,32 @@ module Google
1046
1113
  # Request-specific options
1047
1114
  #
1048
1115
  # @yield [result, err] Result & error if block supplied
1049
- # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFirebaseLink] parsed result object
1116
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] parsed result object
1050
1117
  # @yieldparam err [StandardError] error object if request failed
1051
1118
  #
1052
- # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFirebaseLink]
1119
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret]
1053
1120
  #
1054
1121
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1055
1122
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1056
1123
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1057
- def create_property_firebase_link(parent, google_analytics_admin_v1alpha_firebase_link_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1058
- command = make_simple_command(:post, 'v1alpha/{+parent}/firebaseLinks', options)
1059
- command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFirebaseLink::Representation
1060
- command.request_object = google_analytics_admin_v1alpha_firebase_link_object
1061
- command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFirebaseLink::Representation
1062
- command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFirebaseLink
1124
+ 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)
1125
+ command = make_simple_command(:post, 'v1alpha/{+parent}/measurementProtocolSecrets', options)
1126
+ command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
1127
+ command.request_object = google_analytics_admin_v1alpha_measurement_protocol_secret_object
1128
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
1129
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret
1063
1130
  command.params['parent'] = parent unless parent.nil?
1064
1131
  command.query['fields'] = fields unless fields.nil?
1065
1132
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1066
1133
  execute_or_queue_command(command, &block)
1067
1134
  end
1068
1135
 
1069
- # Deletes a FirebaseLink on a property
1136
+ # Deletes target MeasurementProtocolSecret.
1070
1137
  # @param [String] name
1071
- # Required. Format: properties/`property_id`/firebaseLinks/`firebase_link_id`
1072
- # Example: properties/1234/firebaseLinks/5678
1138
+ # Required. The name of the MeasurementProtocolSecret to delete. Format:
1139
+ # properties/`property`/webDataStreams/`webDataStream`/
1140
+ # measurementProtocolSecrets/`measurementProtocolSecret` Note: Any type of
1141
+ # stream (WebDataStream, IosAppDataStream, AndroidAppDataStream) may be a parent.
1073
1142
  # @param [String] fields
1074
1143
  # Selector specifying which fields to include in a partial response.
1075
1144
  # @param [String] quota_user
@@ -1087,7 +1156,7 @@ module Google
1087
1156
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1088
1157
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1089
1158
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1090
- def delete_property_firebase_link(name, fields: nil, quota_user: nil, options: nil, &block)
1159
+ def delete_property_android_app_data_stream_measurement_protocol_secret(name, fields: nil, quota_user: nil, options: nil, &block)
1091
1160
  command = make_simple_command(:delete, 'v1alpha/{+name}', options)
1092
1161
  command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty::Representation
1093
1162
  command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty
@@ -1097,19 +1166,54 @@ module Google
1097
1166
  execute_or_queue_command(command, &block)
1098
1167
  end
1099
1168
 
1100
- # Lists FirebaseLinks on a property. Properties can have at most one
1101
- # FirebaseLink.
1169
+ # Lookup for a single "GA4" MeasurementProtocolSecret.
1170
+ # @param [String] name
1171
+ # Required. The name of the measurement protocol secret to lookup. Format:
1172
+ # properties/`property`/webDataStreams/`webDataStream`/
1173
+ # measurementProtocolSecrets/`measurementProtocolSecret` Note: Any type of
1174
+ # stream (WebDataStream, IosAppDataStream, AndroidAppDataStream) may be a parent.
1175
+ # @param [String] fields
1176
+ # Selector specifying which fields to include in a partial response.
1177
+ # @param [String] quota_user
1178
+ # Available to use for quota purposes for server-side applications. Can be any
1179
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1180
+ # @param [Google::Apis::RequestOptions] options
1181
+ # Request-specific options
1182
+ #
1183
+ # @yield [result, err] Result & error if block supplied
1184
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] parsed result object
1185
+ # @yieldparam err [StandardError] error object if request failed
1186
+ #
1187
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret]
1188
+ #
1189
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1190
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1191
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1192
+ def get_property_android_app_data_stream_measurement_protocol_secret(name, fields: nil, quota_user: nil, options: nil, &block)
1193
+ command = make_simple_command(:get, 'v1alpha/{+name}', options)
1194
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
1195
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret
1196
+ command.params['name'] = name unless name.nil?
1197
+ command.query['fields'] = fields unless fields.nil?
1198
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1199
+ execute_or_queue_command(command, &block)
1200
+ end
1201
+
1202
+ # Returns child MeasurementProtocolSecrets under the specified parent Property.
1102
1203
  # @param [String] parent
1103
- # Required. Format: properties/`property_id` Example: properties/1234
1204
+ # Required. The resource name of the parent stream. Any type of stream (
1205
+ # WebDataStream, IosAppDataStream, AndroidAppDataStream) may be a parent. Format:
1206
+ # properties/`property`/webDataStreams/`webDataStream`/
1207
+ # measurementProtocolSecrets
1104
1208
  # @param [Fixnum] page_size
1105
- # The maximum number of resources to return. The service may return fewer than
1106
- # this value, even if there are additional pages. If unspecified, at most 50
1107
- # resources will be returned. The maximum value is 200; (higher values will be
1108
- # coerced to the maximum)
1209
+ # The maximum number of resources to return. If unspecified, at most 10
1210
+ # resources will be returned. The maximum value is 10. Higher values will be
1211
+ # coerced to the maximum.
1109
1212
  # @param [String] page_token
1110
- # A page token, received from a previous `ListFirebaseLinks` call. Provide this
1111
- # to retrieve the subsequent page. When paginating, all other parameters
1112
- # provided to `ListProperties` must match the call that provided the page token.
1213
+ # A page token, received from a previous `ListMeasurementProtocolSecrets` call.
1214
+ # Provide this to retrieve the subsequent page. When paginating, all other
1215
+ # parameters provided to `ListMeasurementProtocolSecrets` must match the call
1216
+ # that provided the page token.
1113
1217
  # @param [String] fields
1114
1218
  # Selector specifying which fields to include in a partial response.
1115
1219
  # @param [String] quota_user
@@ -1119,18 +1223,18 @@ module Google
1119
1223
  # Request-specific options
1120
1224
  #
1121
1225
  # @yield [result, err] Result & error if block supplied
1122
- # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListFirebaseLinksResponse] parsed result object
1226
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse] parsed result object
1123
1227
  # @yieldparam err [StandardError] error object if request failed
1124
1228
  #
1125
- # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListFirebaseLinksResponse]
1229
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse]
1126
1230
  #
1127
1231
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1128
1232
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1129
1233
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1130
- def list_property_firebase_links(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1131
- command = make_simple_command(:get, 'v1alpha/{+parent}/firebaseLinks', options)
1132
- command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListFirebaseLinksResponse::Representation
1133
- command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListFirebaseLinksResponse
1234
+ 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)
1235
+ command = make_simple_command(:get, 'v1alpha/{+parent}/measurementProtocolSecrets', options)
1236
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse::Representation
1237
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse
1134
1238
  command.params['parent'] = parent unless parent.nil?
1135
1239
  command.query['pageSize'] = page_size unless page_size.nil?
1136
1240
  command.query['pageToken'] = page_token unless page_token.nil?
@@ -1139,14 +1243,14 @@ module Google
1139
1243
  execute_or_queue_command(command, &block)
1140
1244
  end
1141
1245
 
1142
- # Updates a FirebaseLink on a property
1246
+ # Updates a measurement protocol secret.
1143
1247
  # @param [String] name
1144
- # Output only. Example format: properties/1234/firebaseLinks/5678
1145
- # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFirebaseLink] google_analytics_admin_v1alpha_firebase_link_object
1248
+ # Output only. Resource name of this secret. This secret may be a child of any
1249
+ # type of stream. Format: properties/`property`/webDataStreams/`webDataStream`/
1250
+ # measurementProtocolSecrets/`measurementProtocolSecret`
1251
+ # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] google_analytics_admin_v1alpha_measurement_protocol_secret_object
1146
1252
  # @param [String] update_mask
1147
- # Required. The list of fields to be updated. Field names must be in snake case (
1148
- # e.g., "field_to_update"). Omitted fields will not be updated. To replace the
1149
- # entire entity, use one path with the string "*" to match all fields.
1253
+ # The list of fields to be updated. Omitted fields will not be updated.
1150
1254
  # @param [String] fields
1151
1255
  # Selector specifying which fields to include in a partial response.
1152
1256
  # @param [String] quota_user
@@ -1156,20 +1260,20 @@ module Google
1156
1260
  # Request-specific options
1157
1261
  #
1158
1262
  # @yield [result, err] Result & error if block supplied
1159
- # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFirebaseLink] parsed result object
1263
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] parsed result object
1160
1264
  # @yieldparam err [StandardError] error object if request failed
1161
1265
  #
1162
- # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFirebaseLink]
1266
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret]
1163
1267
  #
1164
1268
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1165
1269
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1166
1270
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1167
- def patch_property_firebase_link(name, google_analytics_admin_v1alpha_firebase_link_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
1271
+ 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)
1168
1272
  command = make_simple_command(:patch, 'v1alpha/{+name}', options)
1169
- command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFirebaseLink::Representation
1170
- command.request_object = google_analytics_admin_v1alpha_firebase_link_object
1171
- command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFirebaseLink::Representation
1172
- command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFirebaseLink
1273
+ command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
1274
+ command.request_object = google_analytics_admin_v1alpha_measurement_protocol_secret_object
1275
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
1276
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret
1173
1277
  command.params['name'] = name unless name.nil?
1174
1278
  command.query['updateMask'] = update_mask unless update_mask.nil?
1175
1279
  command.query['fields'] = fields unless fields.nil?
@@ -1177,10 +1281,11 @@ module Google
1177
1281
  execute_or_queue_command(command, &block)
1178
1282
  end
1179
1283
 
1180
- # Creates a GoogleAdsLink.
1284
+ # Creates a conversion event with the specified attributes.
1181
1285
  # @param [String] parent
1182
- # Required. Example format: properties/1234
1183
- # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink] google_analytics_admin_v1alpha_google_ads_link_object
1286
+ # Required. The resource name of the parent property where this conversion event
1287
+ # will be created. Format: properties/123
1288
+ # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaConversionEvent] google_analytics_admin_v1alpha_conversion_event_object
1184
1289
  # @param [String] fields
1185
1290
  # Selector specifying which fields to include in a partial response.
1186
1291
  # @param [String] quota_user
@@ -1190,29 +1295,31 @@ module Google
1190
1295
  # Request-specific options
1191
1296
  #
1192
1297
  # @yield [result, err] Result & error if block supplied
1193
- # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink] parsed result object
1298
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaConversionEvent] parsed result object
1194
1299
  # @yieldparam err [StandardError] error object if request failed
1195
1300
  #
1196
- # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink]
1301
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaConversionEvent]
1197
1302
  #
1198
1303
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1199
1304
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1200
1305
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1201
- def create_property_google_ads_link(parent, google_analytics_admin_v1alpha_google_ads_link_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1202
- command = make_simple_command(:post, 'v1alpha/{+parent}/googleAdsLinks', options)
1203
- command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink::Representation
1204
- command.request_object = google_analytics_admin_v1alpha_google_ads_link_object
1205
- command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink::Representation
1206
- command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink
1306
+ def create_property_conversion_event(parent, google_analytics_admin_v1alpha_conversion_event_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1307
+ command = make_simple_command(:post, 'v1alpha/{+parent}/conversionEvents', options)
1308
+ command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaConversionEvent::Representation
1309
+ command.request_object = google_analytics_admin_v1alpha_conversion_event_object
1310
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaConversionEvent::Representation
1311
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaConversionEvent
1207
1312
  command.params['parent'] = parent unless parent.nil?
1208
1313
  command.query['fields'] = fields unless fields.nil?
1209
1314
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1210
1315
  execute_or_queue_command(command, &block)
1211
1316
  end
1212
1317
 
1213
- # Deletes a GoogleAdsLink on a property
1318
+ # Deletes a conversion event in a property.
1214
1319
  # @param [String] name
1215
- # Required. Example format: properties/1234/googleAdsLinks/5678
1320
+ # Required. The resource name of the conversion event to delete. Format:
1321
+ # properties/`property`/conversionEvents/`conversion_event` Example: "properties/
1322
+ # 123/conversionEvents/456"
1216
1323
  # @param [String] fields
1217
1324
  # Selector specifying which fields to include in a partial response.
1218
1325
  # @param [String] quota_user
@@ -1230,7 +1337,7 @@ module Google
1230
1337
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1231
1338
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1232
1339
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1233
- def delete_property_google_ads_link(name, fields: nil, quota_user: nil, options: nil, &block)
1340
+ def delete_property_conversion_event(name, fields: nil, quota_user: nil, options: nil, &block)
1234
1341
  command = make_simple_command(:delete, 'v1alpha/{+name}', options)
1235
1342
  command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty::Representation
1236
1343
  command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty
@@ -1240,18 +1347,11 @@ module Google
1240
1347
  execute_or_queue_command(command, &block)
1241
1348
  end
1242
1349
 
1243
- # Lists GoogleAdsLinks on a property.
1244
- # @param [String] parent
1245
- # Required. Example format: properties/1234
1246
- # @param [Fixnum] page_size
1247
- # The maximum number of resources to return. If unspecified, at most 50
1248
- # resources will be returned. The maximum value is 200 (higher values will be
1249
- # coerced to the maximum).
1250
- # @param [String] page_token
1251
- # A page token, received from a previous `ListGoogleAdsLinks` call. Provide this
1252
- # to retrieve the subsequent page. When paginating, all other parameters
1253
- # provided to `ListGoogleAdsLinks` must match the call that provided the page
1254
- # token.
1350
+ # Retrieve a single conversion event.
1351
+ # @param [String] name
1352
+ # Required. The resource name of the conversion event to retrieve. Format:
1353
+ # properties/`property`/conversionEvents/`conversion_event` Example: "properties/
1354
+ # 123/conversionEvents/456"
1255
1355
  # @param [String] fields
1256
1356
  # Selector specifying which fields to include in a partial response.
1257
1357
  # @param [String] quota_user
@@ -1261,35 +1361,37 @@ module Google
1261
1361
  # Request-specific options
1262
1362
  #
1263
1363
  # @yield [result, err] Result & error if block supplied
1264
- # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListGoogleAdsLinksResponse] parsed result object
1364
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaConversionEvent] parsed result object
1265
1365
  # @yieldparam err [StandardError] error object if request failed
1266
1366
  #
1267
- # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListGoogleAdsLinksResponse]
1367
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaConversionEvent]
1268
1368
  #
1269
1369
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1270
1370
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1271
1371
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1272
- def list_property_google_ads_links(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1273
- command = make_simple_command(:get, 'v1alpha/{+parent}/googleAdsLinks', options)
1274
- command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListGoogleAdsLinksResponse::Representation
1275
- command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListGoogleAdsLinksResponse
1276
- command.params['parent'] = parent unless parent.nil?
1277
- command.query['pageSize'] = page_size unless page_size.nil?
1278
- command.query['pageToken'] = page_token unless page_token.nil?
1372
+ def get_property_conversion_event(name, fields: nil, quota_user: nil, options: nil, &block)
1373
+ command = make_simple_command(:get, 'v1alpha/{+name}', options)
1374
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaConversionEvent::Representation
1375
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaConversionEvent
1376
+ command.params['name'] = name unless name.nil?
1279
1377
  command.query['fields'] = fields unless fields.nil?
1280
1378
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1281
1379
  execute_or_queue_command(command, &block)
1282
1380
  end
1283
1381
 
1284
- # Updates a GoogleAdsLink on a property
1285
- # @param [String] name
1286
- # Output only. Format: properties/`propertyId`/googleAdsLinks/`googleAdsLinkId`
1287
- # Note: googleAdsLinkId is not the Google Ads customer ID.
1288
- # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink] google_analytics_admin_v1alpha_google_ads_link_object
1289
- # @param [String] update_mask
1290
- # Required. The list of fields to be updated. Field names must be in snake case (
1291
- # e.g., "field_to_update"). Omitted fields will not be updated. To replace the
1292
- # entire entity, use one path with the string "*" to match all fields.
1382
+ # Returns a list of conversion events in the specified parent property. Returns
1383
+ # an empty list if no conversion events are found.
1384
+ # @param [String] parent
1385
+ # Required. The resource name of the parent property. Example: 'properties/123'
1386
+ # @param [Fixnum] page_size
1387
+ # The maximum number of resources to return. If unspecified, at most 50
1388
+ # resources will be returned. The maximum value is 200; (higher values will be
1389
+ # coerced to the maximum)
1390
+ # @param [String] page_token
1391
+ # A page token, received from a previous `ListConversionEvents` call. Provide
1392
+ # this to retrieve the subsequent page. When paginating, all other parameters
1393
+ # provided to `ListConversionEvents` must match the call that provided the page
1394
+ # token.
1293
1395
  # @param [String] fields
1294
1396
  # Selector specifying which fields to include in a partial response.
1295
1397
  # @param [String] quota_user
@@ -1299,36 +1401,31 @@ module Google
1299
1401
  # Request-specific options
1300
1402
  #
1301
1403
  # @yield [result, err] Result & error if block supplied
1302
- # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink] parsed result object
1404
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListConversionEventsResponse] parsed result object
1303
1405
  # @yieldparam err [StandardError] error object if request failed
1304
1406
  #
1305
- # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink]
1407
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListConversionEventsResponse]
1306
1408
  #
1307
1409
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1308
1410
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1309
1411
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1310
- def patch_property_google_ads_link(name, google_analytics_admin_v1alpha_google_ads_link_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
1311
- command = make_simple_command(:patch, 'v1alpha/{+name}', options)
1312
- command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink::Representation
1313
- command.request_object = google_analytics_admin_v1alpha_google_ads_link_object
1314
- command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink::Representation
1315
- command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink
1316
- command.params['name'] = name unless name.nil?
1317
- command.query['updateMask'] = update_mask unless update_mask.nil?
1412
+ def list_property_conversion_events(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1413
+ command = make_simple_command(:get, 'v1alpha/{+parent}/conversionEvents', options)
1414
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListConversionEventsResponse::Representation
1415
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListConversionEventsResponse
1416
+ command.params['parent'] = parent unless parent.nil?
1417
+ command.query['pageSize'] = page_size unless page_size.nil?
1418
+ command.query['pageToken'] = page_token unless page_token.nil?
1318
1419
  command.query['fields'] = fields unless fields.nil?
1319
1420
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1320
1421
  execute_or_queue_command(command, &block)
1321
1422
  end
1322
1423
 
1323
- # Creates an iOS app stream with the specified location and attributes. Note
1324
- # that an iOS app stream must be linked to a Firebase app to receive traffic. To
1325
- # create a working app stream, make sure your property is linked to a Firebase
1326
- # project. Then, use the Firebase API to create a Firebase app, which will also
1327
- # create an appropriate data stream in Analytics (may take up to 24 hours).
1328
- # @param [String] parent
1329
- # Required. The parent resource where this ios app data stream will be created.
1330
- # Format: properties/123
1331
- # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream] google_analytics_admin_v1alpha_ios_app_data_stream_object
1424
+ # Archives a CustomDimension on a property.
1425
+ # @param [String] name
1426
+ # Required. The name of the CustomDimension to archive. Example format:
1427
+ # properties/1234/customDimensions/5678
1428
+ # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaArchiveCustomDimensionRequest] google_analytics_admin_v1alpha_archive_custom_dimension_request_object
1332
1429
  # @param [String] fields
1333
1430
  # Selector specifying which fields to include in a partial response.
1334
1431
  # @param [String] quota_user
@@ -1338,31 +1435,30 @@ module Google
1338
1435
  # Request-specific options
1339
1436
  #
1340
1437
  # @yield [result, err] Result & error if block supplied
1341
- # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream] parsed result object
1438
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty] parsed result object
1342
1439
  # @yieldparam err [StandardError] error object if request failed
1343
1440
  #
1344
- # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream]
1441
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty]
1345
1442
  #
1346
1443
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1347
1444
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1348
1445
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1349
- def create_property_ios_app_data_stream(parent, google_analytics_admin_v1alpha_ios_app_data_stream_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1350
- command = make_simple_command(:post, 'v1alpha/{+parent}/iosAppDataStreams', options)
1351
- command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream::Representation
1352
- command.request_object = google_analytics_admin_v1alpha_ios_app_data_stream_object
1353
- command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream::Representation
1354
- command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream
1355
- command.params['parent'] = parent unless parent.nil?
1446
+ def archive_property_custom_dimension(name, google_analytics_admin_v1alpha_archive_custom_dimension_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1447
+ command = make_simple_command(:post, 'v1alpha/{+name}:archive', options)
1448
+ command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaArchiveCustomDimensionRequest::Representation
1449
+ command.request_object = google_analytics_admin_v1alpha_archive_custom_dimension_request_object
1450
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty::Representation
1451
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty
1452
+ command.params['name'] = name unless name.nil?
1356
1453
  command.query['fields'] = fields unless fields.nil?
1357
1454
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1358
1455
  execute_or_queue_command(command, &block)
1359
1456
  end
1360
1457
 
1361
- # Deletes an iOS app stream on a property.
1362
- # @param [String] name
1363
- # Required. The name of the iOS app data stream to delete. Format: properties/`
1364
- # property_id`/iosAppDataStreams/`stream_id` Example: "properties/123/
1365
- # iosAppDataStreams/456"
1458
+ # Creates a CustomDimension.
1459
+ # @param [String] parent
1460
+ # Required. Example format: properties/1234
1461
+ # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension] google_analytics_admin_v1alpha_custom_dimension_object
1366
1462
  # @param [String] fields
1367
1463
  # Selector specifying which fields to include in a partial response.
1368
1464
  # @param [String] quota_user
@@ -1372,29 +1468,30 @@ module Google
1372
1468
  # Request-specific options
1373
1469
  #
1374
1470
  # @yield [result, err] Result & error if block supplied
1375
- # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty] parsed result object
1471
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension] parsed result object
1376
1472
  # @yieldparam err [StandardError] error object if request failed
1377
1473
  #
1378
- # @return [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty]
1474
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension]
1379
1475
  #
1380
1476
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1381
1477
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1382
1478
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1383
- def delete_property_ios_app_data_stream(name, fields: nil, quota_user: nil, options: nil, &block)
1384
- command = make_simple_command(:delete, 'v1alpha/{+name}', options)
1385
- command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty::Representation
1386
- command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty
1387
- command.params['name'] = name unless name.nil?
1479
+ def create_property_custom_dimension(parent, google_analytics_admin_v1alpha_custom_dimension_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1480
+ command = make_simple_command(:post, 'v1alpha/{+parent}/customDimensions', options)
1481
+ command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension::Representation
1482
+ command.request_object = google_analytics_admin_v1alpha_custom_dimension_object
1483
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension::Representation
1484
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension
1485
+ command.params['parent'] = parent unless parent.nil?
1388
1486
  command.query['fields'] = fields unless fields.nil?
1389
1487
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1390
1488
  execute_or_queue_command(command, &block)
1391
1489
  end
1392
1490
 
1393
- # Lookup for a single IosAppDataStream
1491
+ # Lookup for a single CustomDimension.
1394
1492
  # @param [String] name
1395
- # Required. The name of the iOS app data stream to lookup. Format: properties/`
1396
- # property_id`/iosAppDataStreams/`stream_id` Example: "properties/123/
1397
- # iosAppDataStreams/456"
1493
+ # Required. The name of the CustomDimension to get. Example format: properties/
1494
+ # 1234/customDimensions/5678
1398
1495
  # @param [String] fields
1399
1496
  # Selector specifying which fields to include in a partial response.
1400
1497
  # @param [String] quota_user
@@ -1404,38 +1501,35 @@ module Google
1404
1501
  # Request-specific options
1405
1502
  #
1406
1503
  # @yield [result, err] Result & error if block supplied
1407
- # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream] parsed result object
1504
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension] parsed result object
1408
1505
  # @yieldparam err [StandardError] error object if request failed
1409
1506
  #
1410
- # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream]
1507
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension]
1411
1508
  #
1412
1509
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1413
1510
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1414
1511
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1415
- def get_property_ios_app_data_stream(name, fields: nil, quota_user: nil, options: nil, &block)
1512
+ def get_property_custom_dimension(name, fields: nil, quota_user: nil, options: nil, &block)
1416
1513
  command = make_simple_command(:get, 'v1alpha/{+name}', options)
1417
- command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream::Representation
1418
- command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream
1514
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension::Representation
1515
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension
1419
1516
  command.params['name'] = name unless name.nil?
1420
1517
  command.query['fields'] = fields unless fields.nil?
1421
1518
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1422
1519
  execute_or_queue_command(command, &block)
1423
1520
  end
1424
1521
 
1425
- # Returns child iOS app data streams under the specified parent property. iOS
1426
- # app data streams will be excluded if the caller does not have access. Returns
1427
- # an empty list if no relevant iOS app data streams are found.
1522
+ # Lists CustomDimensions on a property.
1428
1523
  # @param [String] parent
1429
- # Required. The name of the parent property. For example, to list results of app
1430
- # streams under the property with Id 123: "properties/123"
1524
+ # Required. Example format: properties/1234
1431
1525
  # @param [Fixnum] page_size
1432
1526
  # The maximum number of resources to return. If unspecified, at most 50
1433
- # resources will be returned. The maximum value is 200; (higher values will be
1434
- # coerced to the maximum)
1527
+ # resources will be returned. The maximum value is 200 (higher values will be
1528
+ # coerced to the maximum).
1435
1529
  # @param [String] page_token
1436
- # A page token, received from a previous `ListIosAppDataStreams` call. Provide
1530
+ # A page token, received from a previous `ListCustomDimensions` call. Provide
1437
1531
  # this to retrieve the subsequent page. When paginating, all other parameters
1438
- # provided to `ListIosAppDataStreams` must match the call that provided the page
1532
+ # provided to `ListCustomDimensions` must match the call that provided the page
1439
1533
  # token.
1440
1534
  # @param [String] fields
1441
1535
  # Selector specifying which fields to include in a partial response.
@@ -1446,7 +1540,619 @@ module Google
1446
1540
  # Request-specific options
1447
1541
  #
1448
1542
  # @yield [result, err] Result & error if block supplied
1449
- # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListIosAppDataStreamsResponse] parsed result object
1543
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListCustomDimensionsResponse] parsed result object
1544
+ # @yieldparam err [StandardError] error object if request failed
1545
+ #
1546
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListCustomDimensionsResponse]
1547
+ #
1548
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1549
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1550
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1551
+ def list_property_custom_dimensions(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1552
+ command = make_simple_command(:get, 'v1alpha/{+parent}/customDimensions', options)
1553
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListCustomDimensionsResponse::Representation
1554
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListCustomDimensionsResponse
1555
+ command.params['parent'] = parent unless parent.nil?
1556
+ command.query['pageSize'] = page_size unless page_size.nil?
1557
+ command.query['pageToken'] = page_token unless page_token.nil?
1558
+ command.query['fields'] = fields unless fields.nil?
1559
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1560
+ execute_or_queue_command(command, &block)
1561
+ end
1562
+
1563
+ # Updates a CustomDimension on a property.
1564
+ # @param [String] name
1565
+ # Output only. Resource name for this CustomDimension resource. Format:
1566
+ # properties/`property`/customDimensions/`customDimension`
1567
+ # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension] google_analytics_admin_v1alpha_custom_dimension_object
1568
+ # @param [String] update_mask
1569
+ # Required. The list of fields to be updated. Omitted fields will not be updated.
1570
+ # To replace the entire entity, use one path with the string "*" to match all
1571
+ # fields.
1572
+ # @param [String] fields
1573
+ # Selector specifying which fields to include in a partial response.
1574
+ # @param [String] quota_user
1575
+ # Available to use for quota purposes for server-side applications. Can be any
1576
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1577
+ # @param [Google::Apis::RequestOptions] options
1578
+ # Request-specific options
1579
+ #
1580
+ # @yield [result, err] Result & error if block supplied
1581
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension] parsed result object
1582
+ # @yieldparam err [StandardError] error object if request failed
1583
+ #
1584
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension]
1585
+ #
1586
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1587
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1588
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1589
+ def patch_property_custom_dimension(name, google_analytics_admin_v1alpha_custom_dimension_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
1590
+ command = make_simple_command(:patch, 'v1alpha/{+name}', options)
1591
+ command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension::Representation
1592
+ command.request_object = google_analytics_admin_v1alpha_custom_dimension_object
1593
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension::Representation
1594
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension
1595
+ command.params['name'] = name unless name.nil?
1596
+ command.query['updateMask'] = update_mask unless update_mask.nil?
1597
+ command.query['fields'] = fields unless fields.nil?
1598
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1599
+ execute_or_queue_command(command, &block)
1600
+ end
1601
+
1602
+ # Archives a CustomMetric on a property.
1603
+ # @param [String] name
1604
+ # Required. The name of the CustomMetric to archive. Example format: properties/
1605
+ # 1234/customMetrics/5678
1606
+ # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaArchiveCustomMetricRequest] google_analytics_admin_v1alpha_archive_custom_metric_request_object
1607
+ # @param [String] fields
1608
+ # Selector specifying which fields to include in a partial response.
1609
+ # @param [String] quota_user
1610
+ # Available to use for quota purposes for server-side applications. Can be any
1611
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1612
+ # @param [Google::Apis::RequestOptions] options
1613
+ # Request-specific options
1614
+ #
1615
+ # @yield [result, err] Result & error if block supplied
1616
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty] parsed result object
1617
+ # @yieldparam err [StandardError] error object if request failed
1618
+ #
1619
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty]
1620
+ #
1621
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1622
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1623
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1624
+ def archive_property_custom_metric(name, google_analytics_admin_v1alpha_archive_custom_metric_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1625
+ command = make_simple_command(:post, 'v1alpha/{+name}:archive', options)
1626
+ command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaArchiveCustomMetricRequest::Representation
1627
+ command.request_object = google_analytics_admin_v1alpha_archive_custom_metric_request_object
1628
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty::Representation
1629
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty
1630
+ command.params['name'] = name unless name.nil?
1631
+ command.query['fields'] = fields unless fields.nil?
1632
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1633
+ execute_or_queue_command(command, &block)
1634
+ end
1635
+
1636
+ # Creates a CustomMetric.
1637
+ # @param [String] parent
1638
+ # Required. Example format: properties/1234
1639
+ # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric] google_analytics_admin_v1alpha_custom_metric_object
1640
+ # @param [String] fields
1641
+ # Selector specifying which fields to include in a partial response.
1642
+ # @param [String] quota_user
1643
+ # Available to use for quota purposes for server-side applications. Can be any
1644
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1645
+ # @param [Google::Apis::RequestOptions] options
1646
+ # Request-specific options
1647
+ #
1648
+ # @yield [result, err] Result & error if block supplied
1649
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric] parsed result object
1650
+ # @yieldparam err [StandardError] error object if request failed
1651
+ #
1652
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric]
1653
+ #
1654
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1655
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1656
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1657
+ def create_property_custom_metric(parent, google_analytics_admin_v1alpha_custom_metric_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1658
+ command = make_simple_command(:post, 'v1alpha/{+parent}/customMetrics', options)
1659
+ command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric::Representation
1660
+ command.request_object = google_analytics_admin_v1alpha_custom_metric_object
1661
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric::Representation
1662
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric
1663
+ command.params['parent'] = parent unless parent.nil?
1664
+ command.query['fields'] = fields unless fields.nil?
1665
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1666
+ execute_or_queue_command(command, &block)
1667
+ end
1668
+
1669
+ # Lookup for a single CustomMetric.
1670
+ # @param [String] name
1671
+ # Required. The name of the CustomMetric to get. Example format: properties/1234/
1672
+ # customMetrics/5678
1673
+ # @param [String] fields
1674
+ # Selector specifying which fields to include in a partial response.
1675
+ # @param [String] quota_user
1676
+ # Available to use for quota purposes for server-side applications. Can be any
1677
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1678
+ # @param [Google::Apis::RequestOptions] options
1679
+ # Request-specific options
1680
+ #
1681
+ # @yield [result, err] Result & error if block supplied
1682
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric] parsed result object
1683
+ # @yieldparam err [StandardError] error object if request failed
1684
+ #
1685
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric]
1686
+ #
1687
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1688
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1689
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1690
+ def get_property_custom_metric(name, fields: nil, quota_user: nil, options: nil, &block)
1691
+ command = make_simple_command(:get, 'v1alpha/{+name}', options)
1692
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric::Representation
1693
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric
1694
+ command.params['name'] = name unless name.nil?
1695
+ command.query['fields'] = fields unless fields.nil?
1696
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1697
+ execute_or_queue_command(command, &block)
1698
+ end
1699
+
1700
+ # Lists CustomMetrics on a property.
1701
+ # @param [String] parent
1702
+ # Required. Example format: properties/1234
1703
+ # @param [Fixnum] page_size
1704
+ # The maximum number of resources to return. If unspecified, at most 50
1705
+ # resources will be returned. The maximum value is 200 (higher values will be
1706
+ # coerced to the maximum).
1707
+ # @param [String] page_token
1708
+ # A page token, received from a previous `ListCustomMetrics` call. Provide this
1709
+ # to retrieve the subsequent page. When paginating, all other parameters
1710
+ # provided to `ListCustomMetrics` must match the call that provided the page
1711
+ # token.
1712
+ # @param [String] fields
1713
+ # Selector specifying which fields to include in a partial response.
1714
+ # @param [String] quota_user
1715
+ # Available to use for quota purposes for server-side applications. Can be any
1716
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1717
+ # @param [Google::Apis::RequestOptions] options
1718
+ # Request-specific options
1719
+ #
1720
+ # @yield [result, err] Result & error if block supplied
1721
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListCustomMetricsResponse] parsed result object
1722
+ # @yieldparam err [StandardError] error object if request failed
1723
+ #
1724
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListCustomMetricsResponse]
1725
+ #
1726
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1727
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1728
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1729
+ def list_property_custom_metrics(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1730
+ command = make_simple_command(:get, 'v1alpha/{+parent}/customMetrics', options)
1731
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListCustomMetricsResponse::Representation
1732
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListCustomMetricsResponse
1733
+ command.params['parent'] = parent unless parent.nil?
1734
+ command.query['pageSize'] = page_size unless page_size.nil?
1735
+ command.query['pageToken'] = page_token unless page_token.nil?
1736
+ command.query['fields'] = fields unless fields.nil?
1737
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1738
+ execute_or_queue_command(command, &block)
1739
+ end
1740
+
1741
+ # Updates a CustomMetric on a property.
1742
+ # @param [String] name
1743
+ # Output only. Resource name for this CustomMetric resource. Format: properties/`
1744
+ # property`/customMetrics/`customMetric`
1745
+ # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric] google_analytics_admin_v1alpha_custom_metric_object
1746
+ # @param [String] update_mask
1747
+ # Required. The list of fields to be updated. Omitted fields will not be updated.
1748
+ # To replace the entire entity, use one path with the string "*" to match all
1749
+ # fields.
1750
+ # @param [String] fields
1751
+ # Selector specifying which fields to include in a partial response.
1752
+ # @param [String] quota_user
1753
+ # Available to use for quota purposes for server-side applications. Can be any
1754
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1755
+ # @param [Google::Apis::RequestOptions] options
1756
+ # Request-specific options
1757
+ #
1758
+ # @yield [result, err] Result & error if block supplied
1759
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric] parsed result object
1760
+ # @yieldparam err [StandardError] error object if request failed
1761
+ #
1762
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric]
1763
+ #
1764
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1765
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1766
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1767
+ def patch_property_custom_metric(name, google_analytics_admin_v1alpha_custom_metric_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
1768
+ command = make_simple_command(:patch, 'v1alpha/{+name}', options)
1769
+ command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric::Representation
1770
+ command.request_object = google_analytics_admin_v1alpha_custom_metric_object
1771
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric::Representation
1772
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric
1773
+ command.params['name'] = name unless name.nil?
1774
+ command.query['updateMask'] = update_mask unless update_mask.nil?
1775
+ command.query['fields'] = fields unless fields.nil?
1776
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1777
+ execute_or_queue_command(command, &block)
1778
+ end
1779
+
1780
+ # Creates a FirebaseLink. Properties can have at most one FirebaseLink.
1781
+ # @param [String] parent
1782
+ # Required. Format: properties/`property_id` Example: properties/1234
1783
+ # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFirebaseLink] google_analytics_admin_v1alpha_firebase_link_object
1784
+ # @param [String] fields
1785
+ # Selector specifying which fields to include in a partial response.
1786
+ # @param [String] quota_user
1787
+ # Available to use for quota purposes for server-side applications. Can be any
1788
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1789
+ # @param [Google::Apis::RequestOptions] options
1790
+ # Request-specific options
1791
+ #
1792
+ # @yield [result, err] Result & error if block supplied
1793
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFirebaseLink] parsed result object
1794
+ # @yieldparam err [StandardError] error object if request failed
1795
+ #
1796
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFirebaseLink]
1797
+ #
1798
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1799
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1800
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1801
+ def create_property_firebase_link(parent, google_analytics_admin_v1alpha_firebase_link_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1802
+ command = make_simple_command(:post, 'v1alpha/{+parent}/firebaseLinks', options)
1803
+ command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFirebaseLink::Representation
1804
+ command.request_object = google_analytics_admin_v1alpha_firebase_link_object
1805
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFirebaseLink::Representation
1806
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFirebaseLink
1807
+ command.params['parent'] = parent unless parent.nil?
1808
+ command.query['fields'] = fields unless fields.nil?
1809
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1810
+ execute_or_queue_command(command, &block)
1811
+ end
1812
+
1813
+ # Deletes a FirebaseLink on a property
1814
+ # @param [String] name
1815
+ # Required. Format: properties/`property_id`/firebaseLinks/`firebase_link_id`
1816
+ # Example: properties/1234/firebaseLinks/5678
1817
+ # @param [String] fields
1818
+ # Selector specifying which fields to include in a partial response.
1819
+ # @param [String] quota_user
1820
+ # Available to use for quota purposes for server-side applications. Can be any
1821
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1822
+ # @param [Google::Apis::RequestOptions] options
1823
+ # Request-specific options
1824
+ #
1825
+ # @yield [result, err] Result & error if block supplied
1826
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty] parsed result object
1827
+ # @yieldparam err [StandardError] error object if request failed
1828
+ #
1829
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty]
1830
+ #
1831
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1832
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1833
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1834
+ def delete_property_firebase_link(name, fields: nil, quota_user: nil, options: nil, &block)
1835
+ command = make_simple_command(:delete, 'v1alpha/{+name}', options)
1836
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty::Representation
1837
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty
1838
+ command.params['name'] = name unless name.nil?
1839
+ command.query['fields'] = fields unless fields.nil?
1840
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1841
+ execute_or_queue_command(command, &block)
1842
+ end
1843
+
1844
+ # Lists FirebaseLinks on a property. Properties can have at most one
1845
+ # FirebaseLink.
1846
+ # @param [String] parent
1847
+ # Required. Format: properties/`property_id` Example: properties/1234
1848
+ # @param [Fixnum] page_size
1849
+ # The maximum number of resources to return. The service may return fewer than
1850
+ # this value, even if there are additional pages. If unspecified, at most 50
1851
+ # resources will be returned. The maximum value is 200; (higher values will be
1852
+ # coerced to the maximum)
1853
+ # @param [String] page_token
1854
+ # A page token, received from a previous `ListFirebaseLinks` call. Provide this
1855
+ # to retrieve the subsequent page. When paginating, all other parameters
1856
+ # provided to `ListProperties` must match the call that provided the page token.
1857
+ # @param [String] fields
1858
+ # Selector specifying which fields to include in a partial response.
1859
+ # @param [String] quota_user
1860
+ # Available to use for quota purposes for server-side applications. Can be any
1861
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1862
+ # @param [Google::Apis::RequestOptions] options
1863
+ # Request-specific options
1864
+ #
1865
+ # @yield [result, err] Result & error if block supplied
1866
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListFirebaseLinksResponse] parsed result object
1867
+ # @yieldparam err [StandardError] error object if request failed
1868
+ #
1869
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListFirebaseLinksResponse]
1870
+ #
1871
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1872
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1873
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1874
+ def list_property_firebase_links(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1875
+ command = make_simple_command(:get, 'v1alpha/{+parent}/firebaseLinks', options)
1876
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListFirebaseLinksResponse::Representation
1877
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListFirebaseLinksResponse
1878
+ command.params['parent'] = parent unless parent.nil?
1879
+ command.query['pageSize'] = page_size unless page_size.nil?
1880
+ command.query['pageToken'] = page_token unless page_token.nil?
1881
+ command.query['fields'] = fields unless fields.nil?
1882
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1883
+ execute_or_queue_command(command, &block)
1884
+ end
1885
+
1886
+ # Updates a FirebaseLink on a property
1887
+ # @param [String] name
1888
+ # Output only. Example format: properties/1234/firebaseLinks/5678
1889
+ # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFirebaseLink] google_analytics_admin_v1alpha_firebase_link_object
1890
+ # @param [String] update_mask
1891
+ # Required. The list of fields to be updated. Field names must be in snake case (
1892
+ # e.g., "field_to_update"). Omitted fields will not be updated. To replace the
1893
+ # entire entity, use one path with the string "*" to match all fields.
1894
+ # @param [String] fields
1895
+ # Selector specifying which fields to include in a partial response.
1896
+ # @param [String] quota_user
1897
+ # Available to use for quota purposes for server-side applications. Can be any
1898
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1899
+ # @param [Google::Apis::RequestOptions] options
1900
+ # Request-specific options
1901
+ #
1902
+ # @yield [result, err] Result & error if block supplied
1903
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFirebaseLink] parsed result object
1904
+ # @yieldparam err [StandardError] error object if request failed
1905
+ #
1906
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFirebaseLink]
1907
+ #
1908
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1909
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1910
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1911
+ def patch_property_firebase_link(name, google_analytics_admin_v1alpha_firebase_link_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
1912
+ command = make_simple_command(:patch, 'v1alpha/{+name}', options)
1913
+ command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFirebaseLink::Representation
1914
+ command.request_object = google_analytics_admin_v1alpha_firebase_link_object
1915
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFirebaseLink::Representation
1916
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFirebaseLink
1917
+ command.params['name'] = name unless name.nil?
1918
+ command.query['updateMask'] = update_mask unless update_mask.nil?
1919
+ command.query['fields'] = fields unless fields.nil?
1920
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1921
+ execute_or_queue_command(command, &block)
1922
+ end
1923
+
1924
+ # Creates a GoogleAdsLink.
1925
+ # @param [String] parent
1926
+ # Required. Example format: properties/1234
1927
+ # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink] google_analytics_admin_v1alpha_google_ads_link_object
1928
+ # @param [String] fields
1929
+ # Selector specifying which fields to include in a partial response.
1930
+ # @param [String] quota_user
1931
+ # Available to use for quota purposes for server-side applications. Can be any
1932
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1933
+ # @param [Google::Apis::RequestOptions] options
1934
+ # Request-specific options
1935
+ #
1936
+ # @yield [result, err] Result & error if block supplied
1937
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink] parsed result object
1938
+ # @yieldparam err [StandardError] error object if request failed
1939
+ #
1940
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink]
1941
+ #
1942
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1943
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1944
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1945
+ def create_property_google_ads_link(parent, google_analytics_admin_v1alpha_google_ads_link_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1946
+ command = make_simple_command(:post, 'v1alpha/{+parent}/googleAdsLinks', options)
1947
+ command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink::Representation
1948
+ command.request_object = google_analytics_admin_v1alpha_google_ads_link_object
1949
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink::Representation
1950
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink
1951
+ command.params['parent'] = parent unless parent.nil?
1952
+ command.query['fields'] = fields unless fields.nil?
1953
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1954
+ execute_or_queue_command(command, &block)
1955
+ end
1956
+
1957
+ # Deletes a GoogleAdsLink on a property
1958
+ # @param [String] name
1959
+ # Required. Example format: properties/1234/googleAdsLinks/5678
1960
+ # @param [String] fields
1961
+ # Selector specifying which fields to include in a partial response.
1962
+ # @param [String] quota_user
1963
+ # Available to use for quota purposes for server-side applications. Can be any
1964
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1965
+ # @param [Google::Apis::RequestOptions] options
1966
+ # Request-specific options
1967
+ #
1968
+ # @yield [result, err] Result & error if block supplied
1969
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty] parsed result object
1970
+ # @yieldparam err [StandardError] error object if request failed
1971
+ #
1972
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty]
1973
+ #
1974
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1975
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1976
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1977
+ def delete_property_google_ads_link(name, fields: nil, quota_user: nil, options: nil, &block)
1978
+ command = make_simple_command(:delete, 'v1alpha/{+name}', options)
1979
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty::Representation
1980
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty
1981
+ command.params['name'] = name unless name.nil?
1982
+ command.query['fields'] = fields unless fields.nil?
1983
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1984
+ execute_or_queue_command(command, &block)
1985
+ end
1986
+
1987
+ # Lists GoogleAdsLinks on a property.
1988
+ # @param [String] parent
1989
+ # Required. Example format: properties/1234
1990
+ # @param [Fixnum] page_size
1991
+ # The maximum number of resources to return. If unspecified, at most 50
1992
+ # resources will be returned. The maximum value is 200 (higher values will be
1993
+ # coerced to the maximum).
1994
+ # @param [String] page_token
1995
+ # A page token, received from a previous `ListGoogleAdsLinks` call. Provide this
1996
+ # to retrieve the subsequent page. When paginating, all other parameters
1997
+ # provided to `ListGoogleAdsLinks` must match the call that provided the page
1998
+ # token.
1999
+ # @param [String] fields
2000
+ # Selector specifying which fields to include in a partial response.
2001
+ # @param [String] quota_user
2002
+ # Available to use for quota purposes for server-side applications. Can be any
2003
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2004
+ # @param [Google::Apis::RequestOptions] options
2005
+ # Request-specific options
2006
+ #
2007
+ # @yield [result, err] Result & error if block supplied
2008
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListGoogleAdsLinksResponse] parsed result object
2009
+ # @yieldparam err [StandardError] error object if request failed
2010
+ #
2011
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListGoogleAdsLinksResponse]
2012
+ #
2013
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2014
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2015
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2016
+ def list_property_google_ads_links(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2017
+ command = make_simple_command(:get, 'v1alpha/{+parent}/googleAdsLinks', options)
2018
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListGoogleAdsLinksResponse::Representation
2019
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListGoogleAdsLinksResponse
2020
+ command.params['parent'] = parent unless parent.nil?
2021
+ command.query['pageSize'] = page_size unless page_size.nil?
2022
+ command.query['pageToken'] = page_token unless page_token.nil?
2023
+ command.query['fields'] = fields unless fields.nil?
2024
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2025
+ execute_or_queue_command(command, &block)
2026
+ end
2027
+
2028
+ # Updates a GoogleAdsLink on a property
2029
+ # @param [String] name
2030
+ # Output only. Format: properties/`propertyId`/googleAdsLinks/`googleAdsLinkId`
2031
+ # Note: googleAdsLinkId is not the Google Ads customer ID.
2032
+ # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink] google_analytics_admin_v1alpha_google_ads_link_object
2033
+ # @param [String] update_mask
2034
+ # Required. The list of fields to be updated. Field names must be in snake case (
2035
+ # e.g., "field_to_update"). Omitted fields will not be updated. To replace the
2036
+ # entire entity, use one path with the string "*" to match all fields.
2037
+ # @param [String] fields
2038
+ # Selector specifying which fields to include in a partial response.
2039
+ # @param [String] quota_user
2040
+ # Available to use for quota purposes for server-side applications. Can be any
2041
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2042
+ # @param [Google::Apis::RequestOptions] options
2043
+ # Request-specific options
2044
+ #
2045
+ # @yield [result, err] Result & error if block supplied
2046
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink] parsed result object
2047
+ # @yieldparam err [StandardError] error object if request failed
2048
+ #
2049
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink]
2050
+ #
2051
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2052
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2053
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2054
+ def patch_property_google_ads_link(name, google_analytics_admin_v1alpha_google_ads_link_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
2055
+ command = make_simple_command(:patch, 'v1alpha/{+name}', options)
2056
+ command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink::Representation
2057
+ command.request_object = google_analytics_admin_v1alpha_google_ads_link_object
2058
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink::Representation
2059
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink
2060
+ command.params['name'] = name unless name.nil?
2061
+ command.query['updateMask'] = update_mask unless update_mask.nil?
2062
+ command.query['fields'] = fields unless fields.nil?
2063
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2064
+ execute_or_queue_command(command, &block)
2065
+ end
2066
+
2067
+ # Deletes an iOS app stream on a property.
2068
+ # @param [String] name
2069
+ # Required. The name of the iOS app data stream to delete. Format: properties/`
2070
+ # property_id`/iosAppDataStreams/`stream_id` Example: "properties/123/
2071
+ # iosAppDataStreams/456"
2072
+ # @param [String] fields
2073
+ # Selector specifying which fields to include in a partial response.
2074
+ # @param [String] quota_user
2075
+ # Available to use for quota purposes for server-side applications. Can be any
2076
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2077
+ # @param [Google::Apis::RequestOptions] options
2078
+ # Request-specific options
2079
+ #
2080
+ # @yield [result, err] Result & error if block supplied
2081
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty] parsed result object
2082
+ # @yieldparam err [StandardError] error object if request failed
2083
+ #
2084
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty]
2085
+ #
2086
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2087
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2088
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2089
+ def delete_property_ios_app_data_stream(name, fields: nil, quota_user: nil, options: nil, &block)
2090
+ command = make_simple_command(:delete, 'v1alpha/{+name}', options)
2091
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty::Representation
2092
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty
2093
+ command.params['name'] = name unless name.nil?
2094
+ command.query['fields'] = fields unless fields.nil?
2095
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2096
+ execute_or_queue_command(command, &block)
2097
+ end
2098
+
2099
+ # Lookup for a single IosAppDataStream
2100
+ # @param [String] name
2101
+ # Required. The name of the iOS app data stream to lookup. Format: properties/`
2102
+ # property_id`/iosAppDataStreams/`stream_id` Example: "properties/123/
2103
+ # iosAppDataStreams/456"
2104
+ # @param [String] fields
2105
+ # Selector specifying which fields to include in a partial response.
2106
+ # @param [String] quota_user
2107
+ # Available to use for quota purposes for server-side applications. Can be any
2108
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2109
+ # @param [Google::Apis::RequestOptions] options
2110
+ # Request-specific options
2111
+ #
2112
+ # @yield [result, err] Result & error if block supplied
2113
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream] parsed result object
2114
+ # @yieldparam err [StandardError] error object if request failed
2115
+ #
2116
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream]
2117
+ #
2118
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2119
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2120
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2121
+ def get_property_ios_app_data_stream(name, fields: nil, quota_user: nil, options: nil, &block)
2122
+ command = make_simple_command(:get, 'v1alpha/{+name}', options)
2123
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream::Representation
2124
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream
2125
+ command.params['name'] = name unless name.nil?
2126
+ command.query['fields'] = fields unless fields.nil?
2127
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2128
+ execute_or_queue_command(command, &block)
2129
+ end
2130
+
2131
+ # Returns child iOS app data streams under the specified parent property. iOS
2132
+ # app data streams will be excluded if the caller does not have access. Returns
2133
+ # an empty list if no relevant iOS app data streams are found.
2134
+ # @param [String] parent
2135
+ # Required. The name of the parent property. For example, to list results of app
2136
+ # streams under the property with Id 123: "properties/123"
2137
+ # @param [Fixnum] page_size
2138
+ # The maximum number of resources to return. If unspecified, at most 50
2139
+ # resources will be returned. The maximum value is 200; (higher values will be
2140
+ # coerced to the maximum)
2141
+ # @param [String] page_token
2142
+ # A page token, received from a previous `ListIosAppDataStreams` call. Provide
2143
+ # this to retrieve the subsequent page. When paginating, all other parameters
2144
+ # provided to `ListIosAppDataStreams` must match the call that provided the page
2145
+ # token.
2146
+ # @param [String] fields
2147
+ # Selector specifying which fields to include in a partial response.
2148
+ # @param [String] quota_user
2149
+ # Available to use for quota purposes for server-side applications. Can be any
2150
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2151
+ # @param [Google::Apis::RequestOptions] options
2152
+ # Request-specific options
2153
+ #
2154
+ # @yield [result, err] Result & error if block supplied
2155
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListIosAppDataStreamsResponse] parsed result object
1450
2156
  # @yieldparam err [StandardError] error object if request failed
1451
2157
  #
1452
2158
  # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListIosAppDataStreamsResponse]
@@ -1506,6 +2212,189 @@ module Google
1506
2212
  execute_or_queue_command(command, &block)
1507
2213
  end
1508
2214
 
2215
+ # Creates a measurement protocol secret.
2216
+ # @param [String] parent
2217
+ # Required. The parent resource where this secret will be created. Any type of
2218
+ # stream (WebDataStream, IosAppDataStream, AndroidAppDataStream) may be a parent.
2219
+ # Format: properties/`property`/webDataStreams/`webDataStream`
2220
+ # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] google_analytics_admin_v1alpha_measurement_protocol_secret_object
2221
+ # @param [String] fields
2222
+ # Selector specifying which fields to include in a partial response.
2223
+ # @param [String] quota_user
2224
+ # Available to use for quota purposes for server-side applications. Can be any
2225
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2226
+ # @param [Google::Apis::RequestOptions] options
2227
+ # Request-specific options
2228
+ #
2229
+ # @yield [result, err] Result & error if block supplied
2230
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] parsed result object
2231
+ # @yieldparam err [StandardError] error object if request failed
2232
+ #
2233
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret]
2234
+ #
2235
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2236
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2237
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2238
+ 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)
2239
+ command = make_simple_command(:post, 'v1alpha/{+parent}/measurementProtocolSecrets', options)
2240
+ command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
2241
+ command.request_object = google_analytics_admin_v1alpha_measurement_protocol_secret_object
2242
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
2243
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret
2244
+ command.params['parent'] = parent unless parent.nil?
2245
+ command.query['fields'] = fields unless fields.nil?
2246
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2247
+ execute_or_queue_command(command, &block)
2248
+ end
2249
+
2250
+ # Deletes target MeasurementProtocolSecret.
2251
+ # @param [String] name
2252
+ # Required. The name of the MeasurementProtocolSecret to delete. Format:
2253
+ # properties/`property`/webDataStreams/`webDataStream`/
2254
+ # measurementProtocolSecrets/`measurementProtocolSecret` Note: Any type of
2255
+ # stream (WebDataStream, IosAppDataStream, AndroidAppDataStream) may be a parent.
2256
+ # @param [String] fields
2257
+ # Selector specifying which fields to include in a partial response.
2258
+ # @param [String] quota_user
2259
+ # Available to use for quota purposes for server-side applications. Can be any
2260
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2261
+ # @param [Google::Apis::RequestOptions] options
2262
+ # Request-specific options
2263
+ #
2264
+ # @yield [result, err] Result & error if block supplied
2265
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty] parsed result object
2266
+ # @yieldparam err [StandardError] error object if request failed
2267
+ #
2268
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty]
2269
+ #
2270
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2271
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2272
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2273
+ def delete_property_ios_app_data_stream_measurement_protocol_secret(name, fields: nil, quota_user: nil, options: nil, &block)
2274
+ command = make_simple_command(:delete, 'v1alpha/{+name}', options)
2275
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty::Representation
2276
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty
2277
+ command.params['name'] = name unless name.nil?
2278
+ command.query['fields'] = fields unless fields.nil?
2279
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2280
+ execute_or_queue_command(command, &block)
2281
+ end
2282
+
2283
+ # Lookup for a single "GA4" MeasurementProtocolSecret.
2284
+ # @param [String] name
2285
+ # Required. The name of the measurement protocol secret to lookup. Format:
2286
+ # properties/`property`/webDataStreams/`webDataStream`/
2287
+ # measurementProtocolSecrets/`measurementProtocolSecret` Note: Any type of
2288
+ # stream (WebDataStream, IosAppDataStream, AndroidAppDataStream) may be a parent.
2289
+ # @param [String] fields
2290
+ # Selector specifying which fields to include in a partial response.
2291
+ # @param [String] quota_user
2292
+ # Available to use for quota purposes for server-side applications. Can be any
2293
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2294
+ # @param [Google::Apis::RequestOptions] options
2295
+ # Request-specific options
2296
+ #
2297
+ # @yield [result, err] Result & error if block supplied
2298
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] parsed result object
2299
+ # @yieldparam err [StandardError] error object if request failed
2300
+ #
2301
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret]
2302
+ #
2303
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2304
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2305
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2306
+ def get_property_ios_app_data_stream_measurement_protocol_secret(name, fields: nil, quota_user: nil, options: nil, &block)
2307
+ command = make_simple_command(:get, 'v1alpha/{+name}', options)
2308
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
2309
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret
2310
+ command.params['name'] = name unless name.nil?
2311
+ command.query['fields'] = fields unless fields.nil?
2312
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2313
+ execute_or_queue_command(command, &block)
2314
+ end
2315
+
2316
+ # Returns child MeasurementProtocolSecrets under the specified parent Property.
2317
+ # @param [String] parent
2318
+ # Required. The resource name of the parent stream. Any type of stream (
2319
+ # WebDataStream, IosAppDataStream, AndroidAppDataStream) may be a parent. Format:
2320
+ # properties/`property`/webDataStreams/`webDataStream`/
2321
+ # measurementProtocolSecrets
2322
+ # @param [Fixnum] page_size
2323
+ # The maximum number of resources to return. If unspecified, at most 10
2324
+ # resources will be returned. The maximum value is 10. Higher values will be
2325
+ # coerced to the maximum.
2326
+ # @param [String] page_token
2327
+ # A page token, received from a previous `ListMeasurementProtocolSecrets` call.
2328
+ # Provide this to retrieve the subsequent page. When paginating, all other
2329
+ # parameters provided to `ListMeasurementProtocolSecrets` must match the call
2330
+ # that provided the page token.
2331
+ # @param [String] fields
2332
+ # Selector specifying which fields to include in a partial response.
2333
+ # @param [String] quota_user
2334
+ # Available to use for quota purposes for server-side applications. Can be any
2335
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2336
+ # @param [Google::Apis::RequestOptions] options
2337
+ # Request-specific options
2338
+ #
2339
+ # @yield [result, err] Result & error if block supplied
2340
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse] parsed result object
2341
+ # @yieldparam err [StandardError] error object if request failed
2342
+ #
2343
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse]
2344
+ #
2345
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2346
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2347
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2348
+ 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)
2349
+ command = make_simple_command(:get, 'v1alpha/{+parent}/measurementProtocolSecrets', options)
2350
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse::Representation
2351
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse
2352
+ command.params['parent'] = parent unless parent.nil?
2353
+ command.query['pageSize'] = page_size unless page_size.nil?
2354
+ command.query['pageToken'] = page_token unless page_token.nil?
2355
+ command.query['fields'] = fields unless fields.nil?
2356
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2357
+ execute_or_queue_command(command, &block)
2358
+ end
2359
+
2360
+ # Updates a measurement protocol secret.
2361
+ # @param [String] name
2362
+ # Output only. Resource name of this secret. This secret may be a child of any
2363
+ # type of stream. Format: properties/`property`/webDataStreams/`webDataStream`/
2364
+ # measurementProtocolSecrets/`measurementProtocolSecret`
2365
+ # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] google_analytics_admin_v1alpha_measurement_protocol_secret_object
2366
+ # @param [String] update_mask
2367
+ # The list of fields to be updated. Omitted fields will not be updated.
2368
+ # @param [String] fields
2369
+ # Selector specifying which fields to include in a partial response.
2370
+ # @param [String] quota_user
2371
+ # Available to use for quota purposes for server-side applications. Can be any
2372
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2373
+ # @param [Google::Apis::RequestOptions] options
2374
+ # Request-specific options
2375
+ #
2376
+ # @yield [result, err] Result & error if block supplied
2377
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] parsed result object
2378
+ # @yieldparam err [StandardError] error object if request failed
2379
+ #
2380
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret]
2381
+ #
2382
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2383
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2384
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2385
+ 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)
2386
+ command = make_simple_command(:patch, 'v1alpha/{+name}', options)
2387
+ command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
2388
+ command.request_object = google_analytics_admin_v1alpha_measurement_protocol_secret_object
2389
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
2390
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret
2391
+ command.params['name'] = name unless name.nil?
2392
+ command.query['updateMask'] = update_mask unless update_mask.nil?
2393
+ command.query['fields'] = fields unless fields.nil?
2394
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2395
+ execute_or_queue_command(command, &block)
2396
+ end
2397
+
1509
2398
  # Lists all user links on an account or property, including implicit ones that
1510
2399
  # come from effective permissions granted by groups or organization admin roles.
1511
2400
  # If a returned user link does not have direct permissions, they cannot be
@@ -1830,7 +2719,7 @@ module Google
1830
2719
 
1831
2720
  # Updates a user link on an account or property.
1832
2721
  # @param [String] name
1833
- # Example format: properties/1234/userLinks/5678
2722
+ # Output only. Example format: properties/1234/userLinks/5678
1834
2723
  # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink] google_analytics_admin_v1alpha_user_link_object
1835
2724
  # @param [String] fields
1836
2725
  # Selector specifying which fields to include in a partial response.
@@ -2152,6 +3041,189 @@ module Google
2152
3041
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2153
3042
  execute_or_queue_command(command, &block)
2154
3043
  end
3044
+
3045
+ # Creates a measurement protocol secret.
3046
+ # @param [String] parent
3047
+ # Required. The parent resource where this secret will be created. Any type of
3048
+ # stream (WebDataStream, IosAppDataStream, AndroidAppDataStream) may be a parent.
3049
+ # Format: properties/`property`/webDataStreams/`webDataStream`
3050
+ # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] google_analytics_admin_v1alpha_measurement_protocol_secret_object
3051
+ # @param [String] fields
3052
+ # Selector specifying which fields to include in a partial response.
3053
+ # @param [String] quota_user
3054
+ # Available to use for quota purposes for server-side applications. Can be any
3055
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3056
+ # @param [Google::Apis::RequestOptions] options
3057
+ # Request-specific options
3058
+ #
3059
+ # @yield [result, err] Result & error if block supplied
3060
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] parsed result object
3061
+ # @yieldparam err [StandardError] error object if request failed
3062
+ #
3063
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret]
3064
+ #
3065
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3066
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3067
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3068
+ 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)
3069
+ command = make_simple_command(:post, 'v1alpha/{+parent}/measurementProtocolSecrets', options)
3070
+ command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
3071
+ command.request_object = google_analytics_admin_v1alpha_measurement_protocol_secret_object
3072
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
3073
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret
3074
+ command.params['parent'] = parent unless parent.nil?
3075
+ command.query['fields'] = fields unless fields.nil?
3076
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3077
+ execute_or_queue_command(command, &block)
3078
+ end
3079
+
3080
+ # Deletes target MeasurementProtocolSecret.
3081
+ # @param [String] name
3082
+ # Required. The name of the MeasurementProtocolSecret to delete. Format:
3083
+ # properties/`property`/webDataStreams/`webDataStream`/
3084
+ # measurementProtocolSecrets/`measurementProtocolSecret` Note: Any type of
3085
+ # stream (WebDataStream, IosAppDataStream, AndroidAppDataStream) may be a parent.
3086
+ # @param [String] fields
3087
+ # Selector specifying which fields to include in a partial response.
3088
+ # @param [String] quota_user
3089
+ # Available to use for quota purposes for server-side applications. Can be any
3090
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3091
+ # @param [Google::Apis::RequestOptions] options
3092
+ # Request-specific options
3093
+ #
3094
+ # @yield [result, err] Result & error if block supplied
3095
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty] parsed result object
3096
+ # @yieldparam err [StandardError] error object if request failed
3097
+ #
3098
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty]
3099
+ #
3100
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3101
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3102
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3103
+ def delete_property_web_data_stream_measurement_protocol_secret(name, fields: nil, quota_user: nil, options: nil, &block)
3104
+ command = make_simple_command(:delete, 'v1alpha/{+name}', options)
3105
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty::Representation
3106
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty
3107
+ command.params['name'] = name unless name.nil?
3108
+ command.query['fields'] = fields unless fields.nil?
3109
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3110
+ execute_or_queue_command(command, &block)
3111
+ end
3112
+
3113
+ # Lookup for a single "GA4" MeasurementProtocolSecret.
3114
+ # @param [String] name
3115
+ # Required. The name of the measurement protocol secret to lookup. Format:
3116
+ # properties/`property`/webDataStreams/`webDataStream`/
3117
+ # measurementProtocolSecrets/`measurementProtocolSecret` Note: Any type of
3118
+ # stream (WebDataStream, IosAppDataStream, AndroidAppDataStream) may be a parent.
3119
+ # @param [String] fields
3120
+ # Selector specifying which fields to include in a partial response.
3121
+ # @param [String] quota_user
3122
+ # Available to use for quota purposes for server-side applications. Can be any
3123
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3124
+ # @param [Google::Apis::RequestOptions] options
3125
+ # Request-specific options
3126
+ #
3127
+ # @yield [result, err] Result & error if block supplied
3128
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] parsed result object
3129
+ # @yieldparam err [StandardError] error object if request failed
3130
+ #
3131
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret]
3132
+ #
3133
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3134
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3135
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3136
+ def get_property_web_data_stream_measurement_protocol_secret(name, fields: nil, quota_user: nil, options: nil, &block)
3137
+ command = make_simple_command(:get, 'v1alpha/{+name}', options)
3138
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
3139
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret
3140
+ command.params['name'] = name unless name.nil?
3141
+ command.query['fields'] = fields unless fields.nil?
3142
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3143
+ execute_or_queue_command(command, &block)
3144
+ end
3145
+
3146
+ # Returns child MeasurementProtocolSecrets under the specified parent Property.
3147
+ # @param [String] parent
3148
+ # Required. The resource name of the parent stream. Any type of stream (
3149
+ # WebDataStream, IosAppDataStream, AndroidAppDataStream) may be a parent. Format:
3150
+ # properties/`property`/webDataStreams/`webDataStream`/
3151
+ # measurementProtocolSecrets
3152
+ # @param [Fixnum] page_size
3153
+ # The maximum number of resources to return. If unspecified, at most 10
3154
+ # resources will be returned. The maximum value is 10. Higher values will be
3155
+ # coerced to the maximum.
3156
+ # @param [String] page_token
3157
+ # A page token, received from a previous `ListMeasurementProtocolSecrets` call.
3158
+ # Provide this to retrieve the subsequent page. When paginating, all other
3159
+ # parameters provided to `ListMeasurementProtocolSecrets` must match the call
3160
+ # that provided the page token.
3161
+ # @param [String] fields
3162
+ # Selector specifying which fields to include in a partial response.
3163
+ # @param [String] quota_user
3164
+ # Available to use for quota purposes for server-side applications. Can be any
3165
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3166
+ # @param [Google::Apis::RequestOptions] options
3167
+ # Request-specific options
3168
+ #
3169
+ # @yield [result, err] Result & error if block supplied
3170
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse] parsed result object
3171
+ # @yieldparam err [StandardError] error object if request failed
3172
+ #
3173
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse]
3174
+ #
3175
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3176
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3177
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3178
+ def list_property_web_data_stream_measurement_protocol_secrets(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
3179
+ command = make_simple_command(:get, 'v1alpha/{+parent}/measurementProtocolSecrets', options)
3180
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse::Representation
3181
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse
3182
+ command.params['parent'] = parent unless parent.nil?
3183
+ command.query['pageSize'] = page_size unless page_size.nil?
3184
+ command.query['pageToken'] = page_token unless page_token.nil?
3185
+ command.query['fields'] = fields unless fields.nil?
3186
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3187
+ execute_or_queue_command(command, &block)
3188
+ end
3189
+
3190
+ # Updates a measurement protocol secret.
3191
+ # @param [String] name
3192
+ # Output only. Resource name of this secret. This secret may be a child of any
3193
+ # type of stream. Format: properties/`property`/webDataStreams/`webDataStream`/
3194
+ # measurementProtocolSecrets/`measurementProtocolSecret`
3195
+ # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] google_analytics_admin_v1alpha_measurement_protocol_secret_object
3196
+ # @param [String] update_mask
3197
+ # The list of fields to be updated. Omitted fields will not be updated.
3198
+ # @param [String] fields
3199
+ # Selector specifying which fields to include in a partial response.
3200
+ # @param [String] quota_user
3201
+ # Available to use for quota purposes for server-side applications. Can be any
3202
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3203
+ # @param [Google::Apis::RequestOptions] options
3204
+ # Request-specific options
3205
+ #
3206
+ # @yield [result, err] Result & error if block supplied
3207
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] parsed result object
3208
+ # @yieldparam err [StandardError] error object if request failed
3209
+ #
3210
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret]
3211
+ #
3212
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3213
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3214
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3215
+ 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)
3216
+ command = make_simple_command(:patch, 'v1alpha/{+name}', options)
3217
+ command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
3218
+ command.request_object = google_analytics_admin_v1alpha_measurement_protocol_secret_object
3219
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
3220
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret
3221
+ command.params['name'] = name unless name.nil?
3222
+ command.query['updateMask'] = update_mask unless update_mask.nil?
3223
+ command.query['fields'] = fields unless fields.nil?
3224
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3225
+ execute_or_queue_command(command, &block)
3226
+ end
2155
3227
 
2156
3228
  protected
2157
3229