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 called \"content\" that can contain a QueryEntry."],["QueryEntry details the query used for search evaluation, featuring the query itself and a list of associated targets."],["Target defines the expected outcome of a query, specifying the expected URI, page numbers, and relevance score for the target."],["There are several methods available for SampleQuery, including creating, deleting, getting, importing, listing, and patching."],["The data model utilizes a combination of string, timestamp, object, integer, and number data types across its fields, with specific requirements for formatting and value ranges."]]],[]]