Google BigQuery Reservation V1 Client - Class ReplicationStatus (2.2.0)

Reference documentation and code samples for the Google BigQuery Reservation V1 Client class ReplicationStatus.

Disaster Recovery(DR) replication status of the reservation.

Generated from protobuf message google.cloud.bigquery.reservation.v1.Reservation.ReplicationStatus

Namespace

Google \ Cloud \ BigQuery \ Reservation \ V1 \ Reservation

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ error Google\Rpc\Status

Output only. The last error encountered while trying to replicate changes from the primary to the secondary. This field is only available if the replication has not succeeded since.

↳ last_error_time Google\Protobuf\Timestamp

Output only. The time at which the last error was encountered while trying to replicate changes from the primary to the secondary. This field is only available if the replication has not succeeded since.

↳ last_replication_time Google\Protobuf\Timestamp

Output only. A timestamp corresponding to the last change on the primary that was successfully replicated to the secondary.

getError

Output only. The last error encountered while trying to replicate changes from the primary to the secondary. This field is only available if the replication has not succeeded since.

Returns
Type Description
Google\Rpc\Status|null

hasError

clearError

setError

Output only. The last error encountered while trying to replicate changes from the primary to the secondary. This field is only available if the replication has not succeeded since.

Parameter
Name Description
var Google\Rpc\Status
Returns
Type Description
$this

getLastErrorTime

Output only. The time at which the last error was encountered while trying to replicate changes from the primary to the secondary. This field is only available if the replication has not succeeded since.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasLastErrorTime

clearLastErrorTime

setLastErrorTime

Output only. The time at which the last error was encountered while trying to replicate changes from the primary to the secondary. This field is only available if the replication has not succeeded since.

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

getLastReplicationTime

Output only. A timestamp corresponding to the last change on the primary that was successfully replicated to the secondary.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasLastReplicationTime

clearLastReplicationTime

setLastReplicationTime

Output only. A timestamp corresponding to the last change on the primary that was successfully replicated to the secondary.

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