Cloud AI Platform v1beta1 API - Class DeployPublisherModelRequest (1.0.0-beta13)

public sealed class DeployPublisherModelRequest : IMessage<DeployPublisherModelRequest>, IEquatable<DeployPublisherModelRequest>, IDeepCloneable<DeployPublisherModelRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud AI Platform v1beta1 API class DeployPublisherModelRequest.

Request message for [ModelGardenService.DeployPublisherModel][google.cloud.aiplatform.v1beta1.ModelGardenService.DeployPublisherModel].

Inheritance

object > DeployPublisherModelRequest

Namespace

Google.Cloud.AIPlatform.V1Beta1

Assembly

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

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 name of the PublisherModel resource. Format: publishers/{publisher}/models/{publisher_model}@{version_id}, or publishers/hf-{hugging-face-author}/models/{hugging-face-model-name}@001 or Hugging Face model ID like google/gemma-2-2b-it.

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