google-cloud-vmware_engine-v1 0.8.0 → 0.9.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -32,6 +32,9 @@ module Google
32
32
  # VMwareEngine manages VMware's private clusters in the Cloud.
33
33
  #
34
34
  class Client
35
+ # @private
36
+ API_VERSION = ""
37
+
35
38
  # @private
36
39
  DEFAULT_ENDPOINT_TEMPLATE = "vmwareengine.$UNIVERSE_DOMAIN$"
37
40
 
@@ -485,10 +488,11 @@ module Google
485
488
  # Customize the options with defaults
486
489
  metadata = @config.rpcs.list_private_clouds.metadata.to_h
487
490
 
488
- # Set x-goog-api-client and x-goog-user-project headers
491
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
489
492
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
490
493
  lib_name: @config.lib_name, lib_version: @config.lib_version,
491
494
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION
495
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
492
496
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
493
497
 
494
498
  header_params = {}
@@ -575,10 +579,11 @@ module Google
575
579
  # Customize the options with defaults
576
580
  metadata = @config.rpcs.get_private_cloud.metadata.to_h
577
581
 
578
- # Set x-goog-api-client and x-goog-user-project headers
582
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
579
583
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
580
584
  lib_name: @config.lib_name, lib_version: @config.lib_version,
581
585
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION
586
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
582
587
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
583
588
 
584
589
  header_params = {}
@@ -697,10 +702,11 @@ module Google
697
702
  # Customize the options with defaults
698
703
  metadata = @config.rpcs.create_private_cloud.metadata.to_h
699
704
 
700
- # 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
701
706
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
702
707
  lib_name: @config.lib_name, lib_version: @config.lib_version,
703
708
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION
709
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
704
710
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
705
711
 
706
712
  header_params = {}
@@ -806,10 +812,11 @@ module Google
806
812
  # Customize the options with defaults
807
813
  metadata = @config.rpcs.update_private_cloud.metadata.to_h
808
814
 
809
- # Set x-goog-api-client and x-goog-user-project headers
815
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
810
816
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
811
817
  lib_name: @config.lib_name, lib_version: @config.lib_version,
812
818
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION
819
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
813
820
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
814
821
 
815
822
  header_params = {}
@@ -935,10 +942,11 @@ module Google
935
942
  # Customize the options with defaults
936
943
  metadata = @config.rpcs.delete_private_cloud.metadata.to_h
937
944
 
938
- # Set x-goog-api-client and x-goog-user-project headers
945
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
939
946
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
940
947
  lib_name: @config.lib_name, lib_version: @config.lib_version,
941
948
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION
949
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
942
950
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
943
951
 
944
952
  header_params = {}
@@ -1038,10 +1046,11 @@ module Google
1038
1046
  # Customize the options with defaults
1039
1047
  metadata = @config.rpcs.undelete_private_cloud.metadata.to_h
1040
1048
 
1041
- # Set x-goog-api-client and x-goog-user-project headers
1049
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1042
1050
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1043
1051
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1044
1052
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION
1053
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1045
1054
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1046
1055
 
1047
1056
  header_params = {}
@@ -1163,10 +1172,11 @@ module Google
1163
1172
  # Customize the options with defaults
1164
1173
  metadata = @config.rpcs.list_clusters.metadata.to_h
1165
1174
 
1166
- # Set x-goog-api-client and x-goog-user-project headers
1175
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1167
1176
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1168
1177
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1169
1178
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION
1179
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1170
1180
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1171
1181
 
1172
1182
  header_params = {}
@@ -1253,10 +1263,11 @@ module Google
1253
1263
  # Customize the options with defaults
1254
1264
  metadata = @config.rpcs.get_cluster.metadata.to_h
1255
1265
 
1256
- # Set x-goog-api-client and x-goog-user-project headers
1266
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1257
1267
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1258
1268
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1259
1269
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION
1270
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1260
1271
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1261
1272
 
1262
1273
  header_params = {}
@@ -1372,10 +1383,11 @@ module Google
1372
1383
  # Customize the options with defaults
1373
1384
  metadata = @config.rpcs.create_cluster.metadata.to_h
1374
1385
 
1375
- # Set x-goog-api-client and x-goog-user-project headers
1386
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1376
1387
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1377
1388
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1378
1389
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION
1390
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1379
1391
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1380
1392
 
1381
1393
  header_params = {}
@@ -1483,10 +1495,11 @@ module Google
1483
1495
  # Customize the options with defaults
