Struct google_api_proto::google::apps::alertcenter::v1beta1::AlertMetadata
source · pub struct AlertMetadata {
pub customer_id: String,
pub alert_id: String,
pub status: String,
pub assignee: String,
pub update_time: Option<Timestamp>,
pub severity: String,
pub etag: String,
}
Expand description
An alert metadata.
Fields§
§customer_id: String
Output only. The unique identifier of the Google Workspace account of the customer.
alert_id: String
Output only. The alert identifier.
status: String
The current status of the alert. The supported values are the following:
- NOT_STARTED
- IN_PROGRESS
- CLOSED
assignee: String
The email address of the user assigned to the alert.
update_time: Option<Timestamp>
Output only. The time this metadata was last updated.
severity: String
The severity value of the alert. Alert Center will set this field at alert creation time, default’s to an empty string when it could not be determined. The supported values for update actions on this field are the following:
- HIGH
- MEDIUM
- LOW
etag: String
Optional. etag
is used for optimistic concurrency control as a way to
help prevent simultaneous updates of an alert metadata from overwriting
each other. It is strongly suggested that systems make use of the etag
in
the read-modify-write cycle to perform metadata updates in order to avoid
race conditions: An etag
is returned in the response which contains alert
metadata, and systems are expected to put that etag in the request to
update alert metadata to ensure that their change will be applied to the
same version of the alert metadata.
If no etag
is provided in the call to update alert metadata, then the
existing alert metadata is overwritten blindly.
Trait Implementations§
source§impl Clone for AlertMetadata
impl Clone for AlertMetadata
source§fn clone(&self) -> AlertMetadata
fn clone(&self) -> AlertMetadata
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AlertMetadata
impl Debug for AlertMetadata
source§impl Default for AlertMetadata
impl Default for AlertMetadata
source§impl Message for AlertMetadata
impl Message for AlertMetadata
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 AlertMetadata
impl PartialEq for AlertMetadata
source§fn eq(&self, other: &AlertMetadata) -> bool
fn eq(&self, other: &AlertMetadata) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AlertMetadata
Auto Trait Implementations§
impl Freeze for AlertMetadata
impl RefUnwindSafe for AlertMetadata
impl Send for AlertMetadata
impl Sync for AlertMetadata
impl Unpin for AlertMetadata
impl UnwindSafe for AlertMetadata
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