google-analytics-admin-v1alpha 0.30.1 → 0.31.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -30,7 +30,8 @@ module Google
30
30
  # including transcoding, making the REST call, and deserialing the response.
31
31
  #
32
32
  class ServiceStub
33
- def initialize endpoint:, endpoint_template:, universe_domain:, credentials:
33
+ # @private
34
+ def initialize endpoint:, endpoint_template:, universe_domain:, credentials:, logger:
34
35
  # These require statements are intentionally placed here to initialize
35
36
  # the REST modules only when it's required.
36
37
  require "gapic/rest"
@@ -40,7 +41,9 @@ module Google
40
41
  universe_domain: universe_domain,
41
42
  credentials: credentials,
42
43
  numeric_enums: true,
43
- raise_faraday_errors: false
44
+ service_name: self.class,
45
+ raise_faraday_errors: false,
46
+ logger: logger
44
47
  end
45
48
 
46
49
  ##
@@ -61,6 +64,15 @@ module Google
61
64
  @client_stub.endpoint
62
65
  end
63
66
 
67
+ ##
68
+ # The logger used for request/response debug logging.
69
+ #
70
+ # @return [Logger]
71
+ #
72
+ def logger stub: false
73
+ stub ? @client_stub.stub_logger : @client_stub.logger
74
+ end
75
+
64
76
  ##
65
77
  # Baseline implementation for the get_account REST call
66
78
  #
@@ -87,16 +99,18 @@ module Google
87
99
 
88
100
  response = @client_stub.make_http_request(
89
101
  verb,
90
- uri: uri,
91
- body: body || "",
92
- params: query_string_params,
102
+ uri: uri,
103
+ body: body || "",
104
+ params: query_string_params,
105
+ method_name: "get_account",
93
106
  options: options
94
107
  )
95
108
  operation = ::Gapic::Rest::TransportOperation.new response
96
109
  result = ::Google::Analytics::Admin::V1alpha::Account.decode_json response.body, ignore_unknown_fields: true
97
-
98
- yield result, operation if block_given?
99
- result
110
+ catch :response do
111
+ yield result, operation if block_given?
112
+ result
113
+ end
100
114
  end
101
115
 
102
116
  ##
@@ -125,16 +139,18 @@ module Google
125
139
 
126
140
  response = @client_stub.make_http_request(
127
141
  verb,
128
- uri: uri,
129
- body: body || "",
130
- params: query_string_params,
142
+ uri: uri,
143
+ body: body || "",
144
+ params: query_string_params,
145
+ method_name: "list_accounts",
131
146
  options: options
132
147
  )
133
148
  operation = ::Gapic::Rest::TransportOperation.new response
134
149
  result = ::Google::Analytics::Admin::V1alpha::ListAccountsResponse.decode_json response.body, ignore_unknown_fields: true
135
-
136
- yield result, operation if block_given?
137
- result
150
+ catch :response do
151
+ yield result, operation if block_given?
152
+ result
153
+ end
138
154
  end
139
155
 
140
156
  ##
@@ -163,16 +179,18 @@ module Google
163
179
 
164
180
  response = @client_stub.make_http_request(
165
181
  verb,
166
- uri: uri,
167
- body: body || "",
168
- params: query_string_params,
182
+ uri: uri,
183
+ body: body || "",
184
+ params: query_string_params,
185
+ method_name: "delete_account",
169
186
  options: options
170
187
  )
171
188
  operation = ::Gapic::Rest::TransportOperation.new response
172
189
  result = ::Google::Protobuf::Empty.decode_json response.body, ignore_unknown_fields: true
173
-
174
- yield result, operation if block_given?
175
- result
190
+ catch :response do
191
+ yield result, operation if block_given?
192
+ result
193
+ end
176
194
  end
177
195
 
178
196
  ##
@@ -201,16 +219,18 @@ module Google
201
219
 
202
220
  response = @client_stub.make_http_request(
203
221
  verb,
204
- uri: uri,
205
- body: body || "",
206
- params: query_string_params,
222
+ uri: uri,
223
+ body: body || "",
224
+ params: query_string_params,
225
+ method_name: "update_account",
207
226
  options: options
208
227
  )
209
228
  operation = ::Gapic::Rest::TransportOperation.new response
210
229
  result = ::Google::Analytics::Admin::V1alpha::Account.decode_json response.body, ignore_unknown_fields: true
211
-
212
- yield result, operation if block_given?
213
- result
230
+ catch :response do
231
+ yield result, operation if block_given?
232
+ result
233
+ end
214
234
  end
215
235
 
216
236
  ##
@@ -239,16 +259,18 @@ module Google
239
259
 
240
260
  response = @client_stub.make_http_request(
241
261
  verb,
242
- uri: uri,
243
- body: body || "",
244
- params: query_string_params,
262
+ uri: uri,
263
+ body: body || "",
264
+ params: query_string_params,
265
+ method_name: "provision_account_ticket",
245
266
  options: options
246
267
  )
247
268
  operation = ::Gapic::Rest::TransportOperation.new response
248
269
  result = ::Google::Analytics::Admin::V1alpha::ProvisionAccountTicketResponse.decode_json response.body, ignore_unknown_fields: true
249
-
250
- yield result, operation if block_given?
251
- result
270
+ catch :response do
271
+ yield result, operation if block_given?
272
+ result
273
+ end
252
274
  end
253
275
 
254
276
  ##
@@ -277,16 +299,18 @@ module Google
277
299
 
278
300
  response = @client_stub.make_http_request(
279
301
  verb,
280
- uri: uri,
281
- body: body || "",
282
- params: query_string_params,
302
+ uri: uri,
303
+ body: body || "",
304
+ params: query_string_params,
305
+ method_name: "list_account_summaries",
283
306
  options: options
284
307
  )
285
308
  operation = ::Gapic::Rest::TransportOperation.new response
286
309
  result = ::Google::Analytics::Admin::V1alpha::ListAccountSummariesResponse.decode_json response.body, ignore_unknown_fields: true
287
-
288
- yield result, operation if block_given?
289
- result
310
+ catch :response do
311
+ yield result, operation if block_given?
312
+ result
313
+ end
290
314
  end
291
315
 
292
316
  ##
@@ -315,16 +339,18 @@ module Google
315
339
 
316
340
  response = @client_stub.make_http_request(
317
341
  verb,
318
- uri: uri,
319
- body: body || "",
320
- params: query_string_params,
342
+ uri: uri,
343
+ body: body || "",
344
+ params: query_string_params,
345
+ method_name: "get_property",
321
346
  options: options
322
347
  )
323
348
  operation = ::Gapic::Rest::TransportOperation.new response
324
349
  result = ::Google::Analytics::Admin::V1alpha::Property.decode_json response.body, ignore_unknown_fields: true
325
-
326
- yield result, operation if block_given?
327
- result
350
+ catch :response do
351
+ yield result, operation if block_given?
352
+ result
353
+ end
328
354
  end
329
355
 
330
356
  ##
@@ -353,16 +379,18 @@ module Google
353
379
 
354
380
  response = @client_stub.make_http_request(
355
381
  verb,
356
- uri: uri,
357
- body: body || "",
358
- params: query_string_params,
382
+ uri: uri,
383
+ body: body || "",
384
+ params: query_string_params,
385
+ method_name: "list_properties",
359
386
  options: options
360
387
  )
361
388
  operation = ::Gapic::Rest::TransportOperation.new response
362
389
  result = ::Google::Analytics::Admin::V1alpha::ListPropertiesResponse.decode_json response.body, ignore_unknown_fields: true
363
-
364
- yield result, operation if block_given?
365
- result
390
+ catch :response do
391
+ yield result, operation if block_given?
392
+ result
393
+ end
366
394
  end
367
395
 
368
396
  ##
@@ -391,16 +419,18 @@ module Google
391
419
 
392
420
  response = @client_stub.make_http_request(
393
421
  verb,
394
- uri: uri,
395
- body: body || "",
396
- params: query_string_params,
422
+ uri: uri,
423
+ body: body || "",
424
+ params: query_string_params,
425
+ method_name: "create_property",
397
426
  options: options
398
427
  )
399
428
  operation = ::Gapic::Rest::TransportOperation.new response
400
429
  result = ::Google::Analytics::Admin::V1alpha::Property.decode_json response.body, ignore_unknown_fields: true
401
-
402
- yield result, operation if block_given?
403
- result
430
+ catch :response do
431
+ yield result, operation if block_given?
432
+ result
433
+ end
404
434
  end
405
435
 
406
436
  ##
@@ -429,16 +459,18 @@ module Google
429
459
 
430
460
  response = @client_stub.make_http_request(
431
461
  verb,
432
- uri: uri,
433
- body: body || "",
434
- params: query_string_params,
462
+ uri: uri,
463
+ body: body || "",
464
+ params: query_string_params,
465
+ method_name: "delete_property",
435
466
  options: options
436
467
  )
437
468
  operation = ::Gapic::Rest::TransportOperation.new response
438
469
  result = ::Google::Analytics::Admin::V1alpha::Property.decode_json response.body, ignore_unknown_fields: true
439
-
440
- yield result, operation if block_given?
441
- result
470
+ catch :response do
471
+ yield result, operation if block_given?
472
+ result
473
+ end
442
474
  end
443
475
 
444
476
  ##
@@ -467,16 +499,18 @@ module Google
467
499
 
468
500
  response = @client_stub.make_http_request(
469
501
  verb,
470
- uri: uri,
471
- body: body || "",
472
- params: query_string_params,
502
+ uri: uri,
503
+ body: body || "",
504
+ params: query_string_params,
505
+ method_name: "update_property",
473
506
  options: options
474
507
  )
475
508
  operation = ::Gapic::Rest::TransportOperation.new response
476
509
  result = ::Google::Analytics::Admin::V1alpha::Property.decode_json response.body, ignore_unknown_fields: true
477
-
478
- yield result, operation if block_given?
479
- result
510
+ catch :response do
511
+ yield result, operation if block_given?
512
+ result
513
+ end
480
514
  end
481
515
 
482
516
  ##
@@ -505,16 +539,18 @@ module Google
505
539
 
506
540
  response = @client_stub.make_http_request(
507
541
  verb,
508
- uri: uri,
509
- body: body || "",
510
- params: query_string_params,
542
+ uri: uri,
543
+ body: body || "",
544
+ params: query_string_params,
545
+ method_name: "create_firebase_link",
511
546
  options: options
512
547
  )
513
548
  operation = ::Gapic::Rest::TransportOperation.new response
514
549
  result = ::Google::Analytics::Admin::V1alpha::FirebaseLink.decode_json response.body, ignore_unknown_fields: true
515
-
516
- yield result, operation if block_given?
517
- result
550
+ catch :response do
551
+ yield result, operation if block_given?
552
+ result
553
+ end
518
554
  end
519
555
 
520
556
  ##
@@ -543,16 +579,18 @@ module Google
543
579
 
544
580
  response = @client_stub.make_http_request(
545
581
  verb,
546
- uri: uri,
547
- body: body || "",
548
- params: query_string_params,
582
+ uri: uri,
583
+ body: body || "",
584
+ params: query_string_params,
585
+ method_name: "delete_firebase_link",
549
586
  options: options
550
587
  )
551
588
  operation = ::Gapic::Rest::TransportOperation.new response
552
589
  result = ::Google::Protobuf::Empty.decode_json response.body, ignore_unknown_fields: true
553
-
554
- yield result, operation if block_given?
555
- result
590
+ catch :response do
591
+ yield result, operation if block_given?
592
+ result
593
+ end
556
594
  end
557
595
 
558
596
  ##
@@ -581,16 +619,18 @@ module Google
581
619
 
582
620
  response = @client_stub.make_http_request(
583
621
  verb,
584
- uri: uri,
585
- body: body || "",
586
- params: query_string_params,
622
+ uri: uri,
623
+ body: body || "",
624
+ params: query_string_params,
625
+ method_name: "list_firebase_links",
587
626
  options: options
588
627
  )
589
628
  operation = ::Gapic::Rest::TransportOperation.new response
590
629
  result = ::Google::Analytics::Admin::V1alpha::ListFirebaseLinksResponse.decode_json response.body, ignore_unknown_fields: true
591
-
592
- yield result, operation if block_given?
593
- result
630
+ catch :response do
631
+ yield result, operation if block_given?
632
+ result
633
+ end
594
634
  end
595
635
 
596
636
  ##
@@ -619,16 +659,18 @@ module Google
619
659
 
620
660
  response = @client_stub.make_http_request(
621
661
  verb,
622
- uri: uri,
623
- body: body || "",
624
- params: query_string_params,
662
+ uri: uri,
663
+ body: body || "",
664
+ params: query_string_params,
665
+ method_name: "get_global_site_tag",
625
666
  options: options
626
667
  )
627
668
  operation = ::Gapic::Rest::TransportOperation.new response
628
669
  result = ::Google::Analytics::Admin::V1alpha::GlobalSiteTag.decode_json response.body, ignore_unknown_fields: true
629
-
630
- yield result, operation if block_given?
631
- result
670
+ catch :response do
671
+ yield result, operation if block_given?
672
+ result
673
+ end
632
674
  end
633
675
 
634
676
  ##
@@ -657,16 +699,18 @@ module Google
657
699
 
658
700
  response = @client_stub.make_http_request(
659
701
  verb,
660
- uri: uri,
661
- body: body || "",
662
- params: query_string_params,
702
+ uri: uri,
703
+ body: body || "",
704
+ params: query_string_params,
705
+ method_name: "create_google_ads_link",
663
706
  options: options
664
707
  )
665
708
  operation = ::Gapic::Rest::TransportOperation.new response
666
709
  result = ::Google::Analytics::Admin::V1alpha::GoogleAdsLink.decode_json response.body, ignore_unknown_fields: true
667
-
668
- yield result, operation if block_given?
669
- result
710
+ catch :response do
711
+ yield result, operation if block_given?
712
+ result
713
+ end
670
714
  end
671
715
 
672
716
  ##
@@ -695,16 +739,18 @@ module Google
695
739
 
696
740
  response = @client_stub.make_http_request(
697
741
  verb,
698
- uri: uri,
699
- body: body || "",
700
- params: query_string_params,
742
+ uri: uri,
743
+ body: body || "",
744
+ params: query_string_params,
745
+ method_name: "update_google_ads_link",
701
746
  options: options
702
747
  )
703
748
  operation = ::Gapic::Rest::TransportOperation.new response
704
749
  result = ::Google::Analytics::Admin::V1alpha::GoogleAdsLink.decode_json response.body, ignore_unknown_fields: true
705
-
706
- yield result, operation if block_given?
707
- result
750
+ catch :response do
751
+ yield result, operation if block_given?
752
+ result
753
+ end
708
754
  end
709
755
 
710
756
  ##
@@ -733,16 +779,18 @@ module Google
733
779
 
734
780
  response = @client_stub.make_http_request(
735
781
  verb,
736
- uri: uri,
737
- body: body || "",
738
- params: query_string_params,
782
+ uri: uri,
783
+ body: body || "",
784
+ params: query_string_params,
785
+ method_name: "delete_google_ads_link",
739
786
  options: options
740
787
  )
741
788
  operation = ::Gapic::Rest::TransportOperation.new response
742
789
  result = ::Google::Protobuf::Empty.decode_json response.body, ignore_unknown_fields: true
743
-
744
- yield result, operation if block_given?
745
- result
790
+ catch :response do
791
+ yield result, operation if block_given?
792
+ result
793
+ end
746
794
  end
747
795
 
748
796
  ##
@@ -771,16 +819,18 @@ module Google
771
819
 
772
820
  response = @client_stub.make_http_request(
773
821
  verb,
774
- uri: uri,
775
- body: body || "",
776
- params: query_string_params,
822
+ uri: uri,
823
+ body: body || "",
824
+ params: query_string_params,
825
+ method_name: "list_google_ads_links",
777
826
  options: options
778
827
  )
779
828
  operation = ::Gapic::Rest::TransportOperation.new response
780
829
  result = ::Google::Analytics::Admin::V1alpha::ListGoogleAdsLinksResponse.decode_json response.body, ignore_unknown_fields: true
781
-
782
- yield result, operation if block_given?
783
- result
830
+ catch :response do
831
+ yield result, operation if block_given?
832
+ result
833
+ end
784
834
  end
785
835
 
786
836
  ##
@@ -809,16 +859,18 @@ module Google
809
859
 
810
860
  response = @client_stub.make_http_request(
811
861
  verb,
812
- uri: uri,
813
- body: body || "",
814
- params: query_string_params,
862
+ uri: uri,
863
+ body: body || "",
864
+ params: query_string_params,
865
+ method_name: "get_data_sharing_settings",
815
866
  options: options
816
867
  )
