mirror of
https://github.com/GAM-team/GAM.git
synced 2026-06-03 22:01:39 +00:00
Alert Center notifications
This commit is contained in:
@@ -7,6 +7,7 @@
|
|||||||
- [Display alerts](#display-alerts)
|
- [Display alerts](#display-alerts)
|
||||||
- [Manage alert feedback](#manage-alert-feedback)
|
- [Manage alert feedback](#manage-alert-feedback)
|
||||||
- [Display alert feedback](#display-alert-feedback)
|
- [Display alert feedback](#display-alert-feedback)
|
||||||
|
- [Configuring settings](#configuring-settings)
|
||||||
|
|
||||||
## API documentation
|
## API documentation
|
||||||
* [Alert Center API](https://developers.google.com/admin-sdk/alertcenter/reference/rest/)
|
* [Alert Center API](https://developers.google.com/admin-sdk/alertcenter/reference/rest/)
|
||||||
@@ -18,6 +19,7 @@
|
|||||||
## Definitions
|
## Definitions
|
||||||
```
|
```
|
||||||
<AlertID> ::= <String>
|
<AlertID> ::= <String>
|
||||||
|
<PubSubTopicName> ::= <String>
|
||||||
<QueryAlert> ::= <String> See: https://developers.google.com/admin-sdk/alertcenter/guides/query-filters
|
<QueryAlert> ::= <String> See: https://developers.google.com/admin-sdk/alertcenter/guides/query-filters
|
||||||
```
|
```
|
||||||
## Introduction
|
## Introduction
|
||||||
@@ -95,3 +97,15 @@ the quote character itself, the column delimiter (comma by default) and new-line
|
|||||||
When using the `formatjson` option, double quotes are used extensively in the data resulting in hard to read/process output.
|
When using the `formatjson` option, double quotes are used extensively in the data resulting in hard to read/process output.
|
||||||
The `quotechar <Character>` option allows you to choose an alternate quote character, single quote for instance, that makes for readable/processable output.
|
The `quotechar <Character>` option allows you to choose an alternate quote character, single quote for instance, that makes for readable/processable output.
|
||||||
`quotechar` defaults to `gam.cfg/csv_output_quote_char`. When uploading CSV files to Google, double quote `"` should be used.
|
`quotechar` defaults to `gam.cfg/csv_output_quote_char`. When uploading CSV files to Google, double quote `"` should be used.
|
||||||
|
|
||||||
|
## Configuring settings
|
||||||
|
|
||||||
|
Alert Center can be configured to send notifications to a Google Cloud Pub/Sub topic, but it first requires configuration.
|
||||||
|
* See https://developers.google.com/workspace/admin/alertcenter/guides/notifications for information.
|
||||||
|
|
||||||
|
Gam can be used to display or modify the settings:
|
||||||
|
```
|
||||||
|
gam show alertsettings
|
||||||
|
gam update alertsettings <PubSubTopicName>
|
||||||
|
gam clear alertsettings
|
||||||
|
```
|
||||||
@@ -436,6 +436,7 @@
|
|||||||
Must match this Python Regular Expression: [a-zA-Z0-9 '"!-]{4,30}
|
Must match this Python Regular Expression: [a-zA-Z0-9 '"!-]{4,30}
|
||||||
<PropertyKey> ::= <String>
|
<PropertyKey> ::= <String>
|
||||||
<PropertyValue> ::= <String>
|
<PropertyValue> ::= <String>
|
||||||
|
<PubSubTopicName> ::= <String>
|
||||||
<QueryAlert> ::= <String>
|
<QueryAlert> ::= <String>
|
||||||
See: https://developers.google.com/admin-sdk/alertcenter/guides/query-filters
|
See: https://developers.google.com/admin-sdk/alertcenter/guides/query-filters
|
||||||
<QueryBrowser> ::= <String>
|
<QueryBrowser> ::= <String>
|
||||||
|
|||||||
Reference in New Issue
Block a user