Cloud Spanner Instance Admin V1 API - Class Google::Cloud::Spanner::Admin::Instance::V1::ReplicaInfo (v0.7.0)

Reference documentation and code samples for the Cloud Spanner Instance Admin V1 API class Google::Cloud::Spanner::Admin::Instance::V1::ReplicaInfo.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#default_leader_location

def default_leader_location() -> ::Boolean
Returns
  • (::Boolean) — If true, this location is designated as the default leader location where leader replicas are placed. See the region types documentation for more details.

#default_leader_location=

def default_leader_location=(value) -> ::Boolean
Parameter
  • value (::Boolean) — If true, this location is designated as the default leader location where leader replicas are placed. See the region types documentation for more details.
Returns
  • (::Boolean) — If true, this location is designated as the default leader location where leader replicas are placed. See the region types documentation for more details.

#location

def location() -> ::String
Returns
  • (::String) — The location of the serving resources, e.g. "us-central1".

#location=

def location=(value) -> ::String
Parameter
  • value (::String) — The location of the serving resources, e.g. "us-central1".
Returns
  • (::String) — The location of the serving resources, e.g. "us-central1".

#type

def type() -> ::Google::Cloud::Spanner::Admin::Instance::V1::ReplicaInfo::ReplicaType

#type=

def type=(value) -> ::Google::Cloud::Spanner::Admin::Instance::V1::ReplicaInfo::ReplicaType