1.0.0-beta25 (latest) 1.0.0-beta24

    public sealed class DataStore.Types.FederatedSearchConfig.Types.AlloyDbConfig.Types.AlloyDbConnectionConfig : IMessage<DataStore.Types.FederatedSearchConfig.Types.AlloyDbConfig.Types.AlloyDbConnectionConfig>, IEquatable<DataStore.Types.FederatedSearchConfig.Types.AlloyDbConfig.Types.AlloyDbConnectionConfig>, IDeepCloneable<DataStore.Types.FederatedSearchConfig.Types.AlloyDbConfig.Types.AlloyDbConnectionConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the Discovery Engine v1beta API class DataStore.Types.FederatedSearchConfig.Types.AlloyDbConfig.Types.AlloyDbConnectionConfig.

Configuration for connecting to AlloyDB.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> DataStore.Types.FederatedSearchConfig.Types.AlloyDbConfig.Types.AlloyDbConnectionConfig

## Implements

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

### AlloyDbConnectionConfig()

    public AlloyDbConnectionConfig()

### AlloyDbConnectionConfig(AlloyDbConnectionConfig)

    public AlloyDbConnectionConfig(DataStore.Types.FederatedSearchConfig.Types.AlloyDbConfig.Types.AlloyDbConnectionConfig other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.DataStorehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.FederatedSearchConfighttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.FederatedSearchConfig.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.FederatedSearchConfig.Types.AlloyDbConfighttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.FederatedSearchConfig.Types.AlloyDbConfig.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.FederatedSearchConfig.Types.AlloyDbConfig.Types.AlloyDbConnectionConfig` |

## Properties

### AuthMode

    public DataStore.Types.FederatedSearchConfig.Types.AlloyDbConfig.Types.AlloyDbConnectionConfig.Types.AuthMode AuthMode { get; set; }

Optional. Auth mode.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.DataStorehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.FederatedSearchConfighttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.FederatedSearchConfig.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.FederatedSearchConfig.Types.AlloyDbConfighttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.FederatedSearchConfig.Types.AlloyDbConfig.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.FederatedSearchConfig.Types.AlloyDbConfig.Types.AlloyDbConnectionConfighttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.FederatedSearchConfig.Types.AlloyDbConfig.Types.AlloyDbConnectionConfig.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.FederatedSearchConfig.Types.AlloyDbConfig.Types.AlloyDbConnectionConfig.Types.AuthMode` |   |

### Database

    public string Database { get; set; }

Required. The AlloyDB database to connect to.

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

### EnablePsvs

    public bool EnablePsvs { get; set; }

Optional. If true, enable PSVS for AlloyDB.

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

### Instance

    public string Instance { get; set; }

Required. The AlloyDB instance to connect to.

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

### Password

    public string Password { get; set; }

Required. Database password.

If auth_mode = END_USER_ACCOUNT, it can be unset. In that case,
the password will be inferred on the AlloyDB side, based on the
authenticated user.

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

### User

    public string User { get; set; }

Required. Database user.

If auth_mode = END_USER_ACCOUNT, it can be unset. In that case,
the user will be inferred on the AlloyDB side, based on the
authenticated user.

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