1.0.0-beta25 (latest) 1.0.0-beta24

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

Reference documentation and code samples for the Discovery Engine v1beta API class AlloyDbSource.

AlloyDB source import data from.

## Inheritance

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

## Implements

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

## Assembly

Google.Cloud.DiscoveryEngine.V1Beta.dll

## Constructors

### AlloyDbSource()

    public AlloyDbSource()

### AlloyDbSource(AlloyDbSource)

    public AlloyDbSource(AlloyDbSource other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.AlloyDbSource` |

## Properties

### ClusterId

    public string ClusterId { get; set; }

Required. The AlloyDB cluster to copy the data from with a length limit of
256 characters.

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

### DatabaseId

    public string DatabaseId { get; set; }

Required. The AlloyDB database to copy the data from with a length limit of
256 characters.

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

### GcsStagingDir

    public string GcsStagingDir { get; set; }

Intermediate Cloud Storage directory used for the import with a length
limit of 2,000 characters. Can be specified if one wants to have the
AlloyDB export to a specific Cloud Storage directory.

Ensure that the AlloyDB service account has the necessary Cloud
Storage Admin permissions to access the specified Cloud Storage directory.

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

### LocationId

    public string LocationId { get; set; }

Required. The AlloyDB location to copy the data from with a length limit of
256 characters.

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

### ProjectId

    public string ProjectId { get; set; }

The project ID that contains the AlloyDB source.
Has a length limit of 128 characters. If not specified, inherits the
project ID from the parent request.

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

### TableId

    public string TableId { get; set; }

Required. The AlloyDB table to copy the data from with a length limit of
256 characters.

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