1484
1496
  metadata = @config.rpcs.update_cluster.metadata.to_h
1485
1497
 
1486
- # Set x-goog-api-client and x-goog-user-project headers
1498
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1487
1499
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1488
1500
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1489
1501
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION
1502
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1490
1503
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1491
1504
 
1492
1505
  header_params = {}
@@ -1586,10 +1599,11 @@ module Google
1586
1599
  # Customize the options with defaults
1587
1600
  metadata = @config.rpcs.delete_cluster.metadata.to_h
1588
1601
 
1589
- # Set x-goog-api-client and x-goog-user-project headers
1602
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1590
1603
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1591
1604
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1592
1605
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION
1606
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1593
1607
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1594
1608
 
1595
1609
  header_params = {}
@@ -1692,10 +1706,11 @@ module Google
1692
1706
  # Customize the options with defaults
1693
1707
  metadata = @config.rpcs.list_nodes.metadata.to_h
1694
1708
 
1695
- # Set x-goog-api-client and x-goog-user-project headers
1709
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1696
1710
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1697
1711
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1698
1712
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION
1713
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1699
1714
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1700
1715
 
1701
1716
  header_params = {}
@@ -1780,10 +1795,11 @@ module Google
1780
1795
  # Customize the options with defaults
1781
1796
  metadata = @config.rpcs.get_node.metadata.to_h
1782
1797
 
1783
- # Set x-goog-api-client and x-goog-user-project headers
1798
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1784
1799
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1785
1800
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1786
1801
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION
1802
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1787
1803
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1788
1804
 
1789
1805
  header_params = {}
@@ -1918,10 +1934,11 @@ module Google
1918
1934
  # Customize the options with defaults
1919
1935
  metadata = @config.rpcs.list_external_addresses.metadata.to_h
1920
1936
 
1921
- # Set x-goog-api-client and x-goog-user-project headers
1937
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1922
1938
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1923
1939
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1924
1940
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION
1941
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1925
1942
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1926
1943
 
1927
1944
  header_params = {}
@@ -2026,10 +2043,11 @@ module Google
2026
2043
  # Customize the options with defaults
2027
2044
  metadata = @config.rpcs.fetch_network_policy_external_addresses.metadata.to_h
2028
2045
 
2029
- # Set x-goog-api-client and x-goog-user-project headers
2046
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2030
2047
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2031
2048
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2032
2049
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION
2050
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2033
2051
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2034
2052
 
2035
2053
  header_params = {}
@@ -2116,10 +2134,11 @@ module Google
2116
2134
  # Customize the options with defaults
2117
2135
  metadata = @config.rpcs.get_external_address.metadata.to_h
2118
2136
 
2119
- # Set x-goog-api-client and x-goog-user-project headers
2137
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2120
2138
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2121
2139
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2122
2140
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION
2141
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2123
2142
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2124
2143
 
2125
2144
  header_params = {}
@@ -2244,10 +2263,11 @@ module Google
2244
2263
  # Customize the options with defaults
2245
2264
  metadata = @config.rpcs.create_external_address.metadata.to_h
2246
2265
 
2247
- # Set x-goog-api-client and x-goog-user-project headers
2266
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2248
2267
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2249
2268
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2250
2269
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION
2270
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2251
2271
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2252
2272
 
2253
2273
  header_params = {}
@@ -2364,10 +2384,11 @@ module Google
2364
2384
  # Customize the options with defaults
2365
2385
  metadata = @config.rpcs.update_external_address.metadata.to_h
2366
2386
 
2367
- # Set x-goog-api-client and x-goog-user-project headers
2387
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2368
2388
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2369
2389
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2370
2390
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION
2391
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2371
2392
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2372
2393
 
2373
2394
  header_params = {}
@@ -2478,10 +2499,11 @@ module Google
2478
2499
  # Customize the options with defaults
2479
2500
  metadata = @config.rpcs.delete_external_address.metadata.to_h
2480
2501
 
2481
- # Set x-goog-api-client and x-goog-user-project headers
2502
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2482
2503
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2483
2504
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2484
2505
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION
2506
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2485
2507
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2486
2508
 
2487
2509
  header_params = {}
@@ -2584,10 +2606,11 @@ module Google
2584
2606
  # Customize the options with defaults
2585
2607
  metadata = @config.rpcs.list_subnets.metadata.to_h
2586
2608
 
