Struct google_api_proto::google::cloud::gdchardwaremanagement::v1alpha::Site
source · pub struct Site {
pub name: String,
pub display_name: String,
pub description: String,
pub create_time: Option<Timestamp>,
pub update_time: Option<Timestamp>,
pub labels: BTreeMap<String, String>,
pub organization_contact: Option<OrganizationContact>,
pub google_maps_pin_uri: String,
pub access_times: Vec<TimePeriod>,
pub notes: String,
}
Expand description
A physical site where hardware will be installed.
Fields§
§name: String
Identifier. Name of the site.
Format: projects/{project}/locations/{location}/sites/{site}
display_name: String
Optional. Display name of this Site.
description: String
Optional. Description of this Site.
create_time: Option<Timestamp>
Output only. Time when this site was created.
update_time: Option<Timestamp>
Output only. Time when this site was last updated.
labels: BTreeMap<String, String>
Optional. Labels associated with this site as key value pairs. For more information about labels, see Create and manage labels.
organization_contact: Option<OrganizationContact>
Required. Contact information for this site.
google_maps_pin_uri: String
Required. A URL to the Google Maps address location of the site.
An example value is <https://goo.gl/maps/xxxxxxxxx
.>
access_times: Vec<TimePeriod>
Optional. The time periods when the site is accessible. If this field is empty, the site is accessible at all times.
notes: String
Optional. Any additional notes for this Site. Please include information about:
- security or access restrictions
- any regulations affecting the technicians visiting the site
- any special process or approval required to move the equipment
- whether a representative will be available during site visits
Trait Implementations§
source§impl Message for Site
impl Message for Site
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 Site
impl PartialEq for Site
impl StructuralPartialEq for Site
Auto Trait Implementations§
impl Freeze for Site
impl RefUnwindSafe for Site
impl Send for Site
impl Sync for Site
impl Unpin for Site
impl UnwindSafe for Site
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