817
868
  operation = ::Gapic::Rest::TransportOperation.new response
818
869
  result = ::Google::Analytics::Admin::V1alpha::DataSharingSettings.decode_json response.body, ignore_unknown_fields: true
819
-
820
- yield result, operation if block_given?
821
- result
870
+ catch :response do
871
+ yield result, operation if block_given?
872
+ result
873
+ end
822
874
  end
823
875
 
824
876
  ##
@@ -847,16 +899,18 @@ module Google
847
899
 
848
900
  response = @client_stub.make_http_request(
849
901
  verb,
850
- uri: uri,
851
- body: body || "",
852
- params: query_string_params,
902
+ uri: uri,
903
+ body: body || "",
904
+ params: query_string_params,
905
+ method_name: "get_measurement_protocol_secret",
853
906
  options: options
854
907
  )
855
908
  operation = ::Gapic::Rest::TransportOperation.new response
856
909
  result = ::Google::Analytics::Admin::V1alpha::MeasurementProtocolSecret.decode_json response.body, ignore_unknown_fields: true
857
-
858
- yield result, operation if block_given?
859
- result
910
+ catch :response do
911
+ yield result, operation if block_given?
912
+ result
913
+ end
860
914
  end
861
915
 
862
916
  ##
@@ -885,16 +939,18 @@ module Google
885
939
 
886
940
  response = @client_stub.make_http_request(
887
941
  verb,
888
- uri: uri,
889
- body: body || "",
890
- params: query_string_params,
942
+ uri: uri,
943
+ body: body || "",
944
+ params: query_string_params,
945
+ method_name: "list_measurement_protocol_secrets",
891
946
  options: options
892
947
  )
893
948
  operation = ::Gapic::Rest::TransportOperation.new response
894
949
  result = ::Google::Analytics::Admin::V1alpha::ListMeasurementProtocolSecretsResponse.decode_json response.body, ignore_unknown_fields: true
895
-
896
- yield result, operation if block_given?
897
- result
950
+ catch :response do
951
+ yield result, operation if block_given?
952
+ result
953
+ end
898
954
  end
899
955
 
900
956
  ##
@@ -923,16 +979,18 @@ module Google
923
979
 
924
980
  response = @client_stub.make_http_request(
925
981
  verb,
926
- uri: uri,
927
- body: body || "",
928
- params: query_string_params,
982
+ uri: uri,
983
+ body: body || "",
984
+ params: query_string_params,
985
+ method_name: "create_measurement_protocol_secret",
929
986
  options: options
930
987
  )
931
988
  operation = ::Gapic::Rest::TransportOperation.new response
932
989
  result = ::Google::Analytics::Admin::V1alpha::MeasurementProtocolSecret.decode_json response.body, ignore_unknown_fields: true
933
-
934
- yield result, operation if block_given?
935
- result
990
+ catch :response do
991
+ yield result, operation if block_given?
992
+ result
993
+ end
936
994
  end
937
995
 
938
996
  ##
@@ -961,16 +1019,18 @@ module Google
961
1019
 
962
1020
  response = @client_stub.make_http_request(
963
1021
  verb,
964
- uri: uri,
965
- body: body || "",
966
- params: query_string_params,
1022
+ uri: uri,
1023
+ body: body || "",
1024
+ params: query_string_params,
1025
+ method_name: "delete_measurement_protocol_secret",
967
1026
  options: options
968
1027
  )
969
1028
  operation = ::Gapic::Rest::TransportOperation.new response
970
1029
  result = ::Google::Protobuf::Empty.decode_json response.body, ignore_unknown_fields: true
971
-
972
- yield result, operation if block_given?
973
- result
1030
+ catch :response do
1031
+ yield result, operation if block_given?
1032
+ result
1033
+ end
974
1034
  end
975
1035
 
976
1036
  ##
@@ -999,16 +1059,18 @@ module Google
999
1059
 
1000
1060
  response = @client_stub.make_http_request(
1001
1061
  verb,
1002
- uri: uri,
1003
- body: body || "",
1004
- params: query_string_params,
1062
+ uri: uri,
1063
+ body: body || "",
1064
+ params: query_string_params,
1065
+ method_name: "update_measurement_protocol_secret",
1005
1066
  options: options
1006
1067
  )
1007
1068
  operation = ::Gapic::Rest::TransportOperation.new response
1008
1069
  result = ::Google::Analytics::Admin::V1alpha::MeasurementProtocolSecret.decode_json response.body, ignore_unknown_fields: true
1009
-
1010
- yield result, operation if block_given?
1011
- result
1070
+ catch :response do
1071
+ yield result, operation if block_given?
1072
+ result
1073
+ end
1012
1074
  end
1013
1075
 
1014
1076
  ##
@@ -1037,16 +1099,18 @@ module Google
1037
1099
 
1038
1100
  response = @client_stub.make_http_request(
1039
1101
  verb,
1040
- uri: uri,
1041
- body: body || "",
1042
- params: query_string_params,
1102
+ uri: uri,
1103
+ body: body || "",
1104
+ params: query_string_params,
1105
+ method_name: "acknowledge_user_data_collection",
1043
1106
  options: options
1044
1107
  )
1045
1108
  operation = ::Gapic::Rest::TransportOperation.new response
1046
1109
  result = ::Google::Analytics::Admin::V1alpha::AcknowledgeUserDataCollectionResponse.decode_json response.body, ignore_unknown_fields: true
1047
-
1048
- yield result, operation if block_given?
1049
- result
1110
+ catch :response do
1111
+ yield result, operation if block_given?
1112
+ result
1113
+ end
1050
1114
  end
1051
1115
 
1052
1116
  ##
@@ -1075,16 +1139,18 @@ module Google
1075
1139
 
1076
1140
  response = @client_stub.make_http_request(
1077
1141
  verb,
1078
- uri: uri,
1079
- body: body || "",
1080
- params: query_string_params,
1142
+ uri: uri,
1143
+ body: body || "",
1144
+ params: query_string_params,
1145
+ method_name: "get_sk_ad_network_conversion_value_schema",
1081
1146
  options: options
1082
1147
  )
1083
1148
  operation = ::Gapic::Rest::TransportOperation.new response
1084
1149
  result = ::Google::Analytics::Admin::V1alpha::SKAdNetworkConversionValueSchema.decode_json response.body, ignore_unknown_fields: true
1085
-
1086
- yield result, operation if block_given?
1087
- result
1150
+ catch :response do
1151
+ yield result, operation if block_given?
1152
+ result
1153
+ end
1088
1154
  end
1089
1155
 
1090
1156
  ##
@@ -1113,16 +1179,18 @@ module Google
1113
1179
 
1114
1180
  response = @client_stub.make_http_request(
1115
1181
  verb,
1116
- uri: uri,
1117
- body: body || "",
1118
- params: query_string_params,
1182
+ uri: uri,
1183
+ body: body || "",
1184
+ params: query_string_params,
1185
+ method_name: "create_sk_ad_network_conversion_value_schema",
1119
1186
  options: options
1120
1187
  )
1121
1188
  operation = ::Gapic::Rest::TransportOperation.new response
1122
1189
  result = ::Google::Analytics::Admin::V1alpha::SKAdNetworkConversionValueSchema.decode_json response.body, ignore_unknown_fields: true
1123
-
1124
- yield result, operation if block_given?
1125
- result
1190
+ catch :response do
1191
+ yield result, operation if block_given?
1192
+ result
1193
+ end
1126
1194
  end
1127
1195
 
1128
1196
  ##
@@ -1151,16 +1219,18 @@ module Google
1151
1219
 
1152
1220
  response = @client_stub.make_http_request(
1153
1221
  verb,
1154
- uri: uri,
1155
- body: body || "",
1156
- params: query_string_params,
1222
+ uri: uri,
1223
+ body: body || "",
1224
+ params: query_string_params,
1225
+ method_name: "delete_sk_ad_network_conversion_value_schema",
1157
1226
  options: options
1158
1227
  )
1159
1228
  operation = ::Gapic::Rest::TransportOperation.new response
1160
1229
  result = ::Google::Protobuf::Empty.decode_json response.body, ignore_unknown_fields: true
1161
-
1162
- yield result, operation if block_given?
1163
- result
1230
+ catch :response do
1231
+ yield result, operation if block_given?
1232
+ result
1233
+ end
1164
1234
  end
1165
1235
 
1166
1236
  ##
@@ -1189,16 +1259,18 @@ module Google
1189
1259
 
1190
1260
  response = @client_stub.make_http_request(
1191
1261
  verb,
1192
- uri: uri,
1193
- body: body || "",
1194
- params: query_string_params,
1262
+ uri: uri,
1263
+ body: body || "",
1264
+ params: query_string_params,
1265
+ method_name: "update_sk_ad_network_conversion_value_schema",
1195
1266
  options: options
1196
1267
  )
1197
1268
  operation = ::Gapic::Rest::TransportOperation.new response
1198
1269
  result = ::Google::Analytics::Admin::V1alpha::SKAdNetworkConversionValueSchema.decode_json response.body, ignore_unknown_fields: true
1199
-
1200
- yield result, operation if block_given?
1201
- result
1270
+ catch :response do
1271
+ yield result, operation if block_given?
1272
+ result
1273
+ end
1202
1274
  end
1203
1275
 
1204
1276
  ##
@@ -1227,16 +1299,18 @@ module Google
1227
1299
 
1228
1300
  response = @client_stub.make_http_request(
1229
1301
  verb,
1230
- uri: uri,
1231
- body: body || "",
1232
- params: query_string_params,
1302
+ uri: uri,
1303
+ body: body || "",
1304
+ params: query_string_params,
1305
+ method_name: "list_sk_ad_network_conversion_value_schemas",
1233
1306
  options: options
1234
1307
  )
1235
1308
  operation = ::Gapic::Rest::TransportOperation.new response
1236
1309
  result = ::Google::Analytics::Admin::V1alpha::ListSKAdNetworkConversionValueSchemasResponse.decode_json response.body, ignore_unknown_fields: true
1237
-
1238
- yield result, operation if block_given?
1239
- result
1310
+ catch :response do
1311
+ yield result, operation if block_given?
1312
+ result
1313
+ end
1240
1314
  end
1241
1315
 
1242
1316
  ##
@@ -1265,16 +1339,18 @@ module Google
1265
1339
 
1266
1340
  response = @client_stub.make_http_request(
1267
1341
  verb,
1268
- uri: uri,
1269
- body: body || "",
1270
- params: query_string_params,
1342
+ uri: uri,
1343
+ body: body || "",
1344
+ params: query_string_params,
1345
+ method_name: "search_change_history_events",
1271
1346
  options: options
1272
1347
  )
1273
1348
  operation = ::Gapic::Rest::TransportOperation.new response
1274
1349
  result = ::Google::Analytics::Admin::V1alpha::SearchChangeHistoryEventsResponse.decode_json response.body, ignore_unknown_fields: true
1275
-
1276
- yield result, operation if block_given?
1277
- result
1350
+ catch :response do
1351
+ yield result, operation if block_given?
1352
+ result
1353
+ end
1278
1354
  end
1279
1355
 
1280
1356
  ##
@@ -1303,16 +1379,18 @@ module Google
1303
1379
 
1304
1380
  response = @client_stub.make_http_request(
1305
1381
  verb,
1306
- uri: uri,
1307
- body: body || "",
1308
- params: query_string_params,
1382
+ uri: uri,
1383
+ body: body || "",
1384
+ params: query_string_params,
1385
+ method_name: "get_google_signals_settings",
1309
1386
  options: options
1310
1387
  )
1311
1388
  operation = ::Gapic::Rest::TransportOperation.new response
1312
1389
  result = ::Google::Analytics::Admin::V1alpha::GoogleSignalsSettings.decode_json response.body, ignore_unknown_fields: true
1313
-
1314
- yield result, operation if block_given?
1315
- result
1390
+ catch :response do
1391
+ yield result, operation if block_given?
1392
+ result
1393
+ end
1316
1394
  end
1317
1395
 
1318
1396
  ##
@@ -1341,16 +1419,18 @@ module Google
1341
1419
 
1342
1420
  response = @client_stub.make_http_request(
1343
1421
  verb,
1344
- uri: uri,
1345
- body: body || "",
1346
- params: query_string_params,
1422
+ uri: uri,
1423
+ body: body || "",
1424
+ params: query_string_params,
1425
+ method_name: "update_google_signals_settings",
1347
1426
  options: options
1348
1427
  )
1349
1428
  operation = ::Gapic::Rest::TransportOperation.new response
1350
1429
  result = ::Google::Analytics::Admin::V1alpha::GoogleSignalsSettings.decode_json response.body, ignore_unknown_fields: true
1351
-
1352
- yield result, operation if block_given?
1353
- result
1430
+ catch :response do
1431
+ yield result, operation if block_given?
1432
+ result
1433
+ end
1354
1434
  end
1355
1435
 
1356
1436
  ##
@@ -1379,16 +1459,18 @@ module Google
1379
1459
 
1380
1460
  response = @client_stub.make_http_request(
1381
1461
  verb,
1382
- uri: uri,
1383
- body: body || "",
1384
- params: query_string_params,
1462
+ uri: uri,
1463
+ body: body || "",
1464
+ params: query_string_params,
1465
+ method_name: "create_conversion_event",
1385
1466
  options: options
1386
1467
  )
1387
1468
  operation = ::Gapic::Rest::TransportOperation.new response
1388
1469
  result = ::Google::Analytics::Admin::V1alpha::ConversionEvent.decode_json response.body, ignore_unknown_fields: true
1389
-
1390
- yield result, operation if block_given?
1391
- result
1470
+ catch :response do
1471
+ yield result, operation if block_given?
1472
+ result
1473
+ end
1392
1474
  end
1393
1475
 
1394
1476
  ##
@@ -1417,16 +1499,18 @@ module Google
1417
1499
 
1418
1500
  response = @client_stub.make_http_request(
1419
1501
  verb,
1420
- uri: uri,
1421
- body: body || "",
1422
- params: query_string_params,
1502
+ uri: uri,
1503
+ body: body || "",
1504
+ params: query_string_params,
1505
+ method_name: "update_conversion_event",
1423
1506
  options: options
1424
1507
  )
1425
1508
  operation = ::Gapic::Rest::TransportOperation.new response
1426
1509
  result = ::Google::Analytics::Admin::V1alpha::ConversionEvent.decode_json response.body, ignore_unknown_fields: true
1427
-
1428
- yield result, operation if block_given?
1429
- result
1510
+ catch :response do
1511
+ yield result, operation if block_given?
1512
+ result
1513
+ end
1430
1514
  end
1431
1515
 
1432
1516
  ##
@@ -1455,16 +1539,18 @@ module Google
1455
1539
 
1456
1540
  response = @client_stub.make_http_request(
1457
1541
  verb,
1458
- uri: uri,
1459
- body: body || "",
1460
- params: query_string_params,
1542
+ uri: uri,
1543
+ body: body || "",
1544
+ params: query_string_params,
1545
+ method_name: "get_conversion_event",
1461
1546
  options: options
1462
1547
  )
1463
1548
  operation = ::Gapic::Rest::TransportOperation.new response
1464
1549
  result = ::Google::Analytics::Admin::V1alpha::ConversionEvent.decode_json response.body, ignore_unknown_fields: true
1465
-
1466
- yield result, operation if block_given?
1467
- result
1550
+ catch :response do
1551
+ yield result, operation if block_given?
1552
+ result
1553
+ end
1468
1554
  end
1469
1555
 
1470
1556
  ##
@@ -1493,16 +1579,18 @@ module Google
1493
1579
 
1494
1580
  response = @client_stub.make_http_request(
1495
1581
  verb,
1496
- uri: uri,
1497
- body: body || "",
1498
- params: query_string_params,
1582
+ uri: uri,
1583
+ body: body || "",
1584
+ params: query_string_params,
1585
+ method_name: "delete_conversion_event",
1499
1586
  options: options
1500
1587
  )
1501
1588
  operation = ::Gapic::Rest::TransportOperation.new response
1502
1589
  result = ::Google::Protobuf::Empty.decode_json response.body, ignore_unknown_fields: true
1503
-
1504
- yield result, operation if block_given?
1505
- result
1590
+ catch :response do
1591
+ yield result, operation if block_given?
1592
+ result
1593
+ end
1506
1594
  end
1507
1595
 
1508
1596
  ##
@@ -1531,16 +1619,18 @@ module Google
1531
1619
 