2587
- # Set x-goog-api-client and x-goog-user-project headers
2609
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2588
2610
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2589
2611
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2590
2612
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION
2613
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2591
2614
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2592
2615
 
2593
2616
  header_params = {}
@@ -2674,10 +2697,11 @@ module Google
2674
2697
  # Customize the options with defaults
2675
2698
  metadata = @config.rpcs.get_subnet.metadata.to_h
2676
2699
 
2677
- # Set x-goog-api-client and x-goog-user-project headers
2700
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2678
2701
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2679
2702
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2680
2703
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION
2704
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2681
2705
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2682
2706
 
2683
2707
  header_params = {}
@@ -2777,10 +2801,11 @@ module Google
2777
2801
  # Customize the options with defaults
2778
2802
  metadata = @config.rpcs.update_subnet.metadata.to_h
2779
2803
 
2780
- # Set x-goog-api-client and x-goog-user-project headers
2804
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2781
2805
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2782
2806
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2783
2807
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION
2808
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2784
2809
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2785
2810
 
2786
2811
  header_params = {}
@@ -2915,10 +2940,11 @@ module Google
2915
2940
  # Customize the options with defaults
2916
2941
  metadata = @config.rpcs.list_external_access_rules.metadata.to_h
2917
2942
 
2918
- # Set x-goog-api-client and x-goog-user-project headers
2943
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2919
2944
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2920
2945
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2921
2946
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION
2947
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2922
2948
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2923
2949
 
2924
2950
  header_params = {}
@@ -3005,10 +3031,11 @@ module Google
3005
3031
  # Customize the options with defaults
3006
3032
  metadata = @config.rpcs.get_external_access_rule.metadata.to_h
3007
3033
 
3008
- # Set x-goog-api-client and x-goog-user-project headers
3034
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3009
3035
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3010
3036
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3011
3037
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION
3038
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3012
3039
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3013
3040
 
3014
3041
  header_params = {}
@@ -3131,10 +3158,11 @@ module Google
3131
3158
  # Customize the options with defaults
3132
3159
  metadata = @config.rpcs.create_external_access_rule.metadata.to_h
3133
3160
 
3134
- # Set x-goog-api-client and x-goog-user-project headers
3161
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3135
3162
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3136
3163
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3137
3164
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION
3165
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3138
3166
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3139
3167
 
3140
3168
  header_params = {}
@@ -3246,10 +3274,11 @@ module Google
3246
3274
  # Customize the options with defaults
3247
3275
  metadata = @config.rpcs.update_external_access_rule.metadata.to_h
3248
3276
 
3249
- # Set x-goog-api-client and x-goog-user-project headers
3277
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3250
3278
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3251
3279
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3252
3280
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION
3281
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3253
3282
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3254
3283
 
3255
3284
  header_params = {}
@@ -3358,10 +3387,11 @@ module Google
3358
3387
  # Customize the options with defaults
3359
3388
  metadata = @config.rpcs.delete_external_access_rule.metadata.to_h
3360
3389
 
3361
- # Set x-goog-api-client and x-goog-user-project headers
3390
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3362
3391
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3363
3392
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3364
3393
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION
3394
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3365
3395
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3366
3396
 
3367
3397
  header_params = {}
@@ -3498,10 +3528,11 @@ module Google
3498
3528
  # Customize the options with defaults
3499
3529
  metadata = @config.rpcs.list_logging_servers.metadata.to_h
3500
3530
 
3501
- # Set x-goog-api-client and x-goog-user-project headers
3531
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3502
3532
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3503
3533
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3504
3534
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION
3535
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3505
3536
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3506
3537
 
3507
3538
  header_params = {}
@@ -3588,10 +3619,11 @@ module Google
3588
3619
  # Customize the options with defaults
3589
3620
  metadata = @config.rpcs.get_logging_server.metadata.to_h
3590
3621
 
3591
- # Set x-goog-api-client and x-goog-user-project headers
3622
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3592
3623
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3593
3624
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3594
3625
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION
3626
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3595
3627
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3596
3628
 
3597
3629
  header_params = {}
@@ -3714,10 +3746,11 @@ module Google
3714
3746
  # Customize the options with defaults
3715
3747
  metadata = @config.rpcs.create_logging_server.metadata.to_h
3716
3748
 
3717
- # 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
3718
3750
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3719
3751
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3720
3752
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION
3753
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3721
3754
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3722
3755
 
3723
3756
  header_params = {}
@@ -3829,10 +3862,11 @@ module Google
3829
3862
  # Customize the options with defaults
3830
3863
  metadata = @config.rpcs.update_logging_server.metadata.to_h
3831
3864
 
3832
- # Set x-goog-api-client and x-goog-user-project headers
3865
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3833
3866
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3834
3867
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3835
3868
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION
3869
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3836
3870
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3837
3871
 
3838
3872
  header_params = {}
@@ -3941,10 +3975,11 @@ module Google
3941
3975
  # Customize the options with defaults
3942
3976
  metadata = @config.rpcs.delete_logging_server.metadata.to_h
3943
3977
 
3944
- # Set x-goog-api-client and x-goog-user-project headers
3978
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3945
3979
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3946
3980
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3947
3981
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION
3982
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3948
3983
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3949
3984
 
3950
3985
  header_params = {}
@@ -4072,10 +4107,11 @@ module Google
4072
4107
  # Customize the options with defaults
4073
4108
  metadata = @config.rpcs.list_node_types.metadata.to_h
4074
4109
 
4075
- # Set x-goog-api-client and x-goog-user-project headers
4110
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
4076
4111
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
4077
4112
  lib_name: @config.lib_name, lib_version: @config.lib_version,
4078
4113
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION
4114
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
4079
4115
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
4080
4116
 
4081
4117
  header_params = {}
@@ -4162,10 +4198,11 @@ module Google
4162
4198
  # Customize the options with defaults
4163
4199
  metadata = @config.rpcs.get_node_type.metadata.to_h
4164
4200
 
4165
- # Set x-goog-api-client and x-goog-user-project headers
4201
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
4166
4202
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
4167
4203
  lib_name: @config.lib_name, lib_version: @config.lib_version,
4168
4204
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION
4205
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
4169
4206
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
4170
4207
 
4171
4208
  header_params = {}
@@ -4252,10 +4289,11 @@ module Google
4252
4289
  # Customize the options with defaults
4253
4290
  metadata = @config.rpcs.show_nsx_credentials.metadata.to_h
4254
4291
 
4255
- # Set x-goog-api-client and x-goog-user-project headers
4292
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
4256
4293
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
4257
4294
  lib_name: @config.lib_name, lib_version: @config.lib_version,
4258
4295
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION
4296
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
4259
4297
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
4260
4298
 
4261
4299
  header_params = {}
@@ -4353,10 +4391,11 @@ module Google
4353
4391
  # Customize the options with defaults
4354
4392
  metadata = @config.rpcs.show_vcenter_credentials.metadata.to_h
4355
4393
 
4356
- # Set x-goog-api-client and x-goog-user-project headers
4394
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
4357
4395
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
4358
4396
  lib_name: @config.lib_name, lib_version: @config.lib_version,
4359
4397
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION
4398
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
4360
4399
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
4361
4400
 
4362
4401
  header_params = {}
@@ -4465,10 +4504,11 @@ module Google
4465
4504
  # Customize the options with defaults
4466
4505
  metadata = @config.rpcs.reset_nsx_credentials.metadata.to_h
4467
4506
 
4468
- # Set x-goog-api-client and x-goog-user-project headers
4507
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
4469
4508
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
4470
4509
  lib_name: @config.lib_name, lib_version: @config.lib_version,
4471
4510
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION
4511
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
4472
4512
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
4473
4513
 
4474
4514
  header_params = {}
@@ -4588,10 +4628,11 @@ module Google
4588
4628
  # Customize the options with defaults
4589
4629
  metadata = @config.rpcs.reset_vcenter_credentials.metadata.to_h
4590
4630
 
4591
- # Set x-goog-api-client and x-goog-user-project headers
4631
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
4592
4632
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
4593
4633
  lib_name: @config.lib_name, lib_version: @config.lib_version,
4594
4634
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION
4635
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
4595
4636
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
4596
4637
 
4597
4638
  header_params = {}
@@ -4678,10 +4719,11 @@ module Google
4678
4719
  # Customize the options with defaults
4679
4720
  metadata = @config.rpcs.get_dns_forwarding.metadata.to_h
4680
4721
 
4681
- # Set x-goog-api-client and x-goog-user-project headers
4722
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
4682
4723
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
4683
4724
  lib_name: @config.lib_name, lib_version: @config.lib_version,
4684
4725
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION
4726
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
4685
4727
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
4686
4728
 
4687
4729
  header_params = {}
@@ -4792,10 +4834,11 @@ module Google
4792
4834
  # Customize the options with defaults
