GoogleCloudMlV1Version class

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.

Constructors

GoogleCloudMlV1Version({GoogleCloudMlV1AcceleratorConfig? acceleratorConfig, GoogleCloudMlV1AutoScaling? autoScaling, GoogleCloudMlV1ContainerSpec? container, String? createTime, String? deploymentUri, String? description, String? errorMessage, String? etag, GoogleCloudMlV1ExplanationConfig? explanationConfig, String? framework, bool? isDefault, Map<String, String>? labels, String? lastMigrationModelId, String? lastMigrationTime, String? lastUseTime, String? machineType, GoogleCloudMlV1ManualScaling? manualScaling, String? name, List<String>? packageUris, String? predictionClass, String? pythonVersion, GoogleCloudMlV1RequestLoggingConfig? requestLoggingConfig, GoogleCloudMlV1RouteMap? routes, String? runtimeVersion, String? serviceAccount, String? state})
GoogleCloudMlV1Version.fromJson(Map json_)

Properties

acceleratorConfig GoogleCloudMlV1AcceleratorConfig?
Accelerator config for using GPUs for online prediction (beta).
getter/setter pair
autoScaling GoogleCloudMlV1AutoScaling?
Automatically scale the number of nodes used to serve the model in response to increases and decreases in traffic.
getter/setter pair
container GoogleCloudMlV1ContainerSpec?
Specifies a custom container to use for serving predictions.
getter/setter pair
createTime String?
The time the version was created.
getter/setter pair
deploymentUri String?
The Cloud Storage URI of a directory containing trained model artifacts to be used to create the model version.
getter/setter pair
description String?
The description specified for the version when it was created.
getter/setter pair
errorMessage String?
The details of a failure or a cancellation.
getter/setter pair
etag String?
etag is used for optimistic concurrency control as a way to help prevent simultaneous updates of a model from overwriting each other.
getter/setter pair
etagAsBytes List<int>
getter/setter pair
explanationConfig GoogleCloudMlV1ExplanationConfig?
Configures explainability features on the model's version.
getter/setter pair
framework String?
The machine learning framework AI Platform uses to train this version of the model.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isDefault bool?
If true, this version will be used to handle prediction requests that do not specify a version.
getter/setter pair
labels Map<String, String>?
One or more labels that you can add, to organize your model versions.
getter/setter pair
lastMigrationModelId String?
The [AI Platform (Unified) Model](https://cloud.google.com/ai-platform-unified/docs/reference/rest/v1beta1/projects.locations.models) ID for the last model migration.
getter/setter pair
lastMigrationTime String?
The last time this version was successfully [migrated to AI Platform (Unified)](https://cloud.google.com/ai-platform-unified/docs/start/migrating-to-ai-platform-unified).
getter/setter pair
lastUseTime String?
The time the version was last used for prediction.
getter/setter pair
machineType String?
The type of machine on which to serve the model.
getter/setter pair
manualScaling GoogleCloudMlV1ManualScaling?
Manually select the number of nodes to use for serving the model.
getter/setter pair
name String?
The name specified for the version when it was created.
getter/setter pair
packageUris List<String>?
Cloud Storage paths (gs://…) of packages for [custom prediction routines](/ml-engine/docs/tensorflow/custom-prediction-routines) or [scikit-learn pipelines with custom code](/ml-engine/docs/scikit/exporting-for-prediction#custom-pipeline-code).
getter/setter pair
predictionClass String?
The fully qualified name (module_name.class_name) of a class that implements the Predictor interface described in this reference field.
getter/setter pair
pythonVersion String?
The version of Python used in prediction.
getter/setter pair
requestLoggingConfig GoogleCloudMlV1RequestLoggingConfig?
Only specify this field in a projects.models.versions.patch request.
getter/setter pair
routes GoogleCloudMlV1RouteMap?
Specifies paths on a custom container's HTTP server where AI Platform Prediction sends certain requests.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
runtimeVersion String?
The AI Platform runtime version to use for this deployment.
getter/setter pair
serviceAccount String?
Specifies the service account for resource access control.
getter/setter pair
state String?
The state of a version.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited