1.8.0 (latest) 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0

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

Reference documentation and code samples for the Oracle Database@Google Cloud v1 API class GoldengateDb2ConnectionProperties.

The properties of GoldengateDb2Connection.

## Inheritance

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

## Implements

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

## Assembly

Google.Cloud.OracleDatabase.V1.dll

## Constructors

### GoldengateDb2ConnectionProperties()

    public GoldengateDb2ConnectionProperties()

### GoldengateDb2ConnectionProperties(GoldengateDb2ConnectionProperties)

    public GoldengateDb2ConnectionProperties(GoldengateDb2ConnectionProperties other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OracleDatabase.V1/latest/Google.Cloud.OracleDatabase.V1.GoldengateDb2ConnectionProperties` |

## Properties

### AdditionalAttributes

    public RepeatedField<NameValuePair> AdditionalAttributes { get; }

Optional. An array of name-value pair attribute entries.
Used as additional parameters in connection string.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OracleDatabase.V1/latest/Google.Cloud.OracleDatabase.V1.NameValuePair` |   |

### ConnectionPasswordOptionsCase

    public GoldengateDb2ConnectionProperties.ConnectionPasswordOptionsOneofCase ConnectionPasswordOptionsCase { get; }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OracleDatabase.V1/latest/Google.Cloud.OracleDatabase.V1.GoldengateDb2ConnectionPropertieshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OracleDatabase.V1/latest/Google.Cloud.OracleDatabase.V1.GoldengateDb2ConnectionProperties.ConnectionPasswordOptionsOneofCase` |   |

### Database

    public string Database { get; set; }

Optional. The name of the database.

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

### HasPassword

    public bool HasPassword { get; }

Gets whether the "password" field is set

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

### HasPasswordSecretVersion

    public bool HasPasswordSecretVersion { get; }

Gets whether the "password_secret_version" field is set

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

### Host

    public string Host { get; set; }

Optional. The name or address of a host.

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

### Password

    public string Password { get; set; }

Optional. Input only. The password Oracle Goldengate uses for Db2
connection in plain text.

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

### PasswordSecretVersion

    public string PasswordSecretVersion { get; set; }

Optional. Input only. The resource name of a secret version in Secret
Manager which contains the password Oracle Goldengate uses for Db2
connection. Format:
projects/{project}/secrets/{secret}/versions/{version}.

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

### PasswordSecretVersionAsSecretVersionName

    public SecretVersionName PasswordSecretVersionAsSecretVersionName { get; set; }

[SecretVersionName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OracleDatabase.V1/latest/Google.Cloud.OracleDatabase.V1.SecretVersionName)-typed view over the [PasswordSecretVersion](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OracleDatabase.V1/latest/Google.Cloud.OracleDatabase.V1.GoldengateDb2ConnectionProperties#Google_Cloud_OracleDatabase_V1_GoldengateDb2ConnectionProperties_PasswordSecretVersion) resource name
property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OracleDatabase.V1/latest/Google.Cloud.OracleDatabase.V1.SecretVersionName` |   |

### Port

    public int Port { get; set; }

Optional. The port of an endpoint usually specified for a connection.

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

### SecurityProtocol

    public GoldengateDb2ConnectionProperties.Types.Db2SecurityProtocol SecurityProtocol { get; set; }

Optional. Security protocol for the DB2 database.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OracleDatabase.V1/latest/Google.Cloud.OracleDatabase.V1.GoldengateDb2ConnectionPropertieshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OracleDatabase.V1/latest/Google.Cloud.OracleDatabase.V1.GoldengateDb2ConnectionProperties.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OracleDatabase.V1/latest/Google.Cloud.OracleDatabase.V1.GoldengateDb2ConnectionProperties.Types.Db2SecurityProtocol` |   |

### SslClientKeystashFile

    public string SslClientKeystashFile { get; set; }

Optional. The keystash file which contains the encrypted password to
the key database file. Not supported for IBM Db2 for i.

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

### SslClientKeystoredbFile

    public string SslClientKeystoredbFile { get; set; }

Optional. The keystore file created at the client containing the
server certificate / CA root certificate. Not supported for IBM Db2 for i.

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

### SslServerCertificateFile

    public string SslServerCertificateFile { get; set; }

Optional. The file which contains the self-signed server certificate
/ Certificate Authority (CA) certificate.

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

### TechnologyType

    public string TechnologyType { get; set; }

Optional. The technology type of Db2Connection.

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

### Username

    public string Username { get; set; }

Optional. The username Oracle Goldengate uses to connect to the DB2
database.

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