GoogleCloudAiplatformV1beta1Model class
A trained machine learning Model.
Constructors
-
GoogleCloudAiplatformV1beta1Model({Input<
String> ? artifactUri, Input<GoogleCloudAiplatformV1beta1ModelContainerSpec> ? containerSpec, Input<String> ? description, required Input<String> displayName, Input<GoogleCloudAiplatformV1beta1EncryptionSpec> ? encryptionSpec, Input<String> ? etag, Input<GoogleCloudAiplatformV1beta1ExplanationSpec> ? explanationSpec, Input<Map< ? labels, Input? metadata, Input<String, String> >String> ? metadataSchemaUri, Input<String> ? name, Input<GoogleCloudAiplatformV1beta1PredictSchemata> ? predictSchemata, Input<List< ? versionAliases, Input<String> >String> ? versionDescription}) -
Creates a new GoogleCloudAiplatformV1beta1Model.
artifactUriImmutable. The path to the directory containing the Model artifact and any of its supporting files. Not present for AutoML Models or Large Models.containerSpecInput only. The specification of the container that is to be used when deploying this Model. The specification is ingested upon ModelService.UploadModel, and all binaries it contains are copied and stored internally by Vertex AI. Not present for AutoML Models or Large Models.descriptionThe description of the Model.displayNameThe display name of the Model. The name can be up to 128 characters long and can consist of any UTF-8 characters.encryptionSpecCustomer-managed encryption key spec for a Model. If set, this Model and all sub-resources of this Model will be secured by this key.etagUsed to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.explanationSpecThe default explanation specification for this Model. The Model can be used for requesting explanation after being deployed if it is populated. The Model can be used for batch explanation if it is populated. All fields of the explanation_spec can be overridden by explanation_spec of DeployModelRequest.deployed_model, or explanation_spec of BatchPredictionJob. If the default explanation specification is not set for this Model, this Model can still be used for requesting explanation by setting explanation_spec of DeployModelRequest.deployed_model and for batch explanation by setting explanation_spec of BatchPredictionJob.labelsThe labels with user-defined metadata to organize your Models. 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.metadataImmutable. An additional information about the Model; the schema of the metadata can be found in metadata_schema. Unset if the Model does not have any additional information.metadataSchemaUriImmutable. Points to a YAML file stored on Google Cloud Storage describing additional information about the Model, that is specific to it. Unset if the Model does not have any additional information. The schema is defined as an OpenAPI 3.0.2 Schema Object. AutoML Models always have this field populated by Vertex AI, if no additional metadata is needed, this field is set to an empty string. Note: The URI given on output will be immutable and probably different, including the URI scheme, than the one given on input. The output URI will point to a location where the user only has a read access.nameThe resource name of the Model.predictSchemataThe schemata that describe formats of the Model's predictions and explanations as given and returned via PredictionService.Predict and PredictionService.Explain.versionAliasesUser provided version aliases so that a model version can be referenced via alias (i.e.projects/{project}/locations/{location}/models/{model_id}@{version_alias}instead of auto-generated version id (i.e.projects/{project}/locations/{location}/models/{model_id}@{version_id}). The format is a-z{0,126}a-z0-9to distinguish from version_id. A default version alias will be created for the first version of the model, and there must be exactly one default version alias for a model.versionDescriptionThe description of this version.const -
GoogleCloudAiplatformV1beta1Model.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
artifactUri
→ Input<
String> ? -
Immutable. The path to the directory containing the Model artifact and any of its supporting files. Not present for AutoML Models or Large Models.
final
-
containerSpec
→ Input<
GoogleCloudAiplatformV1beta1ModelContainerSpec> ? -
Input only. The specification of the container that is to be used when deploying this Model. The specification is ingested upon ModelService.UploadModel, and all binaries it contains are copied and stored internally by Vertex AI. Not present for AutoML Models or Large Models.
final
-
description
→ Input<
String> ? -
The description of the Model.
final
-
displayName
→ Input<
String> -
The display name of the Model. The name can be up to 128 characters long and can consist of any UTF-8 characters.
final
-
encryptionSpec
→ Input<
GoogleCloudAiplatformV1beta1EncryptionSpec> ? -
Customer-managed encryption key spec for a Model. If set, this Model and all sub-resources of this Model will be secured by this key.
final
-
etag
→ Input<
String> ? -
Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
final
-
explanationSpec
→ Input<
GoogleCloudAiplatformV1beta1ExplanationSpec> ? -
The default explanation specification for this Model. The Model can be used for requesting explanation after being deployed if it is populated. The Model can be used for batch explanation if it is populated. All fields of the explanation_spec can be overridden by explanation_spec of DeployModelRequest.deployed_model, or explanation_spec of BatchPredictionJob. If the default explanation specification is not set for this Model, this Model can still be used for requesting explanation by setting explanation_spec of DeployModelRequest.deployed_model and for batch explanation by setting explanation_spec of BatchPredictionJob.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
labels
→ Input<
Map< ?String, String> > -
The labels with user-defined metadata to organize your Models. 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.
final
- metadata → Input?
-
Immutable. An additional information about the Model; the schema of the metadata can be found in metadata_schema. Unset if the Model does not have any additional information.
final
-
metadataSchemaUri
→ Input<
String> ? -
Immutable. Points to a YAML file stored on Google Cloud Storage describing additional information about the Model, that is specific to it. Unset if the Model does not have any additional information. The schema is defined as an OpenAPI 3.0.2 Schema Object. AutoML Models always have this field populated by Vertex AI, if no additional metadata is needed, this field is set to an empty string. Note: The URI given on output will be immutable and probably different, including the URI scheme, than the one given on input. The output URI will point to a location where the user only has a read access.
final
-
name
→ Input<
String> ? -
The resource name of the Model.
final
-
predictSchemata
→ Input<
GoogleCloudAiplatformV1beta1PredictSchemata> ? -
The schemata that describe formats of the Model's predictions and explanations as given and returned via PredictionService.Predict and PredictionService.Explain.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
versionAliases
→ Input<
List< ?String> > -
User provided version aliases so that a model version can be referenced via alias (i.e.
projects/{project}/locations/{location}/models/{model_id}@{version_alias}instead of auto-generated version id (i.e.projects/{project}/locations/{location}/models/{model_id}@{version_id}). The format is a-z{0,126}a-z0-9to distinguish from version_id. A default version alias will be created for the first version of the model, and there must be exactly one default version alias for a model.final -
versionDescription
→ Input<
String> ? -
The description of this version.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited