Google Cloud Sql Admin V1beta4 Client - Class InstancesDemoteMasterRequest (0.7.0)

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

Database demote primary instance request.

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

Namespace

Google \ Cloud \ Sql \ V1beta4

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ demote_master_context Google\Cloud\Sql\V1beta4\DemoteMasterContext

Contains details about the demoteMaster operation.

getDemoteMasterContext

Contains details about the demoteMaster operation.

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

hasDemoteMasterContext

clearDemoteMasterContext

setDemoteMasterContext

Contains details about the demoteMaster operation.

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