Google Cloud Oracle Database V1 Client - Class DatabaseProperties (0.8.0)

Reference documentation and code samples for the Google Cloud Oracle Database V1 Client class DatabaseProperties.

The properties of a Database.

Generated from protobuf message google.cloud.oracledatabase.v1.DatabaseProperties

Namespace

Google \ Cloud \ OracleDatabase \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ state int

Output only. State of the Database.

↳ db_version string

Required. The Oracle Database version.

↳ db_backup_config DbBackupConfig

Optional. Backup options for the Database.

↳ database_management_config DatabaseManagementConfig

Output only. The Database Management config.

getState

Output only. State of the Database.

Returns
Type Description
int Enum of type DatabaseLifecycleState.

setState

Output only. State of the Database.

Parameter
Name Description
var int

Enum of type DatabaseLifecycleState.

Returns
Type Description
$this

getDbVersion

Required. The Oracle Database version.

Returns
Type Description
string

setDbVersion

Required. The Oracle Database version.

Parameter
Name Description
var string
Returns
Type Description
$this

getDbBackupConfig

Optional. Backup options for the Database.

Returns
Type Description
DbBackupConfig|null

hasDbBackupConfig

clearDbBackupConfig

setDbBackupConfig

Optional. Backup options for the Database.

Parameter
Name Description
var DbBackupConfig
Returns
Type Description
$this

getDatabaseManagementConfig

Output only. The Database Management config.

Returns
Type Description
DatabaseManagementConfig|null

hasDatabaseManagementConfig

clearDatabaseManagementConfig

setDatabaseManagementConfig

Output only. The Database Management config.

Parameter
Name Description
var DatabaseManagementConfig
Returns
Type Description
$this