Struct gapi_grpc::google::cloud::dataproc::v1::AutoscalingPolicy[][src]

pub struct AutoscalingPolicy {
    pub id: String,
    pub name: String,
    pub worker_config: Option<InstanceGroupAutoscalingPolicyConfig>,
    pub secondary_worker_config: Option<InstanceGroupAutoscalingPolicyConfig>,
    pub algorithm: Option<Algorithm>,
}

Describes an autoscaling policy for Dataproc cluster autoscaler.

Fields

id: String

Required. The policy id.

The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). Cannot begin or end with underscore or hyphen. Must consist of between 3 and 50 characters.

name: String

Output only. The “resource name” of the autoscaling policy, as described in https://cloud.google.com/apis/design/resource_names.

worker_config: Option<InstanceGroupAutoscalingPolicyConfig>

Required. Describes how the autoscaler will operate for primary workers.

secondary_worker_config: Option<InstanceGroupAutoscalingPolicyConfig>

Optional. Describes how the autoscaler will operate for secondary workers.

algorithm: Option<Algorithm>

Autoscaling algorithm for policy.

Trait Implementations

impl Clone for AutoscalingPolicy[src]

impl Debug for AutoscalingPolicy[src]

impl Default for AutoscalingPolicy[src]

impl Message for AutoscalingPolicy[src]

impl PartialEq<AutoscalingPolicy> for AutoscalingPolicy[src]

impl StructuralPartialEq for AutoscalingPolicy[src]

Auto Trait Implementations

impl RefUnwindSafe for AutoscalingPolicy

impl Send for AutoscalingPolicy

impl Sync for AutoscalingPolicy

impl Unpin for AutoscalingPolicy

impl UnwindSafe for AutoscalingPolicy

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]