Reference documentation and code samples for the Cloud SQL Admin V1 API class Google::Cloud::Sql::V1::InstancesDemoteMasterRequest.
Database demote primary instance request.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#demote_master_context
def demote_master_context() -> ::Google::Cloud::Sql::V1::DemoteMasterContext
Returns
- (::Google::Cloud::Sql::V1::DemoteMasterContext) — Contains details about the demoteMaster operation.
#demote_master_context=
def demote_master_context=(value) -> ::Google::Cloud::Sql::V1::DemoteMasterContext
Parameter
- value (::Google::Cloud::Sql::V1::DemoteMasterContext) — Contains details about the demoteMaster operation.
Returns
- (::Google::Cloud::Sql::V1::DemoteMasterContext) — Contains details about the demoteMaster operation.