pub struct UpdateNodePoolRequest {
Show 24 fields pub cluster_id: Option<String>, pub confidential_nodes: Option<ConfidentialNodes>, pub etag: Option<String>, pub fast_socket: Option<FastSocket>, pub gcfs_config: Option<GcfsConfig>, pub gvnic: Option<VirtualNIC>, pub image_type: Option<String>, pub kubelet_config: Option<NodeKubeletConfig>, pub labels: Option<NodeLabels>, pub linux_node_config: Option<LinuxNodeConfig>, pub locations: Option<Vec<String>>, pub logging_config: Option<NodePoolLoggingConfig>, pub name: Option<String>, pub node_network_config: Option<NodeNetworkConfig>, pub node_pool_id: Option<String>, pub node_version: Option<String>, pub project_id: Option<String>, pub resource_labels: Option<ResourceLabels>, pub tags: Option<NetworkTags>, pub taints: Option<NodeTaints>, pub upgrade_settings: Option<UpgradeSettings>, pub windows_node_config: Option<WindowsNodeConfig>, pub workload_metadata_config: Option<WorkloadMetadataConfig>, pub zone: Option<String>,
}
Expand description

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

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields§

§cluster_id: Option<String>

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

§confidential_nodes: Option<ConfidentialNodes>

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

§etag: Option<String>

The current etag of the node pool. If an etag is provided and does not match the current etag of the node pool, update will be blocked and an ABORTED error will be returned.

§fast_socket: Option<FastSocket>

Enable or disable NCCL fast socket for the node pool.

§gcfs_config: Option<GcfsConfig>

GCFS config.

§gvnic: Option<VirtualNIC>

Enable or disable gvnic on the node pool.

§image_type: Option<String>

Required. The desired image type for the node pool.

§kubelet_config: Option<NodeKubeletConfig>

Node kubelet configs.

§labels: Option<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.

§linux_node_config: Option<LinuxNodeConfig>

Parameters that can be configured on Linux nodes.

§locations: Option<Vec<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.

§logging_config: Option<NodePoolLoggingConfig>

Logging configuration.

§name: Option<String>

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

§node_network_config: Option<NodeNetworkConfig>

Node network config.

§node_pool_id: Option<String>

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

§node_version: Option<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

§project_id: Option<String>

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

§resource_labels: Option<ResourceLabels>

The resource labels for the node pool to use to annotate any related Google Compute Engine resources.

§tags: Option<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.

§taints: Option<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.

§upgrade_settings: Option<UpgradeSettings>

Upgrade settings control disruption and speed of the upgrade.

§windows_node_config: Option<WindowsNodeConfig>

Parameters that can be configured on Windows nodes.

§workload_metadata_config: Option<WorkloadMetadataConfig>

The desired workload metadata config for the node pool.

§zone: Option<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.

Trait Implementations§

source§

impl Clone for UpdateNodePoolRequest

source§

fn clone(&self) -> UpdateNodePoolRequest

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for UpdateNodePoolRequest

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for UpdateNodePoolRequest

source§

fn default() -> UpdateNodePoolRequest

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for UpdateNodePoolRequest

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for UpdateNodePoolRequest

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl RequestValue for UpdateNodePoolRequest

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

const: unstable · source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
const: unstable · source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,