Resource: SampleQuery
Sample Query captures metadata to be used for evaluation.
JSON representation |
---|
{ "name": string, "createTime": string, // Union field |
Fields | |
---|---|
name |
Identifier. The full resource name of the sample query, in the format of This field must be a UTF-8 encoded string with a length limit of 1024 characters. |
create |
Output only. timestamp the A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
Union field content . The content of the sample query. content can be only one of the following: |
|
query |
The query entry. |
QueryEntry
Query Entry captures metadata to be used for search evaluation.
JSON representation |
---|
{
"query": string,
"targets": [
{
object ( |
Fields | |
---|---|
query |
Required. The query. |
targets[] |
List of targets for the query. |
Target
Defines the parameters of the query's expected outcome.
JSON representation |
---|
{ "uri": string, "pageNumbers": [ integer ], "score": number } |
Fields | |
---|---|
uri |
Expected uri of the target. This field must be a UTF-8 encoded string with a length limit of 2048 characters. Example of valid uris: |
page |
Expected page numbers of the target. Each page number must be non negative. |
score |
Relevance score of the target. |
Methods |
|
---|---|
|
Creates a SampleQuery |
|
Deletes a SampleQuery . |
|
Gets a SampleQuery . |
|
Bulk import of multiple SampleQuery s. |
|
Gets a list of SampleQuery s. |
|
Updates a SampleQuery . |