Class DatabaseConnection
Represents DatabaseConnection resource.
Implements
Inherited Members
Namespace: Google.Apis.OracleDatabase.v1.Data
Assembly: Google.Apis.OracleDatabase.v1.dll
Syntax
public class DatabaseConnection : IDirectResponseSchema
Properties
ConnectionString
Required. Immutable. Oracle Easy Connect or TNS connection string. Example: "your-db-host.example.com:1521/YOUR_SERVICE_NAME"
Declaration
[JsonProperty("connectionString")]
public virtual string ConnectionString { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
CreateTime
object representation of CreateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual object CreateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
CreateTimeDateTimeOffset
DateTimeOffset representation of CreateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |
CreateTimeRaw
Output only. The create time of the resource.
Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
DisplayName
Optional. Immutable. User-friendly display name for the connection.
Declaration
[JsonProperty("displayName")]
public virtual string DisplayName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Labels
Optional. Optional: Labels as key-value pairs to organize the resource.
Declaration
[JsonProperty("labels")]
public virtual IDictionary<string, string> Labels { get; set; }
Property Value
| Type | Description |
|---|---|
| IDictionary<string, string> |
LifecycleDetails
Output only. Additional information about the current state of the connection.
Declaration
[JsonProperty("lifecycleDetails")]
public virtual string LifecycleDetails { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Name
Identifier. The resource name of the DatabaseConnection. Format: projects/{project}/locations/{location}/databaseConnections/{database_connection}
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
OdbNetwork
Optional. Immutable. For Oracle DatabaseGoogle cloud resources. Format: projects/{project}/locations/{location}/odbNetworks/{odbNetwork}
Declaration
[JsonProperty("odbNetwork")]
public virtual string OdbNetwork { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PasswordSecretVersion
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.
Declaration
[JsonProperty("passwordSecretVersion")]
public virtual string PasswordSecretVersion { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
State
Output only. The current state of the connection.
Declaration
[JsonProperty("state")]
public virtual string State { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
UpdateTime
object representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")]
public virtual object UpdateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
UpdateTimeDateTimeOffset
DateTimeOffset representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? UpdateTimeDateTimeOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |
UpdateTimeRaw
Output only. The update time of the resource.
Declaration
[JsonProperty("updateTime")]
public virtual string UpdateTimeRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Username
Optional. Immutable. The default database username to use for connections.
Declaration
[JsonProperty("username")]
public virtual string Username { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
WalletSecretVersion
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.
Declaration
[JsonProperty("walletSecretVersion")]
public virtual string WalletSecretVersion { get; set; }
Property Value
| Type | Description |
|---|---|
| string |