Sample Query captures metadata to be used for evaluation.
JSON representation
{"name": string,"createTime": string,// Union field content can be only one of the following:"queryEntry": {object (QueryEntry)}// End of list of possible types for union field content.}
Fields
name
string
Identifier. The full resource name of the sample query, in the format of projects/{project}/locations/{location}/sampleQuerySets/{sampleQuerySet}/sampleQueries/{sampleQuery}.
This field must be a UTF-8 encoded string with a length limit of 1024 characters.
Output only. Timestamp the SampleQuery was created at.
Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".
Union field content. The content of the sample query. content can be only one of the following:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-28 UTC."],[[["SampleQuery captures metadata for evaluation, including a name, creation timestamp, and a union field `content` which can contain a `queryEntry`."],["QueryEntry details the query string and a list of expected `targets` for search evaluation, where the query field is mandatory."],["Target specifies the expected outcome of a query with fields for URI, page numbers, and a relevance score, all helping to define the expected search results."],["Available methods include create, delete, get, import, list, and patch, which collectively manage the lifecycle and operations of SampleQuery resources."]]],[]]