google-cloud-container-v1beta1 0.9.0 → 0.10.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/README.md +10 -5
- data/lib/google/cloud/container/v1beta1/cluster_manager/client.rb +146 -43
- data/lib/google/cloud/container/v1beta1/version.rb +1 -1
- data/lib/google/cloud/container/v1beta1.rb +2 -0
- data/lib/google/container/v1beta1/cluster_service_pb.rb +166 -7
- data/lib/google/container/v1beta1/cluster_service_services_pb.rb +3 -0
- data/proto_docs/google/container/v1beta1/cluster_service.rb +517 -66
- data/proto_docs/google/protobuf/any.rb +3 -3
- data/proto_docs/google/protobuf/duration.rb +98 -0
- metadata +13 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9373d04a196e28b8ed0f4364c807cc2711ebb6d8d1d955c7de8582efe1b500c6
|
4
|
+
data.tar.gz: 159a5ab53d219cfc02920048da02bfbeb938133c42ecebc42cb44b6c2fa370fb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ba0f2ecef4ccd00c3ee0fc8890f1df6f30c32f1c8bdc3f1370b7f7344068cca4421293ed6c1c9c617c5aa66329e4661885d6cba1f2f985753092699939a1f5f9
|
7
|
+
data.tar.gz: f6860532c8f4e89c68383d8f14a73d7d2697f9414d3edd0642bf2cdd1e63381439bd785f07dce38ef3c7804ba51afc9f0364ab6cdd4882125ec8cc9e11c59da4
|
data/README.md
CHANGED
@@ -69,16 +69,21 @@ module GRPC
|
|
69
69
|
end
|
70
70
|
```
|
71
71
|
|
72
|
+
|
73
|
+
## Google Cloud Samples
|
74
|
+
|
75
|
+
To browse ready to use code samples check [Google Cloud Samples](https://cloud.google.com/docs/samples).
|
76
|
+
|
72
77
|
## Supported Ruby Versions
|
73
78
|
|
74
|
-
This library is supported on Ruby 2.
|
79
|
+
This library is supported on Ruby 2.6+.
|
75
80
|
|
76
81
|
Google provides official support for Ruby versions that are actively supported
|
77
82
|
by Ruby Core—that is, Ruby versions that are either in normal maintenance or
|
78
|
-
in security maintenance, and not end of life.
|
79
|
-
|
80
|
-
|
81
|
-
|
83
|
+
in security maintenance, and not end of life. Older versions of Ruby _may_
|
84
|
+
still work, but are unsupported and not recommended. See
|
85
|
+
https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby
|
86
|
+
support schedule.
|
82
87
|
|
83
88
|
## Which client should I use?
|
84
89
|
|
@@ -262,7 +262,7 @@ module Google
|
|
262
262
|
#
|
263
263
|
# @param project_id [::String]
|
264
264
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
265
|
-
# number](https://
|
265
|
+
# number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
|
266
266
|
# This field has been deprecated and replaced by the parent field.
|
267
267
|
# @param zone [::String]
|
268
268
|
# Required. Deprecated. The name of the Google Compute Engine
|
@@ -358,7 +358,7 @@ module Google
|
|
358
358
|
#
|
359
359
|
# @param project_id [::String]
|
360
360
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
361
|
-
# number](https://
|
361
|
+
# number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
|
362
362
|
# This field has been deprecated and replaced by the name field.
|
363
363
|
# @param zone [::String]
|
364
364
|
# Required. Deprecated. The name of the Google Compute Engine
|
@@ -469,7 +469,7 @@ module Google
|
|
469
469
|
#
|
470
470
|
# @param project_id [::String]
|
471
471
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
472
|
-
# number](https://
|
472
|
+
# number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
|
473
473
|
# This field has been deprecated and replaced by the parent field.
|
474
474
|
# @param zone [::String]
|
475
475
|
# Required. Deprecated. The name of the Google Compute Engine
|
@@ -567,7 +567,7 @@ module Google
|
|
567
567
|
#
|
568
568
|
# @param project_id [::String]
|
569
569
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
570
|
-
# number](https://
|
570
|
+
# number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
|
571
571
|
# This field has been deprecated and replaced by the name field.
|
572
572
|
# @param zone [::String]
|
573
573
|
# Required. Deprecated. The name of the Google Compute Engine
|
@@ -660,14 +660,14 @@ module Google
|
|
660
660
|
# @param options [::Gapic::CallOptions, ::Hash]
|
661
661
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
662
662
|
#
|
663
|
-
# @overload update_node_pool(project_id: nil, zone: nil, cluster_id: nil, node_pool_id: nil, node_version: nil, image_type: nil, locations: nil, workload_metadata_config: nil, name: nil, upgrade_settings: nil, tags: nil, taints: nil, labels: nil, linux_node_config: nil, kubelet_config: nil, gcfs_config: nil, gvnic: nil)
|
663
|
+
# @overload update_node_pool(project_id: nil, zone: nil, cluster_id: nil, node_pool_id: nil, node_version: nil, image_type: nil, locations: nil, workload_metadata_config: nil, name: 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)
|
664
664
|
# Pass arguments to `update_node_pool` via keyword arguments. Note that at
|
665
665
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
666
666
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
667
667
|
#
|
668
668
|
# @param project_id [::String]
|
669
669
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
670
|
-
# number](https://
|
670
|
+
# number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
|
671
671
|
# This field has been deprecated and replaced by the name field.
|
672
672
|
# @param zone [::String]
|
673
673
|
# Required. Deprecated. The name of the Google Compute Engine
|
@@ -724,8 +724,13 @@ module Google
|
|
724
724
|
# Parameters that can be configured on Linux nodes.
|
725
725
|
# @param kubelet_config [::Google::Cloud::Container::V1beta1::NodeKubeletConfig, ::Hash]
|
726
726
|
# Node kubelet configs.
|
727
|
+
# @param node_network_config [::Google::Cloud::Container::V1beta1::NodeNetworkConfig, ::Hash]
|
728
|
+
# Node network config.
|
727
729
|
# @param gcfs_config [::Google::Cloud::Container::V1beta1::GcfsConfig, ::Hash]
|
728
730
|
# GCFS config.
|
731
|
+
# @param confidential_nodes [::Google::Cloud::Container::V1beta1::ConfidentialNodes, ::Hash]
|
732
|
+
# Confidential nodes config.
|
733
|
+
# All the nodes in the node pool will be Confidential VM once enabled.
|
729
734
|
# @param gvnic [::Google::Cloud::Container::V1beta1::VirtualNIC, ::Hash]
|
730
735
|
# Enable or disable gvnic on the node pool.
|
731
736
|
#
|
@@ -813,7 +818,7 @@ module Google
|
|
813
818
|
#
|
814
819
|
# @param project_id [::String]
|
815
820
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
816
|
-
# number](https://
|
821
|
+
# number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
|
817
822
|
# This field has been deprecated and replaced by the name field.
|
818
823
|
# @param zone [::String]
|
819
824
|
# Required. Deprecated. The name of the Google Compute Engine
|
@@ -917,7 +922,7 @@ module Google
|
|
917
922
|
#
|
918
923
|
# @param project_id [::String]
|
919
924
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
920
|
-
# number](https://
|
925
|
+
# number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
|
921
926
|
# This field has been deprecated and replaced by the name field.
|
922
927
|
# @param zone [::String]
|
923
928
|
# Required. Deprecated. The name of the Google Compute Engine
|
@@ -1027,7 +1032,7 @@ module Google
|
|
1027
1032
|
#
|
1028
1033
|
# @param project_id [::String]
|
1029
1034
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
1030
|
-
# number](https://
|
1035
|
+
# number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
|
1031
1036
|
# This field has been deprecated and replaced by the name field.
|
1032
1037
|
# @param zone [::String]
|
1033
1038
|
# Required. Deprecated. The name of the Google Compute Engine
|
@@ -1137,7 +1142,7 @@ module Google
|
|
1137
1142
|
#
|
1138
1143
|
# @param project_id [::String]
|
1139
1144
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
1140
|
-
# number](https://
|
1145
|
+
# number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
|
1141
1146
|
# This field has been deprecated and replaced by the name field.
|
1142
1147
|
# @param zone [::String]
|
1143
1148
|
# Required. Deprecated. The name of the Google Compute Engine
|
@@ -1243,7 +1248,7 @@ module Google
|
|
1243
1248
|
#
|
1244
1249
|
# @param project_id [::String]
|
1245
1250
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
1246
|
-
# number](https://
|
1251
|
+
# number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
|
1247
1252
|
# This field has been deprecated and replaced by the name field.
|
1248
1253
|
# @param zone [::String]
|
1249
1254
|
# Required. Deprecated. The name of the Google Compute Engine
|
@@ -1349,7 +1354,7 @@ module Google
|
|
1349
1354
|
#
|
1350
1355
|
# @param project_id [::String]
|
1351
1356
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
1352
|
-
# number](https://
|
1357
|
+
# number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
|
1353
1358
|
# This field has been deprecated and replaced by the name field.
|
1354
1359
|
# @param zone [::String]
|
1355
1360
|
# Required. Deprecated. The name of the Google Compute Engine
|
@@ -1460,7 +1465,7 @@ module Google
|
|
1460
1465
|
#
|
1461
1466
|
# @param project_id [::String]
|
1462
1467
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
1463
|
-
# number](https://
|
1468
|
+
# number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
|
1464
1469
|
# This field has been deprecated and replaced by the name field.
|
1465
1470
|
# @param zone [::String]
|
1466
1471
|
# Required. Deprecated. The name of the Google Compute Engine
|
@@ -1570,7 +1575,7 @@ module Google
|
|
1570
1575
|
#
|
1571
1576
|
# @param project_id [::String]
|
1572
1577
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
1573
|
-
# number](https://
|
1578
|
+
# number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
|
1574
1579
|
# This field has been deprecated and replaced by the name field.
|
1575
1580
|
# @param zone [::String]
|
1576
1581
|
# Required. Deprecated. The name of the Google Compute Engine
|
@@ -1668,7 +1673,7 @@ module Google
|
|
1668
1673
|
#
|
1669
1674
|
# @param project_id [::String]
|
1670
1675
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
1671
|
-
# number](https://
|
1676
|
+
# number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
|
1672
1677
|
# This field has been deprecated and replaced by the parent field.
|
1673
1678
|
# @param zone [::String]
|
1674
1679
|
# Required. Deprecated. The name of the Google Compute Engine
|
@@ -1764,7 +1769,7 @@ module Google
|
|
1764
1769
|
#
|
1765
1770
|
# @param project_id [::String]
|
1766
1771
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
1767
|
-
# number](https://
|
1772
|
+
# number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
|
1768
1773
|
# This field has been deprecated and replaced by the name field.
|
1769
1774
|
# @param zone [::String]
|
1770
1775
|
# Required. Deprecated. The name of the Google Compute Engine
|
@@ -1862,7 +1867,7 @@ module Google
|
|
1862
1867
|
#
|
1863
1868
|
# @param project_id [::String]
|
1864
1869
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
1865
|
-
# number](https://
|
1870
|
+
# number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
|
1866
1871
|
# This field has been deprecated and replaced by the name field.
|
1867
1872
|
# @param zone [::String]
|
1868
1873
|
# Required. Deprecated. The name of the Google Compute Engine
|
@@ -1960,7 +1965,7 @@ module Google
|
|
1960
1965
|
#
|
1961
1966
|
# @param project_id [::String]
|
1962
1967
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
1963
|
-
# number](https://
|
1968
|
+
# number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
|
1964
1969
|
# This field has been deprecated and replaced by the name field.
|
1965
1970
|
# @param zone [::String]
|
1966
1971
|
# Required. Deprecated. The name of the Google Compute Engine
|
@@ -2055,7 +2060,7 @@ module Google
|
|
2055
2060
|
#
|
2056
2061
|
# @param project_id [::String]
|
2057
2062
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
2058
|
-
# number](https://
|
2063
|
+
# number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
|
2059
2064
|
# This field has been deprecated and replaced by the parent field.
|
2060
2065
|
# @param zone [::String]
|
2061
2066
|
# Required. Deprecated. The name of the Google Compute Engine
|
@@ -2066,7 +2071,7 @@ module Google
|
|
2066
2071
|
# Required. Deprecated. The name of the cluster.
|
2067
2072
|
# This field has been deprecated and replaced by the parent field.
|
2068
2073
|
# @param parent [::String]
|
2069
|
-
# The parent (project, location, cluster
|
2074
|
+
# The parent (project, location, cluster name) where the node pools will be
|
2070
2075
|
# listed. Specified in the format `projects/*/locations/*/clusters/*`.
|
2071
2076
|
#
|
2072
2077
|
# @yield [response, operation] Access the result along with the RPC operation
|
@@ -2155,7 +2160,7 @@ module Google
|
|
2155
2160
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
2156
2161
|
#
|
2157
2162
|
# @param parent [::String]
|
2158
|
-
# The cluster (project, location, cluster
|
2163
|
+
# The cluster (project, location, cluster name) to get keys for. Specified in
|
2159
2164
|
# the format `projects/*/locations/*/clusters/*`.
|
2160
2165
|
#
|
2161
2166
|
# @yield [response, operation] Access the result along with the RPC operation
|
@@ -2242,7 +2247,7 @@ module Google
|
|
2242
2247
|
#
|
2243
2248
|
# @param project_id [::String]
|
2244
2249
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
2245
|
-
# number](https://
|
2250
|
+
# number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
|
2246
2251
|
# This field has been deprecated and replaced by the name field.
|
2247
2252
|
# @param zone [::String]
|
2248
2253
|
# Required. Deprecated. The name of the Google Compute Engine
|
@@ -2344,7 +2349,7 @@ module Google
|
|
2344
2349
|
#
|
2345
2350
|
# @param project_id [::String]
|
2346
2351
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
2347
|
-
# number](https://
|
2352
|
+
# number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
|
2348
2353
|
# This field has been deprecated and replaced by the parent field.
|
2349
2354
|
# @param zone [::String]
|
2350
2355
|
# Required. Deprecated. The name of the Google Compute Engine
|
@@ -2357,7 +2362,7 @@ module Google
|
|
2357
2362
|
# @param node_pool [::Google::Cloud::Container::V1beta1::NodePool, ::Hash]
|
2358
2363
|
# Required. The node pool to create.
|
2359
2364
|
# @param parent [::String]
|
2360
|
-
# The parent (project, location, cluster
|
2365
|
+
# The parent (project, location, cluster name) where the node pool will be
|
2361
2366
|
# created. Specified in the format
|
2362
2367
|
# `projects/*/locations/*/clusters/*`.
|
2363
2368
|
#
|
@@ -2445,7 +2450,7 @@ module Google
|
|
2445
2450
|
#
|
2446
2451
|
# @param project_id [::String]
|
2447
2452
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
2448
|
-
# number](https://
|
2453
|
+
# number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
|
2449
2454
|
# This field has been deprecated and replaced by the name field.
|
2450
2455
|
# @param zone [::String]
|
2451
2456
|
# Required. Deprecated. The name of the Google Compute Engine
|
@@ -2527,6 +2532,94 @@ module Google
|
|
2527
2532
|
raise ::Google::Cloud::Error.from_error(e)
|
2528
2533
|
end
|
2529
2534
|
|
2535
|
+
##
|
2536
|
+
# CompleteNodePoolUpgrade will signal an on-going node pool upgrade to
|
2537
|
+
# complete.
|
2538
|
+
#
|
2539
|
+
# @overload complete_node_pool_upgrade(request, options = nil)
|
2540
|
+
# Pass arguments to `complete_node_pool_upgrade` via a request object, either of type
|
2541
|
+
# {::Google::Cloud::Container::V1beta1::CompleteNodePoolUpgradeRequest} or an equivalent Hash.
|
2542
|
+
#
|
2543
|
+
# @param request [::Google::Cloud::Container::V1beta1::CompleteNodePoolUpgradeRequest, ::Hash]
|
2544
|
+
# A request object representing the call parameters. Required. To specify no
|
2545
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
2546
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
2547
|
+
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
2548
|
+
#
|
2549
|
+
# @overload complete_node_pool_upgrade(name: nil)
|
2550
|
+
# Pass arguments to `complete_node_pool_upgrade` via keyword arguments. Note that at
|
2551
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
2552
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
2553
|
+
#
|
2554
|
+
# @param name [::String]
|
2555
|
+
# The name (project, location, cluster, node pool id) of the node pool to
|
2556
|
+
# complete upgrade.
|
2557
|
+
# Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.
|
2558
|
+
#
|
2559
|
+
# @yield [response, operation] Access the result along with the RPC operation
|
2560
|
+
# @yieldparam response [::Google::Protobuf::Empty]
|
2561
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
2562
|
+
#
|
2563
|
+
# @return [::Google::Protobuf::Empty]
|
2564
|
+
#
|
2565
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
2566
|
+
#
|
2567
|
+
# @example Basic example
|
2568
|
+
# require "google/cloud/container/v1beta1"
|
2569
|
+
#
|
2570
|
+
# # Create a client object. The client can be reused for multiple calls.
|
2571
|
+
# client = Google::Cloud::Container::V1beta1::ClusterManager::Client.new
|
2572
|
+
#
|
2573
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
2574
|
+
# request = Google::Cloud::Container::V1beta1::CompleteNodePoolUpgradeRequest.new
|
2575
|
+
#
|
2576
|
+
# # Call the complete_node_pool_upgrade method.
|
2577
|
+
# result = client.complete_node_pool_upgrade request
|
2578
|
+
#
|
2579
|
+
# # The returned object is of type Google::Protobuf::Empty.
|
2580
|
+
# p result
|
2581
|
+
#
|
2582
|
+
def complete_node_pool_upgrade request, options = nil
|
2583
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
2584
|
+
|
2585
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Container::V1beta1::CompleteNodePoolUpgradeRequest
|
2586
|
+
|
2587
|
+
# Converts hash and nil to an options object
|
2588
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
2589
|
+
|
2590
|
+
# Customize the options with defaults
|
2591
|
+
metadata = @config.rpcs.complete_node_pool_upgrade.metadata.to_h
|
2592
|
+
|
2593
|
+
# Set x-goog-api-client and x-goog-user-project headers
|
2594
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2595
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2596
|
+
gapic_version: ::Google::Cloud::Container::V1beta1::VERSION
|
2597
|
+
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2598
|
+
|
2599
|
+
header_params = {}
|
2600
|
+
if request.name
|
2601
|
+
header_params["name"] = request.name
|
2602
|
+
end
|
2603
|
+
|
2604
|
+
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
2605
|
+
metadata[:"x-goog-request-params"] ||= request_params_header
|
2606
|
+
|
2607
|
+
options.apply_defaults timeout: @config.rpcs.complete_node_pool_upgrade.timeout,
|
2608
|
+
metadata: metadata,
|
2609
|
+
retry_policy: @config.rpcs.complete_node_pool_upgrade.retry_policy
|
2610
|
+
|
2611
|
+
options.apply_defaults timeout: @config.timeout,
|
2612
|
+
metadata: @config.metadata,
|
2613
|
+
retry_policy: @config.retry_policy
|
2614
|
+
|
2615
|
+
@cluster_manager_stub.call_rpc :complete_node_pool_upgrade, request, options: options do |response, operation|
|
2616
|
+
yield response, operation if block_given?
|
2617
|
+
return response
|
2618
|
+
end
|
2619
|
+
rescue ::GRPC::BadStatus => e
|
2620
|
+
raise ::Google::Cloud::Error.from_error(e)
|
2621
|
+
end
|
2622
|
+
|
2530
2623
|
##
|
2531
2624
|
# Rolls back a previously Aborted or Failed NodePool upgrade.
|
2532
2625
|
# This makes no changes if the last upgrade successfully completed.
|
@@ -2541,14 +2634,14 @@ module Google
|
|
2541
2634
|
# @param options [::Gapic::CallOptions, ::Hash]
|
2542
2635
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
2543
2636
|
#
|
2544
|
-
# @overload rollback_node_pool_upgrade(project_id: nil, zone: nil, cluster_id: nil, node_pool_id: nil, name: nil)
|
2637
|
+
# @overload rollback_node_pool_upgrade(project_id: nil, zone: nil, cluster_id: nil, node_pool_id: nil, name: nil, respect_pdb: nil)
|
2545
2638
|
# Pass arguments to `rollback_node_pool_upgrade` via keyword arguments. Note that at
|
2546
2639
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
2547
2640
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
2548
2641
|
#
|
2549
2642
|
# @param project_id [::String]
|
2550
2643
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
2551
|
-
# number](https://
|
2644
|
+
# number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
|
2552
2645
|
# This field has been deprecated and replaced by the name field.
|
2553
2646
|
# @param zone [::String]
|
2554
2647
|
# Required. Deprecated. The name of the Google Compute Engine
|
@@ -2565,6 +2658,9 @@ module Google
|
|
2565
2658
|
# The name (project, location, cluster, node pool id) of the node poll to
|
2566
2659
|
# rollback upgrade.
|
2567
2660
|
# Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.
|
2661
|
+
# @param respect_pdb [::Boolean]
|
2662
|
+
# Option for rollback to ignore the PodDisruptionBudget.
|
2663
|
+
# Default value is false.
|
2568
2664
|
#
|
2569
2665
|
# @yield [response, operation] Access the result along with the RPC operation
|
2570
2666
|
# @yieldparam response [::Google::Cloud::Container::V1beta1::Operation]
|
@@ -2650,7 +2746,7 @@ module Google
|
|
2650
2746
|
#
|
2651
2747
|
# @param project_id [::String]
|
2652
2748
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
2653
|
-
# number](https://
|
2749
|
+
# number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
|
2654
2750
|
# This field has been deprecated and replaced by the name field.
|
2655
2751
|
# @param zone [::String]
|
2656
2752
|
# Required. Deprecated. The name of the Google Compute Engine
|
@@ -2754,7 +2850,7 @@ module Google
|
|
2754
2850
|
#
|
2755
2851
|
# @param project_id [::String]
|
2756
2852
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
2757
|
-
# number](https://
|
2853
|
+
# number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
|
2758
2854
|
# This field has been deprecated and replaced by the name field.
|
2759
2855
|
# @param zone [::String]
|
2760
2856
|
# Required. Deprecated. The name of the Google Compute Engine
|
@@ -2774,7 +2870,7 @@ module Google
|
|
2774
2870
|
# updating or changing labels. Make a `get()` request to the
|
2775
2871
|
# resource to get the latest fingerprint.
|
2776
2872
|
# @param name [::String]
|
2777
|
-
# The name (project, location, cluster
|
2873
|
+
# The name (project, location, cluster name) of the cluster to set labels.
|
2778
2874
|
# Specified in the format `projects/*/locations/*/clusters/*`.
|
2779
2875
|
#
|
2780
2876
|
# @yield [response, operation] Access the result along with the RPC operation
|
@@ -2861,7 +2957,7 @@ module Google
|
|
2861
2957
|
#
|
2862
2958
|
# @param project_id [::String]
|
2863
2959
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
2864
|
-
# number](https://
|
2960
|
+
# number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
|
2865
2961
|
# This field has been deprecated and replaced by the name field.
|
2866
2962
|
# @param zone [::String]
|
2867
2963
|
# Required. Deprecated. The name of the Google Compute Engine
|
@@ -2874,8 +2970,8 @@ module Google
|
|
2874
2970
|
# @param enabled [::Boolean]
|
2875
2971
|
# Required. Whether ABAC authorization will be enabled in the cluster.
|
2876
2972
|
# @param name [::String]
|
2877
|
-
# The name (project, location, cluster
|
2878
|
-
# Specified in the format `projects/*/locations/*/clusters/*`.
|
2973
|
+
# The name (project, location, cluster name) of the cluster to set legacy
|
2974
|
+
# abac. Specified in the format `projects/*/locations/*/clusters/*`.
|
2879
2975
|
#
|
2880
2976
|
# @yield [response, operation] Access the result along with the RPC operation
|
2881
2977
|
# @yieldparam response [::Google::Cloud::Container::V1beta1::Operation]
|
@@ -2961,7 +3057,7 @@ module Google
|
|
2961
3057
|
#
|
2962
3058
|
# @param project_id [::String]
|
2963
3059
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
2964
|
-
# number](https://
|
3060
|
+
# number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
|
2965
3061
|
# This field has been deprecated and replaced by the name field.
|
2966
3062
|
# @param zone [::String]
|
2967
3063
|
# Required. Deprecated. The name of the Google Compute Engine
|
@@ -2972,7 +3068,7 @@ module Google
|
|
2972
3068
|
# Required. Deprecated. The name of the cluster.
|
2973
3069
|
# This field has been deprecated and replaced by the name field.
|
2974
3070
|
# @param name [::String]
|
2975
|
-
# The name (project, location, cluster
|
3071
|
+
# The name (project, location, cluster name) of the cluster to start IP
|
2976
3072
|
# rotation. Specified in the format `projects/*/locations/*/clusters/*`.
|
2977
3073
|
# @param rotate_credentials [::Boolean]
|
2978
3074
|
# Whether to rotate credentials during IP rotation.
|
@@ -3061,7 +3157,7 @@ module Google
|
|
3061
3157
|
#
|
3062
3158
|
# @param project_id [::String]
|
3063
3159
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
3064
|
-
# number](https://
|
3160
|
+
# number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
|
3065
3161
|
# This field has been deprecated and replaced by the name field.
|
3066
3162
|
# @param zone [::String]
|
3067
3163
|
# Required. Deprecated. The name of the Google Compute Engine
|
@@ -3072,7 +3168,7 @@ module Google
|
|
3072
3168
|
# Required. Deprecated. The name of the cluster.
|
3073
3169
|
# This field has been deprecated and replaced by the name field.
|
3074
3170
|
# @param name [::String]
|
3075
|
-
# The name (project, location, cluster
|
3171
|
+
# The name (project, location, cluster name) of the cluster to complete IP
|
3076
3172
|
# rotation. Specified in the format `projects/*/locations/*/clusters/*`.
|
3077
3173
|
#
|
3078
3174
|
# @yield [response, operation] Access the result along with the RPC operation
|
@@ -3161,7 +3257,7 @@ module Google
|
|
3161
3257
|
#
|
3162
3258
|
# @param project_id [::String]
|
3163
3259
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
3164
|
-
# number](https://
|
3260
|
+
# number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
|
3165
3261
|
# This field has been deprecated and replaced by the name field.
|
3166
3262
|
# @param zone [::String]
|
3167
3263
|
# Required. Deprecated. The name of the Google Compute Engine
|
@@ -3265,7 +3361,7 @@ module Google
|
|
3265
3361
|
#
|
3266
3362
|
# @param project_id [::String]
|
3267
3363
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
3268
|
-
# number](https://
|
3364
|
+
# number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
|
3269
3365
|
# This field has been deprecated and replaced by the name field.
|
3270
3366
|
# @param zone [::String]
|
3271
3367
|
# Required. Deprecated. The name of the Google Compute Engine
|
@@ -3278,7 +3374,7 @@ module Google
|
|
3278
3374
|
# @param network_policy [::Google::Cloud::Container::V1beta1::NetworkPolicy, ::Hash]
|
3279
3375
|
# Required. Configuration options for the NetworkPolicy feature.
|
3280
3376
|
# @param name [::String]
|
3281
|
-
# The name (project, location, cluster
|
3377
|
+
# The name (project, location, cluster name) of the cluster to set networking
|
3282
3378
|
# policy. Specified in the format `projects/*/locations/*/clusters/*`.
|
3283
3379
|
#
|
3284
3380
|
# @yield [response, operation] Access the result along with the RPC operation
|
@@ -3365,7 +3461,7 @@ module Google
|
|
3365
3461
|
#
|
3366
3462
|
# @param project_id [::String]
|
3367
3463
|
# Required. The Google Developers Console [project ID or project
|
3368
|
-
# number](https://
|
3464
|
+
# number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
|
3369
3465
|
# @param zone [::String]
|
3370
3466
|
# Required. The name of the Google Compute Engine
|
3371
3467
|
# [zone](https://cloud.google.com/compute/docs/zones#available) in which the
|
@@ -3376,8 +3472,8 @@ module Google
|
|
3376
3472
|
# Required. The maintenance policy to be set for the cluster. An empty field
|
3377
3473
|
# clears the existing maintenance policy.
|
3378
3474
|
# @param name [::String]
|
3379
|
-
# The name (project, location, cluster
|
3380
|
-
# policy.
|
3475
|
+
# The name (project, location, cluster name) of the cluster to set
|
3476
|
+
# maintenance policy.
|
3381
3477
|
# Specified in the format `projects/*/locations/*/clusters/*`.
|
3382
3478
|
#
|
3383
3479
|
# @yield [response, operation] Access the result along with the RPC operation
|
@@ -3882,6 +3978,11 @@ module Google
|
|
3882
3978
|
#
|
3883
3979
|
attr_reader :delete_node_pool
|
3884
3980
|
##
|
3981
|
+
# RPC-specific configuration for `complete_node_pool_upgrade`
|
3982
|
+
# @return [::Gapic::Config::Method]
|
3983
|
+
#
|
3984
|
+
attr_reader :complete_node_pool_upgrade
|
3985
|
+
##
|
3885
3986
|
# RPC-specific configuration for `rollback_node_pool_upgrade`
|
3886
3987
|
# @return [::Gapic::Config::Method]
|
3887
3988
|
#
|
@@ -3983,6 +4084,8 @@ module Google
|
|
3983
4084
|
@create_node_pool = ::Gapic::Config::Method.new create_node_pool_config
|
3984
4085
|
delete_node_pool_config = parent_rpcs.delete_node_pool if parent_rpcs.respond_to? :delete_node_pool
|
3985
4086
|
@delete_node_pool = ::Gapic::Config::Method.new delete_node_pool_config
|
4087
|
+
complete_node_pool_upgrade_config = parent_rpcs.complete_node_pool_upgrade if parent_rpcs.respond_to? :complete_node_pool_upgrade
|
4088
|
+
@complete_node_pool_upgrade = ::Gapic::Config::Method.new complete_node_pool_upgrade_config
|
3986
4089
|
rollback_node_pool_upgrade_config = parent_rpcs.rollback_node_pool_upgrade if parent_rpcs.respond_to? :rollback_node_pool_upgrade
|
3987
4090
|
@rollback_node_pool_upgrade = ::Gapic::Config::Method.new rollback_node_pool_upgrade_config
|
3988
4091
|
set_node_pool_management_config = parent_rpcs.set_node_pool_management if parent_rpcs.respond_to? :set_node_pool_management
|