Cluster class

A resizable group of nodes in a particular cloud location, capable of serving all Tables in the parent Instance.


Cluster.fromJson(Map _json)


defaultStorageType String
(CreationOnly) The type of storage used by this cluster to serve its parent instance's tables, unless explicitly overridden. Possible string values are: [...]
read / write
location String
(CreationOnly) The location where this cluster's nodes and storage reside. For best performance, clients should be located as close as possible to this cluster. Currently only zones are supported, so values should be of the form projects/{project}/locations/{zone}.
read / write
name String
Required. (OutputOnly) The unique name of the cluster. Values are of the form projects/{project}/instances/{instance}/clusters/a-z*.
read / write
serveNodes int
Required. The number of nodes allocated to this cluster. More nodes enable higher throughput and more consistent performance.
read / write
state String
(OutputOnly) The current state of the cluster. Possible string values are: [...]
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited


toJson() Map<String, Object>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
toString() String
Returns a string representation of this object.


operator ==(dynamic other) bool
The equality operator. [...]