google-cloud-migration_center-v1 0.3.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -33,6 +33,9 @@ module Google
33
33
  # Service describing handlers for resources.
34
34
  #
35
35
  class Client
36
+ # @private
37
+ API_VERSION = ""
38
+
36
39
  # @private
37
40
  DEFAULT_ENDPOINT_TEMPLATE = "migrationcenter.$UNIVERSE_DOMAIN$"
38
41
 
@@ -256,12 +259,13 @@ module Google
256
259
  # Customize the options with defaults
257
260
  call_metadata = @config.rpcs.list_assets.metadata.to_h
258
261
 
259
- # Set x-goog-api-client and x-goog-user-project headers
262
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
260
263
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
261
264
  lib_name: @config.lib_name, lib_version: @config.lib_version,
262
265
  gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION,
263
266
  transports_version_send: [:rest]
264
267
 
268
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
265
269
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
266
270
 
267
271
  options.apply_defaults timeout: @config.rpcs.list_assets.timeout,
@@ -336,12 +340,13 @@ module Google
336
340
  # Customize the options with defaults
337
341
  call_metadata = @config.rpcs.get_asset.metadata.to_h
338
342
 
339
- # Set x-goog-api-client and x-goog-user-project headers
343
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
340
344
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
341
345
  lib_name: @config.lib_name, lib_version: @config.lib_version,
342
346
  gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION,
343
347
  transports_version_send: [:rest]
344
348
 
349
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
345
350
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
346
351
 
347
352
  options.apply_defaults timeout: @config.rpcs.get_asset.timeout,
@@ -435,12 +440,13 @@ module Google
435
440
  # Customize the options with defaults
436
441
  call_metadata = @config.rpcs.update_asset.metadata.to_h
437
442
 
438
- # Set x-goog-api-client and x-goog-user-project headers
443
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
439
444
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
440
445
  lib_name: @config.lib_name, lib_version: @config.lib_version,
441
446
  gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION,
442
447
  transports_version_send: [:rest]
443
448
 
449
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
444
450
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
445
451
 
446
452
  options.apply_defaults timeout: @config.rpcs.update_asset.timeout,
@@ -516,12 +522,13 @@ module Google
516
522
  # Customize the options with defaults
517
523
  call_metadata = @config.rpcs.batch_update_assets.metadata.to_h
518
524
 
519
- # Set x-goog-api-client and x-goog-user-project headers
525
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
520
526
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
521
527
  lib_name: @config.lib_name, lib_version: @config.lib_version,
522
528
  gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION,
523
529
  transports_version_send: [:rest]
524
530
 
531
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
525
532
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
526
533
 
527
534
  options.apply_defaults timeout: @config.rpcs.batch_update_assets.timeout,
@@ -608,12 +615,13 @@ module Google
608
615
  # Customize the options with defaults
609
616
  call_metadata = @config.rpcs.delete_asset.metadata.to_h
610
617
 
611
- # Set x-goog-api-client and x-goog-user-project headers
618
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
612
619
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
613
620
  lib_name: @config.lib_name, lib_version: @config.lib_version,
614
621
  gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION,
615
622
  transports_version_send: [:rest]
616
623
 
624
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
617
625
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
618
626
 
619
627
  options.apply_defaults timeout: @config.rpcs.delete_asset.timeout,
@@ -694,12 +702,13 @@ module Google
694
702
  # Customize the options with defaults
695
703
  call_metadata = @config.rpcs.batch_delete_assets.metadata.to_h
696
704
 
697
- # Set x-goog-api-client and x-goog-user-project headers
705
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
698
706
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
699
707
  lib_name: @config.lib_name, lib_version: @config.lib_version,
700
708
  gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION,
701
709
  transports_version_send: [:rest]
702
710
 
711
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
703
712
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
704
713
 
705
714
  options.apply_defaults timeout: @config.rpcs.batch_delete_assets.timeout,
@@ -776,12 +785,13 @@ module Google
776
785
  # Customize the options with defaults
777
786
  call_metadata = @config.rpcs.report_asset_frames.metadata.to_h
