Struct google_ml1_beta1::GoogleCloudMlV1beta1__Version
[−]
[src]
pub struct GoogleCloudMlV1beta1__Version { pub description: Option<String>, pub name: Option<String>, pub deployment_uri: Option<String>, pub create_time: Option<String>, pub is_default: Option<bool>, pub last_use_time: 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.
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).
- models versions get projects (response)
- models versions create projects (request)
- models versions set default projects (response)
Fields
description: Option<String>
Optional. The description specified for the version when it was created.
name: Option<String>
Required.The name specified for the version when it was created.
The version name must be unique within the model it is created in.
deployment_uri: Option<String>
Required. The Google Cloud Storage location of the trained model used to create the version. See the overview of model deployment for more informaiton.
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.
create_time: Option<String>
Output only. The time the version was created.
is_default: Option<bool>
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.
last_use_time: Option<String>
Output only. The time the version was last used for prediction.
Trait Implementations
impl Debug for GoogleCloudMlV1beta1__Version
[src]
impl Clone for GoogleCloudMlV1beta1__Version
[src]
fn clone(&self) -> GoogleCloudMlV1beta1__Version
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Default for GoogleCloudMlV1beta1__Version
[src]
fn default() -> GoogleCloudMlV1beta1__Version
Returns the "default value" for a type. Read more