Method: contentPacks.download

Full name: projects.locations.instances.contentHub.contentPacks.download

Export Content Pack.

HTTP request


Path parameters

Parameters
name

string

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 (Media)
  }
}
Fields
media

object (Media)

Zip file of the exported content pack. Includes the content pack metadata and all the content pack items.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.