1532
1620
  response = @client_stub.make_http_request(
1533
1621
  verb,
1534
- uri: uri,
1535
- body: body || "",
1536
- params: query_string_params,
1622
+ uri: uri,
1623
+ body: body || "",
1624
+ params: query_string_params,
1625
+ method_name: "list_conversion_events",
1537
1626
  options: options
1538
1627
  )
1539
1628
  operation = ::Gapic::Rest::TransportOperation.new response
1540
1629
  result = ::Google::Analytics::Admin::V1alpha::ListConversionEventsResponse.decode_json response.body, ignore_unknown_fields: true
1541
-
1542
- yield result, operation if block_given?
1543
- result
1630
+ catch :response do
1631
+ yield result, operation if block_given?
1632
+ result
1633
+ end
1544
1634
  end
1545
1635
 
1546
1636
  ##
@@ -1569,16 +1659,18 @@ module Google
1569
1659
 
1570
1660
  response = @client_stub.make_http_request(
1571
1661
  verb,
1572
- uri: uri,
1573
- body: body || "",
1574
- params: query_string_params,
1662
+ uri: uri,
1663
+ body: body || "",
1664
+ params: query_string_params,
1665
+ method_name: "create_key_event",
1575
1666
  options: options
1576
1667
  )
1577
1668
  operation = ::Gapic::Rest::TransportOperation.new response
1578
1669
  result = ::Google::Analytics::Admin::V1alpha::KeyEvent.decode_json response.body, ignore_unknown_fields: true
1579
-
1580
- yield result, operation if block_given?
1581
- result
1670
+ catch :response do
1671
+ yield result, operation if block_given?
1672
+ result
1673
+ end
1582
1674
  end
1583
1675
 
1584
1676
  ##
@@ -1607,16 +1699,18 @@ module Google
1607
1699
 
1608
1700
  response = @client_stub.make_http_request(
1609
1701
  verb,
1610
- uri: uri,
1611
- body: body || "",
1612
- params: query_string_params,
1702
+ uri: uri,
1703
+ body: body || "",
1704
+ params: query_string_params,
1705
+ method_name: "update_key_event",
1613
1706
  options: options
1614
1707
  )
1615
1708
  operation = ::Gapic::Rest::TransportOperation.new response
1616
1709
  result = ::Google::Analytics::Admin::V1alpha::KeyEvent.decode_json response.body, ignore_unknown_fields: true
1617
-
1618
- yield result, operation if block_given?
1619
- result
1710
+ catch :response do
1711
+ yield result, operation if block_given?
1712
+ result
1713
+ end
1620
1714
  end
1621
1715
 
1622
1716
  ##
@@ -1645,16 +1739,18 @@ module Google
1645
1739
 
1646
1740
  response = @client_stub.make_http_request(
1647
1741
  verb,
1648
- uri: uri,
1649
- body: body || "",
1650
- params: query_string_params,
1742
+ uri: uri,
1743
+ body: body || "",
1744
+ params: query_string_params,
1745
+ method_name: "get_key_event",
1651
1746
  options: options
1652
1747
  )
1653
1748
  operation = ::Gapic::Rest::TransportOperation.new response
1654
1749
  result = ::Google::Analytics::Admin::V1alpha::KeyEvent.decode_json response.body, ignore_unknown_fields: true
1655
-
1656
- yield result, operation if block_given?
1657
- result
1750
+ catch :response do
1751
+ yield result, operation if block_given?
1752
+ result
1753
+ end
1658
1754
  end
1659
1755
 
1660
1756
  ##
@@ -1683,16 +1779,18 @@ module Google
1683
1779
 
1684
1780
  response = @client_stub.make_http_request(
1685
1781
  verb,
1686
- uri: uri,
1687
- body: body || "",
1688
- params: query_string_params,
1782
+ uri: uri,
1783
+ body: body || "",
1784
+ params: query_string_params,
1785
+ method_name: "delete_key_event",
1689
1786
  options: options
1690
1787
  )
1691
1788
  operation = ::Gapic::Rest::TransportOperation.new response
1692
1789
  result = ::Google::Protobuf::Empty.decode_json response.body, ignore_unknown_fields: true
1693
-
1694
- yield result, operation if block_given?
1695
- result
1790
+ catch :response do
1791
+ yield result, operation if block_given?
1792
+ result
1793
+ end
1696
1794
  end
1697
1795
 
1698
1796
  ##
@@ -1721,16 +1819,18 @@ module Google
1721
1819
 
1722
1820
  response = @client_stub.make_http_request(
1723
1821
  verb,
1724
- uri: uri,
1725
- body: body || "",
1726
- params: query_string_params,
1822
+ uri: uri,
1823
+ body: body || "",
1824
+ params: query_string_params,
1825
+ method_name: "list_key_events",
1727
1826
  options: options
1728
1827
  )
1729
1828
  operation = ::Gapic::Rest::TransportOperation.new response
1730
1829
  result = ::Google::Analytics::Admin::V1alpha::ListKeyEventsResponse.decode_json response.body, ignore_unknown_fields: true
1731
-
1732
- yield result, operation if block_given?
1733
- result
1830
+ catch :response do
1831
+ yield result, operation if block_given?
1832
+ result
1833
+ end
1734
1834
  end
1735
1835
 
1736
1836
  ##
@@ -1759,16 +1859,18 @@ module Google
1759
1859
 
1760
1860
  response = @client_stub.make_http_request(
1761
1861
  verb,
1762
- uri: uri,
1763
- body: body || "",
1764
- params: query_string_params,
1862
+ uri: uri,
1863
+ body: body || "",
1864
+ params: query_string_params,
1865
+ method_name: "get_display_video360_advertiser_link",
1765
1866
  options: options
1766
1867
  )
1767
1868
  operation = ::Gapic::Rest::TransportOperation.new response
1768
1869
  result = ::Google::Analytics::Admin::V1alpha::DisplayVideo360AdvertiserLink.decode_json response.body, ignore_unknown_fields: true
1769
-
1770
- yield result, operation if block_given?
1771
- result
1870
+ catch :response do
1871
+ yield result, operation if block_given?
1872
+ result
1873
+ end
1772
1874
  end
1773
1875
 
1774
1876
  ##
@@ -1797,16 +1899,18 @@ module Google
1797
1899
 
1798
1900
  response = @client_stub.make_http_request(
1799
1901
  verb,
1800
- uri: uri,
1801
- body: body || "",
1802
- params: query_string_params,
1902
+ uri: uri,
1903
+ body: body || "",
1904
+ params: query_string_params,
1905
+ method_name: "list_display_video360_advertiser_links",
1803
1906
  options: options
1804
1907
  )
1805
1908
  operation = ::Gapic::Rest::TransportOperation.new response
1806
1909
  result = ::Google::Analytics::Admin::V1alpha::ListDisplayVideo360AdvertiserLinksResponse.decode_json response.body, ignore_unknown_fields: true
1807
-
1808
- yield result, operation if block_given?
1809
- result
1910
+ catch :response do
1911
+ yield result, operation if block_given?
1912
+ result
1913
+ end
1810
1914
  end
1811
1915
 
1812
1916
  ##
@@ -1835,16 +1939,18 @@ module Google
1835
1939
 
1836
1940
  response = @client_stub.make_http_request(
1837
1941
  verb,
1838
- uri: uri,
1839
- body: body || "",
1840
- params: query_string_params,
1942
+ uri: uri,
1943
+ body: body || "",
1944
+ params: query_string_params,
1945
+ method_name: "create_display_video360_advertiser_link",
1841
1946
  options: options
1842
1947
  )
1843
1948
  operation = ::Gapic::Rest::TransportOperation.new response
1844
1949
  result = ::Google::Analytics::Admin::V1alpha::DisplayVideo360AdvertiserLink.decode_json response.body, ignore_unknown_fields: true
1845
-
1846
- yield result, operation if block_given?
1847
- result
1950
+ catch :response do
1951
+ yield result, operation if block_given?
1952
+ result
1953
+ end
1848
1954
  end
1849
1955
 
1850
1956
  ##
@@ -1873,16 +1979,18 @@ module Google
1873
1979
 
1874
1980
  response = @client_stub.make_http_request(
1875
1981
  verb,
1876
- uri: uri,
1877
- body: body || "",
1878
- params: query_string_params,
1982
+ uri: uri,
1983
+ body: body || "",
1984
+ params: query_string_params,
1985
+ method_name: "delete_display_video360_advertiser_link",
1879
1986
  options: options
1880
1987
  )
1881
1988
  operation = ::Gapic::Rest::TransportOperation.new response
1882
1989
  result = ::Google::Protobuf::Empty.decode_json response.body, ignore_unknown_fields: true
1883
-
1884
- yield result, operation if block_given?
1885
- result
1990
+ catch :response do
1991
+ yield result, operation if block_given?
1992
+ result
1993
+ end
1886
1994
  end
1887
1995
 
1888
1996
  ##
@@ -1911,16 +2019,18 @@ module Google
1911
2019
 
1912
2020
  response = @client_stub.make_http_request(
1913
2021
  verb,
1914
- uri: uri,
1915
- body: body || "",
1916
- params: query_string_params,
2022
+ uri: uri,
2023
+ body: body || "",
2024
+ params: query_string_params,
2025
+ method_name: "update_display_video360_advertiser_link",
1917
2026
  options: options
1918
2027
  )
1919
2028
  operation = ::Gapic::Rest::TransportOperation.new response
1920
2029
  result = ::Google::Analytics::Admin::V1alpha::DisplayVideo360AdvertiserLink.decode_json response.body, ignore_unknown_fields: true
1921
-
1922
- yield result, operation if block_given?
1923
- result
2030
+ catch :response do
2031
+ yield result, operation if block_given?
2032
+ result
2033
+ end
1924
2034
  end
1925
2035
 
1926
2036
  ##
@@ -1949,16 +2059,18 @@ module Google
1949
2059
 
1950
2060
  response = @client_stub.make_http_request(
1951
2061
  verb,
1952
- uri: uri,
1953
- body: body || "",
1954
- params: query_string_params,
2062
+ uri: uri,
2063
+ body: body || "",
2064
+ params: query_string_params,
2065
+ method_name: "get_display_video360_advertiser_link_proposal",
1955
2066
  options: options
1956
2067
  )
1957
2068
  operation = ::Gapic::Rest::TransportOperation.new response
1958
2069
  result = ::Google::Analytics::Admin::V1alpha::DisplayVideo360AdvertiserLinkProposal.decode_json response.body, ignore_unknown_fields: true
1959
-
1960
- yield result, operation if block_given?
1961
- result
2070
+ catch :response do
2071
+ yield result, operation if block_given?
2072
+ result
2073
+ end
1962
2074
  end
1963
2075
 
1964
2076
  ##
@@ -1987,16 +2099,18 @@ module Google
1987
2099
 
1988
2100
  response = @client_stub.make_http_request(
1989
2101
  verb,
1990
- uri: uri,
1991
- body: body || "",
1992
- params: query_string_params,
2102
+ uri: uri,
2103
+ body: body || "",
2104
+ params: query_string_params,
2105
+ method_name: "list_display_video360_advertiser_link_proposals",
1993
2106
  options: options
1994
2107
  )
1995
2108
  operation = ::Gapic::Rest::TransportOperation.new response
1996
2109
  result = ::Google::Analytics::Admin::V1alpha::ListDisplayVideo360AdvertiserLinkProposalsResponse.decode_json response.body, ignore_unknown_fields: true
1997
-
1998
- yield result, operation if block_given?
1999
- result
2110
+ catch :response do
2111
+ yield result, operation if block_given?
2112
+ result
2113
+ end
2000
2114
  end
2001
2115
 
2002
2116
  ##
@@ -2025,16 +2139,18 @@ module Google
2025
2139
 
2026
2140
  response = @client_stub.make_http_request(
2027
2141
  verb,
2028
- uri: uri,
2029
- body: body || "",
2030
- params: query_string_params,
2142
+ uri: uri,
2143
+ body: body || "",
2144
+ params: query_string_params,
2145
+ method_name: "create_display_video360_advertiser_link_proposal",
2031
2146
  options: options
2032
2147
  )
2033
2148
  operation = ::Gapic::Rest::TransportOperation.new response
2034
2149
  result = ::Google::Analytics::Admin::V1alpha::DisplayVideo360AdvertiserLinkProposal.decode_json response.body, ignore_unknown_fields: true
2035
-
2036
- yield result, operation if block_given?
2037
- result
2150
+ catch :response do
2151
+ yield result, operation if block_given?
2152
+ result
2153
+ end
2038
2154
  end
2039
2155
 
2040
2156
  ##
@@ -2063,16 +2179,18 @@ module Google
2063
2179
 
2064
2180
  response = @client_stub.make_http_request(
2065
2181
  verb,
2066
- uri: uri,
2067
- body: body || "",
2068
- params: query_string_params,
2182
+ uri: uri,
2183
+ body: body || "",
2184
+ params: query_string_params,
2185
+ method_name: "delete_display_video360_advertiser_link_proposal",
2069
2186
  options: options
2070
2187
  )
2071
2188
  operation = ::Gapic::Rest::TransportOperation.new response
2072
2189
  result = ::Google::Protobuf::Empty.decode_json response.body, ignore_unknown_fields: true
2073
-
2074
- yield result, operation if block_given?
2075
- result
2190
+ catch :response do
2191
+ yield result, operation if block_given?
2192
+ result
2193
+ end
2076
2194
  end
2077
2195
 
2078
2196
  ##
@@ -2101,16 +2219,18 @@ module Google
2101
2219
 
2102
2220
  response = @client_stub.make_http_request(
2103
2221
  verb,
2104
- uri: uri,
2105
- body: body || "",
2106
- params: query_string_params,
2222
+ uri: uri,
2223
+ body: body || "",
2224
+ params: query_string_params,
2225
+ method_name: "approve_display_video360_advertiser_link_proposal",
2107
2226
  options: options
2108
2227
  )
2109
2228
  operation = ::Gapic::Rest::TransportOperation.new response
2110
2229
  result = ::Google::Analytics::Admin::V1alpha::ApproveDisplayVideo360AdvertiserLinkProposalResponse.decode_json response.body, ignore_unknown_fields: true
2111
-
2112
- yield result, operation if block_given?
2113
- result
2230
+ catch :response do
2231
+ yield result, operation if block_given?
2232
+ result
2233
+ end
2114
2234
  end
2115
2235
 
2116
2236
  ##
@@ -2139,16 +2259,18 @@ module Google
2139
2259
 
2140
2260
  response = @client_stub.make_http_request(
2141
2261
  verb,
2142
- uri: uri,
2143
- body: body || "",
2144
- params: query_string_params,
2262
+ uri: uri,
2263
+ body: body || "",
2264
+ params: query_string_params,
2265
+ method_name: "cancel_display_video360_advertiser_link_proposal",
2145
2266
  options: options
2146
2267
  )
2147
2268
  operation = ::Gapic::Rest::TransportOperation.new response
2148
2269
  result = ::Google::Analytics::Admin::V1alpha::DisplayVideo360AdvertiserLinkProposal.decode_json response.body, ignore_unknown_fields: true
2149
-
2150
- yield result, operation if block_given?
2151
- result
2270
+ catch :response do
2271
+ yield result, operation if block_given?
2272
+ result
2273
+ end
2152
2274
  end
2153
2275
 
2154
2276
  ##
@@ -2177,16 +2299,18 @@ module Google
2177
2299
 
2178
2300
  response = @client_stub.make_http_request(
2179
2301
  verb,
2180
- uri: uri,
2181
- body: body || "",
2182
- params: query_string_params,
2302
+ uri: uri,
2303
+ body: body || "",
2304
+ params: query_string_params,
2305
+ method_name: "create_custom_dimension",
2183
2306
  options: options
2184
2307
  )
2185
2308
  operation = ::Gapic::Rest::TransportOperation.new response
2186
2309
  result = ::Google::Analytics::Admin::V1alpha::CustomDimension.decode_json response.body, ignore_unknown_fields: true
2187
-
2188
- yield result, operation if block_given?
2189
- result
2310
+ catch :response do
2311
+ yield result, operation if block_given?
2312
+ result
2313
+ end
2190
2314
  end
2191
2315
 
2192
2316
  ##
@@ -2215,16 +2339,18 @@ module Google
2215
2339
 
2216
2340
  response = @client_stub.make_http_request(
2217
2341
  verb,
2218
- uri: uri,
2219
- body: body || "",
2220
- params: query_string_params,
2342
+ uri: uri,
2343
+ body: body || "",
2344
+ params: query_string_params,
2345
+ method_name: "update_custom_dimension",
2221
2346
  options: options
2222
2347
  )
