google-cloud-vmware_engine-v1 0.7.1 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -34,6 +34,9 @@ module Google
34
34
  # VMwareEngine manages VMware's private clusters in the Cloud.
35
35
  #
36
36
  class Client
37
+ # @private
38
+ API_VERSION = ""
39
+
37
40
  # @private
38
41
  DEFAULT_ENDPOINT_TEMPLATE = "vmwareengine.$UNIVERSE_DOMAIN$"
39
42
 
@@ -479,12 +482,13 @@ module Google
479
482
  # Customize the options with defaults
480
483
  call_metadata = @config.rpcs.list_private_clouds.metadata.to_h
481
484
 
482
- # Set x-goog-api-client and x-goog-user-project headers
485
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
483
486
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
484
487
  lib_name: @config.lib_name, lib_version: @config.lib_version,
485
488
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION,
486
489
  transports_version_send: [:rest]
487
490
 
491
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
488
492
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
489
493
 
490
494
  options.apply_defaults timeout: @config.rpcs.list_private_clouds.timeout,
@@ -561,12 +565,13 @@ module Google
561
565
  # Customize the options with defaults
562
566
  call_metadata = @config.rpcs.get_private_cloud.metadata.to_h
563
567
 
564
- # Set x-goog-api-client and x-goog-user-project headers
568
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
565
569
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
566
570
  lib_name: @config.lib_name, lib_version: @config.lib_version,
567
571
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION,
568
572
  transports_version_send: [:rest]
569
573
 
574
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
570
575
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
571
576
 
572
577
  options.apply_defaults timeout: @config.rpcs.get_private_cloud.timeout,
@@ -676,12 +681,13 @@ module Google
676
681
  # Customize the options with defaults
677
682
  call_metadata = @config.rpcs.create_private_cloud.metadata.to_h
678
683
 
679
- # Set x-goog-api-client and x-goog-user-project headers
684
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
680
685
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
681
686
  lib_name: @config.lib_name, lib_version: @config.lib_version,
682
687
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION,
683
688
  transports_version_send: [:rest]
684
689
 
690
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
685
691
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
686
692
 
687
693
  options.apply_defaults timeout: @config.rpcs.create_private_cloud.timeout,
@@ -778,12 +784,13 @@ module Google
778
784
  # Customize the options with defaults
779
785
  call_metadata = @config.rpcs.update_private_cloud.metadata.to_h
780
786
 
781
- # Set x-goog-api-client and x-goog-user-project headers
787
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
782
788
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
783
789
  lib_name: @config.lib_name, lib_version: @config.lib_version,
784
790
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION,
785
791
  transports_version_send: [:rest]
786
792
 
793
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
787
794
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
788
795
 
789
796
  options.apply_defaults timeout: @config.rpcs.update_private_cloud.timeout,
@@ -900,12 +907,13 @@ module Google
900
907
  # Customize the options with defaults
901
908
  call_metadata = @config.rpcs.delete_private_cloud.metadata.to_h
902
909
 
903
- # Set x-goog-api-client and x-goog-user-project headers
910
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
904
911
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
905
912
  lib_name: @config.lib_name, lib_version: @config.lib_version,
906
913
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION,
907
914
  transports_version_send: [:rest]
908
915
 
916
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
909
917
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
910
918
 
911
919
  options.apply_defaults timeout: @config.rpcs.delete_private_cloud.timeout,
@@ -996,12 +1004,13 @@ module Google
996
1004
  # Customize the options with defaults
997
1005
  call_metadata = @config.rpcs.undelete_private_cloud.metadata.to_h
998
1006
 
999
- # Set x-goog-api-client and x-goog-user-project headers
1007
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1000
1008
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1001
1009
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1002
1010
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION,
1003
1011
  transports_version_send: [:rest]
1004
1012
 
1013
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1005
1014
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1006
1015
 
1007
1016
  options.apply_defaults timeout: @config.rpcs.undelete_private_cloud.timeout,
@@ -1114,12 +1123,13 @@ module Google
1114
1123
  # Customize the options with defaults
1115
1124
  call_metadata = @config.rpcs.list_clusters.metadata.to_h
1116
1125
 
1117
- # Set x-goog-api-client and x-goog-user-project headers
1126
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1118
1127
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1119
1128
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1120
1129
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION,
1121
1130
  transports_version_send: [:rest]
1122
1131
 
1132
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1123
1133
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1124
1134
 
1125
1135
  options.apply_defaults timeout: @config.rpcs.list_clusters.timeout,
@@ -1196,12 +1206,13 @@ module Google
1196
1206
  # Customize the options with defaults
1197
1207
  call_metadata = @config.rpcs.get_cluster.metadata.to_h
1198
1208
 
1199
- # Set x-goog-api-client and x-goog-user-project headers
1209
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1200
1210
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1201
1211
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1202
1212
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION,
1203
1213
  transports_version_send: [:rest]
1204
1214
 
1215
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1205
1216
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1206
1217
 
1207
1218
  options.apply_defaults timeout: @config.rpcs.get_cluster.timeout,
@@ -1308,12 +1319,13 @@ module Google
1308
1319
  # Customize the options with defaults
1309
1320
  call_metadata = @config.rpcs.create_cluster.metadata.to_h
1310
1321
 
1311
- # Set x-goog-api-client and x-goog-user-project headers
1322
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1312
1323
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1313
1324
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1314
1325
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION,
1315
1326
  transports_version_send: [:rest]
1316
1327
 
1328
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1317
1329
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1318
1330
 
1319
1331
  options.apply_defaults timeout: @config.rpcs.create_cluster.timeout,
@@ -1412,12 +1424,13 @@ module Google
1412
1424
  # Customize the options with defaults
1413
1425
  call_metadata = @config.rpcs.update_cluster.metadata.to_h
1414
1426
 
1415
- # Set x-goog-api-client and x-goog-user-project headers
1427
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1416
1428
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1417
1429
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1418
1430
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION,
1419
1431
  transports_version_send: [:rest]
1420
1432
 
1433
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1421
1434
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1422
1435
 
1423
1436
  options.apply_defaults timeout: @config.rpcs.update_cluster.timeout,
@@ -1508,12 +1521,13 @@ module Google
1508
1521
  # Customize the options with defaults
1509
1522
  call_metadata = @config.rpcs.delete_cluster.metadata.to_h
1510
1523
 
1511
- # Set x-goog-api-client and x-goog-user-project headers
1524
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1512
1525
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1513
1526
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1514
1527
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION,
1515
1528
  transports_version_send: [:rest]
1516
1529
 
1530
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1517
1531
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1518
1532
 
1519
1533
  options.apply_defaults timeout: @config.rpcs.delete_cluster.timeout,
@@ -1607,12 +1621,13 @@ module Google
1607
1621
  # Customize the options with defaults
1608
1622
  call_metadata = @config.rpcs.list_nodes.metadata.to_h
1609
1623
 
1610
- # Set x-goog-api-client and x-goog-user-project headers
1624
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1611
1625
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1612
1626
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1613
1627
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION,
1614
1628
  transports_version_send: [:rest]
1615
1629
 
1630
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1616
1631
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1617
1632
 
1618
1633
  options.apply_defaults timeout: @config.rpcs.list_nodes.timeout,
@@ -1688,12 +1703,13 @@ module Google
1688
1703
  # Customize the options with defaults
1689
1704
  call_metadata = @config.rpcs.get_node.metadata.to_h
1690
1705
 
1691
- # Set x-goog-api-client and x-goog-user-project headers
1706
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1692
1707
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1693
1708
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1694
1709
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION,
1695
1710
  transports_version_send: [:rest]
1696
1711
 
1712
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1697
1713
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1698
1714
 
1699
1715
  options.apply_defaults timeout: @config.rpcs.get_node.timeout,
@@ -1819,12 +1835,13 @@ module Google
1819
1835
  # Customize the options with defaults
1820
1836
  call_metadata = @config.rpcs.list_external_addresses.metadata.to_h
1821
1837
 
1822
- # Set x-goog-api-client and x-goog-user-project headers
1838
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1823
1839
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1824
1840
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1825
1841
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION,
1826
1842
  transports_version_send: [:rest]
1827
1843
 
1844
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1828
1845
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1829
1846
 
1830
1847
  options.apply_defaults timeout: @config.rpcs.list_external_addresses.timeout,
@@ -1919,12 +1936,13 @@ module Google
1919
1936
  # Customize the options with defaults
1920
1937
  call_metadata = @config.rpcs.fetch_network_policy_external_addresses.metadata.to_h
1921
1938
 
1922
- # Set x-goog-api-client and x-goog-user-project headers
1939
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1923
1940
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1924
1941
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1925
1942
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION,
1926
1943
  transports_version_send: [:rest]
1927
1944
 
1945
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1928
1946
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1929
1947
 
1930
1948
  options.apply_defaults timeout: @config.rpcs.fetch_network_policy_external_addresses.timeout,
@@ -2002,12 +2020,13 @@ module Google
2002
2020
  # Customize the options with defaults
2003
2021
  call_metadata = @config.rpcs.get_external_address.metadata.to_h
2004
2022
 
2005
- # Set x-goog-api-client and x-goog-user-project headers
2023
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2006
2024
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2007
2025
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2008
2026
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION,
2009
2027
  transports_version_send: [:rest]
2010
2028
 
2029
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2011
2030
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2012
2031
 
2013
2032
  options.apply_defaults timeout: @config.rpcs.get_external_address.timeout,
@@ -2123,12 +2142,13 @@ module Google
2123
2142
  # Customize the options with defaults
2124
2143
  call_metadata = @config.rpcs.create_external_address.metadata.to_h
2125
2144
 
2126
- # Set x-goog-api-client and x-goog-user-project headers
2145
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2127
2146
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2128
2147
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2129
2148
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION,
2130
2149
  transports_version_send: [:rest]
2131
2150
 
2151
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2132
2152
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2133
2153
 
2134
2154
  options.apply_defaults timeout: @config.rpcs.create_external_address.timeout,
@@ -2236,12 +2256,13 @@ module Google
2236
2256
  # Customize the options with defaults
2237
2257
  call_metadata = @config.rpcs.update_external_address.metadata.to_h
2238
2258
 
2239
- # Set x-goog-api-client and x-goog-user-project headers
2259
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2240
2260
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2241
2261
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2242
2262
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION,
2243
2263
  transports_version_send: [:rest]
2244
2264
 
2265
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2245
2266
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2246
2267
 
2247
2268
  options.apply_defaults timeout: @config.rpcs.update_external_address.timeout,
@@ -2343,12 +2364,13 @@ module Google
2343
2364
  # Customize the options with defaults
2344
2365
  call_metadata = @config.rpcs.delete_external_address.metadata.to_h
2345
2366
 
2346
- # Set x-goog-api-client and x-goog-user-project headers
2367
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2347
2368
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2348
2369
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2349
2370
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION,
2350
2371
  transports_version_send: [:rest]
2351
2372
 
2373
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2352
2374
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2353
2375
 
2354
2376
  options.apply_defaults timeout: @config.rpcs.delete_external_address.timeout,
@@ -2442,12 +2464,13 @@ module Google
2442
2464
  # Customize the options with defaults
2443
2465
  call_metadata = @config.rpcs.list_subnets.metadata.to_h
2444
2466
 
