- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Examples
Returns the metadata of an alert. Attempting to get metadata for a non-existent alert returns NOT_FOUND
error.
HTTP request
GET https://alertcenter.googleapis.com/v1beta1/alerts/{alertId}/metadata
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
alertId |
Required. The identifier of the alert this metadata belongs to. |
Query parameters
Parameters | |
---|---|
customerId |
Optional. The unique identifier of the Google Workspace account of the customer the alert metadata is associated with. The |
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of AlertMetadata
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/apps.alerts
For more information, see the Authorization guide.