Google Cloud Sql Admin V1 Client - Class InstancesFailoverRequest (0.10.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
NameDescription
data array

Optional. Data for populating the Message object.

↳ failover_context Google\Cloud\Sql\V1\FailoverContext

Failover Context.

getFailoverContext

Failover Context.

Returns
TypeDescription
Google\Cloud\Sql\V1\FailoverContext|null

hasFailoverContext

clearFailoverContext

setFailoverContext

Failover Context.

Parameter
NameDescription
var Google\Cloud\Sql\V1\FailoverContext
Returns
TypeDescription
$this