2223
2348
  operation = ::Gapic::Rest::TransportOperation.new response
2224
2349
  result = ::Google::Analytics::Admin::V1alpha::CustomDimension.decode_json response.body, ignore_unknown_fields: true
2225
-
2226
- yield result, operation if block_given?
2227
- result
2350
+ catch :response do
2351
+ yield result, operation if block_given?
2352
+ result
2353
+ end
2228
2354
  end
2229
2355
 
2230
2356
  ##
@@ -2253,16 +2379,18 @@ module Google
2253
2379
 
2254
2380
  response = @client_stub.make_http_request(
2255
2381
  verb,
2256
- uri: uri,
2257
- body: body || "",
2258
- params: query_string_params,
2382
+ uri: uri,
2383
+ body: body || "",
2384
+ params: query_string_params,
2385
+ method_name: "list_custom_dimensions",
2259
2386
  options: options
2260
2387
  )
2261
2388
  operation = ::Gapic::Rest::TransportOperation.new response
2262
2389
  result = ::Google::Analytics::Admin::V1alpha::ListCustomDimensionsResponse.decode_json response.body, ignore_unknown_fields: true
2263
-
2264
- yield result, operation if block_given?
2265
- result
2390
+ catch :response do
2391
+ yield result, operation if block_given?
2392
+ result
2393
+ end
2266
2394
  end
2267
2395
 
2268
2396
  ##
@@ -2291,16 +2419,18 @@ module Google
2291
2419
 
2292
2420
  response = @client_stub.make_http_request(
2293
2421
  verb,
2294
- uri: uri,
2295
- body: body || "",
2296
- params: query_string_params,
2422
+ uri: uri,
2423
+ body: body || "",
2424
+ params: query_string_params,
2425
+ method_name: "archive_custom_dimension",
2297
2426
  options: options
2298
2427
  )
2299
2428
  operation = ::Gapic::Rest::TransportOperation.new response
2300
2429
  result = ::Google::Protobuf::Empty.decode_json response.body, ignore_unknown_fields: true
2301
-
2302
- yield result, operation if block_given?
2303
- result
2430
+ catch :response do
2431
+ yield result, operation if block_given?
2432
+ result
2433
+ end
2304
2434
  end
2305
2435
 
2306
2436
  ##
@@ -2329,16 +2459,18 @@ module Google
2329
2459
 
2330
2460
  response = @client_stub.make_http_request(
2331
2461
  verb,
2332
- uri: uri,
2333
- body: body || "",
2334
- params: query_string_params,
2462
+ uri: uri,
2463
+ body: body || "",
2464
+ params: query_string_params,
2465
+ method_name: "get_custom_dimension",
2335
2466
  options: options
2336
2467
  )
2337
2468
  operation = ::Gapic::Rest::TransportOperation.new response
2338
2469
  result = ::Google::Analytics::Admin::V1alpha::CustomDimension.decode_json response.body, ignore_unknown_fields: true
2339
-
2340
- yield result, operation if block_given?
2341
- result
2470
+ catch :response do
2471
+ yield result, operation if block_given?
2472
+ result
2473
+ end
2342
2474
  end
2343
2475
 
2344
2476
  ##
@@ -2367,16 +2499,18 @@ module Google
2367
2499
 
2368
2500
  response = @client_stub.make_http_request(
2369
2501
  verb,
2370
- uri: uri,
2371
- body: body || "",
2372
- params: query_string_params,
2502
+ uri: uri,
2503
+ body: body || "",
2504
+ params: query_string_params,
2505
+ method_name: "create_custom_metric",
2373
2506
  options: options
2374
2507
  )
2375
2508
  operation = ::Gapic::Rest::TransportOperation.new response
2376
2509
  result = ::Google::Analytics::Admin::V1alpha::CustomMetric.decode_json response.body, ignore_unknown_fields: true
2377
-
2378
- yield result, operation if block_given?
2379
- result
2510
+ catch :response do
2511
+ yield result, operation if block_given?
2512
+ result
2513
+ end
2380
2514
  end
2381
2515
 
2382
2516
  ##
@@ -2405,16 +2539,18 @@ module Google
2405
2539
 
2406
2540
  response = @client_stub.make_http_request(
2407
2541
  verb,
2408
- uri: uri,
2409
- body: body || "",
2410
- params: query_string_params,
2542
+ uri: uri,
2543
+ body: body || "",
2544
+ params: query_string_params,
2545
+ method_name: "update_custom_metric",
2411
2546
  options: options
2412
2547
  )
2413
2548
  operation = ::Gapic::Rest::TransportOperation.new response
2414
2549
  result = ::Google::Analytics::Admin::V1alpha::CustomMetric.decode_json response.body, ignore_unknown_fields: true
2415
-
2416
- yield result, operation if block_given?
2417
- result
2550
+ catch :response do
2551
+ yield result, operation if block_given?
2552
+ result
2553
+ end
2418
2554
  end
2419
2555
 
2420
2556
  ##
@@ -2443,16 +2579,18 @@ module Google
2443
2579
 
2444
2580
  response = @client_stub.make_http_request(
2445
2581
  verb,
2446
- uri: uri,
2447
- body: body || "",
2448
- params: query_string_params,
2582
+ uri: uri,
2583
+ body: body || "",
2584
+ params: query_string_params,
2585
+ method_name: "list_custom_metrics",
2449
2586
  options: options
2450
2587
  )
2451
2588
  operation = ::Gapic::Rest::TransportOperation.new response
2452
2589
  result = ::Google::Analytics::Admin::V1alpha::ListCustomMetricsResponse.decode_json response.body, ignore_unknown_fields: true
2453
-
2454
- yield result, operation if block_given?
2455
- result
2590
+ catch :response do
2591
+ yield result, operation if block_given?
2592
+ result
2593
+ end
2456
2594
  end
2457
2595
 
2458
2596
  ##
@@ -2481,16 +2619,18 @@ module Google
2481
2619
 
2482
2620
  response = @client_stub.make_http_request(
2483
2621
  verb,
2484
- uri: uri,
2485
- body: body || "",
2486
- params: query_string_params,
2622
+ uri: uri,
2623
+ body: body || "",
2624
+ params: query_string_params,
2625
+ method_name: "archive_custom_metric",
2487
2626
  options: options
2488
2627
  )
2489
2628
  operation = ::Gapic::Rest::TransportOperation.new response
2490
2629
  result = ::Google::Protobuf::Empty.decode_json response.body, ignore_unknown_fields: true
2491
-
2492
- yield result, operation if block_given?
2493
- result
2630
+ catch :response do
2631
+ yield result, operation if block_given?
2632
+ result
2633
+ end
2494
2634
  end
2495
2635
 
2496
2636
  ##
@@ -2519,16 +2659,18 @@ module Google
2519
2659
 
2520
2660
  response = @client_stub.make_http_request(
2521
2661
  verb,
2522
- uri: uri,
2523
- body: body || "",
2524
- params: query_string_params,
2662
+ uri: uri,
2663
+ body: body || "",
2664
+ params: query_string_params,
2665
+ method_name: "get_custom_metric",
2525
2666
  options: options
2526
2667
  )
2527
2668
  operation = ::Gapic::Rest::TransportOperation.new response
2528
2669
  result = ::Google::Analytics::Admin::V1alpha::CustomMetric.decode_json response.body, ignore_unknown_fields: true
2529
-
2530
- yield result, operation if block_given?
2531
- result
2670
+ catch :response do
2671
+ yield result, operation if block_given?
2672
+ result
2673
+ end
2532
2674
  end
2533
2675
 
2534
2676
  ##
@@ -2557,16 +2699,18 @@ module Google
2557
2699
 
2558
2700
  response = @client_stub.make_http_request(
2559
2701
  verb,
2560
- uri: uri,
2561
- body: body || "",
2562
- params: query_string_params,
2702
+ uri: uri,
2703
+ body: body || "",
2704
+ params: query_string_params,
2705
+ method_name: "get_data_retention_settings",
2563
2706
  options: options
2564
2707
  )
2565
2708
  operation = ::Gapic::Rest::TransportOperation.new response
2566
2709
  result = ::Google::Analytics::Admin::V1alpha::DataRetentionSettings.decode_json response.body, ignore_unknown_fields: true
2567
-
2568
- yield result, operation if block_given?
2569
- result
2710
+ catch :response do
2711
+ yield result, operation if block_given?
2712
+ result
2713
+ end
2570
2714
  end
2571
2715
 
2572
2716
  ##
@@ -2595,16 +2739,18 @@ module Google
2595
2739
 
2596
2740
  response = @client_stub.make_http_request(
2597
2741
  verb,
2598
- uri: uri,
2599
- body: body || "",
2600
- params: query_string_params,
2742
+ uri: uri,
2743
+ body: body || "",
2744
+ params: query_string_params,
2745
+ method_name: "update_data_retention_settings",
2601
2746
  options: options
2602
2747
  )
2603
2748
  operation = ::Gapic::Rest::TransportOperation.new response
2604
2749
  result = ::Google::Analytics::Admin::V1alpha::DataRetentionSettings.decode_json response.body, ignore_unknown_fields: true
2605
-
2606
- yield result, operation if block_given?
2607
- result
2750
+ catch :response do
2751
+ yield result, operation if block_given?
2752
+ result
2753
+ end
2608
2754
  end
2609
2755
 
2610
2756
  ##
@@ -2633,16 +2779,18 @@ module Google
2633
2779
 
2634
2780
  response = @client_stub.make_http_request(
2635
2781
  verb,
2636
- uri: uri,
2637
- body: body || "",
2638
- params: query_string_params,
2782
+ uri: uri,
2783
+ body: body || "",
2784
+ params: query_string_params,
2785
+ method_name: "create_data_stream",
2639
2786
  options: options
2640
2787
  )
2641
2788
  operation = ::Gapic::Rest::TransportOperation.new response
2642
2789
  result = ::Google::Analytics::Admin::V1alpha::DataStream.decode_json response.body, ignore_unknown_fields: true
2643
-
2644
- yield result, operation if block_given?
2645
- result
2790
+ catch :response do
2791
+ yield result, operation if block_given?
2792
+ result
2793
+ end
2646
2794
  end
2647
2795
 
2648
2796
  ##
@@ -2671,16 +2819,18 @@ module Google
2671
2819
 
2672
2820
  response = @client_stub.make_http_request(
2673
2821
  verb,
2674
- uri: uri,
2675
- body: body || "",
2676
- params: query_string_params,
2822
+ uri: uri,
2823
+ body: body || "",
2824
+ params: query_string_params,
2825
+ method_name: "delete_data_stream",
2677
2826
  options: options
2678
2827
  )
2679
2828
  operation = ::Gapic::Rest::TransportOperation.new response
2680
2829
  result = ::Google::Protobuf::Empty.decode_json response.body, ignore_unknown_fields: true
2681
-
2682
- yield result, operation if block_given?
2683
- result
2830
+ catch :response do
2831
+ yield result, operation if block_given?
2832
+ result
2833
+ end
2684
2834
  end
2685
2835
 
2686
2836
  ##
@@ -2709,16 +2859,18 @@ module Google
2709
2859
 
2710
2860
  response = @client_stub.make_http_request(
2711
2861
  verb,
2712
- uri: uri,
2713
- body: body || "",
2714
- params: query_string_params,
2862
+ uri: uri,
2863
+ body: body || "",
2864
+ params: query_string_params,
2865
+ method_name: "update_data_stream",
2715
2866
  options: options
2716
2867
  )
2717
2868
  operation = ::Gapic::Rest::TransportOperation.new response
2718
2869
  result = ::Google::Analytics::Admin::V1alpha::DataStream.decode_json response.body, ignore_unknown_fields: true
2719
-
2720
- yield result, operation if block_given?
2721
- result
2870
+ catch :response do
2871
+ yield result, operation if block_given?
2872
+ result
2873
+ end
2722
2874
  end
2723
2875
 
2724
2876
  ##
@@ -2747,16 +2899,18 @@ module Google
2747
2899
 
2748
2900
  response = @client_stub.make_http_request(
2749
2901
  verb,
2750
- uri: uri,
2751
- body: body || "",
2752
- params: query_string_params,
2902
+ uri: uri,
2903
+ body: body || "",
2904
+ params: query_string_params,
2905
+ method_name: "list_data_streams",
2753
2906
  options: options
2754
2907
  )
2755
2908
  operation = ::Gapic::Rest::TransportOperation.new response
2756
2909
  result = ::Google::Analytics::Admin::V1alpha::ListDataStreamsResponse.decode_json response.body, ignore_unknown_fields: true
2757
-
2758
- yield result, operation if block_given?
2759
- result
2910
+ catch :response do
2911
+ yield result, operation if block_given?
2912
+ result
2913
+ end
2760
2914
  end
2761
2915
 
2762
2916
  ##
@@ -2785,16 +2939,18 @@ module Google
2785
2939
 
2786
2940
  response = @client_stub.make_http_request(
2787
2941
  verb,
2788
- uri: uri,
2789
- body: body || "",
2790
- params: query_string_params,
2942
+ uri: uri,
2943
+ body: body || "",
2944
+ params: query_string_params,
2945
+ method_name: "get_data_stream",
2791
2946
  options: options
2792
2947
  )
2793
2948
  operation = ::Gapic::Rest::TransportOperation.new response
2794
2949
  result = ::Google::Analytics::Admin::V1alpha::DataStream.decode_json response.body, ignore_unknown_fields: true
2795
-
2796
- yield result, operation if block_given?
2797
- result
2950
+ catch :response do
2951
+ yield result, operation if block_given?
2952
+ result
2953
+ end
2798
2954
  end
2799
2955
 
2800
2956
  ##
@@ -2823,16 +2979,18 @@ module Google
2823
2979
 
2824
2980
  response = @client_stub.make_http_request(
2825
2981
  verb,
2826
- uri: uri,
2827
- body: body || "",
2828
- params: query_string_params,
2982
+ uri: uri,
2983
+ body: body || "",
2984
+ params: query_string_params,
2985
+ method_name: "get_audience",
2829
2986
  options: options
2830
2987
  )
2831
2988
  operation = ::Gapic::Rest::TransportOperation.new response
2832
2989
  result = ::Google::Analytics::Admin::V1alpha::Audience.decode_json response.body, ignore_unknown_fields: true
2833
-
2834
- yield result, operation if block_given?
2835
- result
2990
+ catch :response do
2991
+ yield result, operation if block_given?
2992
+ result
2993
+ end
2836
2994
  end
2837
2995
 
2838
2996
  ##
@@ -2861,16 +3019,18 @@ module Google
2861
3019
 
2862
3020
  response = @client_stub.make_http_request(
2863
3021
  verb,
2864
- uri: uri,
2865
- body: body || "",
2866
- params: query_string_params,
3022
+ uri: uri,
3023
+ body: body || "",
3024
+ params: query_string_params,
3025
+ method_name: "list_audiences",
2867
3026
  options: options
2868
3027
  )
2869
3028
  operation = ::Gapic::Rest::TransportOperation.new response
2870
3029
  result = ::Google::Analytics::Admin::V1alpha::ListAudiencesResponse.decode_json response.body, ignore_unknown_fields: true
2871
-
2872
- yield result, operation if block_given?
2873
- result
3030
+ catch :response do
3031
+ yield result, operation if block_given?
3032
+ result
3033
+ end
2874
3034
  end
2875
3035
 
2876
3036
  ##
@@ -2899,16 +3059,18 @@ module Google
2899
3059
 
2900
3060
  response = @client_stub.make_http_request(
2901
3061
  verb,
2902
- uri: uri,
2903
- body: body || "",
2904
- params: query_string_params,
3062
+ uri: uri,
3063
+ body: body || "",
3064
+ params: query_string_params,
3065
+ method_name: "create_audience",
2905
3066
  options: options
2906
3067
  )
2907
3068
  operation = ::Gapic::Rest::TransportOperation.new response
2908
3069
  result = ::Google::Analytics::Admin::V1alpha::Audience.decode_json response.body, ignore_unknown_fields: true
2909
-
2910
- yield result, operation if block_given?
2911
- result
3070
+ catch :response do
3071
+ yield result, operation if block_given?
3072
+ result
3073
+ end
2912
3074
  end
2913
3075
 
2914
3076
  ##
@@ -2937,16 +3099,18 @@ module Google
2937
3099
 
2938
3100
  response = @client_stub.make_http_request(
2939
3101
  verb,
2940
- uri: uri,
2941
- body: body || "",
2942
- params: query_string_params,
3102
+ uri: uri,
3103
+ body: body || "",
3104
+ params: query_string_params,
3105
+ method_name: "update_audience",
2943
3106
  options: options
2944
3107
  )
2945
3108
  operation = ::Gapic::Rest::TransportOperation.new response
2946
3109
  result = ::Google::Analytics::Admin::V1alpha::Audience.decode_json response.body, ignore_unknown_fields: true
2947
-
2948
- yield result, operation if block_given?
2949
- result
3110
+ catch :response do
3111
+ yield result, operation if block_given?
3112
+ result
3113
+ end
2950
3114
  end
2951
3115
 
2952
3116
  ##
@@ -2975,16 +3139,18 @@ module Google
2975
3139
 
2976
3140
  response = @client_stub.make_http_request(
2977
3141
  verb,
2978
- uri: uri,
2979
- body: body || "",
2980
- params: query_string_params,
3142
+ uri: uri,
3143
+ body: body || "",
3144
+ params: query_string_params,
3145
+ method_name: "archive_audience",
2981
3146
  options: options
2982
3147
  )
2983
3148
  operation = ::Gapic::Rest::TransportOperation.new response
2984
3149
  result = ::Google::Protobuf::Empty.decode_json response.body, ignore_unknown_fields: true
2985
-
2986
- yield result, operation if block_given?
2987
- result
3150
+ catch :response do
3151
+ yield result, operation if block_given?
3152
+ result
3153
+ end
2988
3154
  end
2989
3155
 
2990
3156
  ##
@@ -3013,16 +3179,18 @@ module Google
3013
3179
 
3014
3180
  response = @client_stub.make_http_request(
3015
3181
  verb,
3016
- uri: uri,
3017
- body: body || "",
3018
- params: query_string_params,
3182
+ uri: uri,
3183
+ body: body || "",
3184
+ params: query_string_params,
3185
+ method_name: "get_search_ads360_link",
3019
3186
  options: options
3020
3187
  )
3021
3188
  operation = ::Gapic::Rest::TransportOperation.new response
3022
3189
  result = ::Google::Analytics::Admin::V1alpha::SearchAds360Link.decode_json response.body, ignore_unknown_fields: true
3023
-
3024
- yield result, operation if block_given?
3025
- result
3190
+ catch :response do
3191
+ yield result, operation if block_given?
3192
+ result
3193
+ end
3026
3194
  end
3027
3195
 
3028
3196
  ##
@@ -3051,16 +3219,18 @@ module Google
3051
3219
 
3052
3220
  response = @client_stub.make_http_request(
3053
3221
  verb,
3054
- uri: uri,
3055
- body: body || "",
3056
- params: query_string_params,
3222
+ uri: uri,
3223
+ body: body || "",
3224
+ params: query_string_params,
3225
+ method_name: "list_search_ads360_links",
3057
3226
  options: options
3058
3227
  )
3059
3228
  operation = ::Gapic::Rest::TransportOperation.new response
3060
3229
  result = ::Google::Analytics::Admin::V1alpha::ListSearchAds360LinksResponse.decode_json response.body, ignore_unknown_fields: true
3061
-
3062
- yield result, operation if block_given?
3063
- result
3230
+ catch :response do
3231
+ yield result, operation if block_given?
3232
+ result
3233
+ end
3064
3234
  end
3065
3235
 
3066
3236
  ##
@@ -3089,16 +3259,18 @@ module Google
3089
3259
 
3090
3260
  response = @client_stub.make_http_request(
3091
3261
  verb,
3092
- uri: uri,
3093
- body: body || "",
3094
- params: query_string_params,
3262
+ uri: uri,
3263
+ body: body || "",
3264
+ params: query_string_params,
3265
+ method_name: "create_search_ads360_link",
3095
3266
  options: options
3096
3267
  )
3097
3268
  operation = ::Gapic::Rest::TransportOperation.new response
3098
3269
  result = ::Google::Analytics::Admin::V1alpha::SearchAds360Link.decode_json response.body, ignore_unknown_fields: true
3099
-
3100
- yield result, operation if block_given?
3101
- result
3270
+ catch :response do
3271
+ yield result, operation if block_given?
3272
+ result
3273
+ end
3102
3274
  end
3103
3275
 
3104
3276
  ##
@@ -3127,16 +3299,18 @@ module Google
3127
3299
 
3128
3300
  response = @client_stub.make_http_request(
3129
3301
  verb,
3130
- uri: uri,
3131
- body: body || "",
3132
- params: query_string_params,
3302
+ uri: uri,
3303
+ body: body || "",
3304
+ params: query_string_params,
3305
+ method_name: "delete_search_ads360_link",
3133
3306
  options: options
3134
3307
  )
3135
3308
  operation = ::Gapic::Rest::TransportOperation.new response
3136
3309
  result = ::Google::Protobuf::Empty.decode_json response.body, ignore_unknown_fields: true
3137
-
3138
- yield result, operation if block_given?
3139
- result
3310
+ catch :response do
3311
+ yield result, operation if block_given?
3312
+ result
3313
+ end
3140
3314
  end
3141
3315
 
3142
3316
  ##
@@ -3165,16 +3339,18 @@ module Google
3165
3339
 
3166
3340
  response = @client_stub.make_http_request(
3167
3341
  verb,
3168
- uri: uri,
3169
- body: body || "",
3170
- params: query_string_params,
3342
+ uri: uri,
3343
+ body: body || "",
3344
+ params: query_string_params,
3345
+ method_name: "update_search_ads360_link",
3171
3346
  options: options
3172
3347
  )
3173
3348
  operation = ::Gapic::Rest::TransportOperation.new response
3174
3349
  result = ::Google::Analytics::Admin::V1alpha::SearchAds360Link.decode_json response.body, ignore_unknown_fields: true
3175
-
3176
- yield result, operation if block_given?
3177
- result
3350
+ catch :response do
3351
+ yield result, operation if block_given?
3352
+ result
3353
+ end
3178
3354
  end
3179
3355
 
3180
3356
  ##
@@ -3203,16 +3379,18 @@ module Google
3203
3379
 
3204
3380
  response = @client_stub.make_http_request(
3205
3381
  verb,
3206
- uri: uri,
3207
- body: body || "",
3208
- params: query_string_params,
3382
+ uri: uri,
3383
+ body: body || "",
3384
+ params: query_string_params,
3385
+ method_name: "get_attribution_settings",
3209
3386
  options: options
3210
3387
  )
3211
3388
  operation = ::Gapic::Rest::TransportOperation.new response
3212
3389
  result = ::Google::Analytics::Admin::V1alpha::AttributionSettings.decode_json response.body, ignore_unknown_fields: true
3213
-
3214
- yield result, operation if block_given?
3215
- result
3390
+ catch :response do
3391
+ yield result, operation if block_given?
3392
+ result
3393
+ end
3216
3394
  end
3217
3395
 
3218
3396
  ##
@@ -3241,16 +3419,18 @@ module Google
3241
3419
 
3242
3420
  response = @client_stub.make_http_request(
3243
3421
  verb,
3244
- uri: uri,
3245
- body: body || "",
3246
- params: query_string_params,
3422
+ uri: uri,
3423
+ body: body || "",
3424
+ params: query_string_params,
3425
+ method_name: "update_attribution_settings",
3247
3426
  options: options
3248
3427
  )
3249
3428
  operation = ::Gapic::Rest::TransportOperation.new response
3250
3429
  result = ::Google::Analytics::Admin::V1alpha::AttributionSettings.decode_json response.body, ignore_unknown_fields: true
3251
-
3252
- yield result, operation if block_given?
3253
- result
3430
+ catch :response do
3431
+ yield result, operation if block_given?
3432
+ result
3433
+ end
3254
3434
  end
3255
3435
 
3256
3436
  ##
@@ -3279,16 +3459,18 @@ module Google
3279
3459
 
3280
3460
  response = @client_stub.make_http_request(
3281
3461
  verb,
3282
- uri: uri,
3283
- body: body || "",
3284
- params: query_string_params,
3462
+ uri: uri,
3463
+ body: body || "",
3464
+ params: query_string_params,
3465
+ method_name: "run_access_report",
3285
3466
  options: options
3286
3467
  )
3287
3468
  operation = ::Gapic::Rest::TransportOperation.new response
3288
3469
  result = ::Google::Analytics::Admin::V1alpha::RunAccessReportResponse.decode_json response.body, ignore_unknown_fields: true
3289
-
3290
- yield result, operation if block_given?
3291
- result
3470
+ catch :response do
3471
+ yield result, operation if block_given?
3472
+ result
3473
+ end
3292
3474
  end
3293
3475
 
3294
3476
  ##
@@ -3317,16 +3499,18 @@ module Google
3317
3499
 
3318
3500
  response = @client_stub.make_http_request(
3319
3501
  verb,
3320
- uri: uri,
3321
- body: body || "",
3322
- params: query_string_params,
3502
+ uri: uri,
3503
+ body: body || "",
3504
+ params: query_string_params,
3505
+ method_name: "create_access_binding",
3323
3506
  options: options
3324
3507
  )
3325
3508
  operation = ::Gapic::Rest::TransportOperation.new response
3326
3509
  result = ::Google::Analytics::Admin::V1alpha::AccessBinding.decode_json response.body, ignore_unknown_fields: true
3327
-
3328
- yield result, operation if block_given?
3329
- result
3510
+ catch :response do
3511
+ yield result, operation if block_given?
3512
+ result
3513
+ end
3330
3514
  end
3331
3515
 
3332
3516
  ##
@@ -3355,16 +3539,18 @@ module Google
3355
3539
 
3356
3540
  response = @client_stub.make_http_request(
3357
3541
  verb,
3358
- uri: uri,
3359
- body: body || "",
3360
- params: query_string_params,
3542
+ uri: uri,
3543
+ body: body || "",
3544
+ params: query_string_params,
3545
+ method_name: "get_access_binding",
3361
3546
  options: options
3362
3547
  )
3363
3548
  operation = ::Gapic::Rest::TransportOperation.new response
3364
3549
  result = ::Google::Analytics::Admin::V1alpha::AccessBinding.decode_json response.body, ignore_unknown_fields: true
3365
-
3366
- yield result, operation if block_given?
3367
- result
3550
+ catch :response do
3551
+ yield result, operation if block_given?
3552
+ result
3553
+ end
3368
3554
  end
3369
3555
 
3370
3556
  ##
@@ -3393,16 +3579,18 @@ module Google
3393
3579
 
3394
3580
  response = @client_stub.make_http_request(
3395
3581
  verb,
3396
- uri: uri,
3397
- body: body || "",
3398
- params: query_string_params,
3582
+ uri: uri,
3583
+ body: body || "",
3584
+ params: query_string_params,
3585
+ method_name: "update_access_binding",
3399
3586
  options: options
3400
3587
  )
3401
3588
  operation = ::Gapic::Rest::TransportOperation.new response
3402
3589
  result = ::Google::Analytics::Admin::V1alpha::AccessBinding.decode_json response.body, ignore_unknown_fields: true
3403
-
3404
- yield result, operation if block_given?
3405
- result
3590
+ catch :response do
3591
+ yield result, operation if block_given?
3592
+ result
3593
+ end
3406
3594
  end
3407
3595
 
3408
3596
  ##
@@ -3431,16 +3619,18 @@ module Google
3431
3619
 
3432
3620
  response = @client_stub.make_http_request(
3433
3621
  verb,
3434
- uri: uri,
3435
- body: body || "",
3436
- params: query_string_params,
3622
+ uri: uri,
3623
+ body: body || "",
3624
+ params: query_string_params,
3625
+ method_name: "delete_access_binding",
3437
3626
  options: options
3438
3627
  )
3439
3628
  operation = ::Gapic::Rest::TransportOperation.new response
3440
3629
  result = ::Google::Protobuf::Empty.decode_json response.body, ignore_unknown_fields: true
3441
-
3442
- yield result, operation if block_given?
3443
- result
3630
+ catch :response do
3631
+ yield result, operation if block_given?
3632
+ result
3633
+ end
3444
3634
  end
3445
3635
 
3446
3636
  ##
@@ -3469,16 +3659,18 @@ module Google
3469
3659
 
3470
3660
  response = @client_stub.make_http_request(
3471
3661
  verb,
3472
- uri: uri,
3473
- body: body || "",
3474
- params: query_string_params,
3662
+ uri: uri,
3663
+ body: body || "",
3664
+ params: query_string_params,
3665
+ method_name: "list_access_bindings",
3475
3666
  options: options
3476
3667
  )
3477
3668
  operation = ::Gapic::Rest::TransportOperation.new response
3478
3669
  result = ::Google::Analytics::Admin::V1alpha::ListAccessBindingsResponse.decode_json response.body, ignore_unknown_fields: true
3479
-
3480
- yield result, operation if block_given?
3481
- result
3670
+ catch :response do
3671
+ yield result, operation if block_given?
3672
+ result
3673
+ end
3482
3674
  end
3483
3675
 
3484
3676
  ##
@@ -3507,16 +3699,18 @@ module Google
3507
3699
 
3508
3700
  response = @client_stub.make_http_request(
3509
3701
  verb,
3510
- uri: uri,
3511
- body: body || "",
3512
- params: query_string_params,
3702
+ uri: uri,
3703
+ body: body || "",
3704
+ params: query_string_params,
3705
+ method_name: "batch_create_access_bindings",
3513
3706
  options: options
3514
3707
  )
3515
3708
  operation = ::Gapic::Rest::TransportOperation.new response
3516
3709
  result = ::Google::Analytics::Admin::V1alpha::BatchCreateAccessBindingsResponse.decode_json response.body, ignore_unknown_fields: true
3517
-
3518
- yield result, operation if block_given?
3519
- result
3710
+ catch :response do
3711
+ yield result, operation if block_given?
3712
+ result
3713
+ end
3520
3714
  end
3521
3715
 
3522
3716
  ##
@@ -3545,16 +3739,18 @@ module Google
3545
3739
 
3546
3740
  response = @client_stub.make_http_request(
3547
3741
  verb,
3548
- uri: uri,
3549
- body: body || "",
3550
- params: query_string_params,
3742
+ uri: uri,
3743
+ body: body || "",
3744
+ params: query_string_params,
3745
+ method_name: "batch_get_access_bindings",
3551
3746
  options: options
3552
3747
  )
3553
3748
  operation = ::Gapic::Rest::TransportOperation.new response
3554
3749
  result = ::Google::Analytics::Admin::V1alpha::BatchGetAccessBindingsResponse.decode_json response.body, ignore_unknown_fields: true
3555
-
3556
- yield result, operation if block_given?
3557
- result
3750
+ catch :response do
3751
+ yield result, operation if block_given?
3752
+ result
3753
+ end
3558
3754
  end
3559
3755
 
3560
3756
  ##
@@ -3583,16 +3779,18 @@ module Google
3583
3779
 
3584
3780
  response = @client_stub.make_http_request(
3585
3781
  verb,
3586
- uri: uri,
3587
- body: body || "",
3588
- params: query_string_params,
3782
+ uri: uri,
3783
+ body: body || "",
3784
+ params: query_string_params,
3785
+ method_name: "batch_update_access_bindings",
3589
3786
  options: options
3590
3787
  )
3591
3788
  operation = ::Gapic::Rest::TransportOperation.new response
3592
3789
  result = ::Google::Analytics::Admin::V1alpha::BatchUpdateAccessBindingsResponse.decode_json response.body, ignore_unknown_fields: true
3593
-
3594
- yield result, operation if block_given?
3595
- result
3790
+ catch :response do
3791
+ yield result, operation if block_given?
3792
+ result
3793
+ end
3596
3794
  end
3597
3795
 
3598
3796
  ##
@@ -3621,16 +3819,18 @@ module Google
3621
3819
 
3622
3820
  response = @client_stub.make_http_request(
3623
3821
  verb,
3624
- uri: uri,
3625
- body: body || "",
3626
- params: query_string_params,
3822
+ uri: uri,
3823
+ body: body || "",
3824
+ params: query_string_params,
3825
+ method_name: "batch_delete_access_bindings",
3627
3826
  options: options
3628
3827
  )
3629
3828
  operation = ::Gapic::Rest::TransportOperation.new response
3630
3829
  result = ::Google::Protobuf::Empty.decode_json response.body, ignore_unknown_fields: true
3631
-
3632
- yield result, operation if block_given?
3633
- result
3830
+ catch :response do
3831
+ yield result, operation if block_given?
3832
+ result
3833
+ end
3634
3834
  end
3635
3835
 
3636
3836
  ##
@@ -3659,16 +3859,18 @@ module Google
3659
3859
 