4793
4835
  metadata = @config.rpcs.update_dns_forwarding.metadata.to_h
4794
4836
 
4795
- # Set x-goog-api-client and x-goog-user-project headers
4837
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
4796
4838
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
4797
4839
  lib_name: @config.lib_name, lib_version: @config.lib_version,
4798
4840
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION
4841
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
4799
4842
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
4800
4843
 
4801
4844
  header_params = {}
@@ -4885,10 +4928,11 @@ module Google
4885
4928
  # Customize the options with defaults
4886
4929
  metadata = @config.rpcs.get_network_peering.metadata.to_h
4887
4930
 
4888
- # Set x-goog-api-client and x-goog-user-project headers
4931
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
4889
4932
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
4890
4933
  lib_name: @config.lib_name, lib_version: @config.lib_version,
4891
4934
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION
4935
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
4892
4936
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
4893
4937
 
4894
4938
  header_params = {}
@@ -5021,10 +5065,11 @@ module Google
5021
5065
  # Customize the options with defaults
5022
5066
  metadata = @config.rpcs.list_network_peerings.metadata.to_h
5023
5067
 
5024
- # Set x-goog-api-client and x-goog-user-project headers
5068
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
5025
5069
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
5026
5070
  lib_name: @config.lib_name, lib_version: @config.lib_version,
5027
5071
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION
5072
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
5028
5073
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
5029
5074
 
5030
5075
  header_params = {}
@@ -5149,10 +5194,11 @@ module Google
5149
5194
  # Customize the options with defaults
5150
5195
  metadata = @config.rpcs.create_network_peering.metadata.to_h
5151
5196
 
5152
- # Set x-goog-api-client and x-goog-user-project headers
5197
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
5153
5198
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
5154
5199
  lib_name: @config.lib_name, lib_version: @config.lib_version,
5155
5200
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION
5201
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
5156
5202
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
5157
5203
 
5158
5204
  header_params = {}
@@ -5264,10 +5310,11 @@ module Google
5264
5310
  # Customize the options with defaults
5265
5311
  metadata = @config.rpcs.delete_network_peering.metadata.to_h
5266
5312
 
5267
- # Set x-goog-api-client and x-goog-user-project headers
5313
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
5268
5314
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
5269
5315
  lib_name: @config.lib_name, lib_version: @config.lib_version,
5270
5316
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION
5317
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
5271
5318
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
5272
5319
 
5273
5320
  header_params = {}
@@ -5380,10 +5427,11 @@ module Google
5380
5427
  # Customize the options with defaults
5381
5428
  metadata = @config.rpcs.update_network_peering.metadata.to_h
5382
5429
 
5383
- # Set x-goog-api-client and x-goog-user-project headers
5430
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
5384
5431
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
5385
5432
  lib_name: @config.lib_name, lib_version: @config.lib_version,
5386
5433
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION
5434
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
5387
5435
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
5388
5436
 
5389
5437
  header_params = {}
@@ -5490,10 +5538,11 @@ module Google
5490
5538
  # Customize the options with defaults
5491
5539
  metadata = @config.rpcs.list_peering_routes.metadata.to_h
5492
5540
 
5493
- # Set x-goog-api-client and x-goog-user-project headers
5541
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
5494
5542
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
5495
5543
  lib_name: @config.lib_name, lib_version: @config.lib_version,
5496
5544
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION
5545
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
5497
5546
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
5498
5547
 
5499
5548
  header_params = {}
@@ -5617,10 +5666,11 @@ module Google
5617
5666
  # Customize the options with defaults
5618
5667
  metadata = @config.rpcs.create_hcx_activation_key.metadata.to_h
5619
5668
 
5620
- # Set x-goog-api-client and x-goog-user-project headers
5669
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
5621
5670
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
5622
5671
  lib_name: @config.lib_name, lib_version: @config.lib_version,
5623
5672
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION
5673
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
5624
5674
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
5625
5675
 
5626
5676
  header_params = {}
@@ -5724,10 +5774,11 @@ module Google
5724
5774
  # Customize the options with defaults
5725
5775
  metadata = @config.rpcs.list_hcx_activation_keys.metadata.to_h
5726
5776
 
5727
- # Set x-goog-api-client and x-goog-user-project headers
5777
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
5728
5778
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
5729
5779
  lib_name: @config.lib_name, lib_version: @config.lib_version,
5730
5780
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION
5781
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
5731
5782
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
5732
5783
 
5733
5784
  header_params = {}
