- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
Gets a list of SampleQuerys.
HTTP request
GET https://discoveryengine.googleapis.com/v1alpha/{parent=projects/*/locations/*/sampleQuerySets/*}/sampleQueries
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
parent |
Required. The parent sample query set resource name, such as If the caller does not have permission to list |
Query parameters
| Parameters | |
|---|---|
pageSize |
Maximum number of If this field is negative, an |
pageToken |
A page token When paginating, all other parameters provided to |
Request body
The request body must be empty.
Response body
Response message for SampleQueryService.ListSampleQueries method.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{
"sampleQueries": [
{
object ( |
| Fields | |
|---|---|
sampleQueries[] |
The |
nextPageToken |
A token that can be sent as |
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platformhttps://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.sampleQueries.list
For more information, see the IAM documentation.