Struct google_dataproc1::api::AutoscalingPolicy [−][src]
Describes an autoscaling policy for Dataproc cluster autoscaler.
Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- locations autoscaling policies create projects (request|response)
- locations autoscaling policies get projects (response)
- locations autoscaling policies update projects (request|response)
- regions autoscaling policies create projects (request|response)
- regions autoscaling policies get projects (response)
- regions autoscaling policies update projects (request|response)
Fields
basic_algorithm: Option<BasicAutoscalingAlgorithm>
no description provided
id: Option<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: Option<String>
Output only. The “resource name” of the autoscaling policy, as described in https://cloud.google.com/apis/design/resource_names. For projects.regions.autoscalingPolicies, the resource name of the policy has the following format: projects/{project_id}/regions/{region}/autoscalingPolicies/{policy_id} For projects.locations.autoscalingPolicies, the resource name of the policy has the following format: projects/{project_id}/locations/{location}/autoscalingPolicies/{policy_id}
secondary_worker_config: Option<InstanceGroupAutoscalingPolicyConfig>
Optional. Describes how the autoscaler will operate for secondary workers.
worker_config: Option<InstanceGroupAutoscalingPolicyConfig>
Required. Describes how the autoscaler will operate for primary workers.
Trait Implementations
impl Clone for AutoscalingPolicy
[src]
fn clone(&self) -> AutoscalingPolicy
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for AutoscalingPolicy
[src]
impl Default for AutoscalingPolicy
[src]
fn default() -> AutoscalingPolicy
[src]
impl<'de> Deserialize<'de> for AutoscalingPolicy
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl RequestValue for AutoscalingPolicy
[src]
impl ResponseResult for AutoscalingPolicy
[src]
impl Serialize 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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,