# Oracle Database@Google Cloud V1 API - Class Google::Cloud::OracleDatabase::V1::Database (v0.15.0)

0.15.0 (latest) 0.14.0 0.13.0 0.12.0 0.11.1 0.10.0 0.9.0 0.8.0 0.7.0 0.6.0 0.5.1 0.4.0 0.3.0 0.2.1 0.1.0 Reference documentation and code samples for the Oracle Database@Google Cloud V1 API class Google::Cloud::OracleDatabase::V1::Database.

Details of the Database resource.
<https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/Database/>

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #admin_password

    def admin_password() -> ::String

**Returns**

- (::String) --- Optional. The password for the default ADMIN user. Note: Only one of `admin_password_secret_version` or `admin_password` can be populated.

### #admin_password=

    def admin_password=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. The password for the default ADMIN user. Note: Only one of `admin_password_secret_version` or `admin_password` can be populated.
**Returns**

- (::String) --- Optional. The password for the default ADMIN user. Note: Only one of `admin_password_secret_version` or `admin_password` can be populated.

### #admin_password_secret_version

    def admin_password_secret_version() -> ::String

**Returns**

- (::String) --- Optional. The resource name of a secret version in Secret Manager which contains the database admin user's password. Format: projects/{project}/secrets/{secret}/versions/{version}. Note: Only one of `admin_password_secret_version` or `admin_password` can be populated.

### #admin_password_secret_version=

    def admin_password_secret_version=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. The resource name of a secret version in Secret Manager which contains the database admin user's password. Format: projects/{project}/secrets/{secret}/versions/{version}. Note: Only one of `admin_password_secret_version` or `admin_password` can be populated.
**Returns**

- (::String) --- Optional. The resource name of a secret version in Secret Manager which contains the database admin user's password. Format: projects/{project}/secrets/{secret}/versions/{version}. Note: Only one of `admin_password_secret_version` or `admin_password` can be populated.

### #character_set

    def character_set() -> ::String

**Returns**

- (::String) --- Optional. The character set for the database. The default is AL32UTF8.

### #character_set=

    def character_set=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. The character set for the database. The default is AL32UTF8.
**Returns**

- (::String) --- Optional. The character set for the database. The default is AL32UTF8.

### #create_time

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

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-oracle_database-v1/latest/Google-Protobuf-Timestamp)) --- Output only. The date and time that the Database was created.

### #database_id

    def database_id() -> ::String

**Returns**

- (::String) --- Optional. The database ID of the Database.

### #database_id=

    def database_id=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. The database ID of the Database.
**Returns**

- (::String) --- Optional. The database ID of the Database.

### #db_home_name

    def db_home_name() -> ::String

**Returns**

- (::String) --- Optional. The name of the DbHome resource associated with the Database.

### #db_home_name=

    def db_home_name=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. The name of the DbHome resource associated with the Database.
**Returns**

- (::String) --- Optional. The name of the DbHome resource associated with the Database.

### #db_name

    def db_name() -> ::String

**Returns**

- (::String) --- Optional. The database name. The name must begin with an alphabetic character and can contain a maximum of eight alphanumeric characters. Special characters are not permitted.

### #db_name=

    def db_name=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. The database name. The name must begin with an alphabetic character and can contain a maximum of eight alphanumeric characters. Special characters are not permitted.
**Returns**

- (::String) --- Optional. The database name. The name must begin with an alphabetic character and can contain a maximum of eight alphanumeric characters. Special characters are not permitted.

### #db_unique_name

    def db_unique_name() -> ::String

**Returns**

- (::String) --- Optional. The DB_UNIQUE_NAME of the Oracle Database being backed up.

### #db_unique_name=

    def db_unique_name=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. The DB_UNIQUE_NAME of the Oracle Database being backed up.
**Returns**

- (::String) --- Optional. The DB_UNIQUE_NAME of the Oracle Database being backed up.

### #gcp_oracle_zone

    def gcp_oracle_zone() -> ::String

**Returns**

- (::String) --- Output only. The GCP Oracle zone where the Database is created.

### #name

    def name() -> ::String

**Returns**

- (::String) --- Identifier. The name of the Database resource in the following format: projects/{project}/locations/{region}/databases/{database}

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- Identifier. The name of the Database resource in the following format: projects/{project}/locations/{region}/databases/{database}
**Returns**

- (::String) --- Identifier. The name of the Database resource in the following format: projects/{project}/locations/{region}/databases/{database}

### #ncharacter_set

    def ncharacter_set() -> ::String

