Reference documentation and code samples for the Cloud SQL Admin V1 API class Google::Cloud::Sql::V1::InstancesDemoteRequest.
This request is used to demote an existing standalone instance to be a Cloud SQL read replica for an external database server.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#demote_context
def demote_context() -> ::Google::Cloud::Sql::V1::DemoteContext
Returns
- (::Google::Cloud::Sql::V1::DemoteContext) — Required. Contains details about the demote operation.
#demote_context=
def demote_context=(value) -> ::Google::Cloud::Sql::V1::DemoteContext
Parameter
- value (::Google::Cloud::Sql::V1::DemoteContext) — Required. Contains details about the demote operation.
Returns
- (::Google::Cloud::Sql::V1::DemoteContext) — Required. Contains details about the demote operation.