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

pub struct Endpoint {
    pub name: String,
    pub display_name: String,
    pub description: String,
    pub deployed_models: Vec<DeployedModel>,
    pub traffic_split: HashMap<String, i32>,
    pub etag: String,
    pub labels: HashMap<String, String>,
    pub create_time: Option<Timestamp>,
    pub update_time: Option<Timestamp>,
    pub encryption_spec: Option<EncryptionSpec>,
}

Models are deployed into it, and afterwards Endpoint is called to obtain predictions and explanations.

Fields

name: String

Output only. The resource name of the Endpoint.

display_name: String

Required. The display name of the Endpoint. The name can be up to 128 characters long and can be consist of any UTF-8 characters.

description: String

The description of the Endpoint.

deployed_models: Vec<DeployedModel>

Output only. The models deployed in this Endpoint. To add or remove DeployedModels use [EndpointService.DeployModel][google.cloud.aiplatform.v1.EndpointService.DeployModel] and [EndpointService.UndeployModel][google.cloud.aiplatform.v1.EndpointService.UndeployModel] respectively.

traffic_split: HashMap<String, i32>

A map from a DeployedModel’s ID to the percentage of this Endpoint’s traffic that should be forwarded to that DeployedModel.

If a DeployedModel’s ID is not listed in this map, then it receives no traffic.

The traffic percentage values must add up to 100, or map must be empty if the Endpoint is to not accept any traffic at a moment.

etag: String

Used to perform consistent read-modify-write updates. If not set, a blind “overwrite” update happens.

labels: HashMap<String, String>

The labels with user-defined metadata to organize your Endpoints.

Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed.

See https://goo.gl/xmQnxf for more information and examples of labels.

create_time: Option<Timestamp>

Output only. Timestamp when this Endpoint was created.

update_time: Option<Timestamp>

Output only. Timestamp when this Endpoint was last updated.

encryption_spec: Option<EncryptionSpec>

Customer-managed encryption key spec for an Endpoint. If set, this Endpoint and all sub-resources of this Endpoint will be secured by this key.

Trait Implementations

impl Clone for Endpoint[src]

impl Debug for Endpoint[src]

impl Default for Endpoint[src]

impl Message for Endpoint[src]

impl PartialEq<Endpoint> for Endpoint[src]

impl StructuralPartialEq for Endpoint[src]

Auto Trait Implementations

impl RefUnwindSafe for Endpoint

impl Send for Endpoint

impl Sync for Endpoint

impl Unpin for Endpoint

impl UnwindSafe for Endpoint

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]