1.0.0-beta87 (latest) 1.0.0-beta86

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

Reference documentation and code samples for the Vertex AI v1beta1 API class GetPublisherModelRequest.

Request message for
\[ModelGardenService.GetPublisherModel\]\[google.cloud.aiplatform.v1beta1.ModelGardenService.GetPublisherModel\]

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> GetPublisherModelRequest

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[GetPublisherModelRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.GetPublisherModelRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[GetPublisherModelRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.GetPublisherModelRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[GetPublisherModelRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.GetPublisherModelRequest), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.AIPlatform.V1Beta1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1)

## Assembly

Google.Cloud.AIPlatform.V1Beta1.dll

## Constructors

### GetPublisherModelRequest()

    public GetPublisherModelRequest()

### GetPublisherModelRequest(GetPublisherModelRequest)

    public GetPublisherModelRequest(GetPublisherModelRequest other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.GetPublisherModelRequest` |

## Properties

### HuggingFaceToken

    public string HuggingFaceToken { get; set; }

Optional. Token used to access Hugging Face gated models.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.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** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### IsHuggingFaceModel

    public bool IsHuggingFaceModel { get; set; }

Optional. Boolean indicates whether the requested model is a Hugging Face
model.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### 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** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### Name

    public string Name { get; set; }

Required. The name of the PublisherModel resource.
Format:
`publishers/{publisher}/models/{publisher_model}`

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### PublisherModelName

    public PublisherModelName PublisherModelName { get; set; }

[PublisherModelName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PublisherModelName)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.GetPublisherModelRequest#Google_Cloud_AIPlatform_V1Beta1_GetPublisherModelRequest_Name) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PublisherModelName` |   |

### View

    public PublisherModelView View { get; set; }

Optional. PublisherModel view specifying which fields to read.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PublisherModelView` |   |