Struct google_api_proto::google::cloud::gdchardwaremanagement::v1alpha::Order
source · pub struct Order {Show 16 fields
pub name: String,
pub display_name: String,
pub create_time: Option<Timestamp>,
pub update_time: Option<Timestamp>,
pub labels: BTreeMap<String, String>,
pub state: i32,
pub organization_contact: Option<OrganizationContact>,
pub target_workloads: Vec<String>,
pub customer_motivation: String,
pub fulfillment_time: Option<Timestamp>,
pub region_code: String,
pub order_form_uri: String,
pub type: i32,
pub submit_time: Option<Timestamp>,
pub billing_id: String,
pub existing_hardware: Vec<HardwareLocation>,
}
Expand description
An order for GDC hardware.
Fields§
§name: String
Identifier. Name of this order.
Format: projects/{project}/locations/{location}/orders/{order}
display_name: String
Optional. Display name of this order.
create_time: Option<Timestamp>
Output only. Time when this order was created.
update_time: Option<Timestamp>
Output only. Time when this order was last updated.
labels: BTreeMap<String, String>
Optional. Labels associated with this order as key value pairs. For more information about labels, see Create and manage labels.
state: i32
Output only. State of this order. On order creation, state will be set to DRAFT.
organization_contact: Option<OrganizationContact>
Required. Customer contact information.
target_workloads: Vec<String>
Optional. Customer specified workloads of interest targeted by this order. This must contain <= 20 elements and the length of each element must be <= 50 characters.
customer_motivation: String
Required. Information about the customer’s motivation for this order. The length of this field must be <= 1000 characters.
fulfillment_time: Option<Timestamp>
Required. Customer specified deadline by when this order should be fulfilled.
region_code: String
Required. Unicode CLDR region code where this order will be deployed. For a list of valid CLDR region codes, see the Language Subtag Registry.
order_form_uri: String
Output only. Link to the order form.
type: i32
Output only. Type of this Order.
submit_time: Option<Timestamp>
Output only. Time when the order was submitted. Is auto-populated to the current time when an order is submitted.
billing_id: String
Required. The Google Cloud Billing ID to be charged for this order.
existing_hardware: Vec<HardwareLocation>
Optional. Existing hardware to be removed as part of this order. Note: any hardware removed will be recycled unless otherwise agreed.
Implementations§
Trait Implementations§
source§impl Message for Order
impl Message for Order
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 Order
impl PartialEq for Order
impl StructuralPartialEq for Order
Auto Trait Implementations§
impl Freeze for Order
impl RefUnwindSafe for Order
impl Send for Order
impl Sync for Order
impl Unpin for Order
impl UnwindSafe for Order
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