0.14.0 (latest) 0.13.0 0.12.3 0.9.0 0.8.2 0.7.1 0.6.1 0.4.1 0.3.0 0.2.1 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` | Enum of type [State](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.State). |

### setState

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

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [State](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.State). |

| **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` |   |