- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- Try it!
Full name: projects.locations.instances.webhooks.exportLogs
Exports logs for a given webhook.
HTTP request
Path parameters
| Parameters | |
|---|---|
name |
Required. The resource name of the Webhook to export logs for. Format: projects/{project}/locations/{location}/instances/{instance}/webhooks/{webhook}:exportLogs |
Request body
The request body must be empty.
Response body
Response message for webhooks.exportLogs.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{ "file": string, "blob": string } |
| Fields | |
|---|---|
file |
Required. The name of the exported file |
blob |
Required. The binary contents of the exported file. A base64-encoded string. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the name resource:
chronicle.webhooks.get
For more information, see the IAM documentation.