Struct google_bigtableadmin2::api::Cluster
source · [−]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 allocated to this cluster. More nodes enable higher throughput and more consistent performance.
state: Option<String>Output only. The current state of the cluster.
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Cluster
impl<'de> Deserialize<'de> for Cluster
sourcefn 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>,
Deserialize this value from the given Serde deserializer. Read more
impl RequestValue for Cluster
impl ResponseResult for Cluster
Auto Trait Implementations
impl RefUnwindSafe for Cluster
impl Send for Cluster
impl Sync for Cluster
impl Unpin for Cluster
impl UnwindSafe for Cluster
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more