UNPKG

openapi-directory

Version:

Building & bundling https://github.com/APIs-guru/openapi-directory for easy use from JS

1 lines 62.9 kB
{"openapi":"3.0.0","servers":[{"url":"https://alertcenter.googleapis.com/"}],"info":{"contact":{"name":"Google","url":"https://google.com","x-twitter":"youtube"},"description":"Manages alerts on issues affecting your domain. Note: The current version of this API (v1beta1) is available to all Google Workspace customers. ","license":{"name":"Creative Commons Attribution 3.0","url":"http://creativecommons.org/licenses/by/3.0/"},"termsOfService":"https://developers.google.com/terms/","title":"Google Workspace Alert Center API","version":"v1beta1","x-apiClientRegistration":{"url":"https://console.developers.google.com"},"x-apisguru-categories":["analytics","media"],"x-logo":{"url":"https://www.google.com/images/branding/googlelogo/2x/googlelogo_color_272x92dp.png"},"x-origin":[{"converter":{"url":"https://github.com/mermade/oas-kit","version":"7.0.4"},"format":"google","url":"https://alertcenter.googleapis.com/$discovery/rest?version=v1beta1","version":"v1"}],"x-providerName":"googleapis.com","x-serviceName":"alertcenter"},"externalDocs":{"url":"https://developers.google.com/admin-sdk/alertcenter/"},"tags":[{"name":"alerts"},{"name":"v1beta1"}],"paths":{"/v1beta1/alerts":{"get":{"description":"Lists the alerts.","operationId":"alertcenter.alerts.list","parameters":[{"description":"Optional. The unique identifier of the Google Workspace account of the customer the alerts are associated with. The `customer_id` must have the initial \"C\" stripped (for example, `046psxkn`). Inferred from the caller identity if not provided. [Find your customer ID](https://support.google.com/cloudidentity/answer/10070793).","in":"query","name":"customerId","schema":{"type":"string"}},{"description":"Optional. A query string for filtering alert results. For more details, see [Query filters](https://developers.google.com/admin-sdk/alertcenter/guides/query-filters) and [Supported query filter fields](https://developers.google.com/admin-sdk/alertcenter/reference/filter-fields#alerts.list).","in":"query","name":"filter","schema":{"type":"string"}},{"description":"Optional. The sort order of the list results. If not specified results may be returned in arbitrary order. You can sort the results in descending order based on the creation timestamp using `order_by=\"create_time desc\"`. Currently, supported sorting are `create_time asc`, `create_time desc`, `update_time desc`","in":"query","name":"orderBy","schema":{"type":"string"}},{"description":"Optional. The requested page size. Server may return fewer items than requested. If unspecified, server picks an appropriate default.","in":"query","name":"pageSize","schema":{"type":"integer"}},{"description":"Optional. 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 next_page_token field.","in":"query","name":"pageToken","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListAlertsResponse"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/apps.alerts"],"Oauth2c":["https://www.googleapis.com/auth/apps.alerts"]}],"tags":["alerts"]},"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}]},"/v1beta1/alerts/{alertId}":{"delete":{"description":"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.","operationId":"alertcenter.alerts.delete","parameters":[{"description":"Required. The identifier of the alert to delete.","in":"path","name":"alertId","required":true,"schema":{"type":"string"}},{"description":"Optional. The unique identifier of the Google Workspace account of the customer the alert is associated with. The `customer_id` must have the initial \"C\" stripped (for example, `046psxkn`). Inferred from the caller identity if not provided. [Find your customer ID](https://support.google.com/cloudidentity/answer/10070793).","in":"query","name":"customerId","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Empty"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/apps.alerts"],"Oauth2c":["https://www.googleapis.com/auth/apps.alerts"]}],"tags":["alerts"]},"get":{"description":"Gets the specified alert. Attempting to get a nonexistent alert returns `NOT_FOUND` error.","operationId":"alertcenter.alerts.get","parameters":[{"description":"Required. The identifier of the alert to retrieve.","in":"path","name":"alertId","required":true,"schema":{"type":"string"}},{"description":"Optional. The unique identifier of the Google Workspace account of the customer the alert is associated with. The `customer_id` must have the initial \"C\" stripped (for example, `046psxkn`). Inferred from the caller identity if not provided. [Find your customer ID](https://support.google.com/cloudidentity/answer/10070793).","in":"query","name":"customerId","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Alert"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/apps.alerts"],"Oauth2c":["https://www.googleapis.com/auth/apps.alerts"]}],"tags":["alerts"]},"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}]},"/v1beta1/alerts/{alertId}/feedback":{"get":{"description":"Lists all the feedback for an alert. Attempting to list feedbacks for a non-existent alert returns `NOT_FOUND` error.","operationId":"alertcenter.alerts.feedback.list","parameters":[{"description":"Required. The alert identifier. The \"-\" wildcard could be used to represent all alerts.","in":"path","name":"alertId","required":true,"schema":{"type":"string"}},{"description":"Optional. The unique identifier of the Google Workspace account of the customer the alert is associated with. The `customer_id` must have the initial \"C\" stripped (for example, `046psxkn`). Inferred from the caller identity if not provided. [Find your customer ID](https://support.google.com/cloudidentity/answer/10070793).","in":"query","name":"customerId","schema":{"type":"string"}},{"description":"Optional. A query string for filtering alert feedback results. For more details, see [Query filters](https://developers.google.com/admin-sdk/alertcenter/guides/query-filters) and [Supported query filter fields](https://developers.google.com/admin-sdk/alertcenter/reference/filter-fields#alerts.feedback.list).","in":"query","name":"filter","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListAlertFeedbackResponse"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/apps.alerts"],"Oauth2c":["https://www.googleapis.com/auth/apps.alerts"]}],"tags":["alerts"]},"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}],"post":{"description":"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.","operationId":"alertcenter.alerts.feedback.create","parameters":[{"description":"Required. The identifier of the alert this feedback belongs to.","in":"path","name":"alertId","required":true,"schema":{"type":"string"}},{"description":"Optional. The unique identifier of the Google Workspace account of the customer the alert is associated with. The `customer_id` must have the initial \"C\" stripped (for example, `046psxkn`). Inferred from the caller identity if not provided. [Find your customer ID](https://support.google.com/cloudidentity/answer/10070793).","in":"query","name":"customerId","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlertFeedback"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlertFeedback"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/apps.alerts"],"Oauth2c":["https://www.googleapis.com/auth/apps.alerts"]}],"tags":["alerts"]}},"/v1beta1/alerts/{alertId}/metadata":{"get":{"description":"Returns the metadata of an alert. Attempting to get metadata for a non-existent alert returns `NOT_FOUND` error.","operationId":"alertcenter.alerts.getMetadata","parameters":[{"description":"Required. The identifier of the alert this metadata belongs to.","in":"path","name":"alertId","required":true,"schema":{"type":"string"}},{"description":"Optional. The unique identifier of the Google Workspace account of the customer the alert metadata is associated with. The `customer_id` must have the initial \"C\" stripped (for example, `046psxkn`). Inferred from the caller identity if not provided. [Find your customer ID](https://support.google.com/cloudidentity/answer/10070793).","in":"query","name":"customerId","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlertMetadata"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/apps.alerts"],"Oauth2c":["https://www.googleapis.com/auth/apps.alerts"]}],"tags":["alerts"]},"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}]},"/v1beta1/alerts/{alertId}:undelete":{"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}],"post":{"description":"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.","operationId":"alertcenter.alerts.undelete","parameters":[{"description":"Required. The identifier of the alert to undelete.","in":"path","name":"alertId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UndeleteAlertRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Alert"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/apps.alerts"],"Oauth2c":["https://www.googleapis.com/auth/apps.alerts"]}],"tags":["alerts"]}},"/v1beta1/alerts:batchDelete":{"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}],"post":{"description":"Performs batch delete operation on alerts.","operationId":"alertcenter.alerts.batchDelete","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchDeleteAlertsRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchDeleteAlertsResponse"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/apps.alerts"],"Oauth2c":["https://www.googleapis.com/auth/apps.alerts"]}],"tags":["alerts"]}},"/v1beta1/alerts:batchUndelete":{"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}],"post":{"description":"Performs batch undelete operation on alerts.","operationId":"alertcenter.alerts.batchUndelete","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchUndeleteAlertsRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchUndeleteAlertsResponse"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/apps.alerts"],"Oauth2c":["https://www.googleapis.com/auth/apps.alerts"]}],"tags":["alerts"]}},"/v1beta1/settings":{"get":{"description":"Returns customer-level settings.","operationId":"alertcenter.getSettings","parameters":[{"description":"Optional. The unique identifier of the Google Workspace account of the customer the alert settings are associated with. The `customer_id` must/ have the initial \"C\" stripped (for example, `046psxkn`). Inferred from the caller identity if not provided. [Find your customer ID](https://support.google.com/cloudidentity/answer/10070793).","in":"query","name":"customerId","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Settings"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/apps.alerts"],"Oauth2c":["https://www.googleapis.com/auth/apps.alerts"]}],"tags":["v1beta1"]},"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}],"patch":{"description":"Updates the customer-level settings.","operationId":"alertcenter.updateSettings","parameters":[{"description":"Optional. The unique identifier of the Google Workspace account of the customer the alert settings are associated with. The `customer_id` must have the initial \"C\" stripped (for example, `046psxkn`). Inferred from the caller identity if not provided. [Find your customer ID](https://support.google.com/cloudidentity/answer/10070793).","in":"query","name":"customerId","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Settings"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Settings"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/apps.alerts"],"Oauth2c":["https://www.googleapis.com/auth/apps.alerts"]}],"tags":["v1beta1"]}}},"components":{"parameters":{"_.xgafv":{"description":"V1 error format.","in":"query","name":"$.xgafv","schema":{"enum":["1","2"],"type":"string"}},"access_token":{"description":"OAuth access token.","in":"query","name":"access_token","schema":{"type":"string"}},"alt":{"description":"Data format for response.","in":"query","name":"alt","schema":{"enum":["json","media","proto"],"type":"string"}},"callback":{"description":"JSONP","in":"query","name":"callback","schema":{"type":"string"}},"fields":{"description":"Selector specifying which fields to include in a partial response.","in":"query","name":"fields","schema":{"type":"string"}},"key":{"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","in":"query","name":"key","schema":{"type":"string"}},"oauth_token":{"description":"OAuth 2.0 token for the current user.","in":"query","name":"oauth_token","schema":{"type":"string"}},"prettyPrint":{"description":"Returns response with indentations and line breaks.","in":"query","name":"prettyPrint","schema":{"type":"boolean"}},"quotaUser":{"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","in":"query","name":"quotaUser","schema":{"type":"string"}},"uploadType":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","in":"query","name":"uploadType","schema":{"type":"string"}},"upload_protocol":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","in":"query","name":"upload_protocol","schema":{"type":"string"}}},"schemas":{"AbuseDetected":{"description":"A generic alert for abusive user activity occurring with a customer.","properties":{"additionalDetails":{"$ref":"#/components/schemas/EntityList","description":"List of abusive users/entities to be displayed in a table in the alert."},"product":{"description":"Product that the abuse is originating from.","type":"string"},"subAlertId":{"description":"Unique identifier of each sub alert that is onboarded.","type":"string"},"variationType":{"description":"Variation of AbuseDetected alerts. The variation_type determines the texts displayed the alert details. This differs from sub_alert_id because each sub alert can have multiple variation_types, representing different stages of the alert.","enum":["ABUSE_DETECTED_VARIATION_TYPE_UNSPECIFIED","DRIVE_ABUSIVE_CONTENT","LIMITED_DISABLE"],"type":"string"}},"type":"object"},"AccessApproval":{"description":"Alert that is triggered when Google support requests to access customer data.","properties":{"justificationReason":{"description":"Justification for data access based on justification enums.","items":{"enum":["JUSTIFICATION_UNSPECIFIED","CUSTOMER_INITIATED_SUPPORT","GOOGLE_INITIATED_REVIEW","GOOGLE_INITIATED_SERVICE","THIRD_PARTY_DATA_REQUEST","GOOGLE_RESPONSE_TO_PRODUCTION_ALERT"],"type":"string"},"type":"array"},"officeLocation":{"description":"Office location of Google staff requesting access such as \"US\".","type":"string"},"products":{"description":"Products within scope of the Access Approvals request.","items":{"type":"string"},"type":"array"},"requestId":{"description":"ID of the Access Approvals request. This is a helpful field when requesting support from Google.","type":"string"},"scope":{"description":"Scope of access, also known as a resource. This is further narrowed down by the product field.","type":"string"},"tickets":{"description":"Support tickets related to this Access Approvals request. Populated if there is an associated case number.","items":{"$ref":"#/components/schemas/SupportTicket"},"type":"array"}},"type":"object"},"AccountSuspensionDetails":{"description":"Details about why an account is receiving an account suspension warning.","properties":{"abuseReason":{"description":"The reason why this account is receiving an account suspension warning.","enum":["ACCOUNT_SUSPENSION_ABUSE_REASON_UNSPECIFIED","TOS_VIOLATION","SPAM","PHISHING","TRAFFIC_PUMPING","FRAUD","NUMBER_HARVESTING","PAYMENTS_FRAUD","UNWANTED_CONTENT"],"type":"string"},"productName":{"description":"The name of the product being abused. This is restricted to only the following values: \"Gmail\" \"Google Workspace\" \"Payments\" \"Voice\" \"YouTube\" \"Other\"","type":"string"}},"type":"object"},"AccountSuspensionWarning":{"description":"A warning that the customer's account is about to be suspended.","properties":{"appealWindow":{"description":"The amount of time remaining to appeal an imminent suspension. After this window has elapsed, the account will be suspended. Only populated if the account suspension is in WARNING state.","format":"google-duration","type":"string"},"state":{"description":"Account suspension warning state.","enum":["ACCOUNT_SUSPENSION_WARNING_STATE_UNSPECIFIED","WARNING","SUSPENDED","APPEAL_APPROVED","APPEAL_SUBMITTED"],"type":"string"},"suspensionDetails":{"description":"Details about why an account is being suspended.","items":{"$ref":"#/components/schemas/AccountSuspensionDetails"},"type":"array"}},"type":"object"},"AccountWarning":{"description":"Alerts for user account warning events.","properties":{"email":{"description":"Required. The email of the user that this event belongs to.","type":"string"},"loginDetails":{"$ref":"#/components/schemas/LoginDetails","description":"Optional. Details of the login action associated with the warning event. This is only available for: * Suspicious login * Suspicious login (less secure app) * Suspicious programmatic login * User suspended (suspicious activity)"}},"type":"object"},"ActionInfo":{"description":"Metadata related to the action.","properties":{},"type":"object"},"ActivityRule":{"description":"Alerts from Google Workspace Security Center rules service configured by an admin.","properties":{"actionNames":{"description":"List of action names associated with the rule threshold.","items":{"type":"string"},"type":"array"},"createTime":{"description":"Rule create timestamp.","format":"google-datetime","type":"string"},"description":{"description":"Description of the rule.","type":"string"},"displayName":{"description":"Alert display name.","type":"string"},"name":{"description":"Rule name.","type":"string"},"query":{"description":"Query that is used to get the data from the associated source.","type":"string"},"supersededAlerts":{"description":"List of alert IDs superseded by this alert. It is used to indicate that this alert is essentially extension of superseded alerts and we found the relationship after creating these alerts.","items":{"type":"string"},"type":"array"},"supersedingAlert":{"description":"Alert ID superseding this alert. It is used to indicate that superseding alert is essentially extension of this alert and we found the relationship after creating both alerts.","type":"string"},"threshold":{"description":"Alert threshold is for example “COUNT > 5”.","type":"string"},"triggerSource":{"description":"The trigger sources for this rule. * GMAIL_EVENTS * DEVICE_EVENTS * USER_EVENTS","type":"string"},"updateTime":{"description":"The timestamp of the last update to the rule.","format":"google-datetime","type":"string"},"windowSize":{"description":"Rule window size. Possible values are 1 hour or 24 hours.","format":"google-duration","type":"string"}},"type":"object"},"Alert":{"description":"An alert affecting a customer.","properties":{"alertId":{"description":"Output only. The unique identifier for the alert.","type":"string"},"createTime":{"description":"Output only. The time this alert was created.","format":"google-datetime","type":"string"},"customerId":{"description":"Output only. The unique identifier of the Google Workspace account of the customer.","type":"string"},"data":{"additionalProperties":{"description":"Properties of the object. Contains field @type with type URL."},"description":"Optional. The data associated with this alert, for example google.apps.alertcenter.type.DeviceCompromised.","type":"object"},"deleted":{"description":"Output only. `True` if this alert is marked for deletion.","type":"boolean"},"endTime":{"description":"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.","format":"google-datetime","type":"string"},"etag":{"description":"Optional. `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of an alert from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform alert updates in order to avoid race conditions: An `etag` is returned in the response which contains alerts, and systems are expected to put that etag in the request to update alert to ensure that their change will be applied to the same version of the alert. If no `etag` is provided in the call to update alert, then the existing alert is overwritten blindly.","type":"string"},"metadata":{"$ref":"#/components/schemas/AlertMetadata","description":"Output only. The metadata associated with this alert."},"securityInvestigationToolLink":{"description":"Output only. An optional [Security Investigation Tool](https://support.google.com/a/answer/7575955) query for this alert.","type":"string"},"source":{"description":"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 * Data Loss Prevention * Domain wide takeout * State sponsored attack * Google identity * Apps outage","type":"string"},"startTime":{"description":"Required. The time the event that caused this alert was started or detected.","format":"google-datetime","type":"string"},"type":{"description":"Required. The type of the alert. This is output only after alert is created. For a list of available alert types see [Google Workspace Alert types](https://developers.google.com/admin-sdk/alertcenter/reference/alert-types).","type":"string"},"updateTime":{"description":"Output only. The time this alert was last updated.","format":"google-datetime","type":"string"}},"type":"object"},"AlertFeedback":{"description":"A customer feedback about an alert.","properties":{"alertId":{"description":"Output only. The alert identifier.","type":"string"},"createTime":{"description":"Output only. The time this feedback was created.","format":"google-datetime","type":"string"},"customerId":{"description":"Output only. The unique identifier of the Google Workspace account of the customer.","type":"string"},"email":{"description":"Output only. The email of the user that provided the feedback.","type":"string"},"feedbackId":{"description":"Output only. The unique identifier for the feedback.","type":"string"},"type":{"description":"Required. The type of the feedback.","enum":["ALERT_FEEDBACK_TYPE_UNSPECIFIED","NOT_USEFUL","SOMEWHAT_USEFUL","VERY_USEFUL"],"type":"string"}},"type":"object"},"AlertMetadata":{"description":"An alert metadata.","properties":{"alertId":{"description":"Output only. The alert identifier.","type":"string"},"assignee":{"description":"The email address of the user assigned to the alert.","type":"string"},"customerId":{"description":"Output only. The unique identifier of the Google Workspace account of the customer.","type":"string"},"etag":{"description":"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.","type":"string"},"severity":{"description":"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","type":"string"},"status":{"description":"The current status of the alert. The supported values are the following: * NOT_STARTED * IN_PROGRESS * CLOSED","type":"string"},"updateTime":{"description":"Output only. The time this metadata was last updated.","format":"google-datetime","type":"string"}},"type":"object"},"ApnsCertificateExpirationInfo":{"description":"The explanation message associated with \"APNS certificate is expiring soon\" and \"APNS certificate has expired\" alerts.","properties":{"appleId":{"description":"The Apple ID used to create the certificate. It may be blank if admins didn't enter it.","type":"string"},"expirationTime":{"description":"The expiration date of the APNS certificate.","format":"google-datetime","type":"string"},"uid":{"description":"The UID of the certificate.","type":"string"}},"type":"object"},"AppMakerSqlSetupNotification":{"description":"Alerts from App Maker to notify admins to set up default SQL instance.","properties":{"requestInfo":{"description":"List of applications with requests for default SQL set up.","items":{"$ref":"#/components/schemas/RequestInfo"},"type":"array"}},"type":"object"},"AppSettingsChanged":{"description":"Alerts from AppSettingsChanged bucket Rules configured by Admin which contain the below rules. Calendar settings changed Drive settings changed Email settings changed Mobile settings changed","properties":{"alertDetails":{"description":"Any other associated alert details, for example, AlertConfiguration.","format":"byte","type":"string"},"name":{"description":"Rule name","type":"string"}},"type":"object"},"AppsOutage":{"description":"An outage incident reported for a Google Workspace service.","properties":{"dashboardUri":{"description":"Link to the outage event in Google Workspace Status Dashboard","type":"string"},"incidentTrackingId":{"description":"Incident tracking ID.","type":"string"},"mergeInfo":{"$ref":"#/components/schemas/MergeInfo","description":"Indicates new alert details under which the outage is communicated. Only populated when Status is MERGED."},"nextUpdateTime":{"description":"Timestamp by which the next update is expected to arrive.","format":"google-datetime","type":"string"},"products":{"description":"List of products impacted by the outage.","items":{"type":"string"},"type":"array"},"resolutionTime":{"description":"Timestamp when the outage is expected to be resolved, or has confirmed resolution. Provided only when known.","format":"google-datetime","type":"string"},"status":{"description":"Current outage status.","enum":["STATUS_UNSPECIFIED","NEW","ONGOING","RESOLVED","FALSE_POSITIVE","PARTIALLY_RESOLVED","MERGED","DOWNGRADED"],"type":"string"}},"type":"object"},"Attachment":{"description":"Attachment with application-specific information about an alert.","properties":{"csv":{"$ref":"#/components/schemas/Csv","description":"A CSV file attachment."}},"type":"object"},"BadWhitelist":{"description":"Alert for setting the domain or IP that malicious email comes from as whitelisted domain or IP in Gmail advanced settings.","properties":{"domainId":{"$ref":"#/components/schemas/DomainId","description":"The domain ID."},"maliciousEntity":{"$ref":"#/components/schemas/MaliciousEntity","description":"The entity whose actions triggered a Gmail phishing alert."},"messages":{"description":"The list of messages contained by this alert.","items":{"$ref":"#/components/schemas/GmailMessageInfo"},"type":"array"},"sourceIp":{"description":"The source IP address of the malicious email, for example, `127.0.0.1`.","type":"string"}},"type":"object"},"BatchDeleteAlertsRequest":{"description":"A request to perform batch delete on alerts.","properties":{"alertId":{"description":"Required. The list of alert IDs to delete.","items":{"type":"string"},"type":"array"},"customerId":{"description":"Optional. The unique identifier of the Google Workspace account of the customer the alerts are associated with. The `customer_id` must have the initial \"C\" stripped (for example, `046psxkn`). Inferred from the caller identity if not provided. [Find your customer ID](https://support.google.com/cloudidentity/answer/10070793).","type":"string"}},"type":"object"},"BatchDeleteAlertsResponse":{"description":"Response to batch delete operation on alerts.","properties":{"failedAlertStatus":{"additionalProperties":{"$ref":"#/components/schemas/Status"},"description":"The status details for each failed `alert_id`.","type":"object"},"successAlertIds":{"description":"The successful list of alert IDs.","items":{"type":"string"},"type":"array"}},"type":"object"},"BatchUndeleteAlertsRequest":{"description":"A request to perform batch undelete on alerts.","properties":{"alertId":{"description":"Required. The list of alert IDs to undelete.","items":{"type":"string"},"type":"array"},"customerId":{"description":"Optional. The unique identifier of the Google Workspace account of the customer the alerts are associated with. The `customer_id` must have the initial \"C\" stripped (for example, `046psxkn`). Inferred from the caller identity if not provided. [Find your customer ID](https://support.google.com/cloudidentity/answer/10070793).","type":"string"}},"type":"object"},"BatchUndeleteAlertsResponse":{"description":"Response to batch undelete operation on alerts.","properties":{"failedAlertStatus":{"additionalProperties":{"$ref":"#/components/schemas/Status"},"description":"The status details for each failed `alert_id`.","type":"object"},"successAlertIds":{"description":"The successful list of alert IDs.","items":{"type":"string"},"type":"array"}},"type":"object"},"CloudPubsubTopic":{"description":"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.","properties":{"payloadFormat":{"description":"Optional. The format of the payload that would be sent. If not specified the format will be JSON.","enum":["PAYLOAD_FORMAT_UNSPECIFIED","JSON"],"type":"string"},"topicName":{"description":"The `name` field of a Cloud Pubsub [Topic] (https://cloud.google.com/pubsub/docs/reference/rest/v1/projects.topics#Topic).","type":"string"}},"type":"object"},"Csv":{"description":"A representation of a CSV file attachment, as a list of column headers and a list of data rows.","properties":{"dataRows":{"description":"The list of data rows in a CSV file, as string arrays rather than as a single comma-separated string.","items":{"$ref":"#/components/schemas/CsvRow"},"type":"array"},"headers":{"description":"The list of headers for data columns in a CSV file.","items":{"type":"string"},"type":"array"}},"type":"object"},"CsvRow":{"description":"A representation of a single data row in a CSV file.","properties":{"entries":{"description":"The data entries in a CSV file row, as a string array rather than a single comma-separated string.","items":{"type":"string"},"type":"array"}},"type":"object"},"DeviceCompromised":{"description":"A mobile device compromised alert. Derived from audit logs.","properties":{"email":{"description":"The email of the user this alert was created for.","type":"string"},"events":{"description":"Required. The list of security events.","items":{"$ref":"#/components/schemas/DeviceCompromisedSecurityDetail"},"type":"array"}},"type":"object"},"DeviceCompromisedSecurityDetail":{"description":"Detailed information of a single MDM device compromised event.","properties":{"deviceCompromisedState":{"description":"The device compromised state. Possible values are \"`Compromised`\" or \"`Not Compromised`\".","type":"string"},"deviceId":{"description":"Required. The device ID.","type":"string"},"deviceModel":{"description":"The model of the device.","type":"string"},"deviceType":{"description":"The type of the device.","type":"string"},"iosVendorId":{"description":"Required for iOS, empty for others.","type":"string"},"resourceId":{"description":"The device resource ID.","type":"string"},"serialNumber":{"description":"The serial number of the device.","type":"string"}},"type":"object"},"DeviceManagementRule":{"description":"Alerts from Device Management Rules configured by Admin.","properties":{"deviceId":{"description":"Required. The device ID.","type":"string"},"deviceModel":{"description":"The model of the device.","type":"string"},"deviceType":{"description":"The type of the device.","type":"string"},"email":{"description":"The email of the user this alert was created for.","type":"string"},"iosVendorId":{"description":"Required for iOS, empty for others.","type":"string"},"resourceId":{"description":"The device resource ID.","type":"string"},"serialNumber":{"description":"The serial number of the device.","type":"string"}},"type":"object"},"DlpRuleViolation":{"description":"Alerts that get triggered on violations of Data Loss Prevention (DLP) rules.","properties":{"ruleViolationInfo":{"$ref":"#/components/schemas/RuleViolationInfo","description":"Details about the violated DLP rule. Admins can use the predefined detectors provided by Google Cloud DLP https://cloud.google.com/dlp/ when setting up a DLP rule. Matched Cloud DLP detectors in this violation if any will be captured in the MatchInfo.predefined_detector."}},"type":"object"},"DomainId":{"description":"Domain ID of Gmail phishing alerts.","properties":{"customerPrimaryDomain":{"description":"The primary domain for the customer.","type":"string"}},"type":"object"},"DomainWideTakeoutInitiated":{"description":"A takeout operation for the entire domain was initiated by an admin. Derived from audit logs.","properties":{"email":{"description":"The email of the admin who initiated the takeout.","type":"string"},"takeoutRequestId":{"description":"The takeout request ID.","type":"string"}},"type":"object"},"Empty":{"description":"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); }","properties":{},"type":"object"},"Entity":{"description":"Individual entity affected by, or related to, an alert.","properties":{"link":{"description":"Link to a Security Investigation Tool search based on this entity, if available.","type":"string"},"name":{"description":"Human-readable name of this entity, such as an email address, file ID, or device name.","type":"string"},"values":{"description":"Extra values beyond name. The order of values should align with headers in EntityList.","items":{"type":"string"},"type":"array"}},"type":"object"},"EntityList":{"description":"EntityList stores entities in a format that can be translated to a table in the Alert Center UI.","properties":{"entities":{"description":"List of entities affected by the alert.","items":{"$ref":"#/components/schemas/Entity"},"type":"array"},"headers":{"description":"Headers of the values in entities. If no value is defined in Entity, this field should be empty.","items":{"type":"string"},"type":"array"},"name":{"description":"Name of the key detail used to display this entity list.","type":"string"}},"type":"object"},"GmailMessageInfo":{"description":"Details of a message in phishing spike alert.","properties":{"attachmentsSha256Hash":{"description":"The `SHA256` hash of email's attachment and all MIME parts.","items":{"type":"string"},"type":"array"},"date":{"description":"The date of the event related to this email.","format":"google-datetime","type":"string"},"md5HashMessageBody":{"description":"The hash of the message body text.","type":"string"},"md5HashSubject":{"description":"The MD5 Hash of email's subject (only available for reported emails).","type":"string"},"messageBodySnippet":{"description":"The snippet of the message body text (only available for reported emails).","type":"string"},"messageId":{"description":"The message ID.","type":"string"},"recipient":{"description":"The recipient of this email.","type":"string"},"sentTime":{"description":"The sent time of the email.","format":"google-datetime","type":"string"},"subjectText":{"description":"The email subject text (only available for reported emails).","type":"string"}},"type":"object"},"GoogleOperations":{"description":"An incident reported by Google Operations for a Google Workspace application.","properties":{"affectedUserEmails":{"description":"The list of emails which correspond to the users directly affected by the incident.","items":{"type":"string"},"type":"array"},"attachmentData":{"$ref":"#/components/schemas/Attachment","description":"Optional. Application-specific data for an incident, provided when the Google Workspace application which reported the incident cannot be completely restored to a valid state."},"description":{"description":"A detailed, freeform incident description.","type":"string"},"domain":{"description":"Customer domain for email template personalization.","type":"string"},"header":{"description":"A header to display above the incident message. Typically used to attach a localized notice on the timeline for followup comms translations.","type":"string"},"title":{"description":"A one-line incident description.","type":"string"}},"type":"object"},"ListAlertFeedbackResponse":{"description":"Response message for an alert feedback listing request.","properties":{"feedback":{"description":"The list of alert feedback. Feedback entries for each alert are ordered by creation time descending.","items":{"$ref":"#/components/schemas/AlertFeedback"},"type":"array"}},"type":"object"},"ListAlertsResponse":{"description":"Response message for an alert listing request.","properties":{"alerts":{"description":"The list of alerts.","items":{"$ref":"#/components/schemas/Alert"},"type":"array"},"nextPageToken":{"description":"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.","type":"string"}},"type":"object"},"LoginDetails":{"description":"The details of the login action.","properties":{"ipAddress":{"description":"Optional. The human-readable IP address (for example, `11.22.33.44`) that is associated with the warning event.","type":"string"},"loginTime":{"description":"Optional. The successful login time that is associated with the warning event. This isn't present for blocked login attempts.","format":"google-datetime","type":"string"}},"type":"object"},"MailPhishing":{"description":"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 * Gmail potential employee spoofing","properties":{"domainId":{"$ref":"#/components/schemas/DomainId","description":"The domain ID."},"isInternal":{"description":"If `true`, the email originated from within the organization.","type":"boolean"},"maliciousEntity":{"$ref":"#/components/schemas/MaliciousEntity","description":"The entity whose actions triggered a Gmail phishing alert."},"messages":{"description":"The list of messages contained by this alert.","items":{"$ref":"#/components/schemas/GmailMessageInfo"},"type":"array"},"systemActionType":{"description":"System actions on the messages.","enum":["SYSTEM_ACTION_TYPE_UNSPECIFIED","NO_OPERATION","REMOVED_FROM_INBOX"],"type":"string"}},"type":"object"},"MaliciousEntity":{"description":"Entity whose actions triggered a Gmail phishing alert.","properties":{"displayName":{"description":"The header from display name.","type":"string"},"entity":{"$ref":"#/components/schemas/User","description":"The actor who triggered a gmail phishing alert."},"fromHeader":{"description":"The sender email address.","type":"string"}},"type":"object"},"MandatoryServiceAnnouncement":{"description":"Alert Created by the MSA team for communications necessary for continued use of Google Workspace Products.","properties":{"description":{"description":"Detailed, freeform text describing the announcement","type":"string"},"title":{"description":"One line summary of the announcement","type":"string"}},"type":"object"},"MatchInfo":{"description":"Proto that contains match information from the condition part of the rule.","properties":{"predefinedDetector":{"$ref":"#/components/schemas/PredefinedDetectorInfo","description":"For matched detector predefined by Google."},"userDefinedDetector":{"$ref":"#/components/schemas/UserDefinedDetectorInfo","description":"For matched detector defined by administrators."}},"type":"object"},"MergeInfo":{"description":"New alert tracking numbers.","properties":{"newAlertId":{"description":"Optional. New alert ID. Reference the [google.apps.alertcenter.Alert] with this ID for the current state.","type":"string"},"newIncidentTrackingId":{"description":"The new tracking ID from the parent incident.","type":"string"}},"type":"object"},"Notification":{"description":"Settings for callback notifications. For more details see [Google Workspace Alert Notification](https://developers.google.com/admin-sdk/alertcenter/guides/notifications).","properties":{"cloudPubsubTopic":{"$ref":"#/components/schemas/CloudPubsubTopic","description":"A Google Cloud Pub/sub topic destination."}},"type":"object"},"PhishingSpike":{"description":"Alert for a spike in user reported phishing. *Warning*: This type has been deprecated. Use [MailPhishing](/admin-sdk/alertcenter/reference/rest/v1beta1/MailPhishing) instead.","properties":{"domainId":{"$ref":"#/components/schemas/DomainId","description":"The domain ID."},"isInternal":{"description":"If `true`, the email originated from within the organization.","type":"boolean"},"maliciousEntity":{"$ref":"#/components/schemas/MaliciousEntity","description":"The entity whose actions triggered a Gmail phishing alert."},"messages":{"description":"The list of messages contained by this alert.","items":{"$ref":"#/components/schemas/GmailMessageInfo"},"type":"array"}},"type":"object"},"PredefinedDetectorInfo":{"description":"Detector provided by Google.","properties":{"detectorName":{"description":"Name that uniquely identifies the detector.","type":"string"}},"type":"object"},"PrimaryAdminChangedEvent":{"description":"Event occurred when primary admin changed in customer's account. The event are being received from insight forwarder","properties":{"domain":{"description":"domain in which actioned occurred","type":"string"},"previousAdminEmail":{"description":"Email of person who was the primary admin before the action","type":"string"},"updatedAdminEmail":{"description":"Email of person who is the primary admin after the action","type":"string"}},"type":"object"},"ReportingRule":{"description":"Alerts from Reporting Rules configured by Admin.","properties":{"alertDetails":{"description":"Any other associated alert details, for example, AlertConfiguration.","format":"byte","type":"string"},"name":{"description":"Rule name","type":"string"},"query":{"description":"Alert Rule query Sample Query query { condition { filter { expected_application_id: 777491262838 expected_event_name: \"indexable_content_change\" filter_op: IN } } conjunction_operator: OR }","format":"byte","type":"string"}},"type":"object"},"RequestInfo":{"description":"Requests for one application that needs default SQL setup.","properties":{"appDeveloperEmail":{"description":"List of app developers who triggered notifications for above application.","items":{"type":"string"},"type":"array"},"appKey":{"description":"Required. The application that requires the SQL setup.","type":"string"},"numberOfRequests":{"description":"Required. Number of requests sent for this application to set up default SQL instance.","format":"int64","type":"string"}},"type":"object"},"ResourceInfo":{"description":"Proto that contains resource information.","properties":{"documentId":{"description":"Drive file ID.","type":"string"},"resourceTitle":{"description":"Title of