Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
- Service Configuration
- OAuth Scopes
- API Declaration
- Resources
- Types
- ListAlertsResponse
- CSVRow
- AlertFeedback
- DeviceCompromised
- StateSponsoredAttack
- BadWhiteList
- SuspiciousActivitySecurityDetail
- Empty
- UndeleteAlertRequest
- Settings
- Notification
- AccountWarning
- MailPhishing
- GmailMessageInfo
- AlertData
- CloudPubsubTopicPayloadFormat
- PhishingSpike
- CSV
- Alert
- Attachment
- GoogleOperations
- AlertFeedbackType
- SuspiciousActivity
- Xgafv
- DomainWideTakeoutInitiated
- DomainId
- DeviceCompromisedSecurityDetail
- CloudPubsubTopic
- ListAlertFeedbackResponse
- LoginDetails
- MaliciousEntity
Manages alerts on issues affecting your domain.
Synopsis
- alertCenterService :: ServiceConfig
- appsAlertsScope :: Proxy '["https://www.googleapis.com/auth/apps.alerts"]
- type AlertCenterAPI = UpdateSettingsResource :<|> (GetSettingsResource :<|> (AlertsFeedbackListResource :<|> (AlertsFeedbackCreateResource :<|> (AlertsListResource :<|> (AlertsUndeleteResource :<|> (AlertsGetResource :<|> AlertsDeleteResource))))))
- module Network.Google.Resource.AlertCenter.Alerts.Delete
- module Network.Google.Resource.AlertCenter.Alerts.Feedback.Create
- module Network.Google.Resource.AlertCenter.Alerts.Feedback.List
- module Network.Google.Resource.AlertCenter.Alerts.Get
- module Network.Google.Resource.AlertCenter.Alerts.List
- module Network.Google.Resource.AlertCenter.Alerts.Undelete
- module Network.Google.Resource.AlertCenter.GetSettings
- module Network.Google.Resource.AlertCenter.UpdateSettings
- data ListAlertsResponse
- listAlertsResponse :: ListAlertsResponse
- larNextPageToken :: Lens' ListAlertsResponse (Maybe Text)
- larAlerts :: Lens' ListAlertsResponse [Alert]
- data CSVRow
- csvRow :: CSVRow
- crEntries :: Lens' CSVRow [Text]
- data AlertFeedback
- alertFeedback :: AlertFeedback
- afFeedbackId :: Lens' AlertFeedback (Maybe Text)
- afEmail :: Lens' AlertFeedback (Maybe Text)
- afAlertId :: Lens' AlertFeedback (Maybe Text)
- afCustomerId :: Lens' AlertFeedback (Maybe Text)
- afType :: Lens' AlertFeedback (Maybe AlertFeedbackType)
- afCreateTime :: Lens' AlertFeedback (Maybe UTCTime)
- data DeviceCompromised
- deviceCompromised :: DeviceCompromised
- dcEmail :: Lens' DeviceCompromised (Maybe Text)
- dcEvents :: Lens' DeviceCompromised [DeviceCompromisedSecurityDetail]
- data StateSponsoredAttack
- stateSponsoredAttack :: StateSponsoredAttack
- ssaEmail :: Lens' StateSponsoredAttack (Maybe Text)
- data BadWhiteList
- badWhiteList :: BadWhiteList
- bwlSourceIP :: Lens' BadWhiteList (Maybe Text)
- bwlDomainId :: Lens' BadWhiteList (Maybe DomainId)
- bwlMessages :: Lens' BadWhiteList [GmailMessageInfo]
- bwlMaliciousEntity :: Lens' BadWhiteList (Maybe MaliciousEntity)
- data SuspiciousActivitySecurityDetail
- suspiciousActivitySecurityDetail :: SuspiciousActivitySecurityDetail
- sasdDeviceProperty :: Lens' SuspiciousActivitySecurityDetail (Maybe Text)
- sasdResourceId :: Lens' SuspiciousActivitySecurityDetail (Maybe Text)
- sasdIosVendorId :: Lens' SuspiciousActivitySecurityDetail (Maybe Text)
- sasdOldValue :: Lens' SuspiciousActivitySecurityDetail (Maybe Text)
- sasdNewValue :: Lens' SuspiciousActivitySecurityDetail (Maybe Text)
- sasdDeviceModel :: Lens' SuspiciousActivitySecurityDetail (Maybe Text)
- sasdDeviceId :: Lens' SuspiciousActivitySecurityDetail (Maybe Text)
- sasdDeviceType :: Lens' SuspiciousActivitySecurityDetail (Maybe Text)
- sasdSerialNumber :: Lens' SuspiciousActivitySecurityDetail (Maybe Text)
- data Empty
- empty :: Empty
- data UndeleteAlertRequest
- undeleteAlertRequest :: UndeleteAlertRequest
- uarCustomerId :: Lens' UndeleteAlertRequest (Maybe Text)
- data Settings
- settings :: Settings
- sNotifications :: Lens' Settings [Notification]
- data Notification
- notification :: Notification
- nCloudPubsubTopic :: Lens' Notification (Maybe CloudPubsubTopic)
- data AccountWarning
- accountWarning :: AccountWarning
- awEmail :: Lens' AccountWarning (Maybe Text)
- awLoginDetails :: Lens' AccountWarning (Maybe LoginDetails)
- data MailPhishing
- mailPhishing :: MailPhishing
- mpIsInternal :: Lens' MailPhishing (Maybe Bool)
- mpDomainId :: Lens' MailPhishing (Maybe DomainId)
- mpMessages :: Lens' MailPhishing [GmailMessageInfo]
- mpMaliciousEntity :: Lens' MailPhishing (Maybe MaliciousEntity)
- data GmailMessageInfo
- gmailMessageInfo :: GmailMessageInfo
- gmiMD5HashSubject :: Lens' GmailMessageInfo (Maybe Text)
- gmiSubjectText :: Lens' GmailMessageInfo (Maybe Text)
- gmiDate :: Lens' GmailMessageInfo (Maybe UTCTime)
- gmiMD5HashMessageBody :: Lens' GmailMessageInfo (Maybe Text)
- gmiAttachmentsSha256Hash :: Lens' GmailMessageInfo [Text]
- gmiRecipient :: Lens' GmailMessageInfo (Maybe Text)
- gmiMessageBodySnippet :: Lens' GmailMessageInfo (Maybe Text)
- gmiMessageId :: Lens' GmailMessageInfo (Maybe Text)
- data AlertData
- alertData :: HashMap Text JSONValue -> AlertData
- adAddtional :: Lens' AlertData (HashMap Text JSONValue)
- data CloudPubsubTopicPayloadFormat
- data PhishingSpike
- phishingSpike :: PhishingSpike
- psIsInternal :: Lens' PhishingSpike (Maybe Bool)
- psDomainId :: Lens' PhishingSpike (Maybe DomainId)
- psMessages :: Lens' PhishingSpike [GmailMessageInfo]
- psMaliciousEntity :: Lens' PhishingSpike (Maybe MaliciousEntity)
- data CSV
- csv :: CSV
- cDataRows :: Lens' CSV [CSVRow]
- cHeaders :: Lens' CSV [Text]
- data Alert
- alert :: Alert
- aStartTime :: Lens' Alert (Maybe UTCTime)
- aData :: Lens' Alert (Maybe AlertData)
- aAlertId :: Lens' Alert (Maybe Text)
- aSecurityInvestigationToolLink :: Lens' Alert (Maybe Text)
- aCustomerId :: Lens' Alert (Maybe Text)
- aEndTime :: Lens' Alert (Maybe UTCTime)
- aSource :: Lens' Alert (Maybe Text)
- aDeleted :: Lens' Alert (Maybe Bool)
- aType :: Lens' Alert (Maybe Text)
- aCreateTime :: Lens' Alert (Maybe UTCTime)
- data Attachment
- attachment :: Attachment
- aCSV :: Lens' Attachment (Maybe CSV)
- data GoogleOperations
- googleOperations :: GoogleOperations
- goAttachmentData :: Lens' GoogleOperations (Maybe Attachment)
- goAffectedUserEmails :: Lens' GoogleOperations [Text]
- goTitle :: Lens' GoogleOperations (Maybe Text)
- goDescription :: Lens' GoogleOperations (Maybe Text)
- data AlertFeedbackType
- data SuspiciousActivity
- suspiciousActivity :: SuspiciousActivity
- saEmail :: Lens' SuspiciousActivity (Maybe Text)
- saEvents :: Lens' SuspiciousActivity [SuspiciousActivitySecurityDetail]
- data Xgafv
- data DomainWideTakeoutInitiated
- domainWideTakeoutInitiated :: DomainWideTakeoutInitiated
- dwtiEmail :: Lens' DomainWideTakeoutInitiated (Maybe Text)
- dwtiTakeoutRequestId :: Lens' DomainWideTakeoutInitiated (Maybe Text)
- data DomainId
- domainId :: DomainId
- diCustomerPrimaryDomain :: Lens' DomainId (Maybe Text)
- data DeviceCompromisedSecurityDetail
- deviceCompromisedSecurityDetail :: DeviceCompromisedSecurityDetail
- dcsdResourceId :: Lens' DeviceCompromisedSecurityDetail (Maybe Text)
- dcsdDeviceCompromisedState :: Lens' DeviceCompromisedSecurityDetail (Maybe Text)
- dcsdIosVendorId :: Lens' DeviceCompromisedSecurityDetail (Maybe Text)
- dcsdDeviceModel :: Lens' DeviceCompromisedSecurityDetail (Maybe Text)
- dcsdDeviceId :: Lens' DeviceCompromisedSecurityDetail (Maybe Text)
- dcsdDeviceType :: Lens' DeviceCompromisedSecurityDetail (Maybe Text)
- dcsdSerialNumber :: Lens' DeviceCompromisedSecurityDetail (Maybe Text)
- data CloudPubsubTopic
- cloudPubsubTopic :: CloudPubsubTopic
- cptTopicName :: Lens' CloudPubsubTopic (Maybe Text)
- cptPayloadFormat :: Lens' CloudPubsubTopic (Maybe CloudPubsubTopicPayloadFormat)
- data ListAlertFeedbackResponse
- listAlertFeedbackResponse :: ListAlertFeedbackResponse
- lafrFeedback :: Lens' ListAlertFeedbackResponse [AlertFeedback]
- data LoginDetails
- loginDetails :: LoginDetails
- ldIPAddress :: Lens' LoginDetails (Maybe Text)
- ldLoginTime :: Lens' LoginDetails (Maybe UTCTime)
- data MaliciousEntity
- maliciousEntity :: MaliciousEntity
- meFromHeader :: Lens' MaliciousEntity (Maybe Text)
Service Configuration
alertCenterService :: ServiceConfig Source #
Default request referring to version v1beta1
of the G Suite Alert Center API. This contains the host and root path used as a starting point for constructing service requests.
OAuth Scopes
appsAlertsScope :: Proxy '["https://www.googleapis.com/auth/apps.alerts"] Source #
See and delete your domain's G Suite alerts, and send alert feedback
API Declaration
type AlertCenterAPI = UpdateSettingsResource :<|> (GetSettingsResource :<|> (AlertsFeedbackListResource :<|> (AlertsFeedbackCreateResource :<|> (AlertsListResource :<|> (AlertsUndeleteResource :<|> (AlertsGetResource :<|> AlertsDeleteResource)))))) Source #
Represents the entirety of the methods and resources available for the G Suite Alert Center API service.
Resources
alertcenter.alerts.delete
alertcenter.alerts.feedback.create
alertcenter.alerts.feedback.list
alertcenter.alerts.get
alertcenter.alerts.list
alertcenter.alerts.undelete
alertcenter.getSettings
alertcenter.updateSettings
Types
ListAlertsResponse
data ListAlertsResponse Source #
Response message for an alert listing request.
See: listAlertsResponse
smart constructor.
Instances
listAlertsResponse :: ListAlertsResponse Source #
Creates a value of ListAlertsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
larNextPageToken :: Lens' ListAlertsResponse (Maybe Text) Source #
The token for the next page. If not empty, indicates that there may be more alerts that match the listing request; this value can be used in a subsequent ListAlertsRequest to get alerts continuing from last result of the current list call.
CSVRow
A representation of a single data row in a CSV file.
See: csvRow
smart constructor.
Instances
Eq CSVRow Source # | |
Data CSVRow Source # | |
Defined in Network.Google.AlertCenter.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CSVRow -> c CSVRow # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CSVRow # toConstr :: CSVRow -> Constr # dataTypeOf :: CSVRow -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CSVRow) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CSVRow) # gmapT :: (forall b. Data b => b -> b) -> CSVRow -> CSVRow # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CSVRow -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CSVRow -> r # gmapQ :: (forall d. Data d => d -> u) -> CSVRow -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> CSVRow -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> CSVRow -> m CSVRow # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CSVRow -> m CSVRow # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CSVRow -> m CSVRow # | |
Show CSVRow Source # | |
Generic CSVRow Source # | |
ToJSON CSVRow Source # | |
Defined in Network.Google.AlertCenter.Types.Product | |
FromJSON CSVRow Source # | |
type Rep CSVRow Source # | |
Defined in Network.Google.AlertCenter.Types.Product |
crEntries :: Lens' CSVRow [Text] Source #
The data entries in a CSV file row, as a string array rather than a single comma-separated string.
AlertFeedback
data AlertFeedback Source #
A customer feedback about an alert.
See: alertFeedback
smart constructor.
Instances
alertFeedback :: AlertFeedback Source #
Creates a value of AlertFeedback
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
afFeedbackId :: Lens' AlertFeedback (Maybe Text) Source #
Output only. The unique identifier for the feedback.
afEmail :: Lens' AlertFeedback (Maybe Text) Source #
Output only. The email of the user that provided the feedback.
afCustomerId :: Lens' AlertFeedback (Maybe Text) Source #
Output only. The unique identifier of the Google account of the customer.
afType :: Lens' AlertFeedback (Maybe AlertFeedbackType) Source #
Required. The type of the feedback.
afCreateTime :: Lens' AlertFeedback (Maybe UTCTime) Source #
Output only. The time this feedback was created.
DeviceCompromised
data DeviceCompromised Source #
A mobile device compromised alert. Derived from audit logs.
See: deviceCompromised
smart constructor.
Instances
deviceCompromised :: DeviceCompromised Source #
Creates a value of DeviceCompromised
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dcEmail :: Lens' DeviceCompromised (Maybe Text) Source #
The email of the user this alert was created for.
dcEvents :: Lens' DeviceCompromised [DeviceCompromisedSecurityDetail] Source #
Required. The list of security events.
StateSponsoredAttack
data StateSponsoredAttack Source #
A state-sponsored attack alert. Derived from audit logs.
See: stateSponsoredAttack
smart constructor.
Instances
stateSponsoredAttack :: StateSponsoredAttack Source #
Creates a value of StateSponsoredAttack
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ssaEmail :: Lens' StateSponsoredAttack (Maybe Text) Source #
The email of the user this incident was created for.
BadWhiteList
data BadWhiteList Source #
Alert for setting the domain or IP that malicious email comes from as whitelisted domain or IP in Gmail advanced settings.
See: badWhiteList
smart constructor.
Instances
badWhiteList :: BadWhiteList Source #
Creates a value of BadWhiteList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
bwlSourceIP :: Lens' BadWhiteList (Maybe Text) Source #
The source IP address of the malicious email, for example, `127.0.0.1`.
bwlDomainId :: Lens' BadWhiteList (Maybe DomainId) Source #
The domain ID.
bwlMessages :: Lens' BadWhiteList [GmailMessageInfo] Source #
The list of messages contained by this alert.
bwlMaliciousEntity :: Lens' BadWhiteList (Maybe MaliciousEntity) Source #
The entity whose actions triggered a Gmail phishing alert.
SuspiciousActivitySecurityDetail
data SuspiciousActivitySecurityDetail Source #
Detailed information of a single MDM suspicious activity event.
See: suspiciousActivitySecurityDetail
smart constructor.
Instances
suspiciousActivitySecurityDetail :: SuspiciousActivitySecurityDetail Source #
Creates a value of SuspiciousActivitySecurityDetail
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sasdDeviceProperty :: Lens' SuspiciousActivitySecurityDetail (Maybe Text) Source #
The device property which was changed.
sasdResourceId :: Lens' SuspiciousActivitySecurityDetail (Maybe Text) Source #
The device resource ID.
sasdIosVendorId :: Lens' SuspiciousActivitySecurityDetail (Maybe Text) Source #
Required for iOS, empty for others.
sasdOldValue :: Lens' SuspiciousActivitySecurityDetail (Maybe Text) Source #
The old value of the device property before the change.
sasdNewValue :: Lens' SuspiciousActivitySecurityDetail (Maybe Text) Source #
The new value of the device property after the change.
sasdDeviceModel :: Lens' SuspiciousActivitySecurityDetail (Maybe Text) Source #
The model of the device.
sasdDeviceId :: Lens' SuspiciousActivitySecurityDetail (Maybe Text) Source #
Required. The device ID.
sasdDeviceType :: Lens' SuspiciousActivitySecurityDetail (Maybe Text) Source #
The type of the device.
sasdSerialNumber :: Lens' SuspiciousActivitySecurityDetail (Maybe Text) Source #
The serial number of the device.
Empty
A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.
See: empty
smart constructor.
Instances
Eq Empty Source # | |
Data Empty Source # | |
Defined in Network.Google.AlertCenter.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Empty -> c Empty # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Empty # dataTypeOf :: Empty -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Empty) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Empty) # gmapT :: (forall b. Data b => b -> b) -> Empty -> Empty # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Empty -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Empty -> r # gmapQ :: (forall d. Data d => d -> u) -> Empty -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Empty -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Empty -> m Empty # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Empty -> m Empty # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Empty -> m Empty # | |
Show Empty Source # | |
Generic Empty Source # | |
ToJSON Empty Source # | |
Defined in Network.Google.AlertCenter.Types.Product | |
FromJSON Empty Source # | |
type Rep Empty Source # | |
UndeleteAlertRequest
data UndeleteAlertRequest Source #
A request to undelete a specific alert that was marked for deletion.
See: undeleteAlertRequest
smart constructor.
Instances
undeleteAlertRequest :: UndeleteAlertRequest Source #
Creates a value of UndeleteAlertRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
uarCustomerId :: Lens' UndeleteAlertRequest (Maybe Text) Source #
Optional. The unique identifier of the G Suite organization account of the customer the alert is associated with. Inferred from the caller identity if not provided.
Settings
Customer-level settings.
See: settings
smart constructor.
Instances
Eq Settings Source # | |
Data Settings Source # | |
Defined in Network.Google.AlertCenter.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Settings -> c Settings # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Settings # toConstr :: Settings -> Constr # dataTypeOf :: Settings -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Settings) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Settings) # gmapT :: (forall b. Data b => b -> b) -> Settings -> Settings # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Settings -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Settings -> r # gmapQ :: (forall d. Data d => d -> u) -> Settings -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Settings -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Settings -> m Settings # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Settings -> m Settings # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Settings -> m Settings # | |
Show Settings Source # | |
Generic Settings Source # | |
ToJSON Settings Source # | |
Defined in Network.Google.AlertCenter.Types.Product | |
FromJSON Settings Source # | |
type Rep Settings Source # | |
Defined in Network.Google.AlertCenter.Types.Product type Rep Settings = D1 (MetaData "Settings" "Network.Google.AlertCenter.Types.Product" "gogol-alertcenter-0.4.0-9dY40O2r8HE66nfrCXN2KD" True) (C1 (MetaCons "Settings'" PrefixI True) (S1 (MetaSel (Just "_sNotifications") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [Notification])))) |
Creates a value of Settings
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sNotifications :: Lens' Settings [Notification] Source #
The list of notifications.
Notification
data Notification Source #
Settings for callback notifications. For more details see G Suite Alert Notification.
See: notification
smart constructor.
Instances
notification :: Notification Source #
Creates a value of Notification
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
nCloudPubsubTopic :: Lens' Notification (Maybe CloudPubsubTopic) Source #
A Google Cloud Pub/sub topic destination.
AccountWarning
data AccountWarning Source #
Alerts for user account warning events.
See: accountWarning
smart constructor.
Instances
accountWarning :: AccountWarning Source #
Creates a value of AccountWarning
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
awEmail :: Lens' AccountWarning (Maybe Text) Source #
Required. The email of the user that this event belongs to.
awLoginDetails :: Lens' AccountWarning (Maybe LoginDetails) Source #
Optional. Details of the login action associated with the warning event. This is only available for: * Suspicious login * Suspicious login (less secure app) * User suspended (suspicious activity)
MailPhishing
data MailPhishing Source #
Proto for all phishing alerts with common payload. Supported types are any of the following: * User reported phishing * User reported spam spike * Suspicious message reported * Phishing reclassification * Malware reclassification
See: mailPhishing
smart constructor.
Instances
mailPhishing :: MailPhishing Source #
Creates a value of MailPhishing
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
mpIsInternal :: Lens' MailPhishing (Maybe Bool) Source #
If `true`, the email originated from within the organization.
mpDomainId :: Lens' MailPhishing (Maybe DomainId) Source #
The domain ID.
mpMessages :: Lens' MailPhishing [GmailMessageInfo] Source #
The list of messages contained by this alert.
mpMaliciousEntity :: Lens' MailPhishing (Maybe MaliciousEntity) Source #
The entity whose actions triggered a Gmail phishing alert.
GmailMessageInfo
data GmailMessageInfo Source #
Details of a message in phishing spike alert.
See: gmailMessageInfo
smart constructor.
Instances
gmailMessageInfo :: GmailMessageInfo Source #
Creates a value of GmailMessageInfo
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gmiMD5HashSubject :: Lens' GmailMessageInfo (Maybe Text) Source #
The MD5 Hash of email's subject (only available for reported emails).
gmiSubjectText :: Lens' GmailMessageInfo (Maybe Text) Source #
The email subject text (only available for reported emails).
gmiMD5HashMessageBody :: Lens' GmailMessageInfo (Maybe Text) Source #
The hash of the message body text.
gmiAttachmentsSha256Hash :: Lens' GmailMessageInfo [Text] Source #
The `SHA256` hash of email's attachment and all MIME parts.
gmiRecipient :: Lens' GmailMessageInfo (Maybe Text) Source #
The recipient of this email.
gmiMessageBodySnippet :: Lens' GmailMessageInfo (Maybe Text) Source #
The snippet of the message body text (only available for reported emails).
gmiMessageId :: Lens' GmailMessageInfo (Maybe Text) Source #
The message ID.
AlertData
Optional. The data associated with this alert, for example google.apps.alertcenter.type.DeviceCompromised.
See: alertData
smart constructor.
Instances
Eq AlertData Source # | |
Data AlertData Source # | |
Defined in Network.Google.AlertCenter.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AlertData -> c AlertData # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AlertData # toConstr :: AlertData -> Constr # dataTypeOf :: AlertData -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c AlertData) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AlertData) # gmapT :: (forall b. Data b => b -> b) -> AlertData -> AlertData # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AlertData -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AlertData -> r # gmapQ :: (forall d. Data d => d -> u) -> AlertData -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> AlertData -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> AlertData -> m AlertData # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AlertData -> m AlertData # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AlertData -> m AlertData # | |
Show AlertData Source # | |
Generic AlertData Source # | |
ToJSON AlertData Source # | |
Defined in Network.Google.AlertCenter.Types.Product | |
FromJSON AlertData Source # | |
type Rep AlertData Source # | |
Defined in Network.Google.AlertCenter.Types.Product type Rep AlertData = D1 (MetaData "AlertData" "Network.Google.AlertCenter.Types.Product" "gogol-alertcenter-0.4.0-9dY40O2r8HE66nfrCXN2KD" True) (C1 (MetaCons "AlertData'" PrefixI True) (S1 (MetaSel (Just "_adAddtional") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (HashMap Text JSONValue)))) |
Creates a value of AlertData
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
adAddtional :: Lens' AlertData (HashMap Text JSONValue) Source #
Properties of the object. Contains field 'type with type URL.
CloudPubsubTopicPayloadFormat
data CloudPubsubTopicPayloadFormat Source #
Optional. The format of the payload that would be sent. If not specified the format will be JSON.
PayloadFormatUnspecified |
|
JSON |
|
Instances
PhishingSpike
data PhishingSpike Source #
Alert for a spike in user reported phishing. Warning: This type has been deprecated. Use MailPhishing instead.
See: phishingSpike
smart constructor.
Instances
phishingSpike :: PhishingSpike Source #
Creates a value of PhishingSpike
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
psIsInternal :: Lens' PhishingSpike (Maybe Bool) Source #
If `true`, the email originated from within the organization.
psDomainId :: Lens' PhishingSpike (Maybe DomainId) Source #
The domain ID.
psMessages :: Lens' PhishingSpike [GmailMessageInfo] Source #
The list of messages contained by this alert.
psMaliciousEntity :: Lens' PhishingSpike (Maybe MaliciousEntity) Source #
The entity whose actions triggered a Gmail phishing alert.
CSV
A representation of a CSV file attachment, as a list of column headers and a list of data rows.
See: csv
smart constructor.
Instances
Eq CSV Source # | |
Data CSV Source # | |
Defined in Network.Google.AlertCenter.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CSV -> c CSV # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CSV # dataTypeOf :: CSV -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CSV) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CSV) # gmapT :: (forall b. Data b => b -> b) -> CSV -> CSV # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CSV -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CSV -> r # gmapQ :: (forall d. Data d => d -> u) -> CSV -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> CSV -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> CSV -> m CSV # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CSV -> m CSV # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CSV -> m CSV # | |
Show CSV Source # | |
Generic CSV Source # | |
ToJSON CSV Source # | |
Defined in Network.Google.AlertCenter.Types.Product | |
FromJSON CSV Source # | |
type Rep CSV Source # | |
Defined in Network.Google.AlertCenter.Types.Product type Rep CSV = D1 (MetaData "CSV" "Network.Google.AlertCenter.Types.Product" "gogol-alertcenter-0.4.0-9dY40O2r8HE66nfrCXN2KD" False) (C1 (MetaCons "CSV'" PrefixI True) (S1 (MetaSel (Just "_cDataRows") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [CSVRow])) :*: S1 (MetaSel (Just "_cHeaders") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])))) |
cDataRows :: Lens' CSV [CSVRow] Source #
The list of data rows in a CSV file, as string arrays rather than as a single comma-separated string.
Alert
An alert affecting a customer. All fields are read-only once created.
See: alert
smart constructor.
Instances
Creates a value of Alert
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
aStartTime :: Lens' Alert (Maybe UTCTime) Source #
Required. The time the event that caused this alert was started or detected.
aData :: Lens' Alert (Maybe AlertData) Source #
Optional. The data associated with this alert, for example google.apps.alertcenter.type.DeviceCompromised.
aSecurityInvestigationToolLink :: Lens' Alert (Maybe Text) Source #
Output only. An optional Security Investigation Tool query for this alert.
aCustomerId :: Lens' Alert (Maybe Text) Source #
Output only. The unique identifier of the Google account of the customer.
aEndTime :: Lens' Alert (Maybe UTCTime) Source #
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, the end time defaults to the start time.
aSource :: Lens' Alert (Maybe Text) Source #
Required. A unique identifier for the system that reported the alert. Supported sources are any of the following: * Google Operations * Mobile device management * Gmail phishing * Domain wide takeout * Government attack warning * Google identity
aDeleted :: Lens' Alert (Maybe Bool) Source #
Output only. `True` if this alert is marked for deletion.
aType :: Lens' Alert (Maybe Text) Source #
Required. The type of the alert. For a list of available alert types see G Suite Alert types.
Attachment
data Attachment Source #
Attachment with application-specific information about an alert.
See: attachment
smart constructor.
Instances
attachment :: Attachment Source #
Creates a value of Attachment
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
GoogleOperations
data GoogleOperations Source #
An incident reported by Google Operations for a G Suite application.
See: googleOperations
smart constructor.
Instances
googleOperations :: GoogleOperations Source #
Creates a value of GoogleOperations
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
goAttachmentData :: Lens' GoogleOperations (Maybe Attachment) Source #
Optional. Application-specific data for an incident, provided when the G Suite application which reported the incident cannot be completely restored to a valid state.
goAffectedUserEmails :: Lens' GoogleOperations [Text] Source #
The list of emails which correspond to the users directly affected by the incident.
goDescription :: Lens' GoogleOperations (Maybe Text) Source #
A detailed, freeform incident description.
AlertFeedbackType
data AlertFeedbackType Source #
Required. The type of the feedback.
AlertFeedbackTypeUnspecified |
|
NotUseful |
|
SomewhatUseful |
|
VeryUseful |
|
Instances
SuspiciousActivity
data SuspiciousActivity Source #
A mobile suspicious activity alert. Derived from audit logs.
See: suspiciousActivity
smart constructor.
Instances
suspiciousActivity :: SuspiciousActivity Source #
Creates a value of SuspiciousActivity
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
saEmail :: Lens' SuspiciousActivity (Maybe Text) Source #
The email of the user this alert was created for.
saEvents :: Lens' SuspiciousActivity [SuspiciousActivitySecurityDetail] Source #
Required. The list of security events.
Xgafv
V1 error format.
Instances
DomainWideTakeoutInitiated
data DomainWideTakeoutInitiated Source #
A takeout operation for the entire domain was initiated by an admin. Derived from audit logs.
See: domainWideTakeoutInitiated
smart constructor.
Instances
domainWideTakeoutInitiated :: DomainWideTakeoutInitiated Source #
Creates a value of DomainWideTakeoutInitiated
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dwtiEmail :: Lens' DomainWideTakeoutInitiated (Maybe Text) Source #
The email of the admin who initiated the takeout.
dwtiTakeoutRequestId :: Lens' DomainWideTakeoutInitiated (Maybe Text) Source #
The takeout request ID.
DomainId
Domain ID of Gmail phishing alerts.
See: domainId
smart constructor.
Instances
Eq DomainId Source # | |
Data DomainId Source # | |
Defined in Network.Google.AlertCenter.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DomainId -> c DomainId # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DomainId # toConstr :: DomainId -> Constr # dataTypeOf :: DomainId -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DomainId) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DomainId) # gmapT :: (forall b. Data b => b -> b) -> DomainId -> DomainId # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DomainId -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DomainId -> r # gmapQ :: (forall d. Data d => d -> u) -> DomainId -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> DomainId -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> DomainId -> m DomainId # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DomainId -> m DomainId # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DomainId -> m DomainId # | |
Show DomainId Source # | |
Generic DomainId Source # | |
ToJSON DomainId Source # | |
Defined in Network.Google.AlertCenter.Types.Product | |
FromJSON DomainId Source # | |
type Rep DomainId Source # | |
Defined in Network.Google.AlertCenter.Types.Product type Rep DomainId = D1 (MetaData "DomainId" "Network.Google.AlertCenter.Types.Product" "gogol-alertcenter-0.4.0-9dY40O2r8HE66nfrCXN2KD" True) (C1 (MetaCons "DomainId'" PrefixI True) (S1 (MetaSel (Just "_diCustomerPrimaryDomain") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text)))) |
Creates a value of DomainId
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
DeviceCompromisedSecurityDetail
data DeviceCompromisedSecurityDetail Source #
Detailed information of a single MDM device compromised event.
See: deviceCompromisedSecurityDetail
smart constructor.
Instances
deviceCompromisedSecurityDetail :: DeviceCompromisedSecurityDetail Source #
Creates a value of DeviceCompromisedSecurityDetail
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dcsdResourceId :: Lens' DeviceCompromisedSecurityDetail (Maybe Text) Source #
The device resource ID.
dcsdDeviceCompromisedState :: Lens' DeviceCompromisedSecurityDetail (Maybe Text) Source #
The device compromised state. Possible values are "`Compromised`" or "`Not Compromised`".
dcsdIosVendorId :: Lens' DeviceCompromisedSecurityDetail (Maybe Text) Source #
Required for iOS, empty for others.
dcsdDeviceModel :: Lens' DeviceCompromisedSecurityDetail (Maybe Text) Source #
The model of the device.
dcsdDeviceId :: Lens' DeviceCompromisedSecurityDetail (Maybe Text) Source #
Required. The device ID.
dcsdDeviceType :: Lens' DeviceCompromisedSecurityDetail (Maybe Text) Source #
The type of the device.
dcsdSerialNumber :: Lens' DeviceCompromisedSecurityDetail (Maybe Text) Source #
The serial number of the device.
CloudPubsubTopic
data CloudPubsubTopic Source #
A reference to a Cloud Pubsub topic. To register for notifications, the owner of the topic must grant `alerts-api-push-notifications'system.gserviceaccount.com` the `projects.topics.publish` permission.
See: cloudPubsubTopic
smart constructor.
Instances
cloudPubsubTopic :: CloudPubsubTopic Source #
Creates a value of CloudPubsubTopic
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cptTopicName :: Lens' CloudPubsubTopic (Maybe Text) Source #
The `name` field of a Cloud Pubsub Topic.
cptPayloadFormat :: Lens' CloudPubsubTopic (Maybe CloudPubsubTopicPayloadFormat) Source #
Optional. The format of the payload that would be sent. If not specified the format will be JSON.
ListAlertFeedbackResponse
data ListAlertFeedbackResponse Source #
Response message for an alert feedback listing request.
See: listAlertFeedbackResponse
smart constructor.
Instances
listAlertFeedbackResponse :: ListAlertFeedbackResponse Source #
Creates a value of ListAlertFeedbackResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lafrFeedback :: Lens' ListAlertFeedbackResponse [AlertFeedback] Source #
The list of alert feedback. Feedback entries for each alert are ordered by creation time descending.
LoginDetails
data LoginDetails Source #
The details of the login action.
See: loginDetails
smart constructor.
Instances
loginDetails :: LoginDetails Source #
Creates a value of LoginDetails
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ldIPAddress :: Lens' LoginDetails (Maybe Text) Source #
Optional. The human-readable IP address (for example, `11.22.33.44`) that is associated with the warning event.
ldLoginTime :: Lens' LoginDetails (Maybe UTCTime) Source #
Optional. The successful login time that is associated with the warning event. This will not be present for blocked login attempts.
MaliciousEntity
data MaliciousEntity Source #
Entity whose actions triggered a Gmail phishing alert.
See: maliciousEntity
smart constructor.
Instances
maliciousEntity :: MaliciousEntity Source #
Creates a value of MaliciousEntity
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
meFromHeader :: Lens' MaliciousEntity (Maybe Text) Source #
The sender email address.