GetClusterResult class
Result data returned by getCluster.
Constructors
- GetClusterResult({required ClusterConfigResponse clusterConfig, required String defaultStorageType, required EncryptionConfigResponse encryptionConfig, required String location, required String name, required int serveNodes, required String state})
-
Creates a new GetClusterResult.
clusterConfigConfiguration for this cluster.defaultStorageTypeImmutable. The type of storage used by this cluster to serve its parent instance's tables, unless explicitly overridden.encryptionConfigImmutable. The encryption configuration for CMEK-protected clusters.locationImmutable. 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 formprojects/{project}/locations/{zone}.nameThe unique name of the cluster. Values are of the formprojects/{project}/instances/{instance}/clusters/a-z*.serveNodesThe number of nodes in the cluster. If no value is set, Cloud Bigtable automatically allocates nodes based on your data footprint and optimized for 50% storage utilization.stateThe current state of the cluster.const -
GetClusterResult.fromMap(Map<
String, dynamic> map) -
factory
Properties
- clusterConfig → ClusterConfigResponse
-
Configuration for this cluster.
final
- defaultStorageType → String
-
Immutable. The type of storage used by this cluster to serve its parent instance's tables, unless explicitly overridden.
final
- encryptionConfig → EncryptionConfigResponse
-
Immutable. The encryption configuration for CMEK-protected clusters.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- location → String
-
Immutable. 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}.final - name → String
-
The unique name of the cluster. Values are of the form
projects/{project}/instances/{instance}/clusters/a-z*.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- serveNodes → int
-
The number of nodes in the cluster. If no value is set, Cloud Bigtable automatically allocates nodes based on your data footprint and optimized for 50% storage utilization.
final
- state → String
-
The current state of the cluster.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited