google-cloud-container-v1 0.40.0 → 0.42.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/google/cloud/container/v1/cluster_manager/client.rb +80 -35
- data/lib/google/cloud/container/v1/cluster_manager/rest/client.rb +3957 -0
- data/lib/google/cloud/container/v1/cluster_manager/rest/service_stub.rb +2391 -0
- data/lib/google/cloud/container/v1/cluster_manager/rest.rb +52 -0
- data/lib/google/cloud/container/v1/cluster_manager.rb +6 -0
- data/lib/google/cloud/container/v1/rest.rb +37 -0
- data/lib/google/cloud/container/v1/version.rb +1 -1
- data/lib/google/cloud/container/v1.rb +5 -0
- data/lib/google/container/v1/cluster_service_pb.rb +6 -1
- data/proto_docs/google/container/v1/cluster_service.rb +135 -1
- metadata +6 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1ecf08f6b092e3c23403966d95ca49b252f7b623954b2689ccd84be679026e32
|
4
|
+
data.tar.gz: 911195fa1d30f5876aa4f80dad141c3c6ee1f3f974b3fe3bd4edc500a5458808
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0104ac0f738c028885e90cecbf7d8f4406616266e039891a8d51999ca84f6994efbe346c2acf183e52220b8eb5bcab52deedc3b94704fcf6f6b4f5c367b0a7b7
|
7
|
+
data.tar.gz: 4fa43b1f2d878d626a3cf23b191e056fde382de6779823c02c5bfbd8615f94ec553d31b446c10615dec28d507034288e0436b7c61483bb13ab43e79184a07bb6
|
@@ -30,6 +30,9 @@ module Google
|
|
30
30
|
# Google Kubernetes Engine Cluster Manager v1
|
31
31
|
#
|
32
32
|
class Client
|
33
|
+
# @private
|
34
|
+
API_VERSION = ""
|
35
|
+
|
33
36
|
# @private
|
34
37
|
DEFAULT_ENDPOINT_TEMPLATE = "container.$UNIVERSE_DOMAIN$"
|
35
38
|
|
@@ -314,10 +317,11 @@ module Google
|
|
314
317
|
# Customize the options with defaults
|
315
318
|
metadata = @config.rpcs.list_clusters.metadata.to_h
|
316
319
|
|
317
|
-
# Set x-goog-api-client
|
320
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
318
321
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
319
322
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
320
323
|
gapic_version: ::Google::Cloud::Container::V1::VERSION
|
324
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
321
325
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
322
326
|
|
323
327
|
header_params = {}
|
@@ -412,10 +416,11 @@ module Google
|
|
412
416
|
# Customize the options with defaults
|
413
417
|
metadata = @config.rpcs.get_cluster.metadata.to_h
|
414
418
|
|
415
|
-
# Set x-goog-api-client
|
419
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
416
420
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
417
421
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
418
422
|
gapic_version: ::Google::Cloud::Container::V1::VERSION
|
423
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
419
424
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
420
425
|
|
421
426
|
header_params = {}
|
@@ -523,10 +528,11 @@ module Google
|
|
523
528
|
# Customize the options with defaults
|
524
529
|
metadata = @config.rpcs.create_cluster.metadata.to_h
|
525
530
|
|
526
|
-
# Set x-goog-api-client
|
531
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
527
532
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
528
533
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
529
534
|
gapic_version: ::Google::Cloud::Container::V1::VERSION
|
535
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
530
536
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
531
537
|
|
532
538
|
header_params = {}
|
@@ -623,10 +629,11 @@ module Google
|
|
623
629
|
# Customize the options with defaults
|
624
630
|
metadata = @config.rpcs.update_cluster.metadata.to_h
|
625
631
|
|
626
|
-
# Set x-goog-api-client
|
632
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
627
633
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
628
634
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
629
635
|
gapic_version: ::Google::Cloud::Container::V1::VERSION
|
636
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
630
637
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
631
638
|
|
632
639
|
header_params = {}
|
@@ -666,7 +673,7 @@ module Google
|
|
666
673
|
# @param options [::Gapic::CallOptions, ::Hash]
|
667
674
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
668
675
|
#
|
669
|
-
# @overload update_node_pool(project_id: nil, zone: nil, cluster_id: nil, node_pool_id: nil, node_version: nil, image_type: nil, name: nil, locations: nil, workload_metadata_config: nil, upgrade_settings: nil, tags: nil, taints: nil, labels: nil, linux_node_config: nil, kubelet_config: nil, node_network_config: nil, gcfs_config: nil, confidential_nodes: nil, gvnic: nil, etag: nil, fast_socket: nil, logging_config: nil, resource_labels: nil, windows_node_config: nil, machine_type: nil, disk_type: nil, disk_size_gb: nil, resource_manager_tags: nil, queued_provisioning: nil)
|
676
|
+
# @overload update_node_pool(project_id: nil, zone: nil, cluster_id: nil, node_pool_id: nil, node_version: nil, image_type: nil, name: nil, locations: nil, workload_metadata_config: nil, upgrade_settings: nil, tags: nil, taints: nil, labels: nil, linux_node_config: nil, kubelet_config: nil, node_network_config: nil, gcfs_config: nil, confidential_nodes: nil, gvnic: nil, etag: nil, fast_socket: nil, logging_config: nil, resource_labels: nil, windows_node_config: nil, accelerators: nil, machine_type: nil, disk_type: nil, disk_size_gb: nil, resource_manager_tags: nil, containerd_config: nil, queued_provisioning: nil)
|
670
677
|
# Pass arguments to `update_node_pool` via keyword arguments. Note that at
|
671
678
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
672
679
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
@@ -754,6 +761,10 @@ module Google
|
|
754
761
|
# Google Compute Engine resources.
|
755
762
|
# @param windows_node_config [::Google::Cloud::Container::V1::WindowsNodeConfig, ::Hash]
|
756
763
|
# Parameters that can be configured on Windows nodes.
|
764
|
+
# @param accelerators [::Array<::Google::Cloud::Container::V1::AcceleratorConfig, ::Hash>]
|
765
|
+
# A list of hardware accelerators to be attached to each node.
|
766
|
+
# See https://cloud.google.com/compute/docs/gpus for more information about
|
767
|
+
# support for GPUs.
|
757
768
|
# @param machine_type [::String]
|
758
769
|
# Optional. The desired [Google Compute Engine machine
|
759
770
|
# type](https://cloud.google.com/compute/docs/machine-types) for nodes in the
|
@@ -773,6 +784,10 @@ module Google
|
|
773
784
|
# Desired resource manager tag keys and values to be attached to the nodes
|
774
785
|
# for managing Compute Engine firewalls using Network Firewall Policies.
|
775
786
|
# Existing tags will be replaced with new values.
|
787
|
+
# @param containerd_config [::Google::Cloud::Container::V1::ContainerdConfig, ::Hash]
|
788
|
+
# The desired containerd config for nodes in the node pool.
|
789
|
+
# Initiates an upgrade operation that recreates the nodes with the new
|
790
|
+
# config.
|
776
791
|
# @param queued_provisioning [::Google::Cloud::Container::V1::NodePool::QueuedProvisioning, ::Hash]
|
777
792
|
# Specifies the configuration of queued provisioning.
|
778
793
|
#
|
@@ -810,10 +825,11 @@ module Google
|
|
810
825
|
# Customize the options with defaults
|
811
826
|
metadata = @config.rpcs.update_node_pool.metadata.to_h
|
812
827
|
|
813
|
-
# Set x-goog-api-client
|
828
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
814
829
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
815
830
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
816
831
|
gapic_version: ::Google::Cloud::Container::V1::VERSION
|
832
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
817
833
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
818
834
|
|
819
835
|
header_params = {}
|
@@ -914,10 +930,11 @@ module Google
|
|
914
930
|
# Customize the options with defaults
|
915
931
|
metadata = @config.rpcs.set_node_pool_autoscaling.metadata.to_h
|
916
932
|
|
917
|
-
# Set x-goog-api-client
|
933
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
918
934
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
919
935
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
920
936
|
gapic_version: ::Google::Cloud::Container::V1::VERSION
|
937
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
921
938
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
922
939
|
|
923
940
|
header_params = {}
|
@@ -1024,10 +1041,11 @@ module Google
|
|
1024
1041
|
# Customize the options with defaults
|
1025
1042
|
metadata = @config.rpcs.set_logging_service.metadata.to_h
|
1026
1043
|
|
1027
|
-
# Set x-goog-api-client
|
1044
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1028
1045
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1029
1046
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1030
1047
|
gapic_version: ::Google::Cloud::Container::V1::VERSION
|
1048
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1031
1049
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1032
1050
|
|
1033
1051
|
header_params = {}
|
@@ -1134,10 +1152,11 @@ module Google
|
|
1134
1152
|
# Customize the options with defaults
|
1135
1153
|
metadata = @config.rpcs.set_monitoring_service.metadata.to_h
|
1136
1154
|
|
1137
|
-
# Set x-goog-api-client
|
1155
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1138
1156
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1139
1157
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1140
1158
|
gapic_version: ::Google::Cloud::Container::V1::VERSION
|
1159
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1141
1160
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1142
1161
|
|
1143
1162
|
header_params = {}
|
@@ -1235,10 +1254,11 @@ module Google
|
|
1235
1254
|
# Customize the options with defaults
|
1236
1255
|
metadata = @config.rpcs.set_addons_config.metadata.to_h
|
1237
1256
|
|
1238
|
-
# Set x-goog-api-client
|
1257
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1239
1258
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1240
1259
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1241
1260
|
gapic_version: ::Google::Cloud::Container::V1::VERSION
|
1261
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1242
1262
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1243
1263
|
|
1244
1264
|
header_params = {}
|
@@ -1346,10 +1366,11 @@ module Google
|
|
1346
1366
|
# Customize the options with defaults
|
1347
1367
|
metadata = @config.rpcs.set_locations.metadata.to_h
|
1348
1368
|
|
1349
|
-
# Set x-goog-api-client
|
1369
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1350
1370
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1351
1371
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1352
1372
|
gapic_version: ::Google::Cloud::Container::V1::VERSION
|
1373
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1353
1374
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1354
1375
|
|
1355
1376
|
header_params = {}
|
@@ -1455,10 +1476,11 @@ module Google
|
|
1455
1476
|
# Customize the options with defaults
|
1456
1477
|
metadata = @config.rpcs.update_master.metadata.to_h
|
1457
1478
|
|
1458
|
-
# Set x-goog-api-client
|
1479
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1459
1480
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1460
1481
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1461
1482
|
gapic_version: ::Google::Cloud::Container::V1::VERSION
|
1483
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1462
1484
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1463
1485
|
|
1464
1486
|
header_params = {}
|
@@ -1559,10 +1581,11 @@ module Google
|
|
1559
1581
|
# Customize the options with defaults
|
1560
1582
|
metadata = @config.rpcs.set_master_auth.metadata.to_h
|
1561
1583
|
|
1562
|
-
# Set x-goog-api-client
|
1584
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1563
1585
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1564
1586
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1565
1587
|
gapic_version: ::Google::Cloud::Container::V1::VERSION
|
1588
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1566
1589
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1567
1590
|
|
1568
1591
|
header_params = {}
|
@@ -1665,10 +1688,11 @@ module Google
|
|
1665
1688
|
# Customize the options with defaults
|
1666
1689
|
metadata = @config.rpcs.delete_cluster.metadata.to_h
|
1667
1690
|
|
1668
|
-
# Set x-goog-api-client
|
1691
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1669
1692
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1670
1693
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1671
1694
|
gapic_version: ::Google::Cloud::Container::V1::VERSION
|
1695
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1672
1696
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1673
1697
|
|
1674
1698
|
header_params = {}
|
@@ -1761,10 +1785,11 @@ module Google
|
|
1761
1785
|
# Customize the options with defaults
|
1762
1786
|
metadata = @config.rpcs.list_operations.metadata.to_h
|
1763
1787
|
|
1764
|
-
# Set x-goog-api-client
|
1788
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1765
1789
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1766
1790
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1767
1791
|
gapic_version: ::Google::Cloud::Container::V1::VERSION
|
1792
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1768
1793
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1769
1794
|
|
1770
1795
|
header_params = {}
|
@@ -1859,10 +1884,11 @@ module Google
|
|
1859
1884
|
# Customize the options with defaults
|
1860
1885
|
metadata = @config.rpcs.get_operation.metadata.to_h
|
1861
1886
|
|
1862
|
-
# Set x-goog-api-client
|
1887
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1863
1888
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1864
1889
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1865
1890
|
gapic_version: ::Google::Cloud::Container::V1::VERSION
|
1891
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1866
1892
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1867
1893
|
|
1868
1894
|
header_params = {}
|
@@ -1957,10 +1983,11 @@ module Google
|
|
1957
1983
|
# Customize the options with defaults
|
1958
1984
|
metadata = @config.rpcs.cancel_operation.metadata.to_h
|
1959
1985
|
|
1960
|
-
# Set x-goog-api-client
|
1986
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1961
1987
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1962
1988
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1963
1989
|
gapic_version: ::Google::Cloud::Container::V1::VERSION
|
1990
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1964
1991
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1965
1992
|
|
1966
1993
|
header_params = {}
|
@@ -2052,10 +2079,11 @@ module Google
|
|
2052
2079
|
# Customize the options with defaults
|
2053
2080
|
metadata = @config.rpcs.get_server_config.metadata.to_h
|
2054
2081
|
|
2055
|
-
# Set x-goog-api-client
|
2082
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2056
2083
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2057
2084
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2058
2085
|
gapic_version: ::Google::Cloud::Container::V1::VERSION
|
2086
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2059
2087
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2060
2088
|
|
2061
2089
|
header_params = {}
|
@@ -2139,10 +2167,11 @@ module Google
|
|
2139
2167
|
# Customize the options with defaults
|
2140
2168
|
metadata = @config.rpcs.get_json_web_keys.metadata.to_h
|
2141
2169
|
|
2142
|
-
# Set x-goog-api-client
|
2170
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2143
2171
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2144
2172
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2145
2173
|
gapic_version: ::Google::Cloud::Container::V1::VERSION
|
2174
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2146
2175
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2147
2176
|
|
2148
2177
|
header_params = {}
|
@@ -2237,10 +2266,11 @@ module Google
|
|
2237
2266
|
# Customize the options with defaults
|
2238
2267
|
metadata = @config.rpcs.list_node_pools.metadata.to_h
|
2239
2268
|
|
2240
|
-
# Set x-goog-api-client
|
2269
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2241
2270
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2242
2271
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2243
2272
|
gapic_version: ::Google::Cloud::Container::V1::VERSION
|
2273
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2244
2274
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2245
2275
|
|
2246
2276
|
header_params = {}
|
@@ -2339,10 +2369,11 @@ module Google
|
|
2339
2369
|
# Customize the options with defaults
|
2340
2370
|
metadata = @config.rpcs.get_node_pool.metadata.to_h
|
2341
2371
|
|
2342
|
-
# Set x-goog-api-client
|
2372
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2343
2373
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2344
2374
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2345
2375
|
gapic_version: ::Google::Cloud::Container::V1::VERSION
|
2376
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2346
2377
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2347
2378
|
|
2348
2379
|
header_params = {}
|
@@ -2440,10 +2471,11 @@ module Google
|
|
2440
2471
|
# Customize the options with defaults
|
2441
2472
|
metadata = @config.rpcs.create_node_pool.metadata.to_h
|
2442
2473
|
|
2443
|
-
# Set x-goog-api-client
|
2474
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2444
2475
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2445
2476
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2446
2477
|
gapic_version: ::Google::Cloud::Container::V1::VERSION
|
2478
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2447
2479
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2448
2480
|
|
2449
2481
|
header_params = {}
|
@@ -2542,10 +2574,11 @@ module Google
|
|
2542
2574
|
# Customize the options with defaults
|
2543
2575
|
metadata = @config.rpcs.delete_node_pool.metadata.to_h
|
2544
2576
|
|
2545
|
-
# Set x-goog-api-client
|
2577
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2546
2578
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2547
2579
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2548
2580
|
gapic_version: ::Google::Cloud::Container::V1::VERSION
|
2581
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2549
2582
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2550
2583
|
|
2551
2584
|
header_params = {}
|
@@ -2630,10 +2663,11 @@ module Google
|
|
2630
2663
|
# Customize the options with defaults
|
2631
2664
|
metadata = @config.rpcs.complete_node_pool_upgrade.metadata.to_h
|
2632
2665
|
|
2633
|
-
# Set x-goog-api-client
|
2666
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2634
2667
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2635
2668
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2636
2669
|
gapic_version: ::Google::Cloud::Container::V1::VERSION
|
2670
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2637
2671
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2638
2672
|
|
2639
2673
|
header_params = {}
|
@@ -2736,10 +2770,11 @@ module Google
|
|
2736
2770
|
# Customize the options with defaults
|
2737
2771
|
metadata = @config.rpcs.rollback_node_pool_upgrade.metadata.to_h
|
2738
2772
|
|
2739
|
-
# Set x-goog-api-client
|
2773
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2740
2774
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2741
2775
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2742
2776
|
gapic_version: ::Google::Cloud::Container::V1::VERSION
|
2777
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2743
2778
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2744
2779
|
|
2745
2780
|
header_params = {}
|
@@ -2840,10 +2875,11 @@ module Google
|
|
2840
2875
|
# Customize the options with defaults
|
2841
2876
|
metadata = @config.rpcs.set_node_pool_management.metadata.to_h
|
2842
2877
|
|
2843
|
-
# Set x-goog-api-client
|
2878
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2844
2879
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2845
2880
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2846
2881
|
gapic_version: ::Google::Cloud::Container::V1::VERSION
|
2882
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2847
2883
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2848
2884
|
|
2849
2885
|
header_params = {}
|
@@ -2947,10 +2983,11 @@ module Google
|
|
2947
2983
|
# Customize the options with defaults
|
2948
2984
|
metadata = @config.rpcs.set_labels.metadata.to_h
|
2949
2985
|
|
2950
|
-
# Set x-goog-api-client
|
2986
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2951
2987
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2952
2988
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2953
2989
|
gapic_version: ::Google::Cloud::Container::V1::VERSION
|
2990
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2954
2991
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2955
2992
|
|
2956
2993
|
header_params = {}
|
@@ -3047,10 +3084,11 @@ module Google
|
|
3047
3084
|
# Customize the options with defaults
|
3048
3085
|
metadata = @config.rpcs.set_legacy_abac.metadata.to_h
|
3049
3086
|
|
3050
|
-
# Set x-goog-api-client
|
3087
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3051
3088
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3052
3089
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3053
3090
|
gapic_version: ::Google::Cloud::Container::V1::VERSION
|
3091
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3054
3092
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3055
3093
|
|
3056
3094
|
header_params = {}
|
@@ -3147,10 +3185,11 @@ module Google
|
|
3147
3185
|
# Customize the options with defaults
|
3148
3186
|
metadata = @config.rpcs.start_ip_rotation.metadata.to_h
|
3149
3187
|
|
3150
|
-
# Set x-goog-api-client
|
3188
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3151
3189
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3152
3190
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3153
3191
|
gapic_version: ::Google::Cloud::Container::V1::VERSION
|
3192
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3154
3193
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3155
3194
|
|
3156
3195
|
header_params = {}
|
@@ -3245,10 +3284,11 @@ module Google
|
|
3245
3284
|
# Customize the options with defaults
|
3246
3285
|
metadata = @config.rpcs.complete_ip_rotation.metadata.to_h
|
3247
3286
|
|
3248
|
-
# Set x-goog-api-client
|
3287
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3249
3288
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3250
3289
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3251
3290
|
gapic_version: ::Google::Cloud::Container::V1::VERSION
|
3291
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3252
3292
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3253
3293
|
|
3254
3294
|
header_params = {}
|
@@ -3351,10 +3391,11 @@ module Google
|
|
3351
3391
|
# Customize the options with defaults
|
3352
3392
|
metadata = @config.rpcs.set_node_pool_size.metadata.to_h
|
3353
3393
|
|
3354
|
-
# Set x-goog-api-client
|
3394
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3355
3395
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3356
3396
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3357
3397
|
gapic_version: ::Google::Cloud::Container::V1::VERSION
|
3398
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3358
3399
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3359
3400
|
|
3360
3401
|
header_params = {}
|
@@ -3451,10 +3492,11 @@ module Google
|
|
3451
3492
|
# Customize the options with defaults
|
3452
3493
|
metadata = @config.rpcs.set_network_policy.metadata.to_h
|
3453
3494
|
|
3454
|
-
# Set x-goog-api-client
|
3495
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3455
3496
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3456
3497
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3457
3498
|
gapic_version: ::Google::Cloud::Container::V1::VERSION
|
3499
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3458
3500
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3459
3501
|
|
3460
3502
|
header_params = {}
|
@@ -3550,10 +3592,11 @@ module Google
|
|
3550
3592
|
# Customize the options with defaults
|
3551
3593
|
metadata = @config.rpcs.set_maintenance_policy.metadata.to_h
|
3552
3594
|
|
3553
|
-
# Set x-goog-api-client
|
3595
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3554
3596
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3555
3597
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3556
3598
|
gapic_version: ::Google::Cloud::Container::V1::VERSION
|
3599
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3557
3600
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3558
3601
|
|
3559
3602
|
header_params = {}
|
@@ -3653,10 +3696,11 @@ module Google
|
|
3653
3696
|
# Customize the options with defaults
|
3654
3697
|
metadata = @config.rpcs.list_usable_subnetworks.metadata.to_h
|
3655
3698
|
|
3656
|
-
# Set x-goog-api-client
|
3699
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3657
3700
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3658
3701
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3659
3702
|
gapic_version: ::Google::Cloud::Container::V1::VERSION
|
3703
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3660
3704
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3661
3705
|
|
3662
3706
|
header_params = {}
|
@@ -3741,10 +3785,11 @@ module Google
|
|
3741
3785
|
# Customize the options with defaults
|
3742
3786
|
metadata = @config.rpcs.check_autopilot_compatibility.metadata.to_h
|
3743
3787
|
|
3744
|
-
# Set x-goog-api-client
|
3788
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3745
3789
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3746
3790
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3747
3791
|
gapic_version: ::Google::Cloud::Container::V1::VERSION
|
3792
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3748
3793
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3749
3794
|
|
3750
3795
|
header_params = {}
|