**Returns**

- (::String) --- Optional. The national character set for the database. The default is AL16UTF16.

### #ncharacter_set=

    def ncharacter_set=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. The national character set for the database. The default is AL16UTF16.
**Returns**

- (::String) --- Optional. The national character set for the database. The default is AL16UTF16.

### #oci_url

    def oci_url() -> ::String

**Returns**

- (::String) --- Output only. HTTPS link to OCI resources exposed to Customer via UI Interface.

### #ops_insights_status

    def ops_insights_status() -> ::Google::Cloud::OracleDatabase::V1::Database::OperationsInsightsStatus

**Returns**

- ([::Google::Cloud::OracleDatabase::V1::Database::OperationsInsightsStatus](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-oracle_database-v1/latest/Google-Cloud-OracleDatabase-V1-Database-OperationsInsightsStatus)) --- Output only. The Status of Operations Insights for this Database.

### #pluggable_database_id

    def pluggable_database_id() -> ::String

**Returns**

- (::String) --- Optional. The ID of the pluggable database associated with the Database. The ID must be unique within the project and location.

### #pluggable_database_id=

    def pluggable_database_id=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. The ID of the pluggable database associated with the Database. The ID must be unique within the project and location.
**Returns**

- (::String) --- Optional. The ID of the pluggable database associated with the Database. The ID must be unique within the project and location.

### #pluggable_database_name

    def pluggable_database_name() -> ::String

**Returns**

- (::String) --- Optional. The pluggable database associated with the Database. The name must begin with an alphabetic character and can contain a maximum of thirty alphanumeric characters.

### #pluggable_database_name=

    def pluggable_database_name=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. The pluggable database associated with the Database. The name must begin with an alphabetic character and can contain a maximum of thirty alphanumeric characters.
**Returns**

- (::String) --- Optional. The pluggable database associated with the Database. The name must begin with an alphabetic character and can contain a maximum of thirty alphanumeric characters.

### #properties

    def properties() -> ::Google::Cloud::OracleDatabase::V1::DatabaseProperties

**Returns**

- ([::Google::Cloud::OracleDatabase::V1::DatabaseProperties](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-oracle_database-v1/latest/Google-Cloud-OracleDatabase-V1-DatabaseProperties)) --- Optional. The properties of the Database.

### #properties=

    def properties=(value) -> ::Google::Cloud::OracleDatabase::V1::DatabaseProperties

**Parameter**

- **value** ([::Google::Cloud::OracleDatabase::V1::DatabaseProperties](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-oracle_database-v1/latest/Google-Cloud-OracleDatabase-V1-DatabaseProperties)) --- Optional. The properties of the Database.
**Returns**

- ([::Google::Cloud::OracleDatabase::V1::DatabaseProperties](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-oracle_database-v1/latest/Google-Cloud-OracleDatabase-V1-DatabaseProperties)) --- Optional. The properties of the Database.

### #tde_wallet_password

    def tde_wallet_password() -> ::String

**Returns**

- (::String) --- Optional. The TDE wallet password for the database. Note: Only one of `tde_wallet_password_secret_version` or `tde_wallet_password` can be populated.

### #tde_wallet_password=

    def tde_wallet_password=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. The TDE wallet password for the database. Note: Only one of `tde_wallet_password_secret_version` or `tde_wallet_password` can be populated.
**Returns**

- (::String) --- Optional. The TDE wallet password for the database. Note: Only one of `tde_wallet_password_secret_version` or `tde_wallet_password` can be populated.

### #tde_wallet_password_secret_version

    def tde_wallet_password_secret_version() -> ::String

**Returns**

- (::String) --- Optional. The resource name of a secret version in Secret Manager which contains the TDE wallet password for the database. Format: projects/{project}/secrets/{secret}/versions/{version}. Note: Only one of `tde_wallet_password_secret_version` or `tde_wallet_password` can be populated.

### #tde_wallet_password_secret_version=

    def tde_wallet_password_secret_version=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. The resource name of a secret version in Secret Manager which contains the TDE wallet password for the database. Format: projects/{project}/secrets/{secret}/versions/{version}. Note: Only one of `tde_wallet_password_secret_version` or `tde_wallet_password` can be populated.
**Returns**

- (::String) --- Optional. The resource name of a secret version in Secret Manager which contains the TDE wallet password for the database. Format: projects/{project}/secrets/{secret}/versions/{version}. Note: Only one of `tde_wallet_password_secret_version` or `tde_wallet_password` can be populated.