- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
Gets a list of SampleQuery
s.
HTTP request
GET https://discoveryengine.googleapis.com/v1beta/{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 | |
---|---|
page |
Maximum number of If this field is negative, an |
page |
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 | |
---|---|
sample |
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.sampleQueries.list
For more information, see the IAM documentation.