@@ -5814,10 +5865,11 @@ module Google
5814
5865
  # Customize the options with defaults
5815
5866
  metadata = @config.rpcs.get_hcx_activation_key.metadata.to_h
5816
5867
 
5817
- # Set x-goog-api-client and x-goog-user-project headers
5868
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
5818
5869
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
5819
5870
  lib_name: @config.lib_name, lib_version: @config.lib_version,
5820
5871
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION
5872
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
5821
5873
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
5822
5874
 
5823
5875
  header_params = {}
@@ -5903,10 +5955,11 @@ module Google
5903
5955
  # Customize the options with defaults
5904
5956
  metadata = @config.rpcs.get_network_policy.metadata.to_h
5905
5957
 
5906
- # Set x-goog-api-client and x-goog-user-project headers
5958
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
5907
5959
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
5908
5960
  lib_name: @config.lib_name, lib_version: @config.lib_version,
5909
5961
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION
5962
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
5910
5963
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
5911
5964
 
5912
5965
  header_params = {}
@@ -6039,10 +6092,11 @@ module Google
6039
6092
  # Customize the options with defaults
6040
6093
  metadata = @config.rpcs.list_network_policies.metadata.to_h
6041
6094
 
6042
- # Set x-goog-api-client and x-goog-user-project headers
6095
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
6043
6096
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
6044
6097
  lib_name: @config.lib_name, lib_version: @config.lib_version,
6045
6098
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION
6099
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
6046
6100
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
6047
6101
 
6048
6102
  header_params = {}
@@ -6169,10 +6223,11 @@ module Google
6169
6223
  # Customize the options with defaults
6170
6224
  metadata = @config.rpcs.create_network_policy.metadata.to_h
6171
6225
 
6172
- # Set x-goog-api-client and x-goog-user-project headers
6226
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
6173
6227
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
6174
6228
  lib_name: @config.lib_name, lib_version: @config.lib_version,
6175
6229
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION
6230
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
6176
6231
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
6177
6232
 
6178
6233
  header_params = {}
@@ -6294,10 +6349,11 @@ module Google
6294
6349
  # Customize the options with defaults
6295
6350
  metadata = @config.rpcs.update_network_policy.metadata.to_h
6296
6351
 
6297
- # Set x-goog-api-client and x-goog-user-project headers
6352
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
6298
6353
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
6299
6354
  lib_name: @config.lib_name, lib_version: @config.lib_version,
6300
6355
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION
6356
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
6301
6357
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
6302
6358
 
6303
6359
  header_params = {}
@@ -6408,10 +6464,11 @@ module Google
6408
6464
  # Customize the options with defaults
6409
6465
  metadata = @config.rpcs.delete_network_policy.metadata.to_h
6410
6466
 
6411
- # Set x-goog-api-client and x-goog-user-project headers
6467
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
6412
6468
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
6413
6469
  lib_name: @config.lib_name, lib_version: @config.lib_version,
6414
6470
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION
6471
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
6415
6472
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
6416
6473
 
6417
6474
  header_params = {}
@@ -6547,10 +6604,11 @@ module Google
6547
6604
  # Customize the options with defaults
6548
6605
  metadata = @config.rpcs.list_management_dns_zone_bindings.metadata.to_h
6549
6606
 
6550
- # Set x-goog-api-client and x-goog-user-project headers
6607
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
6551
6608
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
6552
6609
  lib_name: @config.lib_name, lib_version: @config.lib_version,
6553
6610
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION
6611
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
6554
6612
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
6555
6613
 
6556
6614
  header_params = {}
@@ -6637,10 +6695,11 @@ module Google
6637
6695
  # Customize the options with defaults
6638
6696
  metadata = @config.rpcs.get_management_dns_zone_binding.metadata.to_h
6639
6697
 
6640
- # Set x-goog-api-client and x-goog-user-project headers
6698
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
6641
6699
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
6642
6700
  lib_name: @config.lib_name, lib_version: @config.lib_version,
6643
6701
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION
6702
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
6644
6703
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
6645
6704
 
6646
6705
  header_params = {}
@@ -6770,10 +6829,11 @@ module Google
6770
6829
  # Customize the options with defaults
6771
6830
  metadata = @config.rpcs.create_management_dns_zone_binding.metadata.to_h
6772
6831
 
6773
- # Set x-goog-api-client and x-goog-user-project headers
6832
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
6774
6833
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
6775
6834
  lib_name: @config.lib_name, lib_version: @config.lib_version,
