Vertex AI v1beta1 API - Class DeployRequest.Types.ModelConfig (1.0.0-beta18)

public sealed class DeployRequest.Types.ModelConfig : IMessage<DeployRequest.Types.ModelConfig>, IEquatable<DeployRequest.Types.ModelConfig>, IDeepCloneable<DeployRequest.Types.ModelConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the Vertex AI v1beta1 API class DeployRequest.Types.ModelConfig.

The model config to use for the deployment.

Inheritance

object > DeployRequest.Types.ModelConfig

Namespace

Google.Cloud.AIPlatform.V1Beta1

Assembly

Google.Cloud.AIPlatform.V1Beta1.dll

Constructors

ModelConfig()

public ModelConfig()

ModelConfig(ModelConfig)

public ModelConfig(DeployRequest.Types.ModelConfig other)
Parameter
Name Description
other DeployRequestTypesModelConfig

Properties

AcceptEula

public bool AcceptEula { get; set; }

Optional. Whether the user accepts the End User License Agreement (EULA) for the model.

Property Value
Type Description
bool

ContainerSpec

public ModelContainerSpec ContainerSpec { get; set; }

Optional. The specification of the container that is to be used when deploying. If not set, the default container spec will be used.

Property Value
Type Description
ModelContainerSpec

HuggingFaceAccessToken

public string HuggingFaceAccessToken { get; set; }

Optional. The Hugging Face read access token used to access the model artifacts of gated models.

Property Value
Type Description
string

HuggingFaceCacheEnabled

public bool HuggingFaceCacheEnabled { get; set; }

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.

Property Value
Type Description
bool

ModelDisplayName

public string ModelDisplayName { get; set; }

Optional. The user-specified display name of the uploaded model. If not set, a default name will be used.

Property Value
Type Description
string