2445
- # Set x-goog-api-client and x-goog-user-project headers
2467
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2446
2468
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2447
2469
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2448
2470
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION,
2449
2471
  transports_version_send: [:rest]
2450
2472
 
2473
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2451
2474
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2452
2475
 
2453
2476
  options.apply_defaults timeout: @config.rpcs.list_subnets.timeout,
@@ -2524,12 +2547,13 @@ module Google
2524
2547
  # Customize the options with defaults
2525
2548
  call_metadata = @config.rpcs.get_subnet.metadata.to_h
2526
2549
 
2527
- # Set x-goog-api-client and x-goog-user-project headers
2550
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2528
2551
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2529
2552
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2530
2553
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION,
2531
2554
  transports_version_send: [:rest]
2532
2555
 
2556
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2533
2557
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2534
2558
 
2535
2559
  options.apply_defaults timeout: @config.rpcs.get_subnet.timeout,
@@ -2620,12 +2644,13 @@ module Google
2620
2644
  # Customize the options with defaults
2621
2645
  call_metadata = @config.rpcs.update_subnet.metadata.to_h
2622
2646
 
2623
- # Set x-goog-api-client and x-goog-user-project headers
2647
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2624
2648
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2625
2649
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2626
2650
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION,
2627
2651
  transports_version_send: [:rest]
2628
2652
 
2653
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2629
2654
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2630
2655
 
2631
2656
  options.apply_defaults timeout: @config.rpcs.update_subnet.timeout,
@@ -2751,12 +2776,13 @@ module Google
2751
2776
  # Customize the options with defaults
2752
2777
  call_metadata = @config.rpcs.list_external_access_rules.metadata.to_h
2753
2778
 
2754
- # Set x-goog-api-client and x-goog-user-project headers
2779
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2755
2780
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2756
2781
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2757
2782
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION,
2758
2783
  transports_version_send: [:rest]
2759
2784
 
2785
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2760
2786
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2761
2787
 
2762
2788
  options.apply_defaults timeout: @config.rpcs.list_external_access_rules.timeout,
@@ -2833,12 +2859,13 @@ module Google
2833
2859
  # Customize the options with defaults
2834
2860
  call_metadata = @config.rpcs.get_external_access_rule.metadata.to_h
2835
2861
 
2836
- # Set x-goog-api-client and x-goog-user-project headers
2862
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2837
2863
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2838
2864
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2839
2865
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION,
2840
2866
  transports_version_send: [:rest]
2841
2867
 
2868
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2842
2869
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2843
2870
 
2844
2871
  options.apply_defaults timeout: @config.rpcs.get_external_access_rule.timeout,
@@ -2952,12 +2979,13 @@ module Google
2952
2979
  # Customize the options with defaults
2953
2980
  call_metadata = @config.rpcs.create_external_access_rule.metadata.to_h
2954
2981
 
2955
- # Set x-goog-api-client and x-goog-user-project headers
2982
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2956
2983
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2957
2984
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2958
2985
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION,
2959
2986
  transports_version_send: [:rest]
2960
2987
 
2988
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2961
2989
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2962
2990
 
2963
2991
  options.apply_defaults timeout: @config.rpcs.create_external_access_rule.timeout,
@@ -3060,12 +3088,13 @@ module Google
3060
3088
  # Customize the options with defaults
3061
3089
  call_metadata = @config.rpcs.update_external_access_rule.metadata.to_h
3062
3090
 
3063
- # Set x-goog-api-client and x-goog-user-project headers
3091
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3064
3092
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3065
3093
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3066
3094
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION,
3067
3095
  transports_version_send: [:rest]
3068
3096
 
3097
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3069
3098
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3070
3099
 
3071
3100
  options.apply_defaults timeout: @config.rpcs.update_external_access_rule.timeout,
@@ -3165,12 +3194,13 @@ module Google
3165
3194
  # Customize the options with defaults
3166
3195
  call_metadata = @config.rpcs.delete_external_access_rule.metadata.to_h
3167
3196
 
3168
- # Set x-goog-api-client and x-goog-user-project headers
3197
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3169
3198
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3170
3199
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3171
3200
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION,
3172
3201
  transports_version_send: [:rest]
3173
3202
 
3203
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3174
3204
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3175
3205
 
3176
3206
  options.apply_defaults timeout: @config.rpcs.delete_external_access_rule.timeout,
@@ -3298,12 +3328,13 @@ module Google
3298
3328
  # Customize the options with defaults
3299
3329
  call_metadata = @config.rpcs.list_logging_servers.metadata.to_h
3300
3330
 
3301
- # Set x-goog-api-client and x-goog-user-project headers
3331
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3302
3332
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3303
3333
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3304
3334
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION,
3305
3335
  transports_version_send: [:rest]
3306
3336
 
3337
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3307
3338
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3308
3339
 
3309
3340
  options.apply_defaults timeout: @config.rpcs.list_logging_servers.timeout,
@@ -3380,12 +3411,13 @@ module Google
3380
3411
  # Customize the options with defaults
3381
3412
  call_metadata = @config.rpcs.get_logging_server.metadata.to_h
3382
3413
 
3383
- # Set x-goog-api-client and x-goog-user-project headers
3414
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3384
3415
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3385
3416
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3386
3417
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION,
3387
3418
  transports_version_send: [:rest]
3388
3419
 
3420
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3389
3421
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3390
3422
 
3391
3423
  options.apply_defaults timeout: @config.rpcs.get_logging_server.timeout,
@@ -3499,12 +3531,13 @@ module Google
3499
3531
  # Customize the options with defaults
3500
3532
  call_metadata = @config.rpcs.create_logging_server.metadata.to_h
3501
3533
 
3502
- # Set x-goog-api-client and x-goog-user-project headers
3534
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3503
3535
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3504
3536
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3505
3537
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION,
3506
3538
  transports_version_send: [:rest]
