Full name: projects.locations.exampleStores.fetchExamples
Get Examples from the Example Store.
Endpoint
posthttps://{service-endpoint}/v1beta1/{exampleStore}:fetchExamples
Where {service-endpoint} is one of the supported service endpoints.
Path parameters
exampleStorestring
Required. The name of the ExampleStore resource that the examples should be fetched from. Format: projects/{project}/locations/{location}/exampleStores/{exampleStore}
Request body
The request body contains data with the following structure:
pageSizeinteger
Optional. The maximum number of examples to return. The service may return fewer than this value. If unspecified, at most 100 examples will be returned.
pageTokenstring
Optional. The nextPageToken value returned from a previous list [ExampleStoreService.FetchExamplesResponse][] call.
exampleIds[]string
Optional. Example IDs to fetch. If both metadata filters and Example IDs are specified, then both id and metadata filtering will be applied.
metadata_filterUnion type
metadata_filter can be only one of the following:The metadata filters for StoredContentsExamples.
Response body
Response message for ExampleStoreService.FetchExamples.
If successful, the response body contains data with the following structure:
The examples in the Example Store that satisfy the metadata filters.
nextPageTokenstring
A token, which can be sent as FetchExamplesRequest.page_token to retrieve the next page. Absence of this field indicates there are no subsequent pages.
| JSON representation |
|---|
{
"examples": [
{
object ( |