Reference documentation and code samples for the Cloud Spanner API class Google::Cloud::Spanner::Instance::Config.
Instance Config
Represents a Cloud Spanner instance configuration. Instance configurations define the geographic placement of nodes and their replication.
See Project#instance_configs and Project#instance_config.
Admin::Instance::V1::InstanceConfig instead.
Inherits
- Object
Example
require "google/cloud/spanner" spanner = Google::Cloud::Spanner.new instance_configs = spanner.instance_configs instance_configs.each do |config| puts config.instance_config_id end
Methods
#display_name
def display_name() -> String
The name of this instance configuration as it appears in UIs.
- (String)
#instance_config_id
def instance_config_id() -> String
A unique identifier for the instance configuration.
- (String)
#name
def name() -> String
The name of this instance configuration as it appears in UIs.
- (String)
#path
def path() -> String
The full path for the instance config resource. Values are of the
form projects/<project_id>/instanceConfigs/<instance_config_id>
.
- (String)
#project_id
def project_id() -> String
The unique identifier for the project.
- (String)