class Google::Apis::SpannerV1::ReplicaInfo
Attributes
If true, this location is designated as the default leader location where leader replicas are placed. See the [region types documentation](cloud. google.com/spanner/docs/instances#region_types) for more details. Corresponds to the JSON property `defaultLeaderLocation` @return [Boolean]
If true, this location is designated as the default leader location where leader replicas are placed. See the [region types documentation](cloud. google.com/spanner/docs/instances#region_types) for more details. Corresponds to the JSON property `defaultLeaderLocation` @return [Boolean]
The location of the serving resources, e.g. “us-central1”. Corresponds to the JSON property `location` @return [String]
The type of replica. Corresponds to the JSON property `type` @return [String]
Public Class Methods
# File lib/google/apis/spanner_v1/classes.rb, line 3314 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/spanner_v1/classes.rb, line 3319 def update!(**args) @default_leader_location = args[:default_leader_location] if args.key?(:default_leader_location) @location = args[:location] if args.key?(:location) @type = args[:type] if args.key?(:type) end