GetClusterResult constructor
- 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.
clusterConfig Configuration for this cluster.
defaultStorageType Immutable. The type of storage used by this cluster to serve its parent instance's tables, unless explicitly overridden.
encryptionConfig Immutable. The encryption configuration for CMEK-protected clusters.
location 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}.
name The unique name of the cluster. Values are of the form projects/{project}/instances/{instance}/clusters/a-z*.
serveNodes 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.
state The current state of the cluster.
Implementation
const GetClusterResult({
required this.clusterConfig,
required this.defaultStorageType,
required this.encryptionConfig,
required this.location,
required this.name,
required this.serveNodes,
required this.state,
});