778
787
 
779
- # Set x-goog-api-client and x-goog-user-project headers
788
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
780
789
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
781
790
  lib_name: @config.lib_name, lib_version: @config.lib_version,
782
791
  gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION,
783
792
  transports_version_send: [:rest]
784
793
 
794
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
785
795
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
786
796
 
787
797
  options.apply_defaults timeout: @config.rpcs.report_asset_frames.timeout,
@@ -859,12 +869,13 @@ module Google
859
869
  # Customize the options with defaults
860
870
  call_metadata = @config.rpcs.aggregate_assets_values.metadata.to_h
861
871
 
862
- # Set x-goog-api-client and x-goog-user-project headers
872
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
863
873
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
864
874
  lib_name: @config.lib_name, lib_version: @config.lib_version,
865
875
  gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION,
866
876
  transports_version_send: [:rest]
867
877
 
878
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
868
879
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
869
880
 
870
881
  options.apply_defaults timeout: @config.rpcs.aggregate_assets_values.timeout,
@@ -962,12 +973,13 @@ module Google
962
973
  # Customize the options with defaults
963
974
  call_metadata = @config.rpcs.create_import_job.metadata.to_h
964
975
 
965
- # Set x-goog-api-client and x-goog-user-project headers
976
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
966
977
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
967
978
  lib_name: @config.lib_name, lib_version: @config.lib_version,
968
979
  gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION,
969
980
  transports_version_send: [:rest]
970
981
 
982
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
971
983
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
972
984
 
973
985
  options.apply_defaults timeout: @config.rpcs.create_import_job.timeout,
@@ -1057,12 +1069,13 @@ module Google
1057
1069
  # Customize the options with defaults
1058
1070
  call_metadata = @config.rpcs.list_import_jobs.metadata.to_h
1059
1071
 
1060
- # Set x-goog-api-client and x-goog-user-project headers
1072
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1061
1073
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1062
1074
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1063
1075
  gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION,
1064
1076
  transports_version_send: [:rest]
1065
1077
 
1078
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1066
1079
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1067
1080
 
1068
1081
  options.apply_defaults timeout: @config.rpcs.list_import_jobs.timeout,
@@ -1138,12 +1151,13 @@ module Google
1138
1151
  # Customize the options with defaults
1139
1152
  call_metadata = @config.rpcs.get_import_job.metadata.to_h
1140
1153
 
1141
- # Set x-goog-api-client and x-goog-user-project headers
1154
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1142
1155
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1143
1156
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1144
1157
  gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION,
1145
1158
  transports_version_send: [:rest]
1146
1159
 
1160
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1147
1161
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1148
1162
 
1149
1163
  options.apply_defaults timeout: @config.rpcs.get_import_job.timeout,
@@ -1241,12 +1255,13 @@ module Google
1241
1255
  # Customize the options with defaults
1242
1256
  call_metadata = @config.rpcs.delete_import_job.metadata.to_h
1243
1257
 
1244
- # Set x-goog-api-client and x-goog-user-project headers
1258
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1245
1259
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1246
1260
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1247
1261
  gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION,
1248
1262
  transports_version_send: [:rest]
1249
1263
 
1264
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1250
1265
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1251
1266
 
1252
1267
  options.apply_defaults timeout: @config.rpcs.delete_import_job.timeout,
@@ -1348,12 +1363,13 @@ module Google
1348
1363
  # Customize the options with defaults
1349
1364
  call_metadata = @config.rpcs.update_import_job.metadata.to_h
1350
1365
 
1351
- # Set x-goog-api-client and x-goog-user-project headers
1366
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1352
1367
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1353
1368
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1354
1369
  gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION,
1355
1370
  transports_version_send: [:rest]
1356
1371
 
1372
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1357
1373
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1358
1374
 
1359
1375
  options.apply_defaults timeout: @config.rpcs.update_import_job.timeout,
@@ -1448,12 +1464,13 @@ module Google
1448
1464
  # Customize the options with defaults
1449
1465
  call_metadata = @config.rpcs.validate_import_job.metadata.to_h
