Class: Google::Cloud::Container::V1::UpdateNodePoolRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/container/v1/cluster_service.rb

Overview

UpdateNodePoolRequests update a node pool's image and/or version.

Instance Attribute Summary collapse

Instance Attribute Details

#cluster_id::String

Returns Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.

Returns:

  • (::String)

    Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.



1913
1914
1915
1916
# File 'proto_docs/google/container/v1/cluster_service.rb', line 1913

class UpdateNodePoolRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#confidential_nodes::Google::Cloud::Container::V1::ConfidentialNodes

Returns Confidential nodes config. All the nodes in the node pool will be Confidential VM once enabled.

Returns:



1913
1914
1915
1916
# File 'proto_docs/google/container/v1/cluster_service.rb', line 1913

class UpdateNodePoolRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#gcfs_config::Google::Cloud::Container::V1::GcfsConfig

Returns GCFS config.

Returns:



1913
1914
1915
1916
# File 'proto_docs/google/container/v1/cluster_service.rb', line 1913

class UpdateNodePoolRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#gvnic::Google::Cloud::Container::V1::VirtualNIC

Returns Enable or disable gvnic on the node pool.

Returns:



1913
1914
1915
1916
# File 'proto_docs/google/container/v1/cluster_service.rb', line 1913

class UpdateNodePoolRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#image_type::String

Returns Required. The desired image type for the node pool.

Returns:

  • (::String)

    Required. The desired image type for the node pool.



1913
1914
1915
1916
# File 'proto_docs/google/container/v1/cluster_service.rb', line 1913

class UpdateNodePoolRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#kubelet_config::Google::Cloud::Container::V1::NodeKubeletConfig

Returns Node kubelet configs.

Returns:



1913
1914
1915
1916
# File 'proto_docs/google/container/v1/cluster_service.rb', line 1913

class UpdateNodePoolRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#labels::Google::Cloud::Container::V1::NodeLabels

Returns The desired node labels to be applied to all nodes in the node pool. If this field is not present, the labels will not be changed. Otherwise, the existing node labels will be replaced with the provided labels.

Returns:

  • (::Google::Cloud::Container::V1::NodeLabels)

    The desired node labels to be applied to all nodes in the node pool. If this field is not present, the labels will not be changed. Otherwise, the existing node labels will be replaced with the provided labels.



1913
1914
1915
1916
# File 'proto_docs/google/container/v1/cluster_service.rb', line 1913

class UpdateNodePoolRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#linux_node_config::Google::Cloud::Container::V1::LinuxNodeConfig

Returns Parameters that can be configured on Linux nodes.

Returns:



1913
1914
1915
1916
# File 'proto_docs/google/container/v1/cluster_service.rb', line 1913

class UpdateNodePoolRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#locations::Array<::String>

Returns The desired list of Google Compute Engine zones in which the node pool's nodes should be located. Changing the locations for a node pool will result in nodes being either created or removed from the node pool, depending on whether locations are being added or removed.

Returns:

  • (::Array<::String>)

    The desired list of Google Compute Engine zones in which the node pool's nodes should be located. Changing the locations for a node pool will result in nodes being either created or removed from the node pool, depending on whether locations are being added or removed.



1913
1914
1915
1916
# File 'proto_docs/google/container/v1/cluster_service.rb', line 1913

class UpdateNodePoolRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#name::String

Returns The name (project, location, cluster, node pool) of the node pool to update. Specified in the format projects/*/locations/*/clusters/*/nodePools/*.

Returns:

  • (::String)

    The name (project, location, cluster, node pool) of the node pool to update. Specified in the format projects/*/locations/*/clusters/*/nodePools/*.



1913
1914
1915
1916
# File 'proto_docs/google/container/v1/cluster_service.rb', line 1913

class UpdateNodePoolRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#node_network_config::Google::Cloud::Container::V1::NodeNetworkConfig

Returns Node network config.

Returns:



1913
1914
1915
1916
# File 'proto_docs/google/container/v1/cluster_service.rb', line 1913

class UpdateNodePoolRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#node_pool_id::String

Returns Deprecated. The name of the node pool to upgrade. This field has been deprecated and replaced by the name field.

Returns:

  • (::String)

    Deprecated. The name of the node pool to upgrade. This field has been deprecated and replaced by the name field.



1913
1914
1915
1916
# File 'proto_docs/google/container/v1/cluster_service.rb', line 1913

class UpdateNodePoolRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#node_version::String

Returns Required. The Kubernetes version to change the nodes to (typically an upgrade).

Users may specify either explicit versions offered by Kubernetes Engine or version aliases, which have the following behavior:

  • "latest": picks the highest valid Kubernetes version
  • "1.X": picks the highest valid patch+gke.N patch in the 1.X version
  • "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version
  • "1.X.Y-gke.N": picks an explicit Kubernetes version
  • "-": picks the Kubernetes master version.

Returns:

  • (::String)

    Required. The Kubernetes version to change the nodes to (typically an upgrade).

    Users may specify either explicit versions offered by Kubernetes Engine or version aliases, which have the following behavior:

    • "latest": picks the highest valid Kubernetes version
    • "1.X": picks the highest valid patch+gke.N patch in the 1.X version
    • "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version
    • "1.X.Y-gke.N": picks an explicit Kubernetes version
    • "-": picks the Kubernetes master version


1913
1914
1915
1916
# File 'proto_docs/google/container/v1/cluster_service.rb', line 1913

class UpdateNodePoolRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#project_id::String

Returns Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.

Returns:

  • (::String)

    Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.



1913
1914
1915
1916
# File 'proto_docs/google/container/v1/cluster_service.rb', line 1913

class UpdateNodePoolRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#tags::Google::Cloud::Container::V1::NetworkTags

Returns The desired network tags to be applied to all nodes in the node pool. If this field is not present, the tags will not be changed. Otherwise, the existing network tags will be replaced with the provided tags.

Returns:

  • (::Google::Cloud::Container::V1::NetworkTags)

    The desired network tags to be applied to all nodes in the node pool. If this field is not present, the tags will not be changed. Otherwise, the existing network tags will be replaced with the provided tags.



1913
1914
1915
1916
# File 'proto_docs/google/container/v1/cluster_service.rb', line 1913

class UpdateNodePoolRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#taints::Google::Cloud::Container::V1::NodeTaints

Returns The desired node taints to be applied to all nodes in the node pool. If this field is not present, the taints will not be changed. Otherwise, the existing node taints will be replaced with the provided taints.

Returns:

  • (::Google::Cloud::Container::V1::NodeTaints)

    The desired node taints to be applied to all nodes in the node pool. If this field is not present, the taints will not be changed. Otherwise, the existing node taints will be replaced with the provided taints.



1913
1914
1915
1916
# File 'proto_docs/google/container/v1/cluster_service.rb', line 1913

class UpdateNodePoolRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#upgrade_settings::Google::Cloud::Container::V1::NodePool::UpgradeSettings

Returns Upgrade settings control disruption and speed of the upgrade.

Returns:



1913
1914
1915
1916
# File 'proto_docs/google/container/v1/cluster_service.rb', line 1913

class UpdateNodePoolRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#workload_metadata_config::Google::Cloud::Container::V1::WorkloadMetadataConfig

Returns The desired workload metadata config for the node pool.

Returns:



1913
1914
1915
1916
# File 'proto_docs/google/container/v1/cluster_service.rb', line 1913

class UpdateNodePoolRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#zone::String

Returns Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.

Returns:

  • (::String)

    Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.



1913
1914
1915
1916
# File 'proto_docs/google/container/v1/cluster_service.rb', line 1913

class UpdateNodePoolRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end