InstanceConfig class
A possible configuration for a Cloud Spanner instance.
Configurations define the geographic placement of nodes and their replication.
Constructors
-
InstanceConfig({String? baseConfig, String? configType, String? displayName, String? etag, String? freeInstanceAvailability, Map<
String, String> ? labels, List<String> ? leaderOptions, String? name, List<ReplicaInfo> ? optionalReplicas, String? quorumType, bool? reconciling, List<ReplicaInfo> ? replicas, String? state, String? storageLimitPerProcessingUnit}) - InstanceConfig.fromJson(Map json_)
Properties
- baseConfig ↔ String?
-
Base configuration name, e.g. projects//instanceConfigs/nam3, based on
which this configuration is created.
getter/setter pair
- configType ↔ String?
-
Whether this instance config is a Google or User Managed Configuration.
getter/setter pair
- displayName ↔ String?
-
The name of this instance configuration as it appears in UIs.
getter/setter pair
- etag ↔ String?
-
etag is used for optimistic concurrency control as a way to help prevent
simultaneous updates of a instance config from overwriting each other.
getter/setter pair
- freeInstanceAvailability ↔ String?
-
Describes whether free instances are available to be created in this
instance config.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
labels
↔ Map<
String, String> ? -
Cloud Labels are a flexible and lightweight mechanism for organizing cloud
resources into groups that reflect a customer's organizational needs and
deployment strategies.
getter/setter pair
-
leaderOptions
↔ List<
String> ? -
Allowed values of the "default_leader" schema option for databases in
instances that use this instance configuration.
getter/setter pair
- name ↔ String?
-
A unique identifier for the instance configuration.
getter/setter pair
-
optionalReplicas
↔ List<
ReplicaInfo> ? -
The available optional replicas to choose from for user managed
configurations.
getter/setter pair
- quorumType ↔ String?
-
The
QuorumType
of the instance configuration.getter/setter pair - reconciling ↔ bool?
-
If true, the instance config is being created or updated.
getter/setter pair
-
replicas
↔ List<
ReplicaInfo> ? -
The geographic placement of nodes in this instance configuration and their
replication properties.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state ↔ String?
-
The current instance config state.
getter/setter pair
- storageLimitPerProcessingUnit ↔ String?
-
The storage limit in bytes per processing unit.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited