[][src]Struct google_alertcenter1_beta1::Alert

pub struct Alert {
    pub update_time: Option<String>,
    pub alert_id: Option<String>,
    pub deleted: Option<bool>,
    pub data: Option<HashMap<String, String>>,
    pub create_time: Option<String>,
    pub source: Option<String>,
    pub start_time: Option<String>,
    pub end_time: Option<String>,
    pub type_: Option<String>,
    pub customer_id: Option<String>,
    pub security_investigation_tool_link: Option<String>,
}

An alert affecting a customer.

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields

update_time: Option<String>

Output only. The time this alert was last updated.

alert_id: Option<String>

Output only. The unique identifier for the alert.

deleted: Option<bool>

Output only. True if this alert is marked for deletion.

data: Option<HashMap<String, String>>

Optional. The data associated with this alert, for example google.apps.alertcenter.type.DeviceCompromised.

create_time: Option<String>

Output only. The time this alert was created.

source: Option<String>

Required. A unique identifier for the system that reported the alert. This is output only after alert is created.

Supported sources are any of the following:

  • Google Operations
  • Mobile device management
  • Gmail phishing
  • Domain wide takeout
  • Government attack warning
  • Google identity
start_time: Option<String>

Required. The time the event that caused this alert was started or detected.

end_time: Option<String>

Optional. The time the event that caused this alert ceased being active. If provided, the end time must not be earlier than the start time. If not provided, it indicates an ongoing alert.

type_: Option<String>

Required. The type of the alert. This is output only after alert is created. For a list of available alert types see G Suite Alert types.

customer_id: Option<String>

Output only. The unique identifier of the Google account of the customer.

security_investigation_tool_link: Option<String>

Output only. An optional Security Investigation Tool query for this alert.

Trait Implementations

impl Resource for Alert[src]

impl ResponseResult for Alert[src]

impl Clone for Alert[src]

impl Default for Alert[src]

impl Debug for Alert[src]

impl Serialize for Alert[src]

impl<'de> Deserialize<'de> for Alert[src]

Auto Trait Implementations

impl Send for Alert

impl Sync for Alert

impl Unpin for Alert

impl UnwindSafe for Alert

impl RefUnwindSafe for Alert

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Typeable for T where
    T: Any

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]