- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- Try it!
Full name: projects.locations.instances.contentHub.contentPacks.list
Lists ContentPacks.
HTTP request
Path parameters
| Parameters | |
|---|---|
| parent | 
 Required. The instance to list ContentPacks for. Format: projects/{project}/locations/{location}/instances/{instance}/contentHub/contentPacks | 
Query parameters
| Parameters | |
|---|---|
| pageSize | 
 Optional. The maximum number of ContentPacks to return. The service may return fewer than this value. If unspecified, at most 10 ContentPacks will be returned. | 
| pageToken | 
 Optional. A page token, received from a previous  | 
| filter | 
 Optional. Filter to be applied over multiple ContentPack fields. | 
| orderBy | 
 Optional. Order by specifier for the list request. | 
| expand | 
 Optional. Expend the response with the full content pack details. | 
Request body
The request body must be empty.
Response body
Response message for list of ContentPacks.
If successful, the response body contains data with the following structure:
| JSON representation | 
|---|
| {
  "contentPacks": [
    {
      object ( | 
| Fields | |
|---|---|
| contentPacks[] | 
 The list of ContentPacks. | 
| nextPageToken | 
 A token, which can be sent as  | 
| totalSize | 
 Output only. Total number of content packs. | 
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 parent resource:
- chronicle.contentPacks.get
For more information, see the IAM documentation.