1.0.0-beta87 (latest) 1.0.0-beta86

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

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

Contains information about the source of the models generated from Model
Garden.

## Inheritance

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

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ModelGardenSource](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ModelGardenSource), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ModelGardenSource](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ModelGardenSource), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ModelGardenSource](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ModelGardenSource), [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

### ModelGardenSource()

    public ModelGardenSource()

### ModelGardenSource(ModelGardenSource)

    public ModelGardenSource(ModelGardenSource other)

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

## Properties

### PublicModelName

    public string PublicModelName { get; set; }

Required. The model garden source model resource name.

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

### SkipHfModelCache

    public bool SkipHfModelCache { get; set; }

Optional. Whether to avoid pulling the model from the HF cache.

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

### VersionId

    public string VersionId { get; set; }

Optional. The model garden source model version ID.

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