3507
3539
 
3540
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3508
3541
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3509
3542
 
3510
3543
  options.apply_defaults timeout: @config.rpcs.create_logging_server.timeout,
@@ -3607,12 +3640,13 @@ module Google
3607
3640
  # Customize the options with defaults
3608
3641
  call_metadata = @config.rpcs.update_logging_server.metadata.to_h
3609
3642
 
3610
- # Set x-goog-api-client and x-goog-user-project headers
3643
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3611
3644
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3612
3645
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3613
3646
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION,
3614
3647
  transports_version_send: [:rest]
3615
3648
 
3649
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3616
3650
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3617
3651
 
3618
3652
  options.apply_defaults timeout: @config.rpcs.update_logging_server.timeout,
@@ -3712,12 +3746,13 @@ module Google
3712
3746
  # Customize the options with defaults
3713
3747
  call_metadata = @config.rpcs.delete_logging_server.metadata.to_h
3714
3748
 
3715
- # Set x-goog-api-client and x-goog-user-project headers
3749
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3716
3750
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3717
3751
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3718
3752
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION,
3719
3753
  transports_version_send: [:rest]
3720
3754
 
3755
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3721
3756
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3722
3757
 
3723
3758
  options.apply_defaults timeout: @config.rpcs.delete_logging_server.timeout,
@@ -3836,12 +3871,13 @@ module Google
3836
3871
  # Customize the options with defaults
3837
3872
  call_metadata = @config.rpcs.list_node_types.metadata.to_h
3838
3873
 
3839
- # Set x-goog-api-client and x-goog-user-project headers
3874
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3840
3875
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3841
3876
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3842
3877
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION,
3843
3878
  transports_version_send: [:rest]
3844
3879
 
3880
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3845
3881
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3846
3882
 
3847
3883
  options.apply_defaults timeout: @config.rpcs.list_node_types.timeout,
@@ -3918,12 +3954,13 @@ module Google
3918
3954
  # Customize the options with defaults
3919
3955
  call_metadata = @config.rpcs.get_node_type.metadata.to_h
3920
3956
 
3921
- # Set x-goog-api-client and x-goog-user-project headers
3957
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3922
3958
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3923
3959
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3924
3960
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION,
3925
3961
  transports_version_send: [:rest]
3926
3962
 
3963
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3927
3964
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3928
3965
 
3929
3966
  options.apply_defaults timeout: @config.rpcs.get_node_type.timeout,
@@ -4001,12 +4038,13 @@ module Google
4001
4038
  # Customize the options with defaults
4002
4039
  call_metadata = @config.rpcs.show_nsx_credentials.metadata.to_h
4003
4040
 
4004
- # Set x-goog-api-client and x-goog-user-project headers
4041
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
4005
4042
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
4006
4043
  lib_name: @config.lib_name, lib_version: @config.lib_version,
4007
4044
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION,
4008
4045
  transports_version_send: [:rest]
4009
4046
 
4047
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
4010
4048
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
4011
4049
 
4012
4050
  options.apply_defaults timeout: @config.rpcs.show_nsx_credentials.timeout,
@@ -4095,12 +4133,13 @@ module Google
4095
4133
  # Customize the options with defaults
4096
4134
  call_metadata = @config.rpcs.show_vcenter_credentials.metadata.to_h
4097
4135
 
4098
- # Set x-goog-api-client and x-goog-user-project headers
4136
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
4099
4137
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
4100
4138
  lib_name: @config.lib_name, lib_version: @config.lib_version,
4101
4139
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION,
4102
4140
  transports_version_send: [:rest]
4103
4141
 
4142
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
4104
4143
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
4105
4144
 
4106
4145
  options.apply_defaults timeout: @config.rpcs.show_vcenter_credentials.timeout,
@@ -4200,12 +4239,13 @@ module Google
4200
4239
  # Customize the options with defaults
4201
4240
  call_metadata = @config.rpcs.reset_nsx_credentials.metadata.to_h
4202
4241
 
4203
- # Set x-goog-api-client and x-goog-user-project headers
4242
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
4204
4243
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
4205
4244
  lib_name: @config.lib_name, lib_version: @config.lib_version,
4206
4245
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION,
4207
4246
  transports_version_send: [:rest]
4208
4247
 
4248
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
4209
4249
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
4210
4250
 
4211
4251
  options.apply_defaults timeout: @config.rpcs.reset_nsx_credentials.timeout,
@@ -4316,12 +4356,13 @@ module Google
4316
4356
  # Customize the options with defaults
4317
4357
  call_metadata = @config.rpcs.reset_vcenter_credentials.metadata.to_h
4318
4358
 
4319
- # Set x-goog-api-client and x-goog-user-project headers
4359
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
4320
4360
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
4321
4361
  lib_name: @config.lib_name, lib_version: @config.lib_version,
4322
4362
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION,
4323
4363
  transports_version_send: [:rest]
4324
4364
 
4365
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
4325
4366
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
4326
4367
 
4327
4368
  options.apply_defaults timeout: @config.rpcs.reset_vcenter_credentials.timeout,
@@ -4399,12 +4440,13 @@ module Google
4399
4440
  # Customize the options with defaults
4400
4441
  call_metadata = @config.rpcs.get_dns_forwarding.metadata.to_h
4401
4442
 
4402
- # Set x-goog-api-client and x-goog-user-project headers
4443
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
4403
4444
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
4404
4445
  lib_name: @config.lib_name, lib_version: @config.lib_version,
4405
4446
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION,
4406
4447
  transports_version_send: [:rest]
4407
4448
 
4449
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
4408
4450
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
4409
4451
 
4410
4452
  options.apply_defaults timeout: @config.rpcs.get_dns_forwarding.timeout,
