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

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

Details of the Database resource.

https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/Database/

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

Namespace

Google \ Cloud \ OracleDatabase \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ name
string

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

↳ db_name
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
string

Optional. The DB_UNIQUE_NAME of the Oracle Database being backed up.

↳ admin_password
string

Required. The password for the default ADMIN user.

↳ tde_wallet_password
string

Optional. The TDE wallet password for the database.

↳ character_set
string

Optional. The character set for the database. The default is AL32UTF8.

↳ ncharacter_set
string

Optional. The national character set for the database. The default is AL16UTF16.

↳ oci_url
string

Output only. HTTPS link to OCI resources exposed to Customer via UI Interface.

↳ create_time
Google\Protobuf\Timestamp

Output only. The date and time that the Database was created.

↳ properties
DatabaseProperties

Optional. The properties of the Database.

↳ database_id
string

Optional. The database ID of the Database.

↳ db_home_name
string

Optional. The name of the DbHome resource associated with the Database.

↳ gcp_oracle_zone
string

Output only. The GCP Oracle zone where the Database is created.

↳ ops_insights_status
int

Output only. The Status of Operations Insights for this Database.

getName

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

Returns
Type
Description
string

setName

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

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getDbName

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
Type
Description
string

setDbName

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.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getDbUniqueName

Optional. The DB_UNIQUE_NAME of the Oracle Database being backed up.

Returns
Type
Description
string

setDbUniqueName

Optional. The DB_UNIQUE_NAME of the Oracle Database being backed up.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getAdminPassword

Required. The password for the default ADMIN user.

Returns
Type
Description
string

setAdminPassword

Required. The password for the default ADMIN user.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getTdeWalletPassword

Optional. The TDE wallet password for the database.

Returns
Type
Description
string

setTdeWalletPassword

Optional. The TDE wallet password for the database.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getCharacterSet

Optional. The character set for the database. The default is AL32UTF8.

Returns
Type
Description
string

setCharacterSet

Optional. The character set for the database. The default is AL32UTF8.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getNcharacterSet

Optional. The national character set for the database. The default is AL16UTF16.

Returns
Type
Description
string

setNcharacterSet

Optional. The national character set for the database. The default is AL16UTF16.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getOciUrl

Output only. HTTPS link to OCI resources exposed to Customer via UI Interface.

Returns
Type
Description
string

setOciUrl

Output only. HTTPS link to OCI resources exposed to Customer via UI Interface.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getCreateTime

Output only. The date and time that the Database was created.

Returns
Type
Description

hasCreateTime

clearCreateTime

setCreateTime

Output only. The date and time that the Database was created.

Parameter
Name
Description
Returns
Type
Description
$this

getProperties

Optional. The properties of the Database.

Returns
Type
Description

hasProperties

clearProperties

setProperties

Optional. The properties of the Database.

Parameter
Name
Description
Returns
Type
Description
$this

getDatabaseId

Optional. The database ID of the Database.

Returns
Type
Description
string

setDatabaseId

Optional. The database ID of the Database.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getDbHomeName

Optional. The name of the DbHome resource associated with the Database.

Returns
Type
Description
string

setDbHomeName

Optional. The name of the DbHome resource associated with the Database.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getGcpOracleZone

Output only. The GCP Oracle zone where the Database is created.

Returns
Type
Description
string

setGcpOracleZone

Output only. The GCP Oracle zone where the Database is created.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getOpsInsightsStatus

Output only. The Status of Operations Insights for this Database.

Returns
Type
Description
int

setOpsInsightsStatus

Output only. The Status of Operations Insights for this Database.

Parameter
Name
Description
var
int

Enum of type OperationsInsightsStatus .

Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: