[][src]Struct gcp_client::google::cloud::dataproc::v1::CreateAutoscalingPolicyRequest

pub struct CreateAutoscalingPolicyRequest {
    pub parent: String,
    pub policy: Option<AutoscalingPolicy>,
}

A request to create an autoscaling policy.

Fields

parent: String

Required. The "resource name" of the region or location, as described in https://cloud.google.com/apis/design/resource_names.

  • For projects.regions.autoscalingPolicies.create, the resource name of the region has the following format: projects/{project_id}/regions/{region}

  • For projects.locations.autoscalingPolicies.create, the resource name of the location has the following format: projects/{project_id}/locations/{location}

policy: Option<AutoscalingPolicy>

Required. The autoscaling policy to create.

Trait Implementations

impl Clone for CreateAutoscalingPolicyRequest[src]

impl Debug for CreateAutoscalingPolicyRequest[src]

impl Default for CreateAutoscalingPolicyRequest[src]

impl Message for CreateAutoscalingPolicyRequest[src]

impl PartialEq<CreateAutoscalingPolicyRequest> for CreateAutoscalingPolicyRequest[src]

impl StructuralPartialEq for CreateAutoscalingPolicyRequest[src]

Auto Trait Implementations

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, 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>, 

impl<T> WithSubscriber for T[src]