Google Cloud Sql Admin V1 Client - Class InstancesFailoverRequest (0.18.0)

Reference documentation and code samples for the Google Cloud Sql Admin V1 Client class InstancesFailoverRequest.

Instance failover request.

Generated from protobuf message google.cloud.sql.v1.InstancesFailoverRequest

Namespace

Google \ Cloud \ Sql \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ failover_context Google\Cloud\Sql\V1\FailoverContext

Failover Context.

getFailoverContext

Failover Context.

Returns
Type Description
Google\Cloud\Sql\V1\FailoverContext|null

hasFailoverContext

clearFailoverContext

setFailoverContext

Failover Context.

Parameter
Name Description
var Google\Cloud\Sql\V1\FailoverContext
Returns
Type Description
$this