DeployRequest_ModelConfig class final

The model config to use for the deployment.

Constructors

DeployRequest_ModelConfig({bool acceptEula = false, String huggingFaceAccessToken = '', bool huggingFaceCacheEnabled = false, String modelDisplayName = '', ModelContainerSpec? containerSpec, String modelUserId = ''})
DeployRequest_ModelConfig.fromJson(Object? j)
factory

Properties

acceptEula → bool
Optional. Whether the user accepts the End User License Agreement (EULA) for the model.
final
containerSpec → ModelContainerSpec?
Optional. The specification of the container that is to be used when deploying. If not set, the default container spec will be used.
final
hashCode → int
The hash code for this object.
no setterinherited
huggingFaceAccessToken → String
Optional. The Hugging Face read access token used to access the model artifacts of gated models.
final
huggingFaceCacheEnabled → bool
Optional. If true, the model will deploy with a cached version instead of directly downloading the model artifacts from Hugging Face. This is suitable for VPC-SC users with limited internet access.
final
modelDisplayName → String
Optional. The user-specified display name of the uploaded model. If not set, a default name will be used.
final
modelUserId → String
Optional. The ID to use for the uploaded Model, which will become the final component of the model resource name. When not provided, Vertex AI will generate a value for this ID. When Model Registry model is provided, this field will be ignored.
final
qualifiedName → String
The fully qualified name of this message, i.e., google.protobuf.Duration or google.rpc.ErrorInfo.
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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

Constants

fullyQualifiedName → const String