1450
1466
 
1451
- # Set x-goog-api-client and x-goog-user-project headers
1467
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1452
1468
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1453
1469
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1454
1470
  gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION,
1455
1471
  transports_version_send: [:rest]
1456
1472
 
1473
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1457
1474
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1458
1475
 
1459
1476
  options.apply_defaults timeout: @config.rpcs.validate_import_job.timeout,
@@ -1548,12 +1565,13 @@ module Google
1548
1565
  # Customize the options with defaults
1549
1566
  call_metadata = @config.rpcs.run_import_job.metadata.to_h
1550
1567
 
1551
- # Set x-goog-api-client and x-goog-user-project headers
1568
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1552
1569
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1553
1570
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1554
1571
  gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION,
1555
1572
  transports_version_send: [:rest]
1556
1573
 
1574
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1557
1575
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1558
1576
 
1559
1577
  options.apply_defaults timeout: @config.rpcs.run_import_job.timeout,
@@ -1627,12 +1645,13 @@ module Google
1627
1645
  # Customize the options with defaults
1628
1646
  call_metadata = @config.rpcs.get_import_data_file.metadata.to_h
1629
1647
 
1630
- # Set x-goog-api-client and x-goog-user-project headers
1648
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1631
1649
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1632
1650
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1633
1651
  gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION,
1634
1652
  transports_version_send: [:rest]
1635
1653
 
1654
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1636
1655
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1637
1656
 
1638
1657
  options.apply_defaults timeout: @config.rpcs.get_import_data_file.timeout,
@@ -1724,12 +1743,13 @@ module Google
1724
1743
  # Customize the options with defaults
1725
1744
  call_metadata = @config.rpcs.list_import_data_files.metadata.to_h
1726
1745
 
1727
- # Set x-goog-api-client and x-goog-user-project headers
1746
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1728
1747
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1729
1748
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1730
1749
  gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION,
1731
1750
  transports_version_send: [:rest]
1732
1751
 
1752
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1733
1753
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1734
1754
 
1735
1755
  options.apply_defaults timeout: @config.rpcs.list_import_data_files.timeout,
@@ -1827,12 +1847,13 @@ module Google
1827
1847
  # Customize the options with defaults
1828
1848
  call_metadata = @config.rpcs.create_import_data_file.metadata.to_h
1829
1849
 
1830
- # Set x-goog-api-client and x-goog-user-project headers
1850
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1831
1851
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1832
1852
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1833
1853
  gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION,
1834
1854
  transports_version_send: [:rest]
1835
1855
 
1856
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1836
1857
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1837
1858
 
1838
1859
  options.apply_defaults timeout: @config.rpcs.create_import_data_file.timeout,
@@ -1927,12 +1948,13 @@ module Google
1927
1948
  # Customize the options with defaults
1928
1949
  call_metadata = @config.rpcs.delete_import_data_file.metadata.to_h
1929
1950
 
1930
- # Set x-goog-api-client and x-goog-user-project headers
1951
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1931
1952
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1932
1953
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1933
1954
  gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION,
1934
1955
  transports_version_send: [:rest]
1935
1956
 
1957
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1936
1958
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1937
1959
 
1938
1960
  options.apply_defaults timeout: @config.rpcs.delete_import_data_file.timeout,
@@ -2019,12 +2041,13 @@ module Google
2019
2041
  # Customize the options with defaults
2020
2042
  call_metadata = @config.rpcs.list_groups.metadata.to_h
2021
2043
 
2022
- # Set x-goog-api-client and x-goog-user-project headers
2044
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2023
2045
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2024
2046
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2025
2047
  gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION,
2026
2048
  transports_version_send: [:rest]
2027
2049
 
2050
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2028
2051
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2029
2052
 
2030
2053
  options.apply_defaults timeout: @config.rpcs.list_groups.timeout,
@@ -2097,12 +2120,13 @@ module Google
2097
2120
  # Customize the options with defaults
2098
2121
  call_metadata = @config.rpcs.get_group.metadata.to_h
2099
2122
 
2100
- # Set x-goog-api-client and x-goog-user-project headers
2123
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2101
2124
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2102
2125
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2103
2126
  gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION,
2104
2127
  transports_version_send: [:rest]
2105
2128
 
2129
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2106
2130
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2107
2131
 
2108
2132
  options.apply_defaults timeout: @config.rpcs.get_group.timeout,
@@ -2204,12 +2228,13 @@ module Google
2204
2228
  # Customize the options with defaults
2205
2229
  call_metadata = @config.rpcs.create_group.metadata.to_h
2206
2230
 
2207
- # Set x-goog-api-client and x-goog-user-project headers
2231
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2208
2232
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2209
2233
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2210
2234
  gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION,
2211
2235
  transports_version_send: [:rest]
2212
2236
 
2237
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2213
2238
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2214
2239
 
2215
2240
  options.apply_defaults timeout: @config.rpcs.create_group.timeout,
@@ -2310,12 +2335,13 @@ module Google
2310
2335
  # Customize the options with defaults
2311
2336
  call_metadata = @config.rpcs.update_group.metadata.to_h
2312
2337
 
2313
- # Set x-goog-api-client and x-goog-user-project headers
2338
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2314
2339
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2315
2340
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2316
2341
  gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION,
2317
2342
  transports_version_send: [:rest]
2318
2343
 
2344
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2319
2345
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2320
2346
 
2321
2347
  options.apply_defaults timeout: @config.rpcs.update_group.timeout,
@@ -2410,12 +2436,13 @@ module Google
2410
2436
  # Customize the options with defaults
2411
2437
  call_metadata = @config.rpcs.delete_group.metadata.to_h
2412
2438
 
2413
- # Set x-goog-api-client and x-goog-user-project headers
2439
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2414
2440
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2415
2441
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2416
2442
  gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION,
2417
2443
  transports_version_send: [:rest]
2418
2444
 
2445
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2419
2446
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2420
2447
 
2421
2448
  options.apply_defaults timeout: @config.rpcs.delete_group.timeout,
@@ -2521,12 +2548,13 @@ module Google
2521
2548
  # Customize the options with defaults
2522
2549
  call_metadata = @config.rpcs.add_assets_to_group.metadata.to_h
2523
2550
 
2524
- # Set x-goog-api-client and x-goog-user-project headers
2551
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2525
2552
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2526
2553
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2527
2554
  gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION,
2528
2555
  transports_version_send: [:rest]
2529
2556
 
2557
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2530
2558
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2531
2559
 
2532
2560
  options.apply_defaults timeout: @config.rpcs.add_assets_to_group.timeout,
@@ -2631,12 +2659,13 @@ module Google
2631
2659
  # Customize the options with defaults
2632
2660
  call_metadata = @config.rpcs.remove_assets_from_group.metadata.to_h
2633
2661
 
2634
- # Set x-goog-api-client and x-goog-user-project headers
2662
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2635
2663
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2636
2664
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2637
2665
  gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION,
2638
2666
  transports_version_send: [:rest]
2639
2667
 
2668
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2640
2669
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2641
2670
 
2642
2671
  options.apply_defaults timeout: @config.rpcs.remove_assets_from_group.timeout,
@@ -2722,12 +2751,13 @@ module Google
2722
2751
  # Customize the options with defaults
2723
2752
  call_metadata = @config.rpcs.list_error_frames.metadata.to_h
2724
2753
 
2725
- # Set x-goog-api-client and x-goog-user-project headers
2754
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2726
2755
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2727
2756
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2728
2757
  gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION,
2729
2758
  transports_version_send: [:rest]
2730
2759
 
2760
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2731
2761
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2732
2762
 
2733
2763
  options.apply_defaults timeout: @config.rpcs.list_error_frames.timeout,
@@ -2805,12 +2835,13 @@ module Google
2805
2835
  # Customize the options with defaults
2806
2836
  call_metadata = @config.rpcs.get_error_frame.metadata.to_h
2807
2837
 
2808
- # Set x-goog-api-client and x-goog-user-project headers
2838
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2809
2839
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2810
2840
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2811
2841
  gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION,
