Struct google_ml1::GoogleCloudMlV1__Version [] [src]

pub struct GoogleCloudMlV1__Version {
    pub error_message: Option<String>,
    pub name: Option<String>,
    pub runtime_version: Option<String>,
    pub manual_scaling: Option<GoogleCloudMlV1__ManualScaling>,
    pub auto_scaling: Option<GoogleCloudMlV1__AutoScaling>,
    pub state: Option<String>,
    pub last_use_time: Option<String>,
    pub deployment_uri: Option<String>,
    pub create_time: Option<String>,
    pub is_default: Option<bool>,
    pub description: Option<String>,
}

Represents a version of the model.

Each version is a trained model deployed in the cloud, ready to handle prediction requests. A model can have multiple versions. You can get information about all of the versions of a given model by calling projects.models.versions.list.

Next ID: 19 LINT.IfChange

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields

Output only. The details of a failure or a cancellation.

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

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

Optional. The Google Cloud ML runtime version to use for this deployment. If not set, Google Cloud ML will choose a version.

Manually select the number of nodes to use for serving the model. You should generally use auto_scaling with an appropriate min_nodes instead, but this option is available if you want more predictable billing. Beware that latency and error rates will increase if the traffic exceeds that capability of the system to serve it based on the selected number of nodes.

Automatically scale the number of nodes used to serve the model in response to increases and decreases in traffic. Care should be taken to ramp up traffic according to the model's ability to scale or you will start seeing increases in latency and 429 response codes.

Output only. The state of a version.

Output only. The time the version was last used for prediction.

Required. The Google Cloud Storage location of the trained model used to create the version. See the overview of model deployment for more information.

When passing Version to projects.models.versions.create the model service uses the specified location as the source of the model. Once deployed, the model version is hosted by the prediction service, so this location is useful only as a historical record. The total number of model files can't exceed 1000.

Output only. The time the version was created.

Output only. If true, 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.

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

Trait Implementations

impl Default for GoogleCloudMlV1__Version
[src]

[src]

Returns the "default value" for a type. Read more

impl Clone for GoogleCloudMlV1__Version
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for GoogleCloudMlV1__Version
[src]

[src]

Formats the value using the given formatter.

impl RequestValue for GoogleCloudMlV1__Version
[src]

impl ResponseResult for GoogleCloudMlV1__Version
[src]