Method: contentPacks.list

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

Lists ContentPacks.

HTTP request


Path parameters

Parameters
parent

string

Required. The instance to list ContentPacks for. Format: projects/{project}/locations/{location}/instances/{instance}/contentHub/contentPacks

Query parameters

Parameters
pageSize

integer

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

string

Optional. A page token, received from a previous contentPacks.list call. Provide this to retrieve the subsequent page.

filter

string

Optional. Filter to be applied over multiple ContentPack fields.

orderBy

string

Optional. Order by specifier for the list request.

expand

string

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 (ContentPack)
    }
  ],
  "nextPageToken": string,
  "totalSize": integer
}
Fields
contentPacks[]

object (ContentPack)

The list of ContentPacks.

nextPageToken

string

A token, which can be sent as pageToken to retrieve the next page. If this field is omitted, there are no subsequent pages.

totalSize

integer

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.