3660
3860
  response = @client_stub.make_http_request(
3661
3861
  verb,
3662
- uri: uri,
3663
- body: body || "",
3664
- params: query_string_params,
3862
+ uri: uri,
3863
+ body: body || "",
3864
+ params: query_string_params,
3865
+ method_name: "get_expanded_data_set",
3665
3866
  options: options
3666
3867
  )
3667
3868
  operation = ::Gapic::Rest::TransportOperation.new response
3668
3869
  result = ::Google::Analytics::Admin::V1alpha::ExpandedDataSet.decode_json response.body, ignore_unknown_fields: true
3669
-
3670
- yield result, operation if block_given?
3671
- result
3870
+ catch :response do
3871
+ yield result, operation if block_given?
3872
+ result
3873
+ end
3672
3874
  end
3673
3875
 
3674
3876
  ##
@@ -3697,16 +3899,18 @@ module Google
3697
3899
 
3698
3900
  response = @client_stub.make_http_request(
3699
3901
  verb,
3700
- uri: uri,
3701
- body: body || "",
3702
- params: query_string_params,
3902
+ uri: uri,
3903
+ body: body || "",
3904
+ params: query_string_params,
3905
+ method_name: "list_expanded_data_sets",
3703
3906
  options: options
3704
3907
  )
3705
3908
  operation = ::Gapic::Rest::TransportOperation.new response
3706
3909
  result = ::Google::Analytics::Admin::V1alpha::ListExpandedDataSetsResponse.decode_json response.body, ignore_unknown_fields: true
3707
-
3708
- yield result, operation if block_given?
3709
- result
3910
+ catch :response do
3911
+ yield result, operation if block_given?
3912
+ result
3913
+ end
3710
3914
  end
3711
3915
 
3712
3916
  ##
@@ -3735,16 +3939,18 @@ module Google
3735
3939
 
3736
3940
  response = @client_stub.make_http_request(
3737
3941
  verb,
3738
- uri: uri,
3739
- body: body || "",
3740
- params: query_string_params,
3942
+ uri: uri,
3943
+ body: body || "",
3944
+ params: query_string_params,
3945
+ method_name: "create_expanded_data_set",
3741
3946
  options: options
3742
3947
  )
3743
3948
  operation = ::Gapic::Rest::TransportOperation.new response
3744
3949
  result = ::Google::Analytics::Admin::V1alpha::ExpandedDataSet.decode_json response.body, ignore_unknown_fields: true
3745
-
3746
- yield result, operation if block_given?
3747
- result
3950
+ catch :response do
3951
+ yield result, operation if block_given?
3952
+ result
3953
+ end
3748
3954
  end
3749
3955
 
3750
3956
  ##
@@ -3773,16 +3979,18 @@ module Google
3773
3979
 
3774
3980
  response = @client_stub.make_http_request(
3775
3981
  verb,
3776
- uri: uri,
3777
- body: body || "",
3778
- params: query_string_params,
3982
+ uri: uri,
3983
+ body: body || "",
3984
+ params: query_string_params,
3985
+ method_name: "update_expanded_data_set",
3779
3986
  options: options
3780
3987
  )
3781
3988
  operation = ::Gapic::Rest::TransportOperation.new response
3782
3989
  result = ::Google::Analytics::Admin::V1alpha::ExpandedDataSet.decode_json response.body, ignore_unknown_fields: true
3783
-
3784
- yield result, operation if block_given?
3785
- result
3990
+ catch :response do
3991
+ yield result, operation if block_given?
3992
+ result
3993
+ end
3786
3994
  end
3787
3995
 
3788
3996
  ##
@@ -3811,16 +4019,18 @@ module Google
3811
4019
 
3812
4020
  response = @client_stub.make_http_request(
3813
4021
  verb,
3814
- uri: uri,
3815
- body: body || "",
3816
- params: query_string_params,
4022
+ uri: uri,
4023
+ body: body || "",
4024
+ params: query_string_params,
4025
+ method_name: "delete_expanded_data_set",
3817
4026
  options: options
3818
4027
  )
3819
4028
  operation = ::Gapic::Rest::TransportOperation.new response
3820
4029
  result = ::Google::Protobuf::Empty.decode_json response.body, ignore_unknown_fields: true
3821
-
3822
- yield result, operation if block_given?
3823
- result
4030
+ catch :response do
4031
+ yield result, operation if block_given?
4032
+ result
4033
+ end
3824
4034
  end
3825
4035
 
3826
4036
  ##
@@ -3849,16 +4059,18 @@ module Google
3849
4059
 
3850
4060
  response = @client_stub.make_http_request(
3851
4061
  verb,
3852
- uri: uri,
3853
- body: body || "",
3854
- params: query_string_params,
4062
+ uri: uri,
4063
+ body: body || "",
4064
+ params: query_string_params,
4065
+ method_name: "get_channel_group",
3855
4066
  options: options
3856
4067
  )
3857
4068
  operation = ::Gapic::Rest::TransportOperation.new response
3858
4069
  result = ::Google::Analytics::Admin::V1alpha::ChannelGroup.decode_json response.body, ignore_unknown_fields: true
3859
-
3860
- yield result, operation if block_given?
3861
- result
4070
+ catch :response do
4071
+ yield result, operation if block_given?
4072
+ result
4073
+ end
3862
4074
  end
3863
4075
 
3864
4076
  ##
@@ -3887,16 +4099,18 @@ module Google
3887
4099
 
3888
4100
  response = @client_stub.make_http_request(
3889
4101
  verb,
3890
- uri: uri,
3891
- body: body || "",
3892
- params: query_string_params,
4102
+ uri: uri,
4103
+ body: body || "",
4104
+ params: query_string_params,
4105
+ method_name: "list_channel_groups",
3893
4106
  options: options
3894
4107
  )
3895
4108
  operation = ::Gapic::Rest::TransportOperation.new response
3896
4109
  result = ::Google::Analytics::Admin::V1alpha::ListChannelGroupsResponse.decode_json response.body, ignore_unknown_fields: true
3897
-
3898
- yield result, operation if block_given?
3899
- result
4110
+ catch :response do
4111
+ yield result, operation if block_given?
4112
+ result
4113
+ end
3900
4114
  end
3901
4115
 
3902
4116
  ##
@@ -3925,16 +4139,18 @@ module Google
3925
4139
 
3926
4140
  response = @client_stub.make_http_request(
3927
4141
  verb,
3928
- uri: uri,
3929
- body: body || "",
3930
- params: query_string_params,
4142
+ uri: uri,
4143
+ body: body || "",
4144
+ params: query_string_params,
4145
+ method_name: "create_channel_group",
3931
4146
  options: options
3932
4147
  )
3933
4148
  operation = ::Gapic::Rest::TransportOperation.new response
3934
4149
  result = ::Google::Analytics::Admin::V1alpha::ChannelGroup.decode_json response.body, ignore_unknown_fields: true
3935
-
3936
- yield result, operation if block_given?
3937
- result
4150
+ catch :response do
4151
+ yield result, operation if block_given?
4152
+ result
4153
+ end
3938
4154
  end
3939
4155
 
3940
4156
  ##
@@ -3963,16 +4179,18 @@ module Google
3963
4179
 
3964
4180
  response = @client_stub.make_http_request(
3965
4181
  verb,
3966
- uri: uri,
3967
- body: body || "",
3968
- params: query_string_params,
4182
+ uri: uri,
4183
+ body: body || "",
4184
+ params: query_string_params,
4185
+ method_name: "update_channel_group",
3969
4186
  options: options
3970
4187
  )
3971
4188
  operation = ::Gapic::Rest::TransportOperation.new response
3972
4189
  result = ::Google::Analytics::Admin::V1alpha::ChannelGroup.decode_json response.body, ignore_unknown_fields: true
3973
-
3974
- yield result, operation if block_given?
3975
- result
4190
+ catch :response do
4191
+ yield result, operation if block_given?
4192
+ result
4193
+ end
3976
4194
  end
3977
4195
 
3978
4196
  ##
@@ -4001,16 +4219,18 @@ module Google
4001
4219
 
4002
4220
  response = @client_stub.make_http_request(
4003
4221
  verb,
4004
- uri: uri,
4005
- body: body || "",
4006
- params: query_string_params,
4222
+ uri: uri,
4223
+ body: body || "",
4224
+ params: query_string_params,
4225
+ method_name: "delete_channel_group",
4007
4226
  options: options
4008
4227
  )
4009
4228
  operation = ::Gapic::Rest::TransportOperation.new response
4010
4229
  result = ::Google::Protobuf::Empty.decode_json response.body, ignore_unknown_fields: true
4011
-
4012
- yield result, operation if block_given?
4013
- result
4230
+ catch :response do
4231
+ yield result, operation if block_given?
4232
+ result
4233
+ end
4014
4234
  end
4015
4235
 
4016
4236
  ##
@@ -4039,16 +4259,18 @@ module Google
4039
4259
 
4040
4260
  response = @client_stub.make_http_request(
4041
4261
  verb,
4042
- uri: uri,
4043
- body: body || "",
4044
- params: query_string_params,
4262
+ uri: uri,
4263
+ body: body || "",
4264
+ params: query_string_params,
4265
+ method_name: "set_automated_ga4_configuration_opt_out",
4045
4266
  options: options
4046
4267
  )
4047
4268
  operation = ::Gapic::Rest::TransportOperation.new response
4048
4269
  result = ::Google::Analytics::Admin::V1alpha::SetAutomatedGa4ConfigurationOptOutResponse.decode_json response.body, ignore_unknown_fields: true
4049
-
4050
- yield result, operation if block_given?
4051
- result
4270
+ catch :response do
4271
+ yield result, operation if block_given?
4272
+ result
4273
+ end
4052
4274
  end
4053
4275
 
4054
4276
  ##
@@ -4077,16 +4299,18 @@ module Google
4077
4299
 
4078
4300
  response = @client_stub.make_http_request(
4079
4301
  verb,
4080
- uri: uri,
4081
- body: body || "",
4082
- params: query_string_params,
4302
+ uri: uri,
4303
+ body: body || "",
4304
+ params: query_string_params,
4305
+ method_name: "fetch_automated_ga4_configuration_opt_out",
4083
4306
  options: options
4084
4307
  )
4085
4308
  operation = ::Gapic::Rest::TransportOperation.new response
4086
4309
  result = ::Google::Analytics::Admin::V1alpha::FetchAutomatedGa4ConfigurationOptOutResponse.decode_json response.body, ignore_unknown_fields: true
4087
-
4088
- yield result, operation if block_given?
4089
- result
4310
+ catch :response do
4311
+ yield result, operation if block_given?
4312
+ result
4313
+ end
4090
4314
  end
4091
4315
 
4092
4316
  ##
@@ -4115,16 +4339,18 @@ module Google
4115
4339
 
4116
4340
  response = @client_stub.make_http_request(
4117
4341
  verb,
4118
- uri: uri,
4119
- body: body || "",
4120
- params: query_string_params,
4342
+ uri: uri,
4343
+ body: body || "",
4344
+ params: query_string_params,
4345
+ method_name: "create_big_query_link",
4121
4346
  options: options
4122
4347
  )
4123
4348
  operation = ::Gapic::Rest::TransportOperation.new response
4124
4349
  result = ::Google::Analytics::Admin::V1alpha::BigQueryLink.decode_json response.body, ignore_unknown_fields: true
4125
-
4126
- yield result, operation if block_given?
4127
- result
4350
+ catch :response do
4351
+ yield result, operation if block_given?
4352
+ result
4353
+ end
4128
4354
  end
4129
4355
 
4130
4356
  ##
@@ -4153,16 +4379,18 @@ module Google
4153
4379
 
4154
4380
  response = @client_stub.make_http_request(
4155
4381
  verb,
4156
- uri: uri,
4157
- body: body || "",
4158
- params: query_string_params,
4382
+ uri: uri,
4383
+ body: body || "",
4384
+ params: query_string_params,
4385
+ method_name: "get_big_query_link",
4159
4386
  options: options
4160
4387
  )
4161
4388
  operation = ::Gapic::Rest::TransportOperation.new response
4162
4389
  result = ::Google::Analytics::Admin::V1alpha::BigQueryLink.decode_json response.body, ignore_unknown_fields: true
4163
-
4164
- yield result, operation if block_given?
4165
- result
4390
+ catch :response do
4391
+ yield result, operation if block_given?
4392
+ result
4393
+ end
4166
4394
  end
4167
4395
 
4168
4396
  ##
@@ -4191,16 +4419,18 @@ module Google
4191
4419
 
4192
4420
  response = @client_stub.make_http_request(
4193
4421
  verb,
4194
- uri: uri,
4195
- body: body || "",
4196
- params: query_string_params,
4422
+ uri: uri,
4423
+ body: body || "",
4424
+ params: query_string_params,
4425
+ method_name: "list_big_query_links",
4197
4426
  options: options
4198
4427
  )
4199
4428
  operation = ::Gapic::Rest::TransportOperation.new response
4200
4429
  result = ::Google::Analytics::Admin::V1alpha::ListBigQueryLinksResponse.decode_json response.body, ignore_unknown_fields: true
4201
-
4202
- yield result, operation if block_given?
4203
- result
4430
+ catch :response do
4431
+ yield result, operation if block_given?
4432
+ result
4433
+ end
4204
4434
  end
4205
4435
 
4206
4436
  ##
@@ -4229,16 +4459,18 @@ module Google
4229
4459
 
4230
4460
  response = @client_stub.make_http_request(
4231
4461
  verb,
4232
- uri: uri,
4233
- body: body || "",
4234
- params: query_string_params,
4462
+ uri: uri,
4463
+ body: body || "",
4464
+ params: query_string_params,
4465
+ method_name: "delete_big_query_link",
4235
4466
  options: options
4236
4467
  )
4237
4468
  operation = ::Gapic::Rest::TransportOperation.new response
4238
4469
  result = ::Google::Protobuf::Empty.decode_json response.body, ignore_unknown_fields: true
4239
-
4240
- yield result, operation if block_given?
4241
- result
4470
+ catch :response do
4471
+ yield result, operation if block_given?
4472
+ result
4473
+ end
4242
4474
  end
4243
4475
 
4244
4476
  ##
@@ -4267,16 +4499,18 @@ module Google
4267
4499
 
4268
4500
  response = @client_stub.make_http_request(
4269
4501
  verb,
4270
- uri: uri,
4271
- body: body || "",
4272
- params: query_string_params,
4502
+ uri: uri,
4503
+ body: body || "",
4504
+ params: query_string_params,
4505
+ method_name: "update_big_query_link",
4273
4506
  options: options
4274
4507
  )
4275
4508
  operation = ::Gapic::Rest::TransportOperation.new response
4276
4509
  result = ::Google::Analytics::Admin::V1alpha::BigQueryLink.decode_json response.body, ignore_unknown_fields: true
4277
-
4278
- yield result, operation if block_given?
4279
- result
4510
+ catch :response do
4511
+ yield result, operation if block_given?
4512
+ result
4513
+ end
4280
4514
  end
4281
4515
 
4282
4516
  ##
@@ -4305,16 +4539,18 @@ module Google
4305
4539
 
4306
4540
  response = @client_stub.make_http_request(
4307
4541
  verb,
4308
- uri: uri,
4309
- body: body || "",
4310
- params: query_string_params,
4542
+ uri: uri,
4543
+ body: body || "",
4544
+ params: query_string_params,
4545
+ method_name: "get_enhanced_measurement_settings",
4311
4546
  options: options
4312
4547
  )
4313
4548
  operation = ::Gapic::Rest::TransportOperation.new response
4314
4549
  result = ::Google::Analytics::Admin::V1alpha::EnhancedMeasurementSettings.decode_json response.body, ignore_unknown_fields: true
4315
-
4316
- yield result, operation if block_given?
4317
- result
4550
+ catch :response do
4551
+ yield result, operation if block_given?
4552
+ result
4553
+ end
4318
4554
  end
4319
4555
 
4320
4556
  ##
@@ -4343,16 +4579,18 @@ module Google
4343
4579
 
4344
4580
  response = @client_stub.make_http_request(
4345
4581
  verb,
4346
- uri: uri,
4347
- body: body || "",
4348
- params: query_string_params,
4582
+ uri: uri,
4583
+ body: body || "",
4584
+ params: query_string_params,
4585
+ method_name: "update_enhanced_measurement_settings",
4349
4586
  options: options
4350
4587
  )
4351
4588
  operation = ::Gapic::Rest::TransportOperation.new response
4352
4589
  result = ::Google::Analytics::Admin::V1alpha::EnhancedMeasurementSettings.decode_json response.body, ignore_unknown_fields: true
