Struct google_api_proto::google::cloud::gdchardwaremanagement::v1alpha::Hardware
source · pub struct Hardware {Show 17 fields
pub name: String,
pub display_name: String,
pub create_time: Option<Timestamp>,
pub update_time: Option<Timestamp>,
pub labels: BTreeMap<String, String>,
pub order: String,
pub hardware_group: String,
pub site: String,
pub state: i32,
pub ciq_uri: String,
pub config: Option<HardwareConfig>,
pub estimated_installation_date: Option<Date>,
pub physical_info: Option<HardwarePhysicalInfo>,
pub installation_info: Option<HardwareInstallationInfo>,
pub zone: String,
pub requested_installation_date: Option<Date>,
pub actual_installation_date: Option<Date>,
}
Expand description
An instance of hardware installed at a site.
Fields§
§name: String
Identifier. Name of this hardware.
Format: projects/{project}/locations/{location}/hardware/{hardware}
display_name: String
Optional. Display name for this hardware.
create_time: Option<Timestamp>
Output only. Time when this hardware was created.
update_time: Option<Timestamp>
Output only. Time when this hardware was last updated.
labels: BTreeMap<String, String>
Optional. Labels associated with this hardware as key value pairs. For more information about labels, see Create and manage labels.
order: String
Required. Name of the order that this hardware belongs to.
Format: projects/{project}/locations/{location}/orders/{order}
hardware_group: String
Output only. Name for the hardware group that this hardware belongs to.
Format:
projects/{project}/locations/{location}/orders/{order}/hardwareGroups/{hardware_group}
site: String
Required. Name for the site that this hardware belongs to.
Format: projects/{project}/locations/{location}/sites/{site}
state: i32
Output only. Current state for this hardware.
ciq_uri: String
Output only. Link to the Customer Intake Questionnaire (CIQ) sheet for this Hardware.
config: Option<HardwareConfig>
Required. Configuration for this hardware.
estimated_installation_date: Option<Date>
Output only. Estimated installation date for this hardware.
physical_info: Option<HardwarePhysicalInfo>
Optional. Physical properties of this hardware.
installation_info: Option<HardwareInstallationInfo>
Optional. Information for installation of this hardware.
zone: String
Required. Name for the zone that this hardware belongs to.
Format: projects/{project}/locations/{location}/zones/{zone}
requested_installation_date: Option<Date>
Optional. Requested installation date for this hardware. This is auto-populated when the order is accepted, if the hardware’s HardwareGroup specifies this. It can also be filled in by the customer.
actual_installation_date: Option<Date>
Output only. Actual installation date for this hardware. Filled in by Google.
Implementations§
Trait Implementations§
source§impl Message for Hardware
impl Message for Hardware
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 Hardware
impl PartialEq for Hardware
impl StructuralPartialEq for Hardware
Auto Trait Implementations§
impl Freeze for Hardware
impl RefUnwindSafe for Hardware
impl Send for Hardware
impl Sync for Hardware
impl Unpin for Hardware
impl UnwindSafe for Hardware
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