google-cloud-container-v1 1.14.0 → 1.16.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 +11 -3
- data/lib/google/cloud/container/v1/cluster_manager/credentials.rb +3 -1
- data/lib/google/cloud/container/v1/cluster_manager/rest/client.rb +11 -3
- data/lib/google/cloud/container/v1/version.rb +1 -1
- data/lib/google/container/v1/cluster_service_pb.rb +30 -1
- data/lib/google/container/v1/cluster_service_services_pb.rb +1 -1
- data/proto_docs/google/api/client.rb +4 -0
- data/proto_docs/google/api/field_info.rb +88 -0
- data/proto_docs/google/container/v1/cluster_service.rb +586 -41
- data/proto_docs/google/type/date.rb +56 -0
- data/proto_docs/google/type/timeofday.rb +49 -0
- metadata +4 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9d6b7b8ef2623ced24436d51c688e6127994fb757d82fee1d0945e9310c729a5
|
|
4
|
+
data.tar.gz: a33d18db4b76901649af2dda91ed38f330a513395433294038a3365b4fb6d376
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cc2e0b26e856d1b2dc21b7915673ff825b94dcb4d69dbcdc2dabc4aede45efd14aa257eb571790a999f3efca29537df14e699b07669edc1bf9d1198f6b691218
|
|
7
|
+
data.tar.gz: 61c42e594e9742ce67e9d7219d6562d8521ff3dcc4f3105cdbb713416c5901d48cfabb723dd800c0e0ce3ea1c5a374aff52d4963ac92cb6933e090fac53a269a
|
|
@@ -689,7 +689,7 @@ module Google
|
|
|
689
689
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
690
690
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
691
691
|
#
|
|
692
|
-
# @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, storage_pools: nil, max_run_duration: nil, flex_start: nil, boot_disk: nil, node_drain_config: nil, consolidation_delay: nil)
|
|
692
|
+
# @overload update_node_pool(project_id: nil, zone: nil, cluster_id: nil, node_pool_id: nil, node_version: nil, image_type: nil, name: nil, image: nil, image_project: 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, storage_pools: nil, max_run_duration: nil, flex_start: nil, boot_disk: nil, node_drain_config: nil, consolidation_delay: nil, taint_config: nil)
|
|
693
693
|
# Pass arguments to `update_node_pool` via keyword arguments. Note that at
|
|
694
694
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
695
695
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -729,6 +729,12 @@ module Google
|
|
|
729
729
|
# The name (project, location, cluster, node pool) of the node pool to
|
|
730
730
|
# update. Specified in the format
|
|
731
731
|
# `projects/*/locations/*/clusters/*/nodePools/*`.
|
|
732
|
+
# @param image [::String]
|
|
733
|
+
# The desired name of the image name to use for this node.
|
|
734
|
+
# This is used to create clusters using a custom image.
|
|
735
|
+
# @param image_project [::String]
|
|
736
|
+
# The project containing the desired image to use for this node pool.
|
|
737
|
+
# This is used to create clusters using a custom image.
|
|
732
738
|
# @param locations [::Array<::String>]
|
|
733
739
|
# The desired list of Google Compute Engine
|
|
734
740
|
# [zones](https://cloud.google.com/compute/docs/zones#available)
|
|
@@ -833,6 +839,8 @@ module Google
|
|
|
833
839
|
# Consolidation delay defines duration after which the Cluster Autoscaler can
|
|
834
840
|
# scale down underutilized nodes. If not set, nodes are scaled down by
|
|
835
841
|
# default behavior, i.e. according to the chosen autoscaling profile.
|
|
842
|
+
# @param taint_config [::Google::Cloud::Container::V1::TaintConfig, ::Hash]
|
|
843
|
+
# The taint configuration for the node pool.
|
|
836
844
|
#
|
|
837
845
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
838
846
|
# @yieldparam response [::Google::Cloud::Container::V1::Operation]
|
|
@@ -3920,7 +3928,7 @@ module Google
|
|
|
3920
3928
|
end
|
|
3921
3929
|
|
|
3922
3930
|
##
|
|
3923
|
-
# Fetch upgrade information of a specific
|
|
3931
|
+
# Fetch upgrade information of a specific node pool.
|
|
3924
3932
|
#
|
|
3925
3933
|
# @overload fetch_node_pool_upgrade_info(request, options = nil)
|
|
3926
3934
|
# Pass arguments to `fetch_node_pool_upgrade_info` via a request object, either of type
|
|
@@ -3938,7 +3946,7 @@ module Google
|
|
|
3938
3946
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
3939
3947
|
#
|
|
3940
3948
|
# @param name [::String]
|
|
3941
|
-
# Required. The name (project, location, cluster,
|
|
3949
|
+
# Required. The name (project, location, cluster, node pool) of the node pool
|
|
3942
3950
|
# to get. Specified in the format
|
|
3943
3951
|
# `projects/*/locations/*/clusters/*/nodePools/*` or
|
|
3944
3952
|
# `projects/*/zones/*/clusters/*/nodePools/*`.
|
|
@@ -26,7 +26,9 @@ module Google
|
|
|
26
26
|
# Credentials for the ClusterManager API.
|
|
27
27
|
class Credentials < ::Google::Auth::Credentials
|
|
28
28
|
self.scope = [
|
|
29
|
-
"https://www.googleapis.com/auth/cloud-platform"
|
|
29
|
+
"https://www.googleapis.com/auth/cloud-platform",
|
|
30
|
+
"https://www.googleapis.com/auth/container",
|
|
31
|
+
"https://www.googleapis.com/auth/container.read-only"
|
|
30
32
|
]
|
|
31
33
|
self.env_vars = [
|
|
32
34
|
"CONTAINER_CREDENTIALS",
|
|
@@ -654,7 +654,7 @@ module Google
|
|
|
654
654
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
655
655
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
656
656
|
#
|
|
657
|
-
# @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, storage_pools: nil, max_run_duration: nil, flex_start: nil, boot_disk: nil, node_drain_config: nil, consolidation_delay: nil)
|
|
657
|
+
# @overload update_node_pool(project_id: nil, zone: nil, cluster_id: nil, node_pool_id: nil, node_version: nil, image_type: nil, name: nil, image: nil, image_project: 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, storage_pools: nil, max_run_duration: nil, flex_start: nil, boot_disk: nil, node_drain_config: nil, consolidation_delay: nil, taint_config: nil)
|
|
658
658
|
# Pass arguments to `update_node_pool` via keyword arguments. Note that at
|
|
659
659
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
660
660
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -694,6 +694,12 @@ module Google
|
|
|
694
694
|
# The name (project, location, cluster, node pool) of the node pool to
|
|
695
695
|
# update. Specified in the format
|
|
696
696
|
# `projects/*/locations/*/clusters/*/nodePools/*`.
|
|
697
|
+
# @param image [::String]
|
|
698
|
+
# The desired name of the image name to use for this node.
|
|
699
|
+
# This is used to create clusters using a custom image.
|
|
700
|
+
# @param image_project [::String]
|
|
701
|
+
# The project containing the desired image to use for this node pool.
|
|
702
|
+
# This is used to create clusters using a custom image.
|
|
697
703
|
# @param locations [::Array<::String>]
|
|
698
704
|
# The desired list of Google Compute Engine
|
|
699
705
|
# [zones](https://cloud.google.com/compute/docs/zones#available)
|
|
@@ -798,6 +804,8 @@ module Google
|
|
|
798
804
|
# Consolidation delay defines duration after which the Cluster Autoscaler can
|
|
799
805
|
# scale down underutilized nodes. If not set, nodes are scaled down by
|
|
800
806
|
# default behavior, i.e. according to the chosen autoscaling profile.
|
|
807
|
+
# @param taint_config [::Google::Cloud::Container::V1::TaintConfig, ::Hash]
|
|
808
|
+
# The taint configuration for the node pool.
|
|
801
809
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
802
810
|
# @yieldparam result [::Google::Cloud::Container::V1::Operation]
|
|
803
811
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -3666,7 +3674,7 @@ module Google
|
|
|
3666
3674
|
end
|
|
3667
3675
|
|
|
3668
3676
|
##
|
|
3669
|
-
# Fetch upgrade information of a specific
|
|
3677
|
+
# Fetch upgrade information of a specific node pool.
|
|
3670
3678
|
#
|
|
3671
3679
|
# @overload fetch_node_pool_upgrade_info(request, options = nil)
|
|
3672
3680
|
# Pass arguments to `fetch_node_pool_upgrade_info` via a request object, either of type
|
|
@@ -3684,7 +3692,7 @@ module Google
|
|
|
3684
3692
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
3685
3693
|
#
|
|
3686
3694
|
# @param name [::String]
|
|
3687
|
-
# Required. The name (project, location, cluster,
|
|
3695
|
+
# Required. The name (project, location, cluster, node pool) of the node pool
|
|
3688
3696
|
# to get. Specified in the format
|
|
3689
3697
|
# `projects/*/locations/*/clusters/*/nodePools/*` or
|
|
3690
3698
|
# `projects/*/zones/*/clusters/*/nodePools/*`.
|