6776
6835
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION
6836
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
6777
6837
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
6778
6838
 
6779
6839
  header_params = {}
@@ -6885,10 +6945,11 @@ module Google
6885
6945
  # Customize the options with defaults
6886
6946
  metadata = @config.rpcs.update_management_dns_zone_binding.metadata.to_h
6887
6947
 
6888
- # Set x-goog-api-client and x-goog-user-project headers
6948
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
6889
6949
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
6890
6950
  lib_name: @config.lib_name, lib_version: @config.lib_version,
6891
6951
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION
6952
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
6892
6953
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
6893
6954
 
6894
6955
  header_params = {}
@@ -6999,10 +7060,11 @@ module Google
6999
7060
  # Customize the options with defaults
7000
7061
  metadata = @config.rpcs.delete_management_dns_zone_binding.metadata.to_h
7001
7062
 
7002
- # Set x-goog-api-client and x-goog-user-project headers
7063
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
7003
7064
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
7004
7065
  lib_name: @config.lib_name, lib_version: @config.lib_version,
7005
7066
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION
7067
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
7006
7068
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
7007
7069
 
7008
7070
  header_params = {}
@@ -7112,10 +7174,11 @@ module Google
7112
7174
  # Customize the options with defaults
7113
7175
  metadata = @config.rpcs.repair_management_dns_zone_binding.metadata.to_h
7114
7176
 
7115
- # Set x-goog-api-client and x-goog-user-project headers
7177
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
7116
7178
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
7117
7179
  lib_name: @config.lib_name, lib_version: @config.lib_version,
7118
7180
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION
7181
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
7119
7182
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
7120
7183
 
7121
7184
  header_params = {}
@@ -7243,10 +7306,11 @@ module Google
7243
7306
  # Customize the options with defaults
7244
7307
  metadata = @config.rpcs.create_vmware_engine_network.metadata.to_h
7245
7308
 
7246
- # Set x-goog-api-client and x-goog-user-project headers
7309
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
7247
7310
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
7248
7311
  lib_name: @config.lib_name, lib_version: @config.lib_version,
7249
7312
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION
7313
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
7250
7314
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
7251
7315
 
7252
7316
  header_params = {}
@@ -7360,10 +7424,11 @@ module Google
7360
7424
  # Customize the options with defaults
7361
7425
  metadata = @config.rpcs.update_vmware_engine_network.metadata.to_h
7362
7426
 
7363
- # Set x-goog-api-client and x-goog-user-project headers
7427
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
7364
7428
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
7365
7429
  lib_name: @config.lib_name, lib_version: @config.lib_version,
7366
7430
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION
7431
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
7367
7432
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
7368
7433
 
7369
7434
  header_params = {}
@@ -7480,10 +7545,11 @@ module Google
7480
7545
  # Customize the options with defaults
7481
7546
  metadata = @config.rpcs.delete_vmware_engine_network.metadata.to_h
7482
7547
 
7483
- # Set x-goog-api-client and x-goog-user-project headers
7548
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
7484
7549
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
7485
7550
  lib_name: @config.lib_name, lib_version: @config.lib_version,
7486
7551
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION
7552
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
7487
7553
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
7488
7554
 
7489
7555
  header_params = {}
@@ -7573,10 +7639,11 @@ module Google
7573
7639
  # Customize the options with defaults
7574
7640
  metadata = @config.rpcs.get_vmware_engine_network.metadata.to_h
7575
7641
 
7576
- # Set x-goog-api-client and x-goog-user-project headers
7642
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
7577
7643
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
7578
7644
  lib_name: @config.lib_name, lib_version: @config.lib_version,
7579
7645
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION
7646
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
7580
7647
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
7581
7648
 
7582
7649
  header_params = {}
@@ -7708,10 +7775,11 @@ module Google
7708
7775
  # Customize the options with defaults
7709
7776
  metadata = @config.rpcs.list_vmware_engine_networks.metadata.to_h
7710
7777
 
7711
- # Set x-goog-api-client and x-goog-user-project headers
7778
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
7712
7779
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
7713
7780
  lib_name: @config.lib_name, lib_version: @config.lib_version,
7714
7781
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION
7782
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
7715
7783
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
7716
7784
 
7717
7785
  header_params = {}
@@ -7835,10 +7903,11 @@ module Google
7835
7903
  # Customize the options with defaults
7836
7904
  metadata = @config.rpcs.create_private_connection.metadata.to_h
7837
7905
 