4353
-
4354
- yield result, operation if block_given?
4355
- result
4590
+ catch :response do
4591
+ yield result, operation if block_given?
4592
+ result
4593
+ end
4356
4594
  end
4357
4595
 
4358
4596
  ##
@@ -4381,16 +4619,18 @@ module Google
4381
4619
 
4382
4620
  response = @client_stub.make_http_request(
4383
4621
  verb,
4384
- uri: uri,
4385
- body: body || "",
4386
- params: query_string_params,
4622
+ uri: uri,
4623
+ body: body || "",
4624
+ params: query_string_params,
4625
+ method_name: "create_connected_site_tag",
4387
4626
  options: options
4388
4627
  )
4389
4628
  operation = ::Gapic::Rest::TransportOperation.new response
4390
4629
  result = ::Google::Analytics::Admin::V1alpha::CreateConnectedSiteTagResponse.decode_json response.body, ignore_unknown_fields: true
4391
-
4392
- yield result, operation if block_given?
4393
- result
4630
+ catch :response do
4631
+ yield result, operation if block_given?
4632
+ result
4633
+ end
4394
4634
  end
4395
4635
 
4396
4636
  ##
@@ -4419,16 +4659,18 @@ module Google
4419
4659
 
4420
4660
  response = @client_stub.make_http_request(
4421
4661
  verb,
4422
- uri: uri,
4423
- body: body || "",
4424
- params: query_string_params,
4662
+ uri: uri,
4663
+ body: body || "",
4664
+ params: query_string_params,
4665
+ method_name: "delete_connected_site_tag",
4425
4666
  options: options
4426
4667
  )
4427
4668
  operation = ::Gapic::Rest::TransportOperation.new response
4428
4669
  result = ::Google::Protobuf::Empty.decode_json response.body, ignore_unknown_fields: true
4429
-
4430
- yield result, operation if block_given?
4431
- result
4670
+ catch :response do
4671
+ yield result, operation if block_given?
4672
+ result
4673
+ end
4432
4674
  end
4433
4675
 
4434
4676
  ##
@@ -4457,16 +4699,18 @@ module Google
4457
4699
 
4458
4700
  response = @client_stub.make_http_request(
4459
4701
  verb,
4460
- uri: uri,
4461
- body: body || "",
4462
- params: query_string_params,
4702
+ uri: uri,
4703
+ body: body || "",
4704
+ params: query_string_params,
4705
+ method_name: "list_connected_site_tags",
4463
4706
  options: options
4464
4707
  )
4465
4708
  operation = ::Gapic::Rest::TransportOperation.new response
4466
4709
  result = ::Google::Analytics::Admin::V1alpha::ListConnectedSiteTagsResponse.decode_json response.body, ignore_unknown_fields: true
4467
-
4468
- yield result, operation if block_given?
4469
- result
4710
+ catch :response do
4711
+ yield result, operation if block_given?
4712
+ result
4713
+ end
4470
4714
  end
4471
4715
 
4472
4716
  ##
@@ -4495,16 +4739,18 @@ module Google
4495
4739
 
4496
4740
  response = @client_stub.make_http_request(
4497
4741
  verb,
4498
- uri: uri,
4499
- body: body || "",
4500
- params: query_string_params,
4742
+ uri: uri,
4743
+ body: body || "",
4744
+ params: query_string_params,
4745
+ method_name: "fetch_connected_ga4_property",
4501
4746
  options: options
4502
4747
  )
4503
4748
  operation = ::Gapic::Rest::TransportOperation.new response
4504
4749
  result = ::Google::Analytics::Admin::V1alpha::FetchConnectedGa4PropertyResponse.decode_json response.body, ignore_unknown_fields: true
4505
-
4506
- yield result, operation if block_given?
4507
- result
4750
+ catch :response do
4751
+ yield result, operation if block_given?
4752
+ result
4753
+ end
4508
4754
  end
4509
4755
 
4510
4756
  ##
@@ -4533,16 +4779,18 @@ module Google
4533
4779
 
4534
4780
  response = @client_stub.make_http_request(
4535
4781
  verb,
4536
- uri: uri,
4537
- body: body || "",
4538
- params: query_string_params,
4782
+ uri: uri,
4783
+ body: body || "",
4784
+ params: query_string_params,
4785
+ method_name: "get_ad_sense_link",
4539
4786
  options: options
4540
4787
  )
4541
4788
  operation = ::Gapic::Rest::TransportOperation.new response
4542
4789
  result = ::Google::Analytics::Admin::V1alpha::AdSenseLink.decode_json response.body, ignore_unknown_fields: true
4543
-
4544
- yield result, operation if block_given?
4545
- result
4790
+ catch :response do
4791
+ yield result, operation if block_given?
4792
+ result
4793
+ end
4546
4794
  end
4547
4795
 
4548
4796
  ##
@@ -4571,16 +4819,18 @@ module Google
4571
4819
 
4572
4820
  response = @client_stub.make_http_request(
4573
4821
  verb,
4574
- uri: uri,
4575
- body: body || "",
4576
- params: query_string_params,
4822
+ uri: uri,
4823
+ body: body || "",
4824
+ params: query_string_params,
4825
+ method_name: "create_ad_sense_link",
4577
4826
  options: options
4578
4827
  )
4579
4828
  operation = ::Gapic::Rest::TransportOperation.new response
4580
4829
  result = ::Google::Analytics::Admin::V1alpha::AdSenseLink.decode_json response.body, ignore_unknown_fields: true
4581
-
4582
- yield result, operation if block_given?
4583
- result
4830
+ catch :response do
4831
+ yield result, operation if block_given?
4832
+ result
4833
+ end
4584
4834
  end
4585
4835
 
4586
4836
  ##
@@ -4609,16 +4859,18 @@ module Google
4609
4859
 
4610
4860
  response = @client_stub.make_http_request(
4611
4861
  verb,
4612
- uri: uri,
4613
- body: body || "",
4614
- params: query_string_params,
4862
+ uri: uri,
4863
+ body: body || "",
4864
+ params: query_string_params,
4865
+ method_name: "delete_ad_sense_link",
4615
4866
  options: options
4616
4867
  )
4617
4868
  operation = ::Gapic::Rest::TransportOperation.new response
4618
4869
  result = ::Google::Protobuf::Empty.decode_json response.body, ignore_unknown_fields: true
4619
-
4620
- yield result, operation if block_given?
4621
- result
4870
+ catch :response do
4871
+ yield result, operation if block_given?
4872
+ result
4873
+ end
4622
4874
  end
4623
4875
 
4624
4876
  ##
@@ -4647,16 +4899,18 @@ module Google
4647
4899
 
4648
4900
  response = @client_stub.make_http_request(
4649
4901
  verb,
4650
- uri: uri,
4651
- body: body || "",
4652
- params: query_string_params,
4902
+ uri: uri,
4903
+ body: body || "",
4904
+ params: query_string_params,
4905
+ method_name: "list_ad_sense_links",
4653
4906
  options: options
4654
4907
  )
4655
4908
  operation = ::Gapic::Rest::TransportOperation.new response
4656
4909
  result = ::Google::Analytics::Admin::V1alpha::ListAdSenseLinksResponse.decode_json response.body, ignore_unknown_fields: true
4657
-
4658
- yield result, operation if block_given?
4659
- result
4910
+ catch :response do
4911
+ yield result, operation if block_given?
4912
+ result
4913
+ end
4660
4914
  end
4661
4915
 
4662
4916
  ##
@@ -4685,16 +4939,18 @@ module Google
4685
4939
 
4686
4940
  response = @client_stub.make_http_request(
4687
4941
  verb,
4688
- uri: uri,
4689
- body: body || "",
4690
- params: query_string_params,
4942
+ uri: uri,
4943
+ body: body || "",
4944
+ params: query_string_params,
4945
+ method_name: "get_event_create_rule",
4691
4946
  options: options
4692
4947
  )
4693
4948
  operation = ::Gapic::Rest::TransportOperation.new response
4694
4949
  result = ::Google::Analytics::Admin::V1alpha::EventCreateRule.decode_json response.body, ignore_unknown_fields: true
4695
-
4696
- yield result, operation if block_given?
4697
- result
4950
+ catch :response do
4951
+ yield result, operation if block_given?
4952
+ result
4953
+ end
4698
4954
  end
4699
4955
 
4700
4956
  ##
@@ -4723,16 +4979,18 @@ module Google
4723
4979
 
4724
4980
  response = @client_stub.make_http_request(
4725
4981
  verb,
4726
- uri: uri,
4727
- body: body || "",
4728
- params: query_string_params,
4982
+ uri: uri,
4983
+ body: body || "",
4984
+ params: query_string_params,
4985
+ method_name: "list_event_create_rules",
4729
4986
  options: options
4730
4987
  )
4731
4988
  operation = ::Gapic::Rest::TransportOperation.new response
4732
4989
  result = ::Google::Analytics::Admin::V1alpha::ListEventCreateRulesResponse.decode_json response.body, ignore_unknown_fields: true
4733
-
4734
- yield result, operation if block_given?
4735
- result
4990
+ catch :response do
4991
+ yield result, operation if block_given?
4992
+ result
4993
+ end
4736
4994
  end
4737
4995
 
4738
4996
  ##
@@ -4761,16 +5019,18 @@ module Google
4761
5019
 
4762
5020
  response = @client_stub.make_http_request(
4763
5021
  verb,
4764
- uri: uri,
4765
- body: body || "",
4766
- params: query_string_params,
5022
+ uri: uri,
5023
+ body: body || "",
5024
+ params: query_string_params,
5025
+ method_name: "create_event_create_rule",
4767
5026
  options: options
4768
5027
  )
4769
5028
  operation = ::Gapic::Rest::TransportOperation.new response
4770
5029
  result = ::Google::Analytics::Admin::V1alpha::EventCreateRule.decode_json response.body, ignore_unknown_fields: true
4771
-
4772
- yield result, operation if block_given?
4773
- result
5030
+ catch :response do
5031
+ yield result, operation if block_given?
5032
+ result
5033
+ end
4774
5034
  end
4775
5035
 
4776
5036
  ##
@@ -4799,16 +5059,18 @@ module Google
4799
5059
 
4800
5060
  response = @client_stub.make_http_request(
4801
5061
  verb,
4802
- uri: uri,
4803
- body: body || "",
4804
- params: query_string_params,
5062
+ uri: uri,
5063
+ body: body || "",
5064
+ params: query_string_params,
5065
+ method_name: "update_event_create_rule",
4805
5066
  options: options
4806
5067
  )
4807
5068
  operation = ::Gapic::Rest::TransportOperation.new response
4808
5069
  result = ::Google::Analytics::Admin::V1alpha::EventCreateRule.decode_json response.body, ignore_unknown_fields: true
4809
-
4810
- yield result, operation if block_given?
4811
- result
5070
+ catch :response do
5071
+ yield result, operation if block_given?
5072
+ result
5073
+ end
4812
5074
  end
4813
5075
 
4814
5076
  ##
@@ -4837,16 +5099,18 @@ module Google
4837
5099
 
4838
5100
  response = @client_stub.make_http_request(
4839
5101
  verb,
4840
- uri: uri,
4841
- body: body || "",
4842
- params: query_string_params,
5102
+ uri: uri,
5103
+ body: body || "",
5104
+ params: query_string_params,
5105
+ method_name: "delete_event_create_rule",
4843
5106
  options: options
4844
5107
  )
4845
5108
  operation = ::Gapic::Rest::TransportOperation.new response
4846
5109
  result = ::Google::Protobuf::Empty.decode_json response.body, ignore_unknown_fields: true
4847
-
4848
- yield result, operation if block_given?
4849
- result
5110
+ catch :response do
5111
+ yield result, operation if block_given?
5112
+ result
5113
+ end
4850
5114
  end
4851
5115
 
4852
5116
  ##
@@ -4875,16 +5139,18 @@ module Google
4875
5139
 
4876
5140
  response = @client_stub.make_http_request(
4877
5141
  verb,
4878
- uri: uri,
4879
- body: body || "",
4880
- params: query_string_params,
5142
+ uri: uri,
5143
+ body: body || "",
5144
+ params: query_string_params,
5145
+ method_name: "get_event_edit_rule",
4881
5146
  options: options
4882
5147
  )
4883
5148
  operation = ::Gapic::Rest::TransportOperation.new response
4884
5149
  result = ::Google::Analytics::Admin::V1alpha::EventEditRule.decode_json response.body, ignore_unknown_fields: true
4885
-
4886
- yield result, operation if block_given?
4887
- result
5150
+ catch :response do
5151
+ yield result, operation if block_given?
5152
+ result
5153
+ end
4888
5154
  end
4889
5155
 
4890
5156
  ##
@@ -4913,16 +5179,18 @@ module Google
4913
5179
 
4914
5180
  response = @client_stub.make_http_request(
4915
5181
  verb,
4916
- uri: uri,
4917
- body: body || "",
4918
- params: query_string_params,
5182
+ uri: uri,
5183
+ body: body || "",
5184
+ params: query_string_params,
5185
+ method_name: "list_event_edit_rules",
4919
5186
  options: options
4920
5187
  )
4921
5188
  operation = ::Gapic::Rest::TransportOperation.new response
4922
5189
  result = ::Google::Analytics::Admin::V1alpha::ListEventEditRulesResponse.decode_json response.body, ignore_unknown_fields: true
4923
-
4924
- yield result, operation if block_given?
4925
- result
5190
+ catch :response do
5191
+ yield result, operation if block_given?
5192
+ result
5193
+ end
4926
5194
  end
4927
5195
 
4928
5196
  ##
@@ -4951,16 +5219,18 @@ module Google
4951
5219
 
4952
5220
  response = @client_stub.make_http_request(
4953
5221
  verb,
4954
- uri: uri,
4955
- body: body || "",
4956
- params: query_string_params,
5222
+ uri: uri,
5223
+ body: body || "",
5224
+ params: query_string_params,
5225
+ method_name: "create_event_edit_rule",
4957
5226
  options: options
4958
5227
  )
4959
5228
  operation = ::Gapic::Rest::TransportOperation.new response
4960
5229
  result = ::Google::Analytics::Admin::V1alpha::EventEditRule.decode_json response.body, ignore_unknown_fields: true
4961
-
4962
- yield result, operation if block_given?
4963
- result
5230
+ catch :response do
5231
+ yield result, operation if block_given?
5232
+ result
5233
+ end
4964
5234
  end
4965
5235
 
4966
5236
  ##
@@ -4989,16 +5259,18 @@ module Google
4989
5259
 
4990
5260
  response = @client_stub.make_http_request(
4991
5261
  verb,
4992
- uri: uri,
4993
- body: body || "",
4994
- params: query_string_params,
5262
+ uri: uri,
5263
+ body: body || "",
5264
+ params: query_string_params,
5265
+ method_name: "update_event_edit_rule",
4995
5266
  options: options
4996
5267
  )
4997
5268
  operation = ::Gapic::Rest::TransportOperation.new response
4998
5269
  result = ::Google::Analytics::Admin::V1alpha::EventEditRule.decode_json response.body, ignore_unknown_fields: true
4999
-
5000
- yield result, operation if block_given?
5001
- result
5270
+ catch :response do
5271
+ yield result, operation if block_given?
5272
+ result
5273
+ end
5002
5274
  end
5003
5275
 
5004
5276
  ##
@@ -5027,16 +5299,18 @@ module Google
5027
5299
 
5028
5300
  response = @client_stub.make_http_request(
5029
5301
  verb,
5030
- uri: uri,
5031
- body: body || "",
5032
- params: query_string_params,
5302
+ uri: uri,
5303
+ body: body || "",
5304
+ params: query_string_params,
5305
+ method_name: "delete_event_edit_rule",
5033
5306
  options: options
5034
5307
  )
5035
5308
  operation = ::Gapic::Rest::TransportOperation.new response
5036
5309
  result = ::Google::Protobuf::Empty.decode_json response.body, ignore_unknown_fields: true
5037
-
5038
- yield result, operation if block_given?
5039
- result
5310
+ catch :response do
5311
+ yield result, operation if block_given?
5312
+ result
5313
+ end
5040
5314
  end
5041
5315
 
5042
5316
  ##
@@ -5065,16 +5339,18 @@ module Google
5065
5339
 
5066
5340
  response = @client_stub.make_http_request(
5067
5341
  verb,
5068
- uri: uri,
5069
- body: body || "",
5070
- params: query_string_params,
5342
+ uri: uri,
5343
+ body: body || "",
5344
+ params: query_string_params,
5345
+ method_name: "reorder_event_edit_rules",
5071
5346
  options: options
5072
5347
  )
5073
5348
  operation = ::Gapic::Rest::TransportOperation.new response
5074
5349
  result = ::Google::Protobuf::Empty.decode_json response.body, ignore_unknown_fields: true
5075
-
5076
- yield result, operation if block_given?
5077
- result
5350
+ catch :response do
5351
+ yield result, operation if block_given?
5352
+ result
5353
+ end
5078
5354
  end
5079
5355
 
5080
5356
  ##
@@ -5103,16 +5379,18 @@ module Google
5103
5379
 
5104
5380
  response = @client_stub.make_http_request(
5105
5381
  verb,
5106
- uri: uri,
5107
- body: body || "",
5108
- params: query_string_params,
5382
+ uri: uri,
5383
+ body: body || "",
5384
+ params: query_string_params,
5385
+ method_name: "update_data_redaction_settings",
5109
5386
  options: options
5110
5387
  )
5111
5388
  operation = ::Gapic::Rest::TransportOperation.new response
5112
5389
  result = ::Google::Analytics::Admin::V1alpha::DataRedactionSettings.decode_json response.body, ignore_unknown_fields: true
5113
-
5114
- yield result, operation if block_given?
5115
- result
5390
+ catch :response do
5391
+ yield result, operation if block_given?
5392
+ result
5393
+ end
5116
5394
  end
5117
5395
 
5118
5396
  ##
@@ -5141,16 +5419,18 @@ module Google
5141
5419
 
5142
5420
  response = @client_stub.make_http_request(
5143
5421
  verb,
5144
- uri: uri,
5145
- body: body || "",
5146
- params: query_string_params,
5422
+ uri: uri,
5423
+ body: body || "",
5424
+ params: query_string_params,
5425
+ method_name: "get_data_redaction_settings",
5147
5426
  options: options
5148
5427
  )
5149
5428
  operation = ::Gapic::Rest::TransportOperation.new response
5150
5429
  result = ::Google::Analytics::Admin::V1alpha::DataRedactionSettings.decode_json response.body, ignore_unknown_fields: true
5151
-
5152
- yield result, operation if block_given?
5153
- result
5430
+ catch :response do
5431
+ yield result, operation if block_given?
5432
+ result
5433
+ end
5154
5434
  end
5155
5435
 
5156
5436
  ##
@@ -5179,16 +5459,18 @@ module Google
5179
5459
 
5180
5460
  response = @client_stub.make_http_request(
5181
5461
  verb,
5182
- uri: uri,
5183
- body: body || "",
5184
- params: query_string_params,
5462
+ uri: uri,
5463
+ body: body || "",
5464
+ params: query_string_params,
5465
+ method_name: "get_calculated_metric",
5185
5466
  options: options
5186
5467
  )
5187
5468
  operation = ::Gapic::Rest::TransportOperation.new response
5188
5469
  result = ::Google::Analytics::Admin::V1alpha::CalculatedMetric.decode_json response.body, ignore_unknown_fields: true
5189
-
5190
- yield result, operation if block_given?
5191
- result
5470
+ catch :response do
5471
+ yield result, operation if block_given?
5472
+ result
5473
+ end
5192
5474
  end
5193
5475
 
5194
5476
  ##
@@ -5217,16 +5499,18 @@ module Google
5217
5499
 
5218
5500
  response = @client_stub.make_http_request(
5219
5501
  verb,
5220
- uri: uri,
5221
- body: body || "",
5222
- params: query_string_params,
5502
+ uri: uri,
5503
+ body: body || "",
5504
+ params: query_string_params,
5505
+ method_name: "create_calculated_metric",
5223
5506
  options: options
5224
5507
  )
5225
5508
  operation = ::Gapic::Rest::TransportOperation.new response
5226
5509
  result = ::Google::Analytics::Admin::V1alpha::CalculatedMetric.decode_json response.body, ignore_unknown_fields: true
5227
-
5228
- yield result, operation if block_given?
5229
- result
5510
+ catch :response do
5511
+ yield result, operation if block_given?
5512
+ result
5513
+ end
5230
5514
  end
5231
5515
 
5232
5516
  ##
@@ -5255,16 +5539,18 @@ module Google
5255
5539
 
5256
5540
  response = @client_stub.make_http_request(
5257
5541
  verb,
5258
- uri: uri,
5259
- body: body || "",
5260
- params: query_string_params,
5542
+ uri: uri,
5543
+ body: body || "",
5544
+ params: query_string_params,
5545
+ method_name: "list_calculated_metrics",
5261
5546
  options: options
5262
5547
  )
5263
5548
  operation = ::Gapic::Rest::TransportOperation.new response
5264
5549
  result = ::Google::Analytics::Admin::V1alpha::ListCalculatedMetricsResponse.decode_json response.body, ignore_unknown_fields: true
5265
-
5266
- yield result, operation if block_given?
5267
- result
5550
+ catch :response do
5551
+ yield result, operation if block_given?
5552
+ result
5553
+ end
5268
5554
  end
5269
5555
 
5270
5556
  ##
@@ -5293,16 +5579,18 @@ module Google
5293
5579
 
5294
5580
  response = @client_stub.make_http_request(
5295
5581
  verb,
5296
- uri: uri,
5297
- body: body || "",
5298
- params: query_string_params,
5582
+ uri: uri,
5583
+ body: body || "",
5584
+ params: query_string_params,
5585
+ method_name: "update_calculated_metric",
5299
5586
  options: options
5300
5587
  )
5301
5588
  operation = ::Gapic::Rest::TransportOperation.new response
5302
5589
  result = ::Google::Analytics::Admin::V1alpha::CalculatedMetric.decode_json response.body, ignore_unknown_fields: true
5303
-
5304
- yield result, operation if block_given?
5305
- result
5590
+ catch :response do
5591
+ yield result, operation if block_given?
5592
+ result
5593
+ end
5306
5594
  end
5307
5595
 
5308
5596
  ##
@@ -5331,16 +5619,18 @@ module Google
5331
5619
 
5332
5620
  response = @client_stub.make_http_request(
5333
5621
  verb,
5334
- uri: uri,
5335
- body: body || "",
5336
- params: query_string_params,
5622
+ uri: uri,
5623
+ body: body || "",
5624
+ params: query_string_params,
5625
+ method_name: "delete_calculated_metric",
5337
5626
  options: options
5338
5627
  )
5339
5628
  operation = ::Gapic::Rest::TransportOperation.new response
5340
5629
  result = ::Google::Protobuf::Empty.decode_json response.body, ignore_unknown_fields: true
5341
-
5342
- yield result, operation if block_given?
5343
- result
5630
+ catch :response do
5631
+ yield result, operation if block_given?
5632
+ result
5633
+ end
5344
5634
  end
5345
5635
 
5346
5636
  ##
@@ -5369,16 +5659,18 @@ module Google
5369
5659
 
5370
5660
  response = @client_stub.make_http_request(
5371
5661
  verb,
5372
- uri: uri,
5373
- body: body || "",
5374
- params: query_string_params,
5662
+ uri: uri,
5663
+ body: body || "",
5664
+ params: query_string_params,
5665
+ method_name: "create_rollup_property",
5375
5666
  options: options
5376
5667
  )
5377
5668
  operation = ::Gapic::Rest::TransportOperation.new response
5378
5669
  result = ::Google::Analytics::Admin::V1alpha::CreateRollupPropertyResponse.decode_json response.body, ignore_unknown_fields: true
5379
-
5380
- yield result, operation if block_given?
5381
- result
5670
+ catch :response do
5671
+ yield result, operation if block_given?
5672
+ result
5673
+ end
5382
5674
  end
5383
5675
 
5384
5676
  ##
@@ -5407,16 +5699,18 @@ module Google
5407
5699
 
5408
5700
  response = @client_stub.make_http_request(
5409
5701
  verb,
5410
- uri: uri,
5411
- body: body || "",
5412
- params: query_string_params,
5702
+ uri: uri,
5703
+ body: body || "",
5704
+ params: query_string_params,
5705
+ method_name: "get_rollup_property_source_link",
5413
5706
  options: options
5414
5707
  )
5415
5708
  operation = ::Gapic::Rest::TransportOperation.new response
5416
5709
  result = ::Google::Analytics::Admin::V1alpha::RollupPropertySourceLink.decode_json response.body, ignore_unknown_fields: true
5417
-
5418
- yield result, operation if block_given?
5419
- result
5710
+ catch :response do
5711
+ yield result, operation if block_given?
5712
+ result
5713
+ end
5420
5714
  end
5421
5715
 
5422
5716
  ##
@@ -5445,16 +5739,18 @@ module Google
5445
5739
 
5446
5740
  response = @client_stub.make_http_request(
5447
5741
  verb,
5448
- uri: uri,
5449
- body: body || "",
5450
- params: query_string_params,
5742
+ uri: uri,
5743
+ body: body || "",
5744
+ params: query_string_params,
5745
+ method_name: "list_rollup_property_source_links",
5451
5746
  options: options
5452
5747
  )
5453
5748
  operation = ::Gapic::Rest::TransportOperation.new response
5454
5749
  result = ::Google::Analytics::Admin::V1alpha::ListRollupPropertySourceLinksResponse.decode_json response.body, ignore_unknown_fields: true
5455
-
5456
- yield result, operation if block_given?
5457
- result
5750
+ catch :response do
5751
+ yield result, operation if block_given?
5752
+ result
5753
+ end
5458
5754
  end
5459
5755
 
5460
5756
  ##
@@ -5483,16 +5779,18 @@ module Google
5483
5779
 
5484
5780
  response = @client_stub.make_http_request(
5485
5781
  verb,
5486
- uri: uri,
5487
- body: body || "",
5488
- params: query_string_params,
5782
+ uri: uri,
5783
+ body: body || "",
5784
+ params: query_string_params,
5785
+ method_name: "create_rollup_property_source_link",
5489
5786
  options: options
5490
5787
  )
5491
5788
  operation = ::Gapic::Rest::TransportOperation.new response
5492
5789
  result = ::Google::Analytics::Admin::V1alpha::RollupPropertySourceLink.decode_json response.body, ignore_unknown_fields: true
5493
-
5494
- yield result, operation if block_given?
5495
- result
5790
+ catch :response do
5791
+ yield result, operation if block_given?
5792
+ result
5793
+ end
5496
5794
  end
5497
5795
 
5498
5796
  ##
@@ -5521,16 +5819,18 @@ module Google
5521
5819
 
5522
5820
  response = @client_stub.make_http_request(
5523
5821
  verb,
5524
- uri: uri,
5525
- body: body || "",
5526
- params: query_string_params,
5822
+ uri: uri,
5823
+ body: body || "",
5824
+ params: query_string_params,
5825
+ method_name: "delete_rollup_property_source_link",
5527
5826
  options: options
5528
5827
  )
5529
5828
  operation = ::Gapic::Rest::TransportOperation.new response
5530
5829
  result = ::Google::Protobuf::Empty.decode_json response.body, ignore_unknown_fields: true
5531
-
5532
- yield result, operation if block_given?
5533
- result
5830
+ catch :response do
5831
+ yield result, operation if block_given?
5832
+ result
5833
+ end
5534
5834
  end
5535
5835
 
5536
5836
  ##
@@ -5559,16 +5859,18 @@ module Google
5559
5859
 
5560
5860
  response = @client_stub.make_http_request(
5561
5861
  verb,
5562
- uri: uri,
5563
- body: body || "",
5564
- params: query_string_params,
5862
+ uri: uri,
5863
+ body: body || "",
5864
+ params: query_string_params,
5865
+ method_name: "provision_subproperty",
5565
5866
  options: options
5566
5867
  )
5567
5868
  operation = ::Gapic::Rest::TransportOperation.new response
5568
5869
  result = ::Google::Analytics::Admin::V1alpha::ProvisionSubpropertyResponse.decode_json response.body, ignore_unknown_fields: true
5569
-
5570
- yield result, operation if block_given?
5571
- result
5870
+ catch :response do
5871
+ yield result, operation if block_given?
5872
+ result
5873
+ end
5572
5874
  end
5573
5875
 
5574
5876
  ##
@@ -5597,16 +5899,18 @@ module Google
5597
5899
 
5598
5900
  response = @client_stub.make_http_request(
5599
5901
  verb,
5600
- uri: uri,
5601
- body: body || "",
5602
- params: query_string_params,
5902
+ uri: uri,
5903
+ body: body || "",
5904
+ params: query_string_params,
5905
+ method_name: "create_subproperty_event_filter",
5603
5906
  options: options
5604
5907
  )
5605
5908
  operation = ::Gapic::Rest::TransportOperation.new response
5606
5909
  result = ::Google::Analytics::Admin::V1alpha::SubpropertyEventFilter.decode_json response.body, ignore_unknown_fields: true
5607
-
5608
- yield result, operation if block_given?
5609
- result
5910
+ catch :response do
5911
+ yield result, operation if block_given?
5912
+ result
5913
+ end
5610
5914
  end
5611
5915
 
5612
5916
  ##
@@ -5635,16 +5939,18 @@ module Google
5635
5939
 
5636
5940
  response = @client_stub.make_http_request(
5637
5941
  verb,
5638
- uri: uri,
5639
- body: body || "",
5640
- params: query_string_params,
5942
+ uri: uri,
5943
+ body: body || "",
5944
+ params: query_string_params,
5945
+ method_name: "get_subproperty_event_filter",
5641
5946
  options: options
5642
5947
  )
5643
5948
  operation = ::Gapic::Rest::TransportOperation.new response
5644
5949
  result = ::Google::Analytics::Admin::V1alpha::SubpropertyEventFilter.decode_json response.body, ignore_unknown_fields: true
5645
-
5646
- yield result, operation if block_given?
5647
- result
5950
+ catch :response do
5951
+ yield result, operation if block_given?
5952
+ result
5953
+ end
5648
5954
  end
5649
5955
 
5650
5956
  ##
@@ -5673,16 +5979,18 @@ module Google
5673
5979
 
5674
5980
  response = @client_stub.make_http_request(
5675
5981
  verb,
5676
- uri: uri,
5677
- body: body || "",
5678
- params: query_string_params,
5982
+ uri: uri,
5983
+ body: body || "",
5984
+ params: query_string_params,
5985
+ method_name: "list_subproperty_event_filters",
5679
5986
  options: options
5680
5987
  )
5681
5988
  operation = ::Gapic::Rest::TransportOperation.new response
5682
5989
  result = ::Google::Analytics::Admin::V1alpha::ListSubpropertyEventFiltersResponse.decode_json response.body, ignore_unknown_fields: true
5683
-
5684
- yield result, operation if block_given?
5685
- result
5990
+ catch :response do
5991
+ yield result, operation if block_given?
5992
+ result
5993
+ end
5686
5994
  end
5687
5995
 
5688
5996
  ##
@@ -5711,16 +6019,18 @@ module Google
5711
6019
 
5712
6020
  response = @client_stub.make_http_request(
5713
6021
  verb,
5714
- uri: uri,
5715
- body: body || "",
5716
- params: query_string_params,
6022
+ uri: uri,
6023
+ body: body || "",
6024
+ params: query_string_params,
6025
+ method_name: "update_subproperty_event_filter",
5717
6026
  options: options
5718
6027
  )
5719
6028
  operation = ::Gapic::Rest::TransportOperation.new response
5720
6029
  result = ::Google::Analytics::Admin::V1alpha::SubpropertyEventFilter.decode_json response.body, ignore_unknown_fields: true
5721
-
5722
- yield result, operation if block_given?
5723
- result
6030
+ catch :response do
6031
+ yield result, operation if block_given?
6032
+ result
6033
+ end
5724
6034
  end
5725
6035
 
5726
6036
  ##
@@ -5749,16 +6059,18 @@ module Google
5749
6059
 
5750
6060
  response = @client_stub.make_http_request(
5751
6061
  verb,
5752
- uri: uri,
5753
- body: body || "",
5754
- params: query_string_params,
6062
+ uri: uri,
6063
+ body: body || "",
6064
+ params: query_string_params,
6065
+ method_name: "delete_subproperty_event_filter",
5755
6066
  options: options
5756
6067
  )
5757
6068
  operation = ::Gapic::Rest::TransportOperation.new response
5758
6069
  result = ::Google::Protobuf::Empty.decode_json response.body, ignore_unknown_fields: true
5759
-
5760
- yield result, operation if block_given?
5761
- result
6070
+ catch :response do
6071
+ yield result, operation if block_given?
6072
+ result
6073
+ end
5762
6074
  end
5763
6075
 
5764
6076
  ##