You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| name | Name of the API (custom name) | Optional |`Google Workspace`|
270
+
| google_ws_sa_file_name | The name of the service account credentials file. **Required unless**`google_ws_sa_file_path` is set. | Required*|`""`|
271
+
| google_ws_sa_file_path | The path to the service account credentials file. **Required unless**`google_ws_sa_file_name` is set. Use this if mounting the file to a different path than the default. | Optional*|`./src/shared/<google_ws_sa_file_name>`|
272
+
| google_ws_delegated_account | The email of the user for which the application is requesting delegated access | Required | - |
273
+
| application_name | Specifies the [Google Workspace application](https://developers.google.com/workspace/admin/reports/reference/rest/v1/activities/list#applicationname) to fetch activity data from (e.g., `saml`, `user_accounts`, `login`, `admin`, `groups`, etc). | Required | - |
274
+
| user_key | The unique ID of the user to fetch activity data for | Optional |`all`|
275
+
| additional_fields | Additional custom fields to add to the logs before sending to logzio | Optional | - |
276
+
| days_back_fetch | The amount of days to fetch back in the first request | Optional | 1 (day) |
277
+
| scrape_interval | Time interval to wait between runs (unit: `minutes`) | Optional | 1 (minute) |
278
+
279
+
280
+
</details>
281
+
<details>
282
+
<summary>
283
+
<span><a href="./src/apis/google/README.md#google-workspace-general">Google Workspace General API</a></span>
284
+
</summary>
285
+
286
+
For structuring custom general Google Workspace API calls use type `google_workspace` API with the parameters below.
287
+
288
+
| Parameter Name | Description | Required/Optional | Default |
| name | Name of the API (custom name) | Optional |`Google Workspace`|
291
+
| google_ws_sa_file_name | The name of the service account credentials file. **Required unless**`google_ws_sa_file_path` is set. | Required*|`""`|
292
+
| google_ws_sa_file_path | The path to the service account credentials file. **Required unless**`google_ws_sa_file_name` is set. Use this if mounting the file to a different path than the default. | Optional*|`./src/shared/<google_ws_sa_file_name>`|
293
+
| google_ws_delegated_account | The email of the user for which the application is requesting delegated access | Required | - |
294
+
| scopes | The OAuth 2.0 scopes that you might need to request to access Google APIs | Optional |`["https://www.googleapis.com/auth/admin.reports.audit.readonly"]`|
295
+
| data_request | Nest here any detail relevant to the data request. (Options in [General API](../general/README.md)) | Required | - |
296
+
| additional_fields | Additional custom fields to add to the logs before sending to logzio | Optional | - |
297
+
| days_back_fetch | The amount of days to fetch back in the first request | Optional | 1 (day) |
298
+
| scrape_interval | Time interval to wait between runs (unit: `minutes`) | Optional | 1 (minute) |
0 commit comments