Struct google_dataproc1::api::NodeGroupAffinity
source · pub struct NodeGroupAffinity {
pub node_group_uri: Option<String>,
}
Expand description
Node Group Affinity for clusters using sole-tenant node groups. The Dataproc NodeGroupAffinity resource is not related to the Dataproc NodeGroup resource.
This type is not used in any activity, and only used as part of another schema.
Fields§
§node_group_uri: Option<String>
Required. The URI of a sole-tenant node group resource (https://cloud.google.com/compute/docs/reference/rest/v1/nodeGroups) that the cluster will be created on.A full URL, partial URI, or node group name are valid. Examples: https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone]/nodeGroups/node-group-1 projects/[project_id]/zones/[zone]/nodeGroups/node-group-1 node-group-1
Trait Implementations§
source§impl Clone for NodeGroupAffinity
impl Clone for NodeGroupAffinity
source§fn clone(&self) -> NodeGroupAffinity
fn clone(&self) -> NodeGroupAffinity
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for NodeGroupAffinity
impl Debug for NodeGroupAffinity
source§impl Default for NodeGroupAffinity
impl Default for NodeGroupAffinity
source§fn default() -> NodeGroupAffinity
fn default() -> NodeGroupAffinity
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for NodeGroupAffinity
impl<'de> Deserialize<'de> for NodeGroupAffinity
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
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 NodeGroupAffinity
impl Serialize for NodeGroupAffinity
impl Part for NodeGroupAffinity
Auto Trait Implementations§
impl RefUnwindSafe for NodeGroupAffinity
impl Send for NodeGroupAffinity
impl Sync for NodeGroupAffinity
impl Unpin for NodeGroupAffinity
impl UnwindSafe for NodeGroupAffinity
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
Mutably borrows from an owned value. Read more