# Oracle Database@Google Cloud V1 API - Class Google::Cloud::OracleDatabase::V1::PluggableDatabaseProperties (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::PluggableDatabaseProperties.

The properties of a PluggableDatabase.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #compartment_id

    def compartment_id() -> ::String

**Returns**

- (::String) --- Required. The OCID of the compartment.

### #compartment_id=

    def compartment_id=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The OCID of the compartment.
**Returns**

- (::String) --- Required. The OCID of the compartment.

### #connection_strings

    def connection_strings() -> ::Google::Cloud::OracleDatabase::V1::PluggableDatabaseConnectionStrings

**Returns**

- ([::Google::Cloud::OracleDatabase::V1::PluggableDatabaseConnectionStrings](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-oracle_database-v1/latest/Google-Cloud-OracleDatabase-V1-PluggableDatabaseConnectionStrings)) --- Optional. The Connection strings used to connect to the Oracle Database.

### #connection_strings=

    def connection_strings=(value) -> ::Google::Cloud::OracleDatabase::V1::PluggableDatabaseConnectionStrings

**Parameter**

- **value** ([::Google::Cloud::OracleDatabase::V1::PluggableDatabaseConnectionStrings](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-oracle_database-v1/latest/Google-Cloud-OracleDatabase-V1-PluggableDatabaseConnectionStrings)) --- Optional. The Connection strings used to connect to the Oracle Database.
**Returns**

- ([::Google::Cloud::OracleDatabase::V1::PluggableDatabaseConnectionStrings](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-oracle_database-v1/latest/Google-Cloud-OracleDatabase-V1-PluggableDatabaseConnectionStrings)) --- Optional. The Connection strings used to connect to the Oracle Database.

### #container_database_ocid

    def container_database_ocid() -> ::String

**Returns**

- (::String) --- Required. The OCID of the CDB.

### #container_database_ocid=

    def container_database_ocid=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The OCID of the CDB.
**Returns**

- (::String) --- Required. The OCID of the CDB.

### #database_management_config

    def database_management_config() -> ::Google::Cloud::OracleDatabase::V1::DatabaseManagementConfig

**Returns**

- ([::Google::Cloud::OracleDatabase::V1::DatabaseManagementConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-oracle_database-v1/latest/Google-Cloud-OracleDatabase-V1-DatabaseManagementConfig)) --- Output only. The configuration of the Database Management service.

### #defined_tags

    def defined_tags() -> ::Google::Protobuf::Map{::String => ::Google::Cloud::OracleDatabase::V1::PluggableDatabaseProperties::DefinedTagValue}

**Returns**

- (::Google::Protobuf::Map{::String =\> ::Google::Cloud::OracleDatabase::V1::PluggableDatabaseProperties::DefinedTagValue}) --- Optional. Defined tags for this resource. Each key is predefined and scoped to a namespace.

### #defined_tags=

    def defined_tags=(value) -> ::Google::Protobuf::Map{::String => ::Google::Cloud::OracleDatabase::V1::PluggableDatabaseProperties::DefinedTagValue}

**Parameter**

- **value** (::Google::Protobuf::Map{::String =\> ::Google::Cloud::OracleDatabase::V1::PluggableDatabaseProperties::DefinedTagValue}) --- Optional. Defined tags for this resource. Each key is predefined and scoped to a namespace.
**Returns**

- (::Google::Protobuf::Map{::String =\> ::Google::Cloud::OracleDatabase::V1::PluggableDatabaseProperties::DefinedTagValue}) --- Optional. Defined tags for this resource. Each key is predefined and scoped to a namespace.

### #freeform_tags

    def freeform_tags() -> ::Google::Protobuf::Map{::String => ::String}

**Returns**

- (::Google::Protobuf::Map{::String =\> ::String}) --- Optional. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.

### #freeform_tags=

    def freeform_tags=(value) -> ::Google::Protobuf::Map{::String => ::String}

**Parameter**

- **value** (::Google::Protobuf::Map{::String =\> ::String}) --- Optional. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
**Returns**

- (::Google::Protobuf::Map{::String =\> ::String}) --- Optional. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.

### #is_restricted

    def is_restricted() -> ::Boolean

**Returns**

- (::Boolean) --- Optional. The restricted mode of the pluggable database. If a pluggable database is opened in restricted mode, the user needs both create a session and have restricted session privileges to connect to it.

### #is_restricted=

    def is_restricted=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Optional. The restricted mode of the pluggable database. If a pluggable database is opened in restricted mode, the user needs both create a session and have restricted session privileges to connect to it.
**Returns**

- (::Boolean) --- Optional. The restricted mode of the pluggable database. If a pluggable database is opened in restricted mode, the user needs both create a session and have restricted session privileges to connect to it.

### #lifecycle_details

    def lifecycle_details() -> ::String

**Returns**

- (::String) --- Output only. Additional information about the current lifecycle state.

### #lifecycle_state

    def lifecycle_state() -> ::Google::Cloud::OracleDatabase::V1::PluggableDatabaseProperties::PluggableDatabaseLifecycleState

**Returns**

- ([::Google::Cloud::OracleDatabase::V1::PluggableDatabaseProperties::PluggableDatabaseLifecycleState](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-oracle_database-v1/latest/Google-Cloud-OracleDatabase-V1-PluggableDatabaseProperties-PluggableDatabaseLifecycleState)) --- Output only. The current state of the pluggable database.

### #ocid

    def ocid() -> ::String

**Returns**

- (::String) --- Output only. The OCID of the pluggable database.

### #operations_insights_state

    def operations_insights_state() -> ::Google::Cloud::OracleDatabase::V1::PluggableDatabaseProperties::OperationsInsightsState

**Returns**

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

### #pdb_name

    def pdb_name() -> ::String

**Returns**

- (::String) --- Required. The database name.

### #pdb_name=

    def pdb_name=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The database name.
**Returns**

- (::String) --- Required. The database name.

### #pdb_node_level_details

    def pdb_node_level_details() -> ::Array<::Google::Cloud::OracleDatabase::V1::PluggableDatabaseNodeLevelDetails>

**Returns**

- (::Array\<[::Google::Cloud::OracleDatabase::V1::PluggableDatabaseNodeLevelDetails](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-oracle_database-v1/latest/Google-Cloud-OracleDatabase-V1-PluggableDatabaseNodeLevelDetails)\>) --- Optional. Pluggable Database Node Level Details

### #pdb_node_level_details=

    def pdb_node_level_details=(value) -> ::Array<::Google::Cloud::OracleDatabase::V1::PluggableDatabaseNodeLevelDetails>

**Parameter**

- **value** (::Array\<[::Google::Cloud::OracleDatabase::V1::PluggableDatabaseNodeLevelDetails](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-oracle_database-v1/latest/Google-Cloud-OracleDatabase-V1-PluggableDatabaseNodeLevelDetails)\>) --- Optional. Pluggable Database Node Level Details
**Returns**

- (::Array\<[::Google::Cloud::OracleDatabase::V1::PluggableDatabaseNodeLevelDetails](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-oracle_database-v1/latest/Google-Cloud-OracleDatabase-V1-PluggableDatabaseNodeLevelDetails)\>) --- Optional. Pluggable Database Node Level Details