Full name: projects.locations.instances.contentHub.contentPacks.download
Exports a content pack as a ZIP file. Use this method to share custom use case packages or for offline backup.
HTTP request
GET https://chronicle.africa-south1.rep.googleapis.com/v1alpha/{name}:exportPack Path parameters
| Parameters | |
|---|---|
name |
Required. The resource name of the ContentPack to export. Format: projects/{project}/locations/{location}/instances/{instance}/contentHub/contentPacks/{contentPack} |
Request body
The request body must be empty.
Response body
Response message for exporting content pack.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{
"media": {
object ( |
| Fields | |
|---|---|
media |
Zip file of the exported content pack. Includes the content pack metadata and all the content pack items. |
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platformhttps://www.googleapis.com/auth/chroniclehttps://www.googleapis.com/auth/chronicle.readonly
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the name resource:
chronicle.contentPacks.export
For more information, see the IAM documentation.