AiEndpointWithModelGardenDeploymentModelConfig class

Constructors

AiEndpointWithModelGardenDeploymentModelConfig({Input<bool?>? acceptEula, Input<AiEndpointWithModelGardenDeploymentModelConfigContainerSpec?>? containerSpec, Input<String?>? huggingFaceAccessToken, Input<bool?>? huggingFaceCacheEnabled, Input<String?>? modelDisplayName})
Creates a new AiEndpointWithModelGardenDeploymentModelConfig. acceptEula Whether the user accepts the End User License Agreement (EULA) containerSpec Specification of a container for serving predictions. Some fields in this huggingFaceAccessToken The Hugging Face read access token used to access the model huggingFaceCacheEnabled If true, the model will deploy with a cached version instead of directly modelDisplayName The user-specified display name of the uploaded model. If not
const
AiEndpointWithModelGardenDeploymentModelConfig.fromMap(Map<String, dynamic> map)
factory

Properties

acceptEula → Input<bool?>?
Whether the user accepts the End User License Agreement (EULA) for the model.
final
containerSpec → Input<AiEndpointWithModelGardenDeploymentModelConfigContainerSpec?>?
Specification of a container for serving predictions. Some fields in this message correspond to fields in the Kubernetes Container v1 core specification. Structure is documented below.
final
hashCode → int
The hash code for this object.
no setterinherited
huggingFaceAccessToken → Input<String?>?
The Hugging Face read access token used to access the model artifacts of gated models.
final
huggingFaceCacheEnabled → Input<bool?>?
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 → Input<String?>?
The user-specified display name of the uploaded model. If not set, a default name will be used.
final
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
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

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