pub struct UpdateNodePool(/* private fields */);Expand description
The request builder for ClusterManager::update_node_pool calls.
§Example
use builder::cluster_manager::UpdateNodePool;
let builder = prepare_request_builder();
let response = builder.send().await?;
fn prepare_request_builder() -> UpdateNodePool {
// ... details omitted ...
}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
👎Deprecated
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
👎Deprecated
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
👎Deprecated
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.
This is a required field for requests.
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.
This is a required field for requests.
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_workload_metadata_config<T>(self, v: T) -> Selfwhere
T: Into<WorkloadMetadataConfig>,
pub fn set_workload_metadata_config<T>(self, v: T) -> Selfwhere
T: Into<WorkloadMetadataConfig>,
Sets the value of workload_metadata_config.
Sourcepub fn set_or_clear_workload_metadata_config<T>(self, v: Option<T>) -> Selfwhere
T: Into<WorkloadMetadataConfig>,
pub fn set_or_clear_workload_metadata_config<T>(self, v: Option<T>) -> Selfwhere
T: Into<WorkloadMetadataConfig>,
Sets or clears the value of workload_metadata_config.
Sourcepub fn set_upgrade_settings<T>(self, v: T) -> Selfwhere
T: Into<UpgradeSettings>,
pub fn set_upgrade_settings<T>(self, v: T) -> Selfwhere
T: Into<UpgradeSettings>,
Sets the value of upgrade_settings.
Sourcepub fn set_or_clear_upgrade_settings<T>(self, v: Option<T>) -> Selfwhere
T: Into<UpgradeSettings>,
pub fn set_or_clear_upgrade_settings<T>(self, v: Option<T>) -> Selfwhere
T: Into<UpgradeSettings>,
Sets or clears the value of upgrade_settings.
Sets the value of tags.
Sets or clears the value of tags.
Sourcepub fn set_taints<T>(self, v: T) -> Selfwhere
T: Into<NodeTaints>,
pub fn set_taints<T>(self, v: T) -> Selfwhere
T: Into<NodeTaints>,
Sets the value of taints.
Sourcepub fn set_or_clear_taints<T>(self, v: Option<T>) -> Selfwhere
T: Into<NodeTaints>,
pub fn set_or_clear_taints<T>(self, v: Option<T>) -> Selfwhere
T: Into<NodeTaints>,
Sets or clears the value of taints.
Sourcepub fn set_labels<T>(self, v: T) -> Selfwhere
T: Into<NodeLabels>,
pub fn set_labels<T>(self, v: T) -> Selfwhere
T: Into<NodeLabels>,
Sets the value of labels.
Sourcepub fn set_or_clear_labels<T>(self, v: Option<T>) -> Selfwhere
T: Into<NodeLabels>,
pub fn set_or_clear_labels<T>(self, v: Option<T>) -> Selfwhere
T: Into<NodeLabels>,
Sets or clears the value of labels.
Sourcepub fn set_linux_node_config<T>(self, v: T) -> Selfwhere
T: Into<LinuxNodeConfig>,
pub fn set_linux_node_config<T>(self, v: T) -> Selfwhere
T: Into<LinuxNodeConfig>,
Sets the value of linux_node_config.
Sourcepub fn set_or_clear_linux_node_config<T>(self, v: Option<T>) -> Selfwhere
T: Into<LinuxNodeConfig>,
pub fn set_or_clear_linux_node_config<T>(self, v: Option<T>) -> Selfwhere
T: Into<LinuxNodeConfig>,
Sets or clears the value of linux_node_config.
Sourcepub fn set_kubelet_config<T>(self, v: T) -> Selfwhere
T: Into<NodeKubeletConfig>,
pub fn set_kubelet_config<T>(self, v: T) -> Selfwhere
T: Into<NodeKubeletConfig>,
Sets the value of kubelet_config.
Sourcepub fn set_or_clear_kubelet_config<T>(self, v: Option<T>) -> Selfwhere
T: Into<NodeKubeletConfig>,
pub fn set_or_clear_kubelet_config<T>(self, v: Option<T>) -> Selfwhere
T: Into<NodeKubeletConfig>,
Sets or clears the value of kubelet_config.
Sourcepub fn set_node_network_config<T>(self, v: T) -> Selfwhere
T: Into<NodeNetworkConfig>,
pub fn set_node_network_config<T>(self, v: T) -> Selfwhere
T: Into<NodeNetworkConfig>,
Sets the value of node_network_config.
Sourcepub fn set_or_clear_node_network_config<T>(self, v: Option<T>) -> Selfwhere
T: Into<NodeNetworkConfig>,
pub fn set_or_clear_node_network_config<T>(self, v: Option<T>) -> Selfwhere
T: Into<NodeNetworkConfig>,
Sets or clears the value of node_network_config.
Sourcepub fn set_gcfs_config<T>(self, v: T) -> Selfwhere
T: Into<GcfsConfig>,
pub fn set_gcfs_config<T>(self, v: T) -> Selfwhere
T: Into<GcfsConfig>,
Sets the value of gcfs_config.
Sourcepub fn set_or_clear_gcfs_config<T>(self, v: Option<T>) -> Selfwhere
T: Into<GcfsConfig>,
pub fn set_or_clear_gcfs_config<T>(self, v: Option<T>) -> Selfwhere
T: Into<GcfsConfig>,
Sets or clears the value of gcfs_config.
Sourcepub fn set_confidential_nodes<T>(self, v: T) -> Selfwhere
T: Into<ConfidentialNodes>,
pub fn set_confidential_nodes<T>(self, v: T) -> Selfwhere
T: Into<ConfidentialNodes>,
Sets the value of confidential_nodes.
Sourcepub fn set_or_clear_confidential_nodes<T>(self, v: Option<T>) -> Selfwhere
T: Into<ConfidentialNodes>,
pub fn set_or_clear_confidential_nodes<T>(self, v: Option<T>) -> Selfwhere
T: Into<ConfidentialNodes>,
Sets or clears the value of confidential_nodes.
Sourcepub fn set_gvnic<T>(self, v: T) -> Selfwhere
T: Into<VirtualNIC>,
pub fn set_gvnic<T>(self, v: T) -> Selfwhere
T: Into<VirtualNIC>,
Sets the value of gvnic.
Sourcepub fn set_or_clear_gvnic<T>(self, v: Option<T>) -> Selfwhere
T: Into<VirtualNIC>,
pub fn set_or_clear_gvnic<T>(self, v: Option<T>) -> Selfwhere
T: Into<VirtualNIC>,
Sets or clears the value of gvnic.
Sourcepub fn set_fast_socket<T>(self, v: T) -> Selfwhere
T: Into<FastSocket>,
pub fn set_fast_socket<T>(self, v: T) -> Selfwhere
T: Into<FastSocket>,
Sets the value of fast_socket.
Sourcepub fn set_or_clear_fast_socket<T>(self, v: Option<T>) -> Selfwhere
T: Into<FastSocket>,
pub fn set_or_clear_fast_socket<T>(self, v: Option<T>) -> Selfwhere
T: Into<FastSocket>,
Sets or clears the value of fast_socket.
Sourcepub fn set_logging_config<T>(self, v: T) -> Selfwhere
T: Into<NodePoolLoggingConfig>,
pub fn set_logging_config<T>(self, v: T) -> Selfwhere
T: Into<NodePoolLoggingConfig>,
Sets the value of logging_config.
Sourcepub fn set_or_clear_logging_config<T>(self, v: Option<T>) -> Selfwhere
T: Into<NodePoolLoggingConfig>,
pub fn set_or_clear_logging_config<T>(self, v: Option<T>) -> Selfwhere
T: Into<NodePoolLoggingConfig>,
Sets or clears the value of logging_config.
Sourcepub fn set_resource_labels<T>(self, v: T) -> Selfwhere
T: Into<ResourceLabels>,
pub fn set_resource_labels<T>(self, v: T) -> Selfwhere
T: Into<ResourceLabels>,
Sets the value of resource_labels.
Sourcepub fn set_or_clear_resource_labels<T>(self, v: Option<T>) -> Selfwhere
T: Into<ResourceLabels>,
pub fn set_or_clear_resource_labels<T>(self, v: Option<T>) -> Selfwhere
T: Into<ResourceLabels>,
Sets or clears the value of resource_labels.
Sourcepub fn set_windows_node_config<T>(self, v: T) -> Selfwhere
T: Into<WindowsNodeConfig>,
pub fn set_windows_node_config<T>(self, v: T) -> Selfwhere
T: Into<WindowsNodeConfig>,
Sets the value of windows_node_config.
Sourcepub fn set_or_clear_windows_node_config<T>(self, v: Option<T>) -> Selfwhere
T: Into<WindowsNodeConfig>,
pub fn set_or_clear_windows_node_config<T>(self, v: Option<T>) -> Selfwhere
T: Into<WindowsNodeConfig>,
Sets or clears the value of windows_node_config.
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_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.
Sets or clears the value of resource_manager_tags.
Sourcepub fn set_containerd_config<T>(self, v: T) -> Selfwhere
T: Into<ContainerdConfig>,
pub fn set_containerd_config<T>(self, v: T) -> Selfwhere
T: Into<ContainerdConfig>,
Sets the value of containerd_config.
Sourcepub fn set_or_clear_containerd_config<T>(self, v: Option<T>) -> Selfwhere
T: Into<ContainerdConfig>,
pub fn set_or_clear_containerd_config<T>(self, v: Option<T>) -> Selfwhere
T: Into<ContainerdConfig>,
Sets or clears the value of containerd_config.
Sourcepub fn set_queued_provisioning<T>(self, v: T) -> Selfwhere
T: Into<QueuedProvisioning>,
pub fn set_queued_provisioning<T>(self, v: T) -> Selfwhere
T: Into<QueuedProvisioning>,
Sets the value of queued_provisioning.
Sourcepub fn set_or_clear_queued_provisioning<T>(self, v: Option<T>) -> Selfwhere
T: Into<QueuedProvisioning>,
pub fn set_or_clear_queued_provisioning<T>(self, v: Option<T>) -> Selfwhere
T: Into<QueuedProvisioning>,
Sets or clears the value of queued_provisioning.
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.
Sourcepub fn set_max_run_duration<T>(self, v: T) -> Self
pub fn set_max_run_duration<T>(self, v: T) -> Self
Sets the value of max_run_duration.
Sourcepub fn set_or_clear_max_run_duration<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_max_run_duration<T>(self, v: Option<T>) -> Self
Sets or clears the value of max_run_duration.
Sourcepub fn set_flex_start<T>(self, v: T) -> Self
pub fn set_flex_start<T>(self, v: T) -> Self
Sets the value of flex_start.
Sourcepub fn set_or_clear_flex_start<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_flex_start<T>(self, v: Option<T>) -> Self
Sets or clears the value of flex_start.
Sourcepub fn set_boot_disk<T>(self, v: T) -> Self
pub fn set_boot_disk<T>(self, v: T) -> Self
Sets the value of boot_disk.
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 moreAuto 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> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
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.