2.10.0 (latest) 2.9.0 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0

```sql
public sealed class CloudSqlCredential : IMessage<CloudSqlCredential>, IEquatable<CloudSqlCredential>, IDeepCloneable<CloudSqlCredential>, IBufferMessage, IMessage
```
Reference documentation and code samples for the BigQuery Connection v1 API class CloudSqlCredential.

Credential info for the Cloud SQL.

## Inheritance

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

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[CloudSqlCredential](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.Connection.V1/latest/Google.Cloud.BigQuery.Connection.V1.CloudSqlCredential.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CloudSqlCredential](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.Connection.V1/latest/Google.Cloud.BigQuery.Connection.V1.CloudSqlCredential.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[CloudSqlCredential](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.Connection.V1/latest/Google.Cloud.BigQuery.Connection.V1.CloudSqlCredential.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## 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.BigQuery.Connection.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.Connection.V1/latest/Google.Cloud.BigQuery.Connection.V1.md.txt)

## Assembly

Google.Cloud.BigQuery.Connection.V1.dll

## Constructors

### CloudSqlCredential()

```sql
public CloudSqlCredential()
```

### CloudSqlCredential(CloudSqlCredential)

```sql
public CloudSqlCredential(CloudSqlCredential other)
```

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `CloudSqlCredential` |

## Properties

### Password

```sql
public string Password { get; set; }
```
The password for the credential.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### Username

```sql
public string Username { get; set; }
```
The username for the credential.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |