- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
Gets a list of Collections.
HTTP request
GET https://discoveryengine.googleapis.com/v1alpha/{parent=projects/*/locations/*}/collections
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
| parent | 
 Required. The parent data store resource name, in the format of  | 
Query parameters
| Parameters | |
|---|---|
| pageSize | 
 The maximum number of  If unspecified, at most 100  The maximum value is 1000; values above 1000 will be coerced to 1000. | 
| pageToken | 
 A page token, received from a previous  When paginating, all other parameters provided to  | 
| filter | 
 Filter returned collections by associated data connector data sources. For example:  | 
Request body
The request body must be empty.
Response body
Response message for CollectionService.ListCollections method.
If successful, the response body contains data with the following structure:
| JSON representation | 
|---|
| {
  "collections": [
    {
      object ( | 
| Fields | |
|---|---|
| collections[] | 
 The  | 
| nextPageToken | 
 A token that can be sent as  | 
Authorization scopes
Requires one of the following OAuth scopes:
- https://www.googleapis.com/auth/cloud-platform
- https://www.googleapis.com/auth/discoveryengine.readwrite
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the parent resource:
- discoveryengine.collections.list
For more information, see the IAM documentation.