Reference documentation and code samples for the Cloud SQL Admin V1 API class Google::Cloud::Sql::V1::SqlInstancesDemoteRequest.
Instance demote request.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#body
def body() -> ::Google::Cloud::Sql::V1::InstancesDemoteRequest
Returns
- (::Google::Cloud::Sql::V1::InstancesDemoteRequest) — Required. The request body.
#body=
def body=(value) -> ::Google::Cloud::Sql::V1::InstancesDemoteRequest
Parameter
- value (::Google::Cloud::Sql::V1::InstancesDemoteRequest) — Required. The request body.
Returns
- (::Google::Cloud::Sql::V1::InstancesDemoteRequest) — Required. The request body.
#instance
def instance() -> ::String
Returns
- (::String) — Required. Cloud SQL instance name.
#instance=
def instance=(value) -> ::String
Parameter
- value (::String) — Required. Cloud SQL instance name.
Returns
- (::String) — Required. Cloud SQL instance name.
#project
def project() -> ::String
Returns
- (::String) — Required. ID of the project that contains the instance.
#project=
def project=(value) -> ::String
Parameter
- value (::String) — Required. ID of the project that contains the instance.
Returns
- (::String) — Required. ID of the project that contains the instance.