pub struct Cluster {
pub cluster_config: Option<ClusterConfig>,
pub default_storage_type: Option<String>,
pub encryption_config: Option<EncryptionConfig>,
pub location: Option<String>,
pub name: Option<String>,
pub serve_nodes: Option<i32>,
pub state: Option<String>,
}
Expand description
A resizable group of nodes in a particular cloud location, capable of serving all Tables in the parent Instance.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- instances clusters create projects (request)
- instances clusters get projects (response)
- instances clusters partial update cluster projects (request)
- instances clusters update projects (request)
Fields§
§cluster_config: Option<ClusterConfig>
Configuration for this cluster.
default_storage_type: Option<String>
Immutable. The type of storage used by this cluster to serve its parent instance’s tables, unless explicitly overridden.
encryption_config: Option<EncryptionConfig>
Immutable. The encryption configuration for CMEK-protected clusters.
location: Option<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}
.
name: Option<String>
The unique name of the cluster. Values are of the form projects/{project}/instances/{instance}/clusters/a-z*
.
serve_nodes: Option<i32>
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: Option<String>
Output only. The current state of the cluster.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Cluster
impl<'de> Deserialize<'de> for Cluster
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl RequestValue for Cluster
impl ResponseResult for Cluster
Auto Trait Implementations§
impl Freeze for Cluster
impl RefUnwindSafe for Cluster
impl Send for Cluster
impl Sync for Cluster
impl Unpin for Cluster
impl UnwindSafe for Cluster
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more