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

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

This context 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

#kind

def kind() -> ::String
Returns
  • (::String) — This is always sql#demoteContext.

#kind=

def kind=(value) -> ::String
Parameter
  • value (::String) — This is always sql#demoteContext.
Returns
  • (::String) — This is always sql#demoteContext.

#source_representative_instance_name

def source_representative_instance_name() -> ::String
Returns
  • (::String) — Required. The name of the instance which acts as the on-premises primary instance in the replication setup.

#source_representative_instance_name=

def source_representative_instance_name=(value) -> ::String
Parameter
  • value (::String) — Required. The name of the instance which acts as the on-premises primary instance in the replication setup.
Returns
  • (::String) — Required. The name of the instance which acts as the on-premises primary instance in the replication setup.