Method: webhooks.exportLogs

Full name: projects.locations.instances.webhooks.exportLogs

Exports logs for a given webhook.

HTTP request


Path parameters

Parameters
name

string

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

string

Required. The name of the exported file

blob

string (bytes format)

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.