public sealed class DeployRequest : IMessage<DeployRequest>, IEquatable<DeployRequest>, IDeepCloneable<DeployRequest>, IBufferMessage, IMessageReference documentation and code samples for the Vertex AI v1beta1 API class DeployRequest.
Request message for [ModelGardenService.Deploy][google.cloud.aiplatform.v1beta1.ModelGardenService.Deploy].
Implements
IMessageDeployRequest, IEquatableDeployRequest, IDeepCloneableDeployRequest, IBufferMessage, IMessageNamespace
Google.Cloud.AIPlatform.V1Beta1Assembly
Google.Cloud.AIPlatform.V1Beta1.dll
Constructors
DeployRequest()
public DeployRequest()DeployRequest(DeployRequest)
public DeployRequest(DeployRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
DeployRequest |
Properties
ArtifactsCase
public DeployRequest.ArtifactsOneofCase ArtifactsCase { get; }| Property Value | |
|---|---|
| Type | Description |
DeployRequestArtifactsOneofCase |
|
CustomModel
public DeployRequest.Types.CustomModel CustomModel { get; set; }The custom model to deploy from a Google Cloud Storage URI.
| Property Value | |
|---|---|
| Type | Description |
DeployRequestTypesCustomModel |
|
DeployConfig
public DeployRequest.Types.DeployConfig DeployConfig { get; set; }Optional. The deploy config to use for the deployment. If not specified, the default deploy config will be used.
| Property Value | |
|---|---|
| Type | Description |
DeployRequestTypesDeployConfig |
|
Destination
public string Destination { get; set; }Required. The resource name of the Location to deploy the model in.
Format: projects/{project}/locations/{location}
| Property Value | |
|---|---|
| Type | Description |
string |
|
DestinationAsLocationName
public LocationName DestinationAsLocationName { get; set; }LocationName-typed view over the Destination resource name property.
| Property Value | |
|---|---|
| Type | Description |
LocationName |
|
EndpointConfig
public DeployRequest.Types.EndpointConfig EndpointConfig { get; set; }Optional. The endpoint config to use for the deployment. If not specified, the default endpoint config will be used.
| Property Value | |
|---|---|
| Type | Description |
DeployRequestTypesEndpointConfig |
|
HasHuggingFaceModelId
public bool HasHuggingFaceModelId { get; }Gets whether the "hugging_face_model_id" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
HasPublisherModelName
public bool HasPublisherModelName { get; }Gets whether the "publisher_model_name" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
HuggingFaceModelId
public string HuggingFaceModelId { get; set; }The Hugging Face model to deploy.
Format: Hugging Face model ID like google/gemma-2-2b-it.
| Property Value | |
|---|---|
| Type | Description |
string |
|
ModelConfig
public DeployRequest.Types.ModelConfig ModelConfig { get; set; }Optional. The model config to use for the deployment. If not specified, the default model config will be used.
| Property Value | |
|---|---|
| Type | Description |
DeployRequestTypesModelConfig |
|
PublisherModelName
public string PublisherModelName { get; set; }The Model Garden model to deploy.
Format:
publishers/{publisher}/models/{publisher_model}@{version_id}, or
publishers/hf-{hugging-face-author}/models/{hugging-face-model-name}@001.
| Property Value | |
|---|---|
| Type | Description |
string |
|
PublisherModelNameAsPublisherModelName
public PublisherModelName PublisherModelNameAsPublisherModelName { get; set; }PublisherModelName-typed view over the PublisherModelName resource name property.
| Property Value | |
|---|---|
| Type | Description |
PublisherModelName |
|