@@ -4506,12 +4548,13 @@ module Google
4506
4548
  # Customize the options with defaults
4507
4549
  call_metadata = @config.rpcs.update_dns_forwarding.metadata.to_h
4508
4550
 
4509
- # Set x-goog-api-client and x-goog-user-project headers
4551
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
4510
4552
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
4511
4553
  lib_name: @config.lib_name, lib_version: @config.lib_version,
4512
4554
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION,
4513
4555
  transports_version_send: [:rest]
4514
4556
 
4557
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
4515
4558
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
4516
4559
 
4517
4560
  options.apply_defaults timeout: @config.rpcs.update_dns_forwarding.timeout,
@@ -4592,12 +4635,13 @@ module Google
4592
4635
  # Customize the options with defaults
4593
4636
  call_metadata = @config.rpcs.get_network_peering.metadata.to_h
4594
4637
 
4595
- # Set x-goog-api-client and x-goog-user-project headers
4638
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
4596
4639
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
4597
4640
  lib_name: @config.lib_name, lib_version: @config.lib_version,
4598
4641
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION,
4599
4642
  transports_version_send: [:rest]
4600
4643
 
4644
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
4601
4645
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
4602
4646
 
4603
4647
  options.apply_defaults timeout: @config.rpcs.get_network_peering.timeout,
@@ -4721,12 +4765,13 @@ module Google
4721
4765
  # Customize the options with defaults
4722
4766
  call_metadata = @config.rpcs.list_network_peerings.metadata.to_h
4723
4767
 
4724
- # Set x-goog-api-client and x-goog-user-project headers
4768
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
4725
4769
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
4726
4770
  lib_name: @config.lib_name, lib_version: @config.lib_version,
4727
4771
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION,
4728
4772
  transports_version_send: [:rest]
4729
4773
 
4774
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
4730
4775
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
4731
4776
 
4732
4777
  options.apply_defaults timeout: @config.rpcs.list_network_peerings.timeout,
@@ -4841,12 +4886,13 @@ module Google
4841
4886
  # Customize the options with defaults
4842
4887
  call_metadata = @config.rpcs.create_network_peering.metadata.to_h
4843
4888
 
4844
- # Set x-goog-api-client and x-goog-user-project headers
4889
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
4845
4890
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
4846
4891
  lib_name: @config.lib_name, lib_version: @config.lib_version,
4847
4892
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION,
4848
4893
  transports_version_send: [:rest]
4849
4894
 
4895
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
4850
4896
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
4851
4897
 
4852
4898
  options.apply_defaults timeout: @config.rpcs.create_network_peering.timeout,
@@ -4949,12 +4995,13 @@ module Google
4949
4995
  # Customize the options with defaults
4950
4996
  call_metadata = @config.rpcs.delete_network_peering.metadata.to_h
4951
4997
 
4952
- # Set x-goog-api-client and x-goog-user-project headers
4998
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
4953
4999
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
4954
5000
  lib_name: @config.lib_name, lib_version: @config.lib_version,
4955
5001
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION,
4956
5002
  transports_version_send: [:rest]
4957
5003
 
5004
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
4958
5005
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
4959
5006
 
4960
5007
  options.apply_defaults timeout: @config.rpcs.delete_network_peering.timeout,
@@ -5058,12 +5105,13 @@ module Google
5058
5105
  # Customize the options with defaults
5059
5106
  call_metadata = @config.rpcs.update_network_peering.metadata.to_h
5060
5107
 
5061
- # Set x-goog-api-client and x-goog-user-project headers
5108
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
5062
5109
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
5063
5110
  lib_name: @config.lib_name, lib_version: @config.lib_version,
5064
5111
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION,
5065
5112
  transports_version_send: [:rest]
5066
5113
 
5114
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
5067
5115
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
5068
5116
 
5069
5117
  options.apply_defaults timeout: @config.rpcs.update_network_peering.timeout,
@@ -5161,12 +5209,13 @@ module Google
5161
5209
  # Customize the options with defaults
5162
5210
  call_metadata = @config.rpcs.list_peering_routes.metadata.to_h
5163
5211
 
5164
- # Set x-goog-api-client and x-goog-user-project headers
5212
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
5165
5213
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
5166
5214
  lib_name: @config.lib_name, lib_version: @config.lib_version,
5167
5215
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION,
5168
5216
  transports_version_send: [:rest]
5169
5217
 
5218
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
5170
5219
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
5171
5220
 
5172
5221
  options.apply_defaults timeout: @config.rpcs.list_peering_routes.timeout,
@@ -5281,12 +5330,13 @@ module Google
5281
5330
  # Customize the options with defaults
5282
5331
  call_metadata = @config.rpcs.create_hcx_activation_key.metadata.to_h
5283
5332
 
5284
- # Set x-goog-api-client and x-goog-user-project headers
5333
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
5285
5334
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
5286
5335
  lib_name: @config.lib_name, lib_version: @config.lib_version,
5287
5336
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION,
5288
5337
  transports_version_send: [:rest]
5289
5338
 
5339
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
5290
5340
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
5291
5341
 
5292
5342
  options.apply_defaults timeout: @config.rpcs.create_hcx_activation_key.timeout,
@@ -5381,12 +5431,13 @@ module Google
5381
5431
  # Customize the options with defaults
5382
5432
  call_metadata = @config.rpcs.list_hcx_activation_keys.metadata.to_h
5383
5433
 
5384
- # Set x-goog-api-client and x-goog-user-project headers
5434
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
5385
5435
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
5386
5436
  lib_name: @config.lib_name, lib_version: @config.lib_version,
5387
5437
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION,
5388
5438
  transports_version_send: [:rest]
5389
5439
 
5440
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
5390
5441
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
5391
5442
 
5392
5443
  options.apply_defaults timeout: @config.rpcs.list_hcx_activation_keys.timeout,
@@ -5463,12 +5514,13 @@ module Google
5463
5514
  # Customize the options with defaults
5464
5515
  call_metadata = @config.rpcs.get_hcx_activation_key.metadata.to_h
5465
5516
 
5466
- # Set x-goog-api-client and x-goog-user-project headers
5517
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
5467
5518
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
5468
5519
  lib_name: @config.lib_name, lib_version: @config.lib_version,
5469
5520
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION,
5470
5521
  transports_version_send: [:rest]
5471
5522
 
5523
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
5472
5524
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
5473
5525
 
5474
5526
  options.apply_defaults timeout: @config.rpcs.get_hcx_activation_key.timeout,
@@ -5545,12 +5597,13 @@ module Google
5545
5597
  # Customize the options with defaults
5546
5598
  call_metadata = @config.rpcs.get_network_policy.metadata.to_h
5547
5599
 
5548
- # Set x-goog-api-client and x-goog-user-project headers
5600
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
5549
5601
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
5550
5602
  lib_name: @config.lib_name, lib_version: @config.lib_version,
5551
5603
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION,
5552
5604
  transports_version_send: [:rest]
5553
5605
 
5606
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
5554
5607
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
5555
5608
 
5556
5609
  options.apply_defaults timeout: @config.rpcs.get_network_policy.timeout,
@@ -5674,12 +5727,13 @@ module Google
5674
5727
  # Customize the options with defaults
5675
5728
  call_metadata = @config.rpcs.list_network_policies.metadata.to_h
5676
5729
 
5677
- # Set x-goog-api-client and x-goog-user-project headers
5730
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
5678
5731
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
5679
5732
  lib_name: @config.lib_name, lib_version: @config.lib_version,
5680
5733
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION,
5681
5734
  transports_version_send: [:rest]
5682
5735
 
5736
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
5683
5737
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
5684
5738
 
5685
5739
  options.apply_defaults timeout: @config.rpcs.list_network_policies.timeout,
@@ -5796,12 +5850,13 @@ module Google
5796
5850
  # Customize the options with defaults
5797
5851
  call_metadata = @config.rpcs.create_network_policy.metadata.to_h
5798
5852
 
5799
- # Set x-goog-api-client and x-goog-user-project headers
5853
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
5800
5854
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
5801
5855
  lib_name: @config.lib_name, lib_version: @config.lib_version,
5802
5856
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION,
5803
5857
  transports_version_send: [:rest]
5804
5858
 
5859
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
5805
5860
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
5806
5861
 
5807
5862
  options.apply_defaults timeout: @config.rpcs.create_network_policy.timeout,
@@ -5914,12 +5969,13 @@ module Google
5914
5969
  # Customize the options with defaults
5915
5970
  call_metadata = @config.rpcs.update_network_policy.metadata.to_h
5916
5971
 
5917
- # Set x-goog-api-client and x-goog-user-project headers
5972
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
5918
5973
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
5919
5974
  lib_name: @config.lib_name, lib_version: @config.lib_version,
5920
5975
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION,
5921
5976
  transports_version_send: [:rest]
5922
5977
 
5978
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
5923
5979
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
5924
5980
 
5925
5981
  options.apply_defaults timeout: @config.rpcs.update_network_policy.timeout,
@@ -6021,12 +6077,13 @@ module Google
6021
6077
  # Customize the options with defaults
6022
6078
  call_metadata = @config.rpcs.delete_network_policy.metadata.to_h
6023
6079
 
6024
- # Set x-goog-api-client and x-goog-user-project headers
6080
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
6025
6081
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
6026
6082
  lib_name: @config.lib_name, lib_version: @config.lib_version,
6027
6083
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION,
6028
6084
  transports_version_send: [:rest]
6029
6085
 
6086
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
6030
6087
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
6031
6088
 
6032
6089
  options.apply_defaults timeout: @config.rpcs.delete_network_policy.timeout,
@@ -6153,12 +6210,13 @@ module Google
6153
6210
  # Customize the options with defaults
6154
6211
  call_metadata = @config.rpcs.list_management_dns_zone_bindings.metadata.to_h
6155
6212
 
6156
- # Set x-goog-api-client and x-goog-user-project headers
6213
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
6157
6214
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
6158
6215
  lib_name: @config.lib_name, lib_version: @config.lib_version,
6159
6216
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION,
6160
6217
  transports_version_send: [:rest]
6161
6218
 
6219
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
6162
6220
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
6163
6221
 
6164
6222
  options.apply_defaults timeout: @config.rpcs.list_management_dns_zone_bindings.timeout,
@@ -6235,12 +6293,13 @@ module Google
6235
6293
  # Customize the options with defaults
6236
6294
  call_metadata = @config.rpcs.get_management_dns_zone_binding.metadata.to_h
6237
6295
 
6238
- # Set x-goog-api-client and x-goog-user-project headers
6296
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
6239
6297
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
6240
6298
  lib_name: @config.lib_name, lib_version: @config.lib_version,
6241
6299
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION,
6242
6300
  transports_version_send: [:rest]
6243
6301
 
6302
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
6244
6303
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
6245
6304
 
6246
6305
  options.apply_defaults timeout: @config.rpcs.get_management_dns_zone_binding.timeout,
@@ -6361,12 +6420,13 @@ module Google
6361
6420
  # Customize the options with defaults
6362
6421
  call_metadata = @config.rpcs.create_management_dns_zone_binding.metadata.to_h
6363
6422
 
6364
- # Set x-goog-api-client and x-goog-user-project headers
6423
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
6365
6424
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
6366
6425
  lib_name: @config.lib_name, lib_version: @config.lib_version,