2812
2842
  transports_version_send: [:rest]
2813
2843
 
2844
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2814
2845
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2815
2846
 
2816
2847
  options.apply_defaults timeout: @config.rpcs.get_error_frame.timeout,
@@ -2896,12 +2927,13 @@ module Google
2896
2927
  # Customize the options with defaults
2897
2928
  call_metadata = @config.rpcs.list_sources.metadata.to_h
2898
2929
 
2899
- # Set x-goog-api-client and x-goog-user-project headers
2930
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2900
2931
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2901
2932
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2902
2933
  gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION,
2903
2934
  transports_version_send: [:rest]
2904
2935
 
2936
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2905
2937
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2906
2938
 
2907
2939
  options.apply_defaults timeout: @config.rpcs.list_sources.timeout,
@@ -2974,12 +3006,13 @@ module Google
2974
3006
  # Customize the options with defaults
2975
3007
  call_metadata = @config.rpcs.get_source.metadata.to_h
2976
3008
 
2977
- # Set x-goog-api-client and x-goog-user-project headers
3009
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2978
3010
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2979
3011
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2980
3012
  gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION,
2981
3013
  transports_version_send: [:rest]
2982
3014
 
3015
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2983
3016
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2984
3017
 
2985
3018
  options.apply_defaults timeout: @config.rpcs.get_source.timeout,
@@ -3081,12 +3114,13 @@ module Google
3081
3114
  # Customize the options with defaults
3082
3115
  call_metadata = @config.rpcs.create_source.metadata.to_h
3083
3116
 
3084
- # Set x-goog-api-client and x-goog-user-project headers
3117
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3085
3118
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3086
3119
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3087
3120
  gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION,
3088
3121
  transports_version_send: [:rest]
3089
3122
 
3123
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3090
3124
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3091
3125
 
3092
3126
  options.apply_defaults timeout: @config.rpcs.create_source.timeout,
@@ -3188,12 +3222,13 @@ module Google
3188
3222
  # Customize the options with defaults
3189
3223
  call_metadata = @config.rpcs.update_source.metadata.to_h
3190
3224
 
3191
- # Set x-goog-api-client and x-goog-user-project headers
3225
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3192
3226
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3193
3227
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3194
3228
  gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION,
3195
3229
  transports_version_send: [:rest]
3196
3230
 
3231
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3197
3232
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3198
3233
 
3199
3234
  options.apply_defaults timeout: @config.rpcs.update_source.timeout,
@@ -3288,12 +3323,13 @@ module Google
3288
3323
  # Customize the options with defaults
3289
3324
  call_metadata = @config.rpcs.delete_source.metadata.to_h
3290
3325
 
3291
- # Set x-goog-api-client and x-goog-user-project headers
3326
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3292
3327
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3293
3328
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3294
3329
  gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION,
3295
3330
  transports_version_send: [:rest]
3296
3331
 
3332
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3297
3333
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3298
3334
 
3299
3335
  options.apply_defaults timeout: @config.rpcs.delete_source.timeout,
@@ -3379,12 +3415,13 @@ module Google
3379
3415
  # Customize the options with defaults
3380
3416
  call_metadata = @config.rpcs.list_preference_sets.metadata.to_h
3381
3417
 
3382
- # Set x-goog-api-client and x-goog-user-project headers
3418
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3383
3419
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3384
3420
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3385
3421
  gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION,
3386
3422
  transports_version_send: [:rest]
3387
3423
 
3424
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3388
3425
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3389
3426
 
3390
3427
  options.apply_defaults timeout: @config.rpcs.list_preference_sets.timeout,
@@ -3457,12 +3494,13 @@ module Google
3457
3494
  # Customize the options with defaults
3458
3495
  call_metadata = @config.rpcs.get_preference_set.metadata.to_h
3459
3496
 
3460
- # Set x-goog-api-client and x-goog-user-project headers
3497
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3461
3498
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3462
3499
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3463
3500
  gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION,
3464
3501
  transports_version_send: [:rest]
3465
3502
 
