- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
Gets a list of Collection
s.
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 | |
---|---|
page |
The maximum number of If unspecified, at most 100 The maximum value is 1000; values above 1000 will be coerced to 1000. |
page |
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 |
next |
A token that can be sent as |
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:
discoveryengine.collections.list
For more information, see the IAM documentation.