6367
6426
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION,
6368
6427
  transports_version_send: [:rest]
6369
6428
 
6429
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
6370
6430
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
6371
6431
 
6372
6432
  options.apply_defaults timeout: @config.rpcs.create_management_dns_zone_binding.timeout,
@@ -6469,12 +6529,13 @@ module Google
6469
6529
  # Customize the options with defaults
6470
6530
  call_metadata = @config.rpcs.update_management_dns_zone_binding.metadata.to_h
6471
6531
 
6472
- # Set x-goog-api-client and x-goog-user-project headers
6532
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
6473
6533
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
6474
6534
  lib_name: @config.lib_name, lib_version: @config.lib_version,
6475
6535
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION,
6476
6536
  transports_version_send: [:rest]
6477
6537
 
6538
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
6478
6539
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
6479
6540
 
6480
6541
  options.apply_defaults timeout: @config.rpcs.update_management_dns_zone_binding.timeout,
@@ -6576,12 +6637,13 @@ module Google
6576
6637
  # Customize the options with defaults
6577
6638
  call_metadata = @config.rpcs.delete_management_dns_zone_binding.metadata.to_h
6578
6639
 
6579
- # Set x-goog-api-client and x-goog-user-project headers
6640
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
6580
6641
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
6581
6642
  lib_name: @config.lib_name, lib_version: @config.lib_version,
6582
6643
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION,
6583
6644
  transports_version_send: [:rest]
6584
6645
 
6646
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
6585
6647
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
6586
6648
 
6587
6649
  options.apply_defaults timeout: @config.rpcs.delete_management_dns_zone_binding.timeout,
@@ -6682,12 +6744,13 @@ module Google
6682
6744
  # Customize the options with defaults
6683
6745
  call_metadata = @config.rpcs.repair_management_dns_zone_binding.metadata.to_h
6684
6746
 
6685
- # Set x-goog-api-client and x-goog-user-project headers
6747
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
6686
6748
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
6687
6749
  lib_name: @config.lib_name, lib_version: @config.lib_version,
6688
6750
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION,
6689
6751
  transports_version_send: [:rest]
6690
6752
 
6753
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
6691
6754
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
6692
6755
 
6693
6756
  options.apply_defaults timeout: @config.rpcs.repair_management_dns_zone_binding.timeout,
@@ -6806,12 +6869,13 @@ module Google
6806
6869
  # Customize the options with defaults
6807
6870
  call_metadata = @config.rpcs.create_vmware_engine_network.metadata.to_h
6808
6871
 
6809
- # Set x-goog-api-client and x-goog-user-project headers
6872
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
6810
6873
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
6811
6874
  lib_name: @config.lib_name, lib_version: @config.lib_version,
6812
6875
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION,
6813
6876
  transports_version_send: [:rest]
6814
6877
 
6878
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
6815
6879
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
6816
6880
 
6817
6881
  options.apply_defaults timeout: @config.rpcs.create_vmware_engine_network.timeout,
@@ -6916,12 +6980,13 @@ module Google
6916
6980
  # Customize the options with defaults
6917
6981
  call_metadata = @config.rpcs.update_vmware_engine_network.metadata.to_h
6918
6982
 
6919
- # Set x-goog-api-client and x-goog-user-project headers
6983
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
6920
6984
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
6921
6985
  lib_name: @config.lib_name, lib_version: @config.lib_version,
6922
6986
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION,
6923
6987
  transports_version_send: [:rest]
6924
6988
 
6989
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
6925
6990
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
6926
6991
 
6927
6992
  options.apply_defaults timeout: @config.rpcs.update_vmware_engine_network.timeout,
@@ -7029,12 +7094,13 @@ module Google
7029
7094
  # Customize the options with defaults
7030
7095
  call_metadata = @config.rpcs.delete_vmware_engine_network.metadata.to_h
7031
7096
 
7032
- # Set x-goog-api-client and x-goog-user-project headers
7097
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
7033
7098
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
7034
7099
  lib_name: @config.lib_name, lib_version: @config.lib_version,
7035
7100
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION,
7036
7101
  transports_version_send: [:rest]
7037
7102
 
7103
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
7038
7104
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
7039
7105
 
7040
7106
  options.apply_defaults timeout: @config.rpcs.delete_vmware_engine_network.timeout,
@@ -7115,12 +7181,13 @@ module Google
7115
7181
  # Customize the options with defaults
7116
7182
  call_metadata = @config.rpcs.get_vmware_engine_network.metadata.to_h
7117
7183
 
7118
- # Set x-goog-api-client and x-goog-user-project headers
7184
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
7119
7185
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
7120
7186
  lib_name: @config.lib_name, lib_version: @config.lib_version,
7121
7187
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION,
7122
7188
  transports_version_send: [:rest]
7123
7189
 
7190
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
7124
7191
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
7125
7192
 
7126
7193
  options.apply_defaults timeout: @config.rpcs.get_vmware_engine_network.timeout,
@@ -7243,12 +7310,13 @@ module Google
7243
7310
  # Customize the options with defaults
7244
7311
  call_metadata = @config.rpcs.list_vmware_engine_networks.metadata.to_h
7245
7312
 
7246
- # Set x-goog-api-client and x-goog-user-project headers
7313
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
7247
7314
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
7248
7315
  lib_name: @config.lib_name, lib_version: @config.lib_version,
7249
7316
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION,
7250
7317
  transports_version_send: [:rest]
7251
7318
 
7319
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
7252
7320
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
7253
7321
 
7254
7322
  options.apply_defaults timeout: @config.rpcs.list_vmware_engine_networks.timeout,
@@ -7362,12 +7430,13 @@ module Google
7362
7430
  # Customize the options with defaults
7363
7431
  call_metadata = @config.rpcs.create_private_connection.metadata.to_h
7364
7432
 
7365
- # Set x-goog-api-client and x-goog-user-project headers
7433
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
7366
7434
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
7367
7435
  lib_name: @config.lib_name, lib_version: @config.lib_version,
7368
7436
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION,
7369
7437
  transports_version_send: [:rest]
7370
7438
 
7439
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
7371
7440
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
7372
7441
 
7373
7442
  options.apply_defaults timeout: @config.rpcs.create_private_connection.timeout,
@@ -7447,12 +7516,13 @@ module Google
7447
7516
  # Customize the options with defaults
7448
7517
  call_metadata = @config.rpcs.get_private_connection.metadata.to_h
7449
7518
 
7450
- # Set x-goog-api-client and x-goog-user-project headers
7519
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
7451
7520
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
7452
7521
  lib_name: @config.lib_name, lib_version: @config.lib_version,
7453
7522
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION,
7454
7523
  transports_version_send: [:rest]
7455
7524
 
7525
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
7456
7526
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
7457
7527
 
7458
7528
  options.apply_defaults timeout: @config.rpcs.get_private_connection.timeout,
@@ -7575,12 +7645,13 @@ module Google
7575
7645
  # Customize the options with defaults
7576
7646
  call_metadata = @config.rpcs.list_private_connections.metadata.to_h
7577
7647
 
7578
- # Set x-goog-api-client and x-goog-user-project headers
7648
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
7579
7649
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
7580
7650
  lib_name: @config.lib_name, lib_version: @config.lib_version,
7581
7651
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION,
7582
7652
  transports_version_send: [:rest]
7583
7653
 
7654
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
7584
7655
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
7585
7656
 
7586
7657
  options.apply_defaults timeout: @config.rpcs.list_private_connections.timeout,
@@ -7683,12 +7754,13 @@ module Google
7683
7754
  # Customize the options with defaults
7684
7755
  call_metadata = @config.rpcs.update_private_connection.metadata.to_h
7685
7756
 
7686
- # Set x-goog-api-client and x-goog-user-project headers
7757
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
7687
7758
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
7688
7759
  lib_name: @config.lib_name, lib_version: @config.lib_version,
7689
7760
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION,
7690
7761
  transports_version_send: [:rest]
7691
7762
 
7763
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
7692
7764
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
7693
7765
 
7694
7766
  options.apply_defaults timeout: @config.rpcs.update_private_connection.timeout,
@@ -7790,12 +7862,13 @@ module Google
7790
7862
  # Customize the options with defaults
7791
7863
  call_metadata = @config.rpcs.delete_private_connection.metadata.to_h
7792
7864
 
7793
- # Set x-goog-api-client and x-goog-user-project headers
7865
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
7794
7866
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
7795
7867
  lib_name: @config.lib_name, lib_version: @config.lib_version,
7796
7868
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION,
7797
7869
  transports_version_send: [:rest]
7798
7870
 
7871
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
7799
7872
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
7800
7873
 
7801
7874
  options.apply_defaults timeout: @config.rpcs.delete_private_connection.timeout,
@@ -7886,12 +7959,13 @@ module Google
7886
7959
  # Customize the options with defaults
7887
7960
  call_metadata = @config.rpcs.list_private_connection_peering_routes.metadata.to_h
7888
7961
 
7889
- # Set x-goog-api-client and x-goog-user-project headers
7962
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
7890
7963
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
7891
7964
  lib_name: @config.lib_name, lib_version: @config.lib_version,
7892
7965
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION,
7893
7966
  transports_version_send: [:rest]
7894
7967
 
7968
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
7895
7969
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
7896
7970
 
7897
7971
  options.apply_defaults timeout: @config.rpcs.list_private_connection_peering_routes.timeout,
@@ -7999,12 +8073,13 @@ module Google
7999
8073
  # Customize the options with defaults
8000
8074
  call_metadata = @config.rpcs.grant_dns_bind_permission.metadata.to_h
8001
8075
 
8002
- # Set x-goog-api-client and x-goog-user-project headers
8076
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
8003
8077
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
8004
8078
  lib_name: @config.lib_name, lib_version: @config.lib_version,
8005
8079
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION,
8006
8080
  transports_version_send: [:rest]
8007
8081
 
8082
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
8008
8083
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
8009
8084
 
8010
8085
  options.apply_defaults timeout: @config.rpcs.grant_dns_bind_permission.timeout,
@@ -8085,12 +8160,13 @@ module Google
8085
8160
  # Customize the options with defaults
8086
8161
  call_metadata = @config.rpcs.get_dns_bind_permission.metadata.to_h
8087
8162
 
8088
- # Set x-goog-api-client and x-goog-user-project headers
8163
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
8089
8164
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
8090
8165
  lib_name: @config.lib_name, lib_version: @config.lib_version,
8091
8166
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION,
8092
8167
  transports_version_send: [:rest]
8093
8168
 
8169
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
8094
8170
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
8095
8171
 
8096
8172
  options.apply_defaults timeout: @config.rpcs.get_dns_bind_permission.timeout,
@@ -8196,12 +8272,13 @@ module Google
8196
8272
  # Customize the options with defaults
8197
8273
  call_metadata = @config.rpcs.revoke_dns_bind_permission.metadata.to_h
8198
8274
 
8199
- # Set x-goog-api-client and x-goog-user-project headers
8275
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
8200
8276
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
8201
8277
  lib_name: @config.lib_name, lib_version: @config.lib_version,
8202
8278
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION,
8203
8279
  transports_version_send: [:rest]
8204
8280
 
8281
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
8205
8282
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
8206
8283
 
8207
8284
  options.apply_defaults timeout: @config.rpcs.revoke_dns_bind_permission.timeout,