public sealed class GetPublisherModelRequest : IMessage<GetPublisherModelRequest>, IEquatable<GetPublisherModelRequest>, IDeepCloneable<GetPublisherModelRequest>, IBufferMessage, IMessageReference documentation and code samples for the Vertex AI v1beta1 API class GetPublisherModelRequest.
Request message for [ModelGardenService.GetPublisherModel][google.cloud.aiplatform.v1beta1.ModelGardenService.GetPublisherModel]
Implements
IMessageGetPublisherModelRequest, IEquatableGetPublisherModelRequest, IDeepCloneableGetPublisherModelRequest, IBufferMessage, IMessageNamespace
Google.Cloud.AIPlatform.V1Beta1Assembly
Google.Cloud.AIPlatform.V1Beta1.dll
Constructors
GetPublisherModelRequest()
public GetPublisherModelRequest()GetPublisherModelRequest(GetPublisherModelRequest)
public GetPublisherModelRequest(GetPublisherModelRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
GetPublisherModelRequest |
Properties
HuggingFaceToken
public string HuggingFaceToken { get; set; }Optional. Token used to access Hugging Face gated models.
| Property Value | |
|---|---|
| Type | Description |
string |
|
IncludeEquivalentModelGardenModelDeploymentConfigs
public bool IncludeEquivalentModelGardenModelDeploymentConfigs { get; set; }Optional. Whether to cnclude the deployment configs from the equivalent Model Garden model if the requested model is a Hugging Face model.
| Property Value | |
|---|---|
| Type | Description |
bool |
|
IsHuggingFaceModel
public bool IsHuggingFaceModel { get; set; }Optional. Boolean indicates whether the requested model is a Hugging Face model.
| Property Value | |
|---|---|
| Type | Description |
bool |
|
LanguageCode
public string LanguageCode { get; set; }Optional. The IETF BCP-47 language code representing the language in which the publisher model's text information should be written in.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Name
public string Name { get; set; }Required. The name of the PublisherModel resource.
Format:
publishers/{publisher}/models/{publisher_model}
| Property Value | |
|---|---|
| Type | Description |
string |
|
PublisherModelName
public PublisherModelName PublisherModelName { get; set; }PublisherModelName-typed view over the Name resource name property.
| Property Value | |
|---|---|
| Type | Description |
PublisherModelName |
|
View
public PublisherModelView View { get; set; }Optional. PublisherModel view specifying which fields to read.
| Property Value | |
|---|---|
| Type | Description |
PublisherModelView |
|