Struct google_api_proto::google::cloud::gdchardwaremanagement::v1alpha::Sku
source · pub struct Sku {
pub name: String,
pub display_name: String,
pub create_time: Option<Timestamp>,
pub update_time: Option<Timestamp>,
pub config: Option<SkuConfig>,
pub instances: Vec<SkuInstance>,
pub description: String,
pub revision_id: String,
pub is_active: bool,
pub type: i32,
pub vcpu_count: i32,
}
Expand description
A stock keeping unit (SKU) of GDC hardware.
Fields§
§name: String
Identifier. Name of this SKU.
Format: projects/{project}/locations/{location}/skus/{sku}
display_name: String
Output only. Display name of this SKU.
create_time: Option<Timestamp>
Output only. Time when this SKU was created.
update_time: Option<Timestamp>
Output only. Time when this SKU was last updated.
config: Option<SkuConfig>
Output only. Configuration for this SKU.
instances: Vec<SkuInstance>
Output only. Available instances of this SKU. This field should be used for checking availability of a SKU.
description: String
Output only. Description of this SKU.
revision_id: String
Output only. The SKU revision ID.
A new revision is created whenever config
is updated. The format is an
8-character hexadecimal string.
is_active: bool
Output only. Flag to indicate whether or not this revision is active. Only an active revision can be used in a new Order.
type: i32
Output only. Type of this SKU.
vcpu_count: i32
Output only. The vCPU count associated with this SKU.
Implementations§
Trait Implementations§
source§impl Message for Sku
impl Message for Sku
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.impl StructuralPartialEq for Sku
Auto Trait Implementations§
impl Freeze for Sku
impl RefUnwindSafe for Sku
impl Send for Sku
impl Sync for Sku
impl Unpin for Sku
impl UnwindSafe for Sku
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<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