3503
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3466
3504
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3467
3505
 
3468
3506
  options.apply_defaults timeout: @config.rpcs.get_preference_set.timeout,
@@ -3565,12 +3603,13 @@ module Google
3565
3603
  # Customize the options with defaults
3566
3604
  call_metadata = @config.rpcs.create_preference_set.metadata.to_h
3567
3605
 
3568
- # Set x-goog-api-client and x-goog-user-project headers
3606
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3569
3607
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3570
3608
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3571
3609
  gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION,
3572
3610
  transports_version_send: [:rest]
3573
3611
 
3612
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3574
3613
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3575
3614
 
3576
3615
  options.apply_defaults timeout: @config.rpcs.create_preference_set.timeout,
@@ -3672,12 +3711,13 @@ module Google
3672
3711
  # Customize the options with defaults
3673
3712
  call_metadata = @config.rpcs.update_preference_set.metadata.to_h
3674
3713
 
3675
- # Set x-goog-api-client and x-goog-user-project headers
3714
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3676
3715
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3677
3716
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3678
3717
  gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION,
3679
3718
  transports_version_send: [:rest]
3680
3719
 
3720
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3681
3721
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3682
3722
 
3683
3723
  options.apply_defaults timeout: @config.rpcs.update_preference_set.timeout,
@@ -3772,12 +3812,13 @@ module Google
3772
3812
  # Customize the options with defaults
3773
3813
  call_metadata = @config.rpcs.delete_preference_set.metadata.to_h
3774
3814
 
3775
- # Set x-goog-api-client and x-goog-user-project headers
3815
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3776
3816
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3777
3817
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3778
3818
  gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION,
3779
3819
  transports_version_send: [:rest]
3780
3820
 
3821
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3781
3822
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3782
3823
 
3783
3824
  options.apply_defaults timeout: @config.rpcs.delete_preference_set.timeout,
@@ -3851,12 +3892,13 @@ module Google
3851
3892
  # Customize the options with defaults
3852
3893
  call_metadata = @config.rpcs.get_settings.metadata.to_h
3853
3894
 
3854
- # Set x-goog-api-client and x-goog-user-project headers
3895
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3855
3896
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3856
3897
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3857
3898
  gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION,
3858
3899
  transports_version_send: [:rest]
3859
3900
 
3901
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3860
3902
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3861
3903
 
3862
3904
  options.apply_defaults timeout: @config.rpcs.get_settings.timeout,
@@ -3957,12 +3999,13 @@ module Google
3957
3999
  # Customize the options with defaults
3958
4000
  call_metadata = @config.rpcs.update_settings.metadata.to_h
3959
4001
 
3960
- # Set x-goog-api-client and x-goog-user-project headers
4002
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3961
4003
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3962
4004
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3963
4005
  gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION,
3964
4006
  transports_version_send: [:rest]
3965
4007
 
4008
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3966
4009
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3967
4010
 
3968
4011
  options.apply_defaults timeout: @config.rpcs.update_settings.timeout,
@@ -4065,12 +4108,13 @@ module Google
4065
4108
  # Customize the options with defaults
4066
4109
  call_metadata = @config.rpcs.create_report_config.metadata.to_h
4067
4110
 
4068
- # Set x-goog-api-client and x-goog-user-project headers
4111
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
4069
4112
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
4070
4113
  lib_name: @config.lib_name, lib_version: @config.lib_version,
4071
4114
  gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION,
4072
4115
  transports_version_send: [:rest]
4073
4116
 
4117
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
4074
4118
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
4075
4119
 
4076
4120
  options.apply_defaults timeout: @config.rpcs.create_report_config.timeout,
@@ -4144,12 +4188,13 @@ module Google
4144
4188
  # Customize the options with defaults
4145
4189
  call_metadata = @config.rpcs.get_report_config.metadata.to_h
4146
4190
 
4147
- # Set x-goog-api-client and x-goog-user-project headers
4191
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
4148
4192
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
4149
4193
  lib_name: @config.lib_name, lib_version: @config.lib_version,
4150
4194
  gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION,
