Struct gapi_grpc::google::cloud::dataproc::v1beta2::CreateAutoscalingPolicyRequest [−][src]
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 has the following format:projects/{project_id}/regions/{region}
-
For
projects.locations.autoscalingPolicies.create
, the resource name 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
impl RefUnwindSafe for CreateAutoscalingPolicyRequest
impl Send for CreateAutoscalingPolicyRequest
impl Sync for CreateAutoscalingPolicyRequest
impl Unpin for CreateAutoscalingPolicyRequest
impl UnwindSafe for CreateAutoscalingPolicyRequest
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,
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][+]
U: From<T>,
impl<T> IntoRequest<T> for T
[src][+]
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src][+]
V: MultiLane<T>,