Oracle Database@Google Cloud v1 API - Class DatabaseConnection (1.10.0)

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

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

Represents DatabaseConnection resource.

Inheritance

object > DatabaseConnection

Namespace

Google.Cloud.OracleDatabase.V1

Assembly

Google.Cloud.OracleDatabase.V1.dll

Constructors

DatabaseConnection()

public DatabaseConnection()

DatabaseConnection(DatabaseConnection)

public DatabaseConnection(DatabaseConnection other)
Parameter
Name Description
other DatabaseConnection

Properties

ConnectionString

public string ConnectionString { get; set; }

Required. Immutable. Oracle Easy Connect or TNS connection string. Example: "your-db-host.example.com:1521/YOUR_SERVICE_NAME"

Property Value
Type Description
string

CreateTime

public Timestamp CreateTime { get; set; }

Output only. The create time of the resource.

Property Value
Type Description
Timestamp

DatabaseConnectionName

public DatabaseConnectionName DatabaseConnectionName { get; set; }

DatabaseConnectionName-typed view over the Name resource name property.

Property Value
Type Description
DatabaseConnectionName

DisplayName

public string DisplayName { get; set; }

Optional. Immutable. User-friendly display name for the connection.

Property Value
Type Description
string

HasOdbNetwork

public bool HasOdbNetwork { get; }

Gets whether the "odb_network" field is set

Property Value
Type Description
bool

HasWalletSecretVersion

public bool HasWalletSecretVersion { get; }

Gets whether the "wallet_secret_version" field is set

Property Value
Type Description
bool

Labels

public MapField<string, string> Labels { get; }

Optional. Optional: Labels as key-value pairs to organize the resource.

Property Value
Type Description
MapFieldstringstring

LifecycleDetails

public string LifecycleDetails { get; set; }

Output only. Additional information about the current state of the connection.

Property Value
Type Description
string

Name

public string Name { get; set; }

Identifier. The resource name of the DatabaseConnection. Format: projects/{project}/locations/{location}/databaseConnections/{database_connection}

Property Value
Type Description
string

NetworkConfigurationCase

public DatabaseConnection.NetworkConfigurationOneofCase NetworkConfigurationCase { get; }
Property Value
Type Description
DatabaseConnectionNetworkConfigurationOneofCase

OdbNetwork

public string OdbNetwork { get; set; }

Optional. Immutable. For Oracle DatabaseGoogle cloud resources. Format: projects/{project}/locations/{location}/odbNetworks/{odbNetwork}

Property Value
Type Description
string

OdbNetworkAsOdbNetworkName

public OdbNetworkName OdbNetworkAsOdbNetworkName { get; set; }

OdbNetworkName-typed view over the OdbNetwork resource name property.

Property Value
Type Description
OdbNetworkName

PasswordSecretVersion

public string PasswordSecretVersion { get; set; }

Optional. The resource name of the GCP Secret Manager secret version containing the password for the specified username. Format: projects/{project}/secrets/{secret_id}/versions/{version_id} The service's Per-Product Per-Project Service Account (P4SA) must have the 'secretmanager.secretAccessor' permission on this secret.

Property Value
Type Description
string

PasswordSecretVersionAsSecretVersionName

public SecretVersionName PasswordSecretVersionAsSecretVersionName { get; set; }

SecretVersionName-typed view over the PasswordSecretVersion resource name property.

Property Value
Type Description
SecretVersionName

State

public DatabaseConnection.Types.State State { get; set; }

Output only. The current state of the connection.

Property Value
Type Description
DatabaseConnectionTypesState

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. The update time of the resource.

Property Value
Type Description
Timestamp

Username

public string Username { get; set; }

Optional. Immutable. The default database username to use for connections.

Property Value
Type Description
string

WalletSecretVersion

public string WalletSecretVersion { get; set; }

Optional. Optional: The resource name of the GCP Secret Manager secret version containing base64 encoded content of the Oracle Wallet ZIP file required for mTLS/TLS connections. Format: projects/{project}/secrets/{secret_id}/versions/{version_id} The service's Per-Product Per-Project Service Account (P4SA) must have the 'secretmanager.secretAccessor' permission on this secret.

Property Value
Type Description
string

WalletSecretVersionAsSecretVersionName

public SecretVersionName WalletSecretVersionAsSecretVersionName { get; set; }

SecretVersionName-typed view over the WalletSecretVersion resource name property.

Property Value
Type Description
SecretVersionName

WalletSourceCase

public DatabaseConnection.WalletSourceOneofCase WalletSourceCase { get; }
Property Value
Type Description
DatabaseConnectionWalletSourceOneofCase