Struct gapi_grpc::google::cloud::aiplatform::v1::UndeployModelRequest[][src]

pub struct UndeployModelRequest {
    pub endpoint: String,
    pub deployed_model_id: String,
    pub traffic_split: HashMap<String, i32>,
}

Request message for [EndpointService.UndeployModel][google.cloud.aiplatform.v1.EndpointService.UndeployModel].

Fields

endpoint: String

Required. The name of the Endpoint resource from which to undeploy a Model. Format: projects/{project}/locations/{location}/endpoints/{endpoint}

deployed_model_id: String

Required. The ID of the DeployedModel to be undeployed from the Endpoint.

traffic_split: HashMap<String, i32>

If this field is provided, then the Endpoint’s [traffic_split][google.cloud.aiplatform.v1.Endpoint.traffic_split] will be overwritten with it. If last DeployedModel is being undeployed from the Endpoint, the [Endpoint.traffic_split] will always end up empty when this call returns. A DeployedModel will be successfully undeployed only if it doesn’t have any traffic assigned to it when this method executes, or if this field unassigns any traffic to it.

Trait Implementations

impl Clone for UndeployModelRequest[src]

impl Debug for UndeployModelRequest[src]

impl Default for UndeployModelRequest[src]

impl Message for UndeployModelRequest[src]

impl PartialEq<UndeployModelRequest> for UndeployModelRequest[src]

impl StructuralPartialEq for UndeployModelRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for UndeployModelRequest

impl Send for UndeployModelRequest

impl Sync for UndeployModelRequest

impl Unpin for UndeployModelRequest

impl UnwindSafe for UndeployModelRequest

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]