Reference documentation and code samples for the Cloud SQL Admin V1BETA4 API class Google::Cloud::Sql::V1beta4::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::V1beta4::DemoteContext
Returns
- (::Google::Cloud::Sql::V1beta4::DemoteContext) — Required. This context is used to demote an existing standalone instance to be a Cloud SQL read replica for an external database server.
#demote_context=
def demote_context=(value) -> ::Google::Cloud::Sql::V1beta4::DemoteContext
Parameter
- value (::Google::Cloud::Sql::V1beta4::DemoteContext) — Required. This context is used to demote an existing standalone instance to be a Cloud SQL read replica for an external database server.
Returns
- (::Google::Cloud::Sql::V1beta4::DemoteContext) — Required. This context is used to demote an existing standalone instance to be a Cloud SQL read replica for an external database server.