Required. The parent in whose context the Previews are listed. The parent value is in the format: 'projects/{projectId}/locations/{location}'. It takes the form projects/{project}/locations/{location}.
Authorization requires the following IAM permission on the specified resource parent:
config.previews.list
Query parameters
Parameters
pageSize
integer
Optional. When requesting a page of resources, 'pageSize' specifies number of resources to return. If unspecified, at most 500 will be returned. The maximum value is 1000.
pageToken
string
Optional. Token returned by previous call to 'ListDeployments' which specifies the position in the list from where to continue listing the resources.
filter
string
Optional. Lists the Deployments that match the filter expression. A filter expression filters the resources listed in the response. The expression must be of the form '{field} {operator} {value}' where operators: '<', '>', '<=', '>=', '!=', '=', ':' are supported (colon ':' represents a HAS operator which is roughly synonymous with equality). {field} can refer to a proto or JSON field, or a synthetic field. Field names can be camelCase or snake_case.
Examples: - Filter by name: name = "projects/foo/locations/us-central1/deployments/bar
Filter by labels:
Resources that have a key called 'foo' labels.foo:*
Resources that have a key called 'foo' whose value is 'bar' labels.foo = bar
Filter by state:
Deployments in CREATING state. state=CREATING
orderBy
string
Optional. Field to use to sort the list.
Request body
The request body must be empty.
Response body
A response to a previews.list call. Contains a list of Previews.
If successful, the response body contains data with the following structure:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-14 UTC."],[[["\u003cp\u003eThis document describes how to list Previews within a specific project and location using a GET request to the Config API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eparent\u003c/code\u003e path parameter is required to specify the project and location, and it also mandates specific IAM permissions, \u003ccode\u003econfig.previews.list\u003c/code\u003e, for authorization.\u003c/p\u003e\n"],["\u003cp\u003eOptional query parameters, including \u003ccode\u003epageSize\u003c/code\u003e, \u003ccode\u003epageToken\u003c/code\u003e, \u003ccode\u003efilter\u003c/code\u003e, and \u003ccode\u003eorderBy\u003c/code\u003e, can be used to refine the list of Previews returned by the GET request.\u003c/p\u003e\n"],["\u003cp\u003eThe response body contains a list of Previews, a \u003ccode\u003enextPageToken\u003c/code\u003e for pagination, and an \u003ccode\u003eunreachable\u003c/code\u003e field for locations that could not be reached.\u003c/p\u003e\n"],["\u003cp\u003eTo successfully authenticate and make this request, the OAuth scope \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e must be included in the authorization process.\u003c/p\u003e\n"]]],[],null,["# Method: projects.locations.previews.list\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.ListPreviewsResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [IAM Permissions](#body.aspect_1)\n- [Try it!](#try-it)\n\nLists [Preview](/infrastructure-manager/docs/reference/rest/v1/projects.locations.previews#Preview)s in a given project and location.\n\n### HTTP request\n\n`GET https://config.googleapis.com/v1/{parent=projects/*/locations/*}/previews`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Query parameters\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nA response to a `previews.list` call. Contains a list of Previews.\n\nIf successful, the response body contains data with the following structure:\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp).\n\n### IAM Permissions\n\nRequires the following [IAM](https://cloud.google.com/iam/docs) permission on the `parent` resource:\n\n- `config.googleapis.com/config.previews.list`\n\nFor more information, see the [IAM documentation](https://cloud.google.com/iam/docs)."]]