Google Cloud Oracle Database V1 Client - Class AutonomousDatabaseStandbySummary (0.1.2)

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

Autonomous Data Guard standby database details.

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

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

Namespace

Google \ Cloud \ OracleDatabase \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ lag_time_duration Google\Protobuf\Duration

Output only. The amount of time, in seconds, that the data of the standby database lags in comparison to the data of the primary database.

↳ lifecycle_details string

Output only. The additional details about the current lifecycle state of the Autonomous Database.

↳ state int

Output only. The current lifecycle state of the Autonomous Database.

↳ data_guard_role_changed_time Google\Protobuf\Timestamp

Output only. The date and time the Autonomous Data Guard role was switched for the standby Autonomous Database.

↳ disaster_recovery_role_changed_time Google\Protobuf\Timestamp

Output only. The date and time the Disaster Recovery role was switched for the standby Autonomous Database.

getLagTimeDuration

Output only. The amount of time, in seconds, that the data of the standby database lags in comparison to the data of the primary database.

Returns
Type Description
Google\Protobuf\Duration|null

hasLagTimeDuration

clearLagTimeDuration

setLagTimeDuration

Output only. The amount of time, in seconds, that the data of the standby database lags in comparison to the data of the primary database.

Parameter
Name Description
var Google\Protobuf\Duration
Returns
Type Description
$this

getLifecycleDetails

Output only. The additional details about the current lifecycle state of the Autonomous Database.

Returns
Type Description
string

setLifecycleDetails

Output only. The additional details about the current lifecycle state of the Autonomous Database.

Parameter
Name Description
var string
Returns
Type Description
$this

getState

Output only. The current lifecycle state of the Autonomous Database.

Returns
Type Description
int

setState

Output only. The current lifecycle state of the Autonomous Database.

Parameter
Name Description
var int
Returns
Type Description
$this

getDataGuardRoleChangedTime

Output only. The date and time the Autonomous Data Guard role was switched for the standby Autonomous Database.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasDataGuardRoleChangedTime

clearDataGuardRoleChangedTime

setDataGuardRoleChangedTime

Output only. The date and time the Autonomous Data Guard role was switched for the standby Autonomous Database.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getDisasterRecoveryRoleChangedTime

Output only. The date and time the Disaster Recovery role was switched for the standby Autonomous Database.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasDisasterRecoveryRoleChangedTime

clearDisasterRecoveryRoleChangedTime

setDisasterRecoveryRoleChangedTime

Output only. The date and time the Disaster Recovery role was switched for the standby Autonomous Database.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this