4151
4195
  transports_version_send: [:rest]
4152
4196
 
4197
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
4153
4198
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
4154
4199
 
4155
4200
  options.apply_defaults timeout: @config.rpcs.get_report_config.timeout,
@@ -4235,12 +4280,13 @@ module Google
4235
4280
  # Customize the options with defaults
4236
4281
  call_metadata = @config.rpcs.list_report_configs.metadata.to_h
4237
4282
 
4238
- # Set x-goog-api-client and x-goog-user-project headers
4283
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
4239
4284
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
4240
4285
  lib_name: @config.lib_name, lib_version: @config.lib_version,
4241
4286
  gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION,
4242
4287
  transports_version_send: [:rest]
4243
4288
 
4289
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
4244
4290
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
4245
4291
 
4246
4292
  options.apply_defaults timeout: @config.rpcs.list_report_configs.timeout,
@@ -4338,12 +4384,13 @@ module Google
4338
4384
  # Customize the options with defaults
4339
4385
  call_metadata = @config.rpcs.delete_report_config.metadata.to_h
4340
4386
 
4341
- # Set x-goog-api-client and x-goog-user-project headers
4387
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
4342
4388
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
4343
4389
  lib_name: @config.lib_name, lib_version: @config.lib_version,
4344
4390
  gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION,
4345
4391
  transports_version_send: [:rest]
4346
4392
 
4393
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
4347
4394
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
4348
4395
 
4349
4396
  options.apply_defaults timeout: @config.rpcs.delete_report_config.timeout,
@@ -4446,12 +4493,13 @@ module Google
4446
4493
  # Customize the options with defaults
4447
4494
  call_metadata = @config.rpcs.create_report.metadata.to_h
4448
4495
 
4449
- # Set x-goog-api-client and x-goog-user-project headers
4496
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
4450
4497
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
4451
4498
  lib_name: @config.lib_name, lib_version: @config.lib_version,
4452
4499
  gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION,
4453
4500
  transports_version_send: [:rest]
4454
4501
 
4502
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
4455
4503
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
4456
4504
 
4457
4505
  options.apply_defaults timeout: @config.rpcs.create_report.timeout,
@@ -4527,12 +4575,13 @@ module Google
4527
4575
  # Customize the options with defaults
4528
4576
  call_metadata = @config.rpcs.get_report.metadata.to_h
4529
4577
 
4530
- # Set x-goog-api-client and x-goog-user-project headers
4578
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
4531
4579
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
4532
4580
  lib_name: @config.lib_name, lib_version: @config.lib_version,
4533
4581
  gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION,
4534
4582
  transports_version_send: [:rest]
4535
4583
 
4584
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
4536
4585
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
4537
4586
 
4538
4587
  options.apply_defaults timeout: @config.rpcs.get_report.timeout,
@@ -4620,12 +4669,13 @@ module Google
4620
4669
  # Customize the options with defaults
4621
4670
  call_metadata = @config.rpcs.list_reports.metadata.to_h
4622
4671
 
4623
- # Set x-goog-api-client and x-goog-user-project headers
4672
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
4624
4673
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
4625
4674
  lib_name: @config.lib_name, lib_version: @config.lib_version,
4626
4675
  gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION,
4627
4676
  transports_version_send: [:rest]
4628
4677
 
4678
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
4629
4679
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
4630
4680
 
4631
4681
  options.apply_defaults timeout: @config.rpcs.list_reports.timeout,
@@ -4719,12 +4769,13 @@ module Google
4719
4769
  # Customize the options with defaults
4720
4770
  call_metadata = @config.rpcs.delete_report.metadata.to_h
4721
4771
 
4722
- # Set x-goog-api-client and x-goog-user-project headers
4772
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
4723
4773
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
4724
4774
  lib_name: @config.lib_name, lib_version: @config.lib_version,
4725
4775
  gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION,
4726
4776
  transports_version_send: [:rest]
4727
4777
 
4778
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
4728
4779
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
4729
4780
 
4730
4781
  options.apply_defaults timeout: @config.rpcs.delete_report.timeout,