Google Cloud Sql Admin V1beta4 Client - Class InstancesFailoverRequest (0.9.0)

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

Instance failover request.

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

Namespace

Google \ Cloud \ Sql \ V1beta4

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ failover_context Google\Cloud\Sql\V1beta4\FailoverContext

Failover Context.

getFailoverContext

Failover Context.

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

hasFailoverContext

clearFailoverContext

setFailoverContext

Failover Context.

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