#[repr(i32)]pub enum Tier {
Unspecified = 0,
Standard = 1,
Premium = 2,
BasicHdd = 3,
BasicSsd = 4,
HighScaleSsd = 5,
Enterprise = 6,
Zonal = 7,
Regional = 8,
}
Expand description
Available service tiers.
Variants§
Unspecified = 0
Not set.
Standard = 1
STANDARD tier. BASIC_HDD is the preferred term for this tier.
Premium = 2
PREMIUM tier. BASIC_SSD is the preferred term for this tier.
BasicHdd = 3
BASIC instances offer a maximum capacity of 63.9 TB. BASIC_HDD is an alias for STANDARD Tier, offering economical performance backed by HDD.
BasicSsd = 4
BASIC instances offer a maximum capacity of 63.9 TB. BASIC_SSD is an alias for PREMIUM Tier, and offers improved performance backed by SSD.
HighScaleSsd = 5
HIGH_SCALE instances offer expanded capacity and performance scaling capabilities.
Enterprise = 6
ENTERPRISE instances offer the features and availability needed for mission-critical workloads.
Zonal = 7
ZONAL instances offer expanded capacity and performance scaling capabilities.
Regional = 8
REGIONAL instances offer the features and availability needed for mission-critical workloads.
Implementations§
source§impl Tier
impl Tier
sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
source§impl Ord for Tier
impl Ord for Tier
source§impl PartialEq for Tier
impl PartialEq for Tier
source§impl PartialOrd for Tier
impl PartialOrd for Tier
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moresource§impl TryFrom<i32> for Tier
impl TryFrom<i32> for Tier
§type Error = UnknownEnumValue
type Error = UnknownEnumValue
impl Copy for Tier
impl Eq for Tier
impl StructuralPartialEq for Tier
Auto Trait Implementations§
impl Freeze for Tier
impl RefUnwindSafe for Tier
impl Send for Tier
impl Sync for Tier
impl Unpin for Tier
impl UnwindSafe for Tier
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
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request