[][src]Struct gcp_client::google::bigtable::admin::cluster::v1::Cluster

pub struct Cluster {
    pub name: String,
    pub current_operation: Option<Operation>,
    pub display_name: String,
    pub serve_nodes: i32,
    pub default_storage_type: i32,
}

An isolated set of Cloud BigTable resources on which tables can be hosted.

Fields

name: String

A permanent unique identifier for the cluster. For technical reasons, the zone in which the cluster resides is included here. Values are of the form projects//zones//clusters/[a-z][-a-z0-9]*

current_operation: Option<Operation>

The operation currently running on the cluster, if any. This cannot be set directly, only through CreateCluster, UpdateCluster, or UndeleteCluster. Calls to these methods will be rejected if "current_operation" is already set.

display_name: String

The descriptive name for this cluster as it appears in UIs. Must be unique per zone.

serve_nodes: i32

The number of serve nodes allocated to this cluster.

default_storage_type: i32

What storage type to use for tables in this cluster. Only configurable at cluster creation time. If unspecified, STORAGE_SSD will be used.

Implementations

impl Cluster[src]

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, 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>, 

impl<T> WithSubscriber for T[src]