Struct gapi_grpc::google::bigtable::admin::v2::Cluster[][src]

pub struct Cluster {
    pub name: String,
    pub location: String,
    pub state: i32,
    pub serve_nodes: i32,
    pub default_storage_type: i32,
    pub encryption_config: Option<EncryptionConfig>,
}

A resizable group of nodes in a particular cloud location, capable of serving all [Tables][google.bigtable.admin.v2.Table] in the parent [Instance][google.bigtable.admin.v2.Instance].

Fields

name: String

The unique name of the cluster. Values are of the form projects/{project}/instances/{instance}/clusters/[a-z][-a-z0-9]*.

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}.

state: i32

The current state of the cluster.

serve_nodes: i32

Required. The number of nodes allocated to this cluster. More nodes enable higher throughput and more consistent performance.

default_storage_type: i32

(CreationOnly) 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.

Implementations

impl Cluster[src]

pub fn state(&self) -> State[src]

Returns the enum value of state, or the default if the field is set to an invalid enum value.

pub fn set_state(&mut self, value: State)[src]

Sets state to the provided enum value.

pub fn default_storage_type(&self) -> StorageType[src]

Returns the enum value of default_storage_type, or the default if the field is set to an invalid enum value.

pub fn set_default_storage_type(&mut self, value: StorageType)[src]

Sets default_storage_type to the provided enum value.

Trait Implementations

impl Clone for Cluster[src]

impl Debug for Cluster[src]

impl Default for Cluster[src]

impl Message for Cluster[src]

impl PartialEq<Cluster> for Cluster[src]

impl StructuralPartialEq for Cluster[src]

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]