7838
- # Set x-goog-api-client and x-goog-user-project headers
7906
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
7839
7907
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
7840
7908
  lib_name: @config.lib_name, lib_version: @config.lib_version,
7841
7909
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION
7910
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
7842
7911
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
7843
7912
 
7844
7913
  header_params = {}
@@ -7927,10 +7996,11 @@ module Google
7927
7996
  # Customize the options with defaults
7928
7997
  metadata = @config.rpcs.get_private_connection.metadata.to_h
7929
7998
 
7930
- # Set x-goog-api-client and x-goog-user-project headers
7999
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
7931
8000
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
7932
8001
  lib_name: @config.lib_name, lib_version: @config.lib_version,
7933
8002
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION
8003
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
7934
8004
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
7935
8005
 
7936
8006
  header_params = {}
@@ -8062,10 +8132,11 @@ module Google
8062
8132
  # Customize the options with defaults
8063
8133
  metadata = @config.rpcs.list_private_connections.metadata.to_h
8064
8134
 
8065
- # Set x-goog-api-client and x-goog-user-project headers
8135
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
8066
8136
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
8067
8137
  lib_name: @config.lib_name, lib_version: @config.lib_version,
8068
8138
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION
8139
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
8069
8140
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
8070
8141
 
8071
8142
  header_params = {}
@@ -8178,10 +8249,11 @@ module Google
8178
8249
  # Customize the options with defaults
8179
8250
  metadata = @config.rpcs.update_private_connection.metadata.to_h
8180
8251
 
8181
- # Set x-goog-api-client and x-goog-user-project headers
8252
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
8182
8253
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
8183
8254
  lib_name: @config.lib_name, lib_version: @config.lib_version,
8184
8255
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION
8256
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
8185
8257
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
8186
8258
 
8187
8259
  header_params = {}
@@ -8292,10 +8364,11 @@ module Google
8292
8364
  # Customize the options with defaults
8293
8365
  metadata = @config.rpcs.delete_private_connection.metadata.to_h
8294
8366
 
8295
- # Set x-goog-api-client and x-goog-user-project headers
8367
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
8296
8368
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
8297
8369
  lib_name: @config.lib_name, lib_version: @config.lib_version,
8298
8370
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION
8371
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
8299
8372
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
8300
8373
 
8301
8374
  header_params = {}
@@ -8395,10 +8468,11 @@ module Google
8395
8468
  # Customize the options with defaults
8396
8469
  metadata = @config.rpcs.list_private_connection_peering_routes.metadata.to_h
8397
8470
 
8398
- # Set x-goog-api-client and x-goog-user-project headers
8471
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
8399
8472
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
8400
8473
  lib_name: @config.lib_name, lib_version: @config.lib_version,
8401
8474
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION
8475
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
8402
8476
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
8403
8477
 
8404
8478
  header_params = {}
@@ -8515,10 +8589,11 @@ module Google
8515
8589
  # Customize the options with defaults
8516
8590
  metadata = @config.rpcs.grant_dns_bind_permission.metadata.to_h
8517
8591
 
8518
- # Set x-goog-api-client and x-goog-user-project headers
8592
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
8519
8593
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
8520
8594
  lib_name: @config.lib_name, lib_version: @config.lib_version,
8521
8595
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION
8596
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
8522
8597
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
8523
8598
 
8524
8599
  header_params = {}
@@ -8608,10 +8683,11 @@ module Google
8608
8683
  # Customize the options with defaults
8609
8684
  metadata = @config.rpcs.get_dns_bind_permission.metadata.to_h
8610
8685
 
8611
- # Set x-goog-api-client and x-goog-user-project headers
8686
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
8612
8687
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
8613
8688
  lib_name: @config.lib_name, lib_version: @config.lib_version,
8614
8689
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION
8690
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
8615
8691
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
8616
8692
 
8617
8693
  header_params = {}
@@ -8726,10 +8802,11 @@ module Google
8726
8802
  # Customize the options with defaults
8727
8803
  metadata = @config.rpcs.revoke_dns_bind_permission.metadata.to_h
8728
8804
 
8729
- # Set x-goog-api-client and x-goog-user-project headers
8805
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
8730
8806
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
8731
8807
  lib_name: @config.lib_name, lib_version: @config.lib_version,
8732
8808
  gapic_version: ::Google::Cloud::VmwareEngine::V1::VERSION
8809
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
8733
8810
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
8734
8811
 
8735
8812
  header_params = {}