Oracle Database@Google Cloud V1 API - Class Google::Cloud::OracleDatabase::V1::DatabaseConnection (v1.5.0)

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

Represents DatabaseConnection resource.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#connection_string

def connection_string() -> ::String
Returns
  • (::String) — Required. Immutable. Oracle Easy Connect or TNS connection string. Example: "your-db-host.example.com:1521/YOUR_SERVICE_NAME"

#connection_string=

def connection_string=(value) -> ::String
Parameter
  • value (::String) — Required. Immutable. Oracle Easy Connect or TNS connection string. Example: "your-db-host.example.com:1521/YOUR_SERVICE_NAME"
Returns
  • (::String) — Required. Immutable. Oracle Easy Connect or TNS connection string. Example: "your-db-host.example.com:1521/YOUR_SERVICE_NAME"

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#display_name

def display_name() -> ::String
Returns
  • (::String) — Optional. Immutable. User-friendly display name for the connection.

#display_name=

def display_name=(value) -> ::String
Parameter
  • value (::String) — Optional. Immutable. User-friendly display name for the connection.
Returns
  • (::String) — Optional. Immutable. User-friendly display name for the connection.

#labels

def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. Optional: Labels as key-value pairs to organize the resource.

#labels=

def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — Optional. Optional: Labels as key-value pairs to organize the resource.
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. Optional: Labels as key-value pairs to organize the resource.

#lifecycle_details

def lifecycle_details() -> ::String
Returns
  • (::String) — Output only. Additional information about the current state of the connection.

#name

def name() -> ::String
Returns
  • (::String) — Identifier. The resource name of the DatabaseConnection. Format: projects/{project}/locations/{location}/databaseConnections/{database_connection}

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Identifier. The resource name of the DatabaseConnection. Format: projects/{project}/locations/{location}/databaseConnections/{database_connection}
Returns
  • (::String) — Identifier. The resource name of the DatabaseConnection. Format: projects/{project}/locations/{location}/databaseConnections/{database_connection}

#odb_network

def odb_network() -> ::String
Returns
  • (::String) — Optional. Immutable. For Oracle Database@Google cloud resources. Format: projects/{project}/locations/{location}/odbNetworks/{odbNetwork}

#odb_network=

def odb_network=(value) -> ::String
Parameter
  • value (::String) — Optional. Immutable. For Oracle Database@Google cloud resources. Format: projects/{project}/locations/{location}/odbNetworks/{odbNetwork}
Returns
  • (::String) — Optional. Immutable. For Oracle Database@Google cloud resources. Format: projects/{project}/locations/{location}/odbNetworks/{odbNetwork}

#password_secret_version

def password_secret_version() -> ::String
Returns
  • (::String) — 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.

#password_secret_version=

def password_secret_version=(value) -> ::String
Parameter
  • value (::String) — 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.
Returns
  • (::String) — 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.

#state

def state() -> ::Google::Cloud::OracleDatabase::V1::DatabaseConnection::State
Returns

#update_time

def update_time() -> ::Google::Protobuf::Timestamp
Returns

#username

def username() -> ::String
Returns
  • (::String) — Optional. Immutable. The default database username to use for connections.

#username=

def username=(value) -> ::String
Parameter
  • value (::String) — Optional. Immutable. The default database username to use for connections.
Returns
  • (::String) — Optional. Immutable. The default database username to use for connections.

#wallet_secret_version

def wallet_secret_version() -> ::String
Returns
  • (::String) — 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.

#wallet_secret_version=

def wallet_secret_version=(value) -> ::String
Parameter
  • value (::String) — 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.
Returns
  • (::String) — 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.