pub struct UpdateNodePool(/* private fields */);Expand description
The request builder for a ClusterManager::update_node_pool call.
Implementations§
Source§impl UpdateNodePool
 
impl UpdateNodePool
Sourcepub fn with_request<V: Into<UpdateNodePoolRequest>>(self, v: V) -> Self
 
pub fn with_request<V: Into<UpdateNodePoolRequest>>(self, v: V) -> Self
Sets the full request, replacing any prior values.
Sourcepub fn with_options<V: Into<RequestOptions>>(self, v: V) -> Self
 
pub fn with_options<V: Into<RequestOptions>>(self, v: V) -> Self
Sets all the options, replacing any prior values.
Sourcepub fn set_project_id<T: Into<String>>(self, v: T) -> Self
 
pub fn set_project_id<T: Into<String>>(self, v: T) -> Self
Sets the value of project_id.
Sourcepub fn set_cluster_id<T: Into<String>>(self, v: T) -> Self
 
pub fn set_cluster_id<T: Into<String>>(self, v: T) -> Self
Sets the value of cluster_id.
Sourcepub fn set_node_pool_id<T: Into<String>>(self, v: T) -> Self
 
pub fn set_node_pool_id<T: Into<String>>(self, v: T) -> Self
Sets the value of node_pool_id.
Sourcepub fn set_node_version<T: Into<String>>(self, v: T) -> Self
 
pub fn set_node_version<T: Into<String>>(self, v: T) -> Self
Sets the value of node_version.
Sourcepub fn set_image_type<T: Into<String>>(self, v: T) -> Self
 
pub fn set_image_type<T: Into<String>>(self, v: T) -> Self
Sets the value of image_type.
Sourcepub fn set_workload_metadata_config<T: Into<Option<WorkloadMetadataConfig>>>(
    self,
    v: T,
) -> Self
 
pub fn set_workload_metadata_config<T: Into<Option<WorkloadMetadataConfig>>>( self, v: T, ) -> Self
Sets the value of workload_metadata_config.
Sourcepub fn set_upgrade_settings<T: Into<Option<UpgradeSettings>>>(
    self,
    v: T,
) -> Self
 
pub fn set_upgrade_settings<T: Into<Option<UpgradeSettings>>>( self, v: T, ) -> Self
Sets the value of upgrade_settings.
Sets the value of tags.
Sourcepub fn set_taints<T: Into<Option<NodeTaints>>>(self, v: T) -> Self
 
pub fn set_taints<T: Into<Option<NodeTaints>>>(self, v: T) -> Self
Sets the value of taints.
Sourcepub fn set_labels<T: Into<Option<NodeLabels>>>(self, v: T) -> Self
 
pub fn set_labels<T: Into<Option<NodeLabels>>>(self, v: T) -> Self
Sets the value of labels.
Sourcepub fn set_linux_node_config<T: Into<Option<LinuxNodeConfig>>>(
    self,
    v: T,
) -> Self
 
pub fn set_linux_node_config<T: Into<Option<LinuxNodeConfig>>>( self, v: T, ) -> Self
Sets the value of linux_node_config.
Sourcepub fn set_kubelet_config<T: Into<Option<NodeKubeletConfig>>>(
    self,
    v: T,
) -> Self
 
pub fn set_kubelet_config<T: Into<Option<NodeKubeletConfig>>>( self, v: T, ) -> Self
Sets the value of kubelet_config.
Sourcepub fn set_node_network_config<T: Into<Option<NodeNetworkConfig>>>(
    self,
    v: T,
) -> Self
 
pub fn set_node_network_config<T: Into<Option<NodeNetworkConfig>>>( self, v: T, ) -> Self
Sets the value of node_network_config.
Sourcepub fn set_gcfs_config<T: Into<Option<GcfsConfig>>>(self, v: T) -> Self
 
pub fn set_gcfs_config<T: Into<Option<GcfsConfig>>>(self, v: T) -> Self
Sets the value of gcfs_config.
Sourcepub fn set_confidential_nodes<T: Into<Option<ConfidentialNodes>>>(
    self,
    v: T,
) -> Self
 
pub fn set_confidential_nodes<T: Into<Option<ConfidentialNodes>>>( self, v: T, ) -> Self
Sets the value of confidential_nodes.
Sourcepub fn set_fast_socket<T: Into<Option<FastSocket>>>(self, v: T) -> Self
 
pub fn set_fast_socket<T: Into<Option<FastSocket>>>(self, v: T) -> Self
Sets the value of fast_socket.
Sourcepub fn set_logging_config<T: Into<Option<NodePoolLoggingConfig>>>(
    self,
    v: T,
) -> Self
 
pub fn set_logging_config<T: Into<Option<NodePoolLoggingConfig>>>( self, v: T, ) -> Self
Sets the value of logging_config.
Sourcepub fn set_resource_labels<T: Into<Option<ResourceLabels>>>(self, v: T) -> Self
 
pub fn set_resource_labels<T: Into<Option<ResourceLabels>>>(self, v: T) -> Self
Sets the value of resource_labels.
Sourcepub fn set_windows_node_config<T: Into<Option<WindowsNodeConfig>>>(
    self,
    v: T,
) -> Self
 
pub fn set_windows_node_config<T: Into<Option<WindowsNodeConfig>>>( self, v: T, ) -> Self
Sets the value of windows_node_config.
Sourcepub fn set_machine_type<T: Into<String>>(self, v: T) -> Self
 
pub fn set_machine_type<T: Into<String>>(self, v: T) -> Self
Sets the value of machine_type.
Sourcepub fn set_disk_type<T: Into<String>>(self, v: T) -> Self
 
pub fn set_disk_type<T: Into<String>>(self, v: T) -> Self
Sets the value of disk_type.
Sourcepub fn set_disk_size_gb<T: Into<i64>>(self, v: T) -> Self
 
pub fn set_disk_size_gb<T: Into<i64>>(self, v: T) -> Self
Sets the value of disk_size_gb.
Sets the value of resource_manager_tags.
Sourcepub fn set_containerd_config<T: Into<Option<ContainerdConfig>>>(
    self,
    v: T,
) -> Self
 
pub fn set_containerd_config<T: Into<Option<ContainerdConfig>>>( self, v: T, ) -> Self
Sets the value of containerd_config.
Sourcepub fn set_queued_provisioning<T: Into<Option<QueuedProvisioning>>>(
    self,
    v: T,
) -> Self
 
pub fn set_queued_provisioning<T: Into<Option<QueuedProvisioning>>>( self, v: T, ) -> Self
Sets the value of queued_provisioning.
Sourcepub fn set_locations<T, V>(self, v: T) -> Self
 
pub fn set_locations<T, V>(self, v: T) -> Self
Sets the value of locations.
Sourcepub fn set_accelerators<T, V>(self, v: T) -> Self
 
pub fn set_accelerators<T, V>(self, v: T) -> Self
Sets the value of accelerators.
Sourcepub fn set_storage_pools<T, V>(self, v: T) -> Self
 
pub fn set_storage_pools<T, V>(self, v: T) -> Self
Sets the value of storage_pools.
Trait Implementations§
Source§impl Clone for UpdateNodePool
 
impl Clone for UpdateNodePool
Source§fn clone(&self) -> UpdateNodePool
 
fn clone(&self) -> UpdateNodePool
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for UpdateNodePool
 
impl Debug for UpdateNodePool
Source§impl RequestBuilder for UpdateNodePool
 
impl RequestBuilder for UpdateNodePool
fn request_options(&mut self) -> &mut RequestOptions
Auto Trait Implementations§
impl Freeze for UpdateNodePool
impl !RefUnwindSafe for UpdateNodePool
impl Send for UpdateNodePool
impl Sync for UpdateNodePool
impl Unpin for UpdateNodePool
impl !UnwindSafe for UpdateNodePool
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
Source§impl<T> Instrument for T
 
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
 
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
 
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> RequestOptionsBuilder for Twhere
    T: RequestBuilder,
 
impl<T> RequestOptionsBuilder for Twhere
    T: RequestBuilder,
Source§fn with_idempotency(self, v: bool) -> T
 
fn with_idempotency(self, v: bool) -> T
v is true, treat the RPC underlying this method as idempotent.