#[non_exhaustive]pub struct AutoscalingConfig {
pub policy_uri: String,
/* private fields */
}Expand description
Autoscaling Policy config associated with the cluster.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.policy_uri: StringOptional. The autoscaling policy used by the cluster.
Only resource names including projectid and location (region) are valid. Examples:
<https://www.googleapis.com/compute/v1/projects/>[project_id]/locations/[dataproc_region]/autoscalingPolicies/[policy_id]projects/[project_id]/locations/[dataproc_region]/autoscalingPolicies/[policy_id]
Note that the policy must be in the same project and Dataproc region.
Implementations§
Source§impl AutoscalingConfig
impl AutoscalingConfig
Trait Implementations§
Source§impl Clone for AutoscalingConfig
impl Clone for AutoscalingConfig
Source§fn clone(&self) -> AutoscalingConfig
fn clone(&self) -> AutoscalingConfig
Returns a duplicate 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 AutoscalingConfig
impl Debug for AutoscalingConfig
Source§impl Default for AutoscalingConfig
impl Default for AutoscalingConfig
Source§fn default() -> AutoscalingConfig
fn default() -> AutoscalingConfig
Returns the “default value” for a type. Read more
Source§impl Message for AutoscalingConfig
impl Message for AutoscalingConfig
Source§impl PartialEq for AutoscalingConfig
impl PartialEq for AutoscalingConfig
impl StructuralPartialEq for AutoscalingConfig
Auto Trait Implementations§
impl Freeze for AutoscalingConfig
impl RefUnwindSafe for AutoscalingConfig
impl Send for AutoscalingConfig
impl Sync for AutoscalingConfig
impl Unpin for AutoscalingConfig
impl UnwindSafe for AutoscalingConfig
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