[Obsolete]
public sealed class DeployPublisherModelRequest : IMessage<DeployPublisherModelRequest>, IEquatable<DeployPublisherModelRequest>, IDeepCloneable<DeployPublisherModelRequest>, IBufferMessage, IMessageReference documentation and code samples for the Vertex AI v1beta1 API class DeployPublisherModelRequest.
Request message for [ModelGardenService.DeployPublisherModel][google.cloud.aiplatform.v1beta1.ModelGardenService.DeployPublisherModel].
Implements
IMessageDeployPublisherModelRequest, IEquatableDeployPublisherModelRequest, IDeepCloneableDeployPublisherModelRequest, IBufferMessage, IMessageNamespace
Google.Cloud.AIPlatform.V1Beta1Assembly
Google.Cloud.AIPlatform.V1Beta1.dll
Constructors
DeployPublisherModelRequest()
public DeployPublisherModelRequest()DeployPublisherModelRequest(DeployPublisherModelRequest)
public DeployPublisherModelRequest(DeployPublisherModelRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
DeployPublisherModelRequest |
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 |
|
DedicatedResources
public DedicatedResources DedicatedResources { get; set; }Optional. The dedicated resources to use for the endpoint. If not set, the default resources will be used.
| Property Value | |
|---|---|
| Type | Description |
DedicatedResources |
|
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
[Obsolete]
public LocationName DestinationAsLocationName { get; set; }LocationName-typed view over the Destination resource name property.
| Property Value | |
|---|---|
| Type | Description |
LocationName |
|
EndpointDisplayName
public string EndpointDisplayName { get; set; }Optional. The user-specified display name of the endpoint. If not set, a default name will be used.
| Property Value | |
|---|---|
| Type | Description |
string |
|
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 |
|
Model
public string Model { get; set; }Required. The model to deploy. Format:
publishers/{publisher}/models/{publisher_model}@{version_id}, orpublishers/hf-{hugging-face-author}/models/{hugging-face-model-name}@001.- Hugging Face model ID like
google/gemma-2-2b-it. - Custom model Google Cloud Storage URI like
gs://bucket. - Custom model zip file like
https://example.com/a.zip.
| Property Value | |
|---|---|
| Type | Description |
string |
|
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 |
|