Batch delete alerts
Action ID:tools.google_alert_center.batch_delete_alerts
Performs batch delete operation on alerts.
Reference: https://developers.google.com/workspace/admin/alertcenter/reference/rest/v1beta1/alerts/batchDelete
Secrets
Optional secrets:google_admin_oauth: OAuth tokenGOOGLE_ADMIN_SERVICE_TOKEN.google_api: required valuesGOOGLE_API_CREDENTIALS; optional valuesGOOGLE_API_SUBJECT.
Input fields
array[string]
required
The list of alert IDs to delete. Sent as the request body’s
alertId field.string | null
The unique identifier of the Google Workspace account of the customer the alerts are associated with. The
customerId must have the initial “C” stripped (for example, 046psxkn). Inferred from the caller identity if not provided.Default: null.Batch undelete alerts
Action ID:tools.google_alert_center.batch_undelete_alerts
Performs batch undelete operation on alerts.
Reference: https://developers.google.com/workspace/admin/alertcenter/reference/rest/v1beta1/alerts/batchUndelete
Secrets
Optional secrets:google_admin_oauth: OAuth tokenGOOGLE_ADMIN_SERVICE_TOKEN.google_api: required valuesGOOGLE_API_CREDENTIALS; optional valuesGOOGLE_API_SUBJECT.
Input fields
array[string]
required
The list of alert IDs to undelete. Sent as the request body’s
alertId field.string | null
The unique identifier of the Google Workspace account of the customer the alerts are associated with. The
customerId must have the initial “C” stripped (for example, 046psxkn). Inferred from the caller identity if not provided.Default: null.Create alert feedback
Action ID:tools.google_alert_center.create_alert_feedback
Creates new feedback for an alert. Attempting to create a feedback for a non-existent alert returns NOT_FOUND error. Attempting to create a feedback for an alert that is marked for deletion returns FAILED_PRECONDITION error.
Reference: https://developers.google.com/workspace/admin/alertcenter/reference/rest/v1beta1/alerts.feedback/create
Secrets
Optional secrets:google_admin_oauth: OAuth tokenGOOGLE_ADMIN_SERVICE_TOKEN.google_api: required valuesGOOGLE_API_CREDENTIALS; optional valuesGOOGLE_API_SUBJECT.
Input fields
string
required
The identifier of the alert this feedback belongs to.
string
required
The type of the feedback. One of
NOT_USEFUL (the alert report is not useful), SOMEWHAT_USEFUL (the alert report is somewhat useful) or VERY_USEFUL (the alert report is very useful).string | null
The unique identifier of the Google Workspace account of the customer the alert is associated with. The
customerId must have the initial “C” stripped (for example, 046psxkn). Inferred from the caller identity if not provided.Default: null.Delete alert
Action ID:tools.google_alert_center.delete_alert
Marks the specified alert for deletion. An alert that has been marked for deletion is removed from Alert Center after 30 days. Marking an alert for deletion has no effect on an alert which has already been marked for deletion. Attempting to mark a nonexistent alert for deletion results in a NOT_FOUND error.
Reference: https://developers.google.com/workspace/admin/alertcenter/reference/rest/v1beta1/alerts/delete
Secrets
Optional secrets:google_admin_oauth: OAuth tokenGOOGLE_ADMIN_SERVICE_TOKEN.google_api: required valuesGOOGLE_API_CREDENTIALS; optional valuesGOOGLE_API_SUBJECT.
Input fields
string
required
The identifier of the alert to delete.
string | null
The unique identifier of the Google Workspace account of the customer the alert is associated with. The
customerId must have the initial “C” stripped (for example, 046psxkn). Inferred from the caller identity if not provided.Default: null.Get alert
Action ID:tools.google_alert_center.get_alert
Gets the specified alert. Attempting to get a nonexistent alert returns NOT_FOUND error.
Reference: https://developers.google.com/workspace/admin/alertcenter/reference/rest/v1beta1/alerts/get
Secrets
Optional secrets:google_admin_oauth: OAuth tokenGOOGLE_ADMIN_SERVICE_TOKEN.google_api: required valuesGOOGLE_API_CREDENTIALS; optional valuesGOOGLE_API_SUBJECT.
Input fields
string
required
The identifier of the alert to retrieve.
string | null
The unique identifier of the Google Workspace account of the customer the alert is associated with. The
customerId must have the initial “C” stripped (for example, 046psxkn). Inferred from the caller identity if not provided.Default: null.Get alert metadata
Action ID:tools.google_alert_center.get_alert_metadata
Returns the metadata of an alert. Attempting to get metadata for a non-existent alert returns NOT_FOUND error.
Reference: https://developers.google.com/workspace/admin/alertcenter/reference/rest/v1beta1/alerts/getMetadata
Secrets
Optional secrets:google_admin_oauth: OAuth tokenGOOGLE_ADMIN_SERVICE_TOKEN.google_api: required valuesGOOGLE_API_CREDENTIALS; optional valuesGOOGLE_API_SUBJECT.
Input fields
string
required
The identifier of the alert this metadata belongs to.
string | null
The unique identifier of the Google Workspace account of the customer the alert metadata is associated with. The
customerId must have the initial “C” stripped (for example, 046psxkn). Inferred from the caller identity if not provided.Default: null.List alert feedback
Action ID:tools.google_alert_center.list_alert_feedback
Lists all the feedback for an alert. Attempting to list feedbacks for a non-existent alert returns NOT_FOUND error.
Reference: https://developers.google.com/workspace/admin/alertcenter/reference/rest/v1beta1/alerts.feedback/list
Secrets
Optional secrets:google_admin_oauth: OAuth tokenGOOGLE_ADMIN_SERVICE_TOKEN.google_api: required valuesGOOGLE_API_CREDENTIALS; optional valuesGOOGLE_API_SUBJECT.
Input fields
string
required
The alert identifier. The ”-” wildcard could be used to represent all alerts.
string | null
The unique identifier of the Google Workspace account of the customer the alert is associated with. The
customerId must have the initial “C” stripped (for example, 046psxkn). Inferred from the caller identity if not provided.Default: null.string | null
A query string for filtering alert feedback results. Supported filter fields are
alertId and feedbackId, for example alertId = alertId01 AND feedbackId = feedbackId01.Default: null.List alerts
Action ID:tools.google_alert_center.list_alerts
Lists the alerts.
Reference: https://developers.google.com/workspace/admin/alertcenter/reference/rest/v1beta1/alerts/list
Secrets
Optional secrets:google_admin_oauth: OAuth tokenGOOGLE_ADMIN_SERVICE_TOKEN.google_api: required valuesGOOGLE_API_CREDENTIALS; optional valuesGOOGLE_API_SUBJECT.
Input fields
string | null
The unique identifier of the Google Workspace account of the customer the alerts are associated with. The
customerId must have the initial “C” stripped (for example, 046psxkn). Inferred from the caller identity if not provided.Default: null.string | null
A query string for filtering alert results. Supported filter fields are
alertId, type, source, createTime, startTime and endTime; the time fields take an RFC 3339 date-time string, for example createTime >= "2018-04-05T00:00:00Z".Default: null.string | null
The sort order of the list results. If not specified results may be returned in arbitrary order. Currently supported sorting are
createTime asc, createTime desc, updateTime desc.Default: null.integer | null
The requested page size. Server may return fewer items than requested. If unspecified, server picks an appropriate default.Default:
null.string | null
A token identifying a page of results the server should return. If empty, a new iteration is started. To continue an iteration, pass in the value from the previous ListAlertsResponse’s
nextPageToken field.Default: null.Undelete alert
Action ID:tools.google_alert_center.undelete_alert
Restores, or “undeletes”, an alert that was marked for deletion within the past 30 days. Attempting to undelete an alert which was marked for deletion over 30 days ago (which has been removed from the Alert Center database) or a nonexistent alert returns a NOT_FOUND error. Attempting to undelete an alert which has not been marked for deletion has no effect.
Reference: https://developers.google.com/workspace/admin/alertcenter/reference/rest/v1beta1/alerts/undelete
Secrets
Optional secrets:google_admin_oauth: OAuth tokenGOOGLE_ADMIN_SERVICE_TOKEN.google_api: required valuesGOOGLE_API_CREDENTIALS; optional valuesGOOGLE_API_SUBJECT.
Input fields
string
required
The identifier of the alert to undelete.
string | null
The unique identifier of the Google Workspace account of the customer the alert is associated with. The
customerId must have the initial “C” stripped (for example, 046psxkn). Inferred from the caller identity if not provided. This method takes the customer in the request body, not as a query parameter.Default: null.