Cloud SQL Admin V1 API - Class Google::Cloud::Sql::V1::SqlInstancesDemoteMasterRequest (v0.1.0)

Reference documentation and code samples for the Cloud SQL Admin V1 API class Google::Cloud::Sql::V1::SqlInstancesDemoteMasterRequest.

Instance demote master request.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#body

def body() -> ::Google::Cloud::Sql::V1::InstancesDemoteMasterRequest

#body=

def body=(value) -> ::Google::Cloud::Sql::V1::InstancesDemoteMasterRequest

#instance

def instance() -> ::String
Returns
  • (::String) — Cloud SQL instance name.

#instance=

def instance=(value) -> ::String
Parameter
  • value (::String) — Cloud SQL instance name.
Returns
  • (::String) — Cloud SQL instance name.

#project

def project() -> ::String
Returns
  • (::String) — ID of the project that contains the instance.

#project=

def project=(value) -> ::String
Parameter
  • value (::String) — ID of the project that contains the instance.
Returns
  • (::String) — ID of the project that contains the instance.