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
Returns
- (::Google::Cloud::Spanner::Admin::Instance::V1::ReplicaInfo::ReplicaType) — The type of replica.
#type=
def type=(value) -> ::Google::Cloud::Spanner::Admin::Instance::V1::ReplicaInfo::ReplicaType
Parameter
- value (::Google::Cloud::Spanner::Admin::Instance::V1::ReplicaInfo::ReplicaType) — The type of replica.
Returns
- (::Google::Cloud::Spanner::Admin::Instance::V1::ReplicaInfo::ReplicaType) — The type of replica.