Struct google_api_proto::google::cloud::gdchardwaremanagement::v1alpha::HardwareGroup
source · pub struct HardwareGroup {
pub name: String,
pub create_time: Option<Timestamp>,
pub update_time: Option<Timestamp>,
pub labels: BTreeMap<String, String>,
pub hardware_count: i32,
pub config: Option<HardwareConfig>,
pub site: String,
pub state: i32,
pub zone: String,
pub requested_installation_date: Option<Date>,
}
Expand description
A group of hardware that is part of the same order, has the same SKU, and is delivered to the same site.
Fields§
§name: String
Identifier. Name of this hardware group.
Format:
projects/{project}/locations/{location}/orders/{order}/hardwareGroups/{hardware_group}
create_time: Option<Timestamp>
Output only. Time when this hardware group was created.
update_time: Option<Timestamp>
Output only. Time when this hardware group was last updated.
labels: BTreeMap<String, String>
Optional. Labels associated with this hardware group as key value pairs. For more information about labels, see Create and manage labels.
hardware_count: i32
Required. Number of hardware in this HardwareGroup.
config: Option<HardwareConfig>
Required. Configuration for hardware in this HardwareGroup.
site: String
Required. Name of the site where the hardware in this HardwareGroup will be
delivered.
Format: projects/{project}/locations/{location}/sites/{site}
state: i32
Output only. Current state of this HardwareGroup.
zone: String
Optional. Name of the zone that the hardware in this HardwareGroup belongs
to. Format: projects/{project}/locations/{location}/zones/{zone}
requested_installation_date: Option<Date>
Optional. Requested installation date for the hardware in this HardwareGroup. Filled in by the customer.
Implementations§
Trait Implementations§
source§impl Clone for HardwareGroup
impl Clone for HardwareGroup
source§fn clone(&self) -> HardwareGroup
fn clone(&self) -> HardwareGroup
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for HardwareGroup
impl Debug for HardwareGroup
source§impl Default for HardwareGroup
impl Default for HardwareGroup
source§impl Message for HardwareGroup
impl Message for HardwareGroup
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
.source§impl PartialEq for HardwareGroup
impl PartialEq for HardwareGroup
source§fn eq(&self, other: &HardwareGroup) -> bool
fn eq(&self, other: &HardwareGroup) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for HardwareGroup
Auto Trait Implementations§
impl Freeze for HardwareGroup
impl RefUnwindSafe for HardwareGroup
impl Send for HardwareGroup
impl Sync for HardwareGroup
impl Unpin for HardwareGroup
impl UnwindSafe for HardwareGroup
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