A possible configuration for a Cloud Spanner instance. Configurations define the geographic placement of nodes and their replication.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#display_name
def display_name() -> ::String
Returns
- (::String) — The name of this instance configuration as it appears in UIs.
#display_name=
def display_name=(value) -> ::String
Parameter
- value (::String) — The name of this instance configuration as it appears in UIs.
Returns
- (::String) — The name of this instance configuration as it appears in UIs.
#leader_options
def leader_options() -> ::Array<::String>
Returns
- (::Array<::String>) — Allowed values of the “default_leader” schema option for databases in instances that use this instance configuration.
#leader_options=
def leader_options=(value) -> ::Array<::String>
Parameter
- value (::Array<::String>) — Allowed values of the “default_leader” schema option for databases in instances that use this instance configuration.
Returns
- (::Array<::String>) — Allowed values of the “default_leader” schema option for databases in instances that use this instance configuration.
#name
def name() -> ::String
Returns
-
(::String) — A unique identifier for the instance configuration. Values
are of the form
projects/<project>/instanceConfigs/[a-z][-a-z0-9]*
#name=
def name=(value) -> ::String
Parameter
-
value (::String) — A unique identifier for the instance configuration. Values
are of the form
projects/<project>/instanceConfigs/[a-z][-a-z0-9]*
Returns
-
(::String) — A unique identifier for the instance configuration. Values
are of the form
projects/<project>/instanceConfigs/[a-z][-a-z0-9]*
#replicas
def replicas() -> ::Array<::Google::Cloud::Spanner::Admin::Instance::V1::ReplicaInfo>
Returns
- (::Array<::Google::Cloud::Spanner::Admin::Instance::V1::ReplicaInfo>) — The geographic placement of nodes in this instance configuration and their replication properties.
#replicas=
def replicas=(value) -> ::Array<::Google::Cloud::Spanner::Admin::Instance::V1::ReplicaInfo>
Parameter
- value (::Array<::Google::Cloud::Spanner::Admin::Instance::V1::ReplicaInfo>) — The geographic placement of nodes in this instance configuration and their replication properties.
Returns
- (::Array<::Google::Cloud::Spanner::Admin::Instance::V1::ReplicaInfo>) — The geographic placement of nodes in this instance configuration and their replication properties.