[][src]Struct gcp_client::google::cloud::ml::v1::Model

pub struct Model {
    pub name: String,
    pub description: String,
    pub default_version: Option<Version>,
    pub regions: Vec<String>,
    pub online_prediction_logging: bool,
}

Represents a machine learning solution.

A model can have multiple versions, each of which is a deployed, trained model ready to receive prediction requests. The model itself is just a container.

Fields

name: String

Required. The name specified for the model when it was created.

The model name must be unique within the project it is created in.

description: String

Optional. The description specified for the model when it was created.

default_version: Option<Version>

Output only. The default version of the model. This version will be used to handle prediction requests that do not specify a version.

You can change the default version by calling projects.methods.versions.setDefault.

regions: Vec<String>

Optional. The list of regions where the model is going to be deployed. Currently only one region per model is supported. Defaults to 'us-central1' if nothing is set.

online_prediction_logging: bool

Optional. If true, enables StackDriver Logging for online prediction. Default is false.

Trait Implementations

impl Clone for Model[src]

impl Debug for Model[src]

impl Default for Model[src]

impl Message for Model[src]

impl PartialEq<Model> for Model[src]

impl StructuralPartialEq for Model[src]

Auto Trait Implementations

impl RefUnwindSafe for Model

impl Send for Model

impl Sync for Model

impl Unpin for Model

impl UnwindSafe for Model

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]