Struct gapi_grpc::google::cloud::aiplatform::v1beta1::AutoscalingMetricSpec[][src]

pub struct AutoscalingMetricSpec {
    pub metric_name: String,
    pub target: i32,
}

The metric specification that defines the target resource utilization (CPU utilization, accelerator’s duty cycle, and so on) for calculating the desired replica count.

Fields

metric_name: String

Required. The resource metric name. Supported metrics:

target: i32

The target resource utilization in percentage (1% - 100%) for the given metric; once the real usage deviates from the target by a certain percentage, the machine replicas change. The default value is 60 (representing 60%) if not provided.

Trait Implementations

impl Clone for AutoscalingMetricSpec[src]

impl Debug for AutoscalingMetricSpec[src]

impl Default for AutoscalingMetricSpec[src]

impl Message for AutoscalingMetricSpec[src]

impl PartialEq<AutoscalingMetricSpec> for AutoscalingMetricSpec[src]

impl StructuralPartialEq for AutoscalingMetricSpec[src]

Auto Trait Implementations

impl RefUnwindSafe for AutoscalingMetricSpec

impl Send for AutoscalingMetricSpec

impl Sync for AutoscalingMetricSpec

impl Unpin for AutoscalingMetricSpec

impl UnwindSafe for AutoscalingMetricSpec

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]