Debian Codegraph @

docs/dyn/discoveryengine_v1beta.projects.locations.sampleQuerySets.sampleQueries.html

raw
1 <html><body>
2 <style>
3
4 body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13 }
14
15 body {
16 font-size: 13px;
17 padding: 1em;
18 }
19
20 h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23 }
24
25 h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28 }
29
30 h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34 }
35
36 pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39 }
40
41 pre {
42 margin-top: 0.5em;
43 }
44
45 h1, h2, h3, p {
46 font-family: Arial, sans serif;
47 }
48
49 h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51 }
52
53 .toc_element {
54 margin-top: 0.5em;
55 }
56
57 .firstline {
58 margin-left: 2 em;
59 }
60
61 .method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66 }
67
68 .details {
69 font-weight: bold;
70 font-size: 14px;
71 }
72
73 </style>
74
75 <h1><a href="discoveryengine_v1beta.html">Discovery Engine API</a> . <a href="discoveryengine_v1beta.projects.html">projects</a> . <a href="discoveryengine_v1beta.projects.locations.html">locations</a> . <a href="discoveryengine_v1beta.projects.locations.sampleQuerySets.html">sampleQuerySets</a> . <a href="discoveryengine_v1beta.projects.locations.sampleQuerySets.sampleQueries.html">sampleQueries</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="#close">close()</a></code></p>
79 <p class="firstline">Close httplib2 connections.</p>
80 <p class="toc_element">
81 <code><a href="#create">create(parent, body=None, sampleQueryId=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Creates a SampleQuery</p>
83 <p class="toc_element">
84 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
85 <p class="firstline">Deletes a SampleQuery.</p>
86 <p class="toc_element">
87 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
88 <p class="firstline">Gets a SampleQuery.</p>
89 <p class="toc_element">
90 <code><a href="#import_">import_(parent, body=None, x__xgafv=None)</a></code></p>
91 <p class="firstline">Bulk import of multiple SampleQuerys. Sample queries that already exist may be deleted. Note: It is possible for a subset of the SampleQuerys to be successfully imported.</p>
92 <p class="toc_element">
93 <code><a href="#list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
94 <p class="firstline">Gets a list of SampleQuerys.</p>
95 <p class="toc_element">
96 <code><a href="#list_next">list_next()</a></code></p>
97 <p class="firstline">Retrieves the next page of results.</p>
98 <p class="toc_element">
99 <code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
100 <p class="firstline">Updates a SampleQuery.</p>
101 <h3>Method Details</h3>
102 <div class="method">
103 <code class="details" id="close">close()</code>
104 <pre>Close httplib2 connections.</pre>
105 </div>
106
107 <div class="method">
108 <code class="details" id="create">create(parent, body=None, sampleQueryId=None, x__xgafv=None)</code>
109 <pre>Creates a SampleQuery
110
111 Args:
112 parent: string, Required. The parent resource name, such as `projects/{project}/locations/{location}/sampleQuerySets/{sampleQuerySet}`. (required)
113 body: object, The request body.
114 The object takes the form of:
115
116 { # Sample Query captures metadata to be used for evaluation.
117 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Timestamp the SampleQuery was created at.
118 &quot;name&quot;: &quot;A String&quot;, # Identifier. The full resource name of the sample query, in the format of `projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}/sampleQueries/{sample_query}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.
119 &quot;queryEntry&quot;: { # Query Entry captures metadata to be used for search evaluation. # The query entry.
120 &quot;query&quot;: &quot;A String&quot;, # Required. The query.
121 &quot;targets&quot;: [ # List of targets for the query.
122 { # Defines the parameters of the query&#x27;s expected outcome.
123 &quot;pageNumbers&quot;: [ # Expected page numbers of the target. Each page number must be non negative.
124 42,
125 ],
126 &quot;score&quot;: 3.14, # Relevance score of the target.
127 &quot;uri&quot;: &quot;A String&quot;, # 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: `https://example.com/abc`, `gcs://example/example.pdf`.
128 },
129 ],
130 },
131 }
132
133 sampleQueryId: string, Required. The ID to use for the SampleQuery, which will become the final component of the SampleQuery.name. If the caller does not have permission to create the SampleQuery, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. This field must be unique among all SampleQuerys with the same parent. Otherwise, an `ALREADY_EXISTS` error is returned. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an `INVALID_ARGUMENT` error is returned.
134 x__xgafv: string, V1 error format.
135 Allowed values
136 1 - v1 error format
137 2 - v2 error format
138
139 Returns:
140 An object of the form:
141
142 { # Sample Query captures metadata to be used for evaluation.
143 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Timestamp the SampleQuery was created at.
144 &quot;name&quot;: &quot;A String&quot;, # Identifier. The full resource name of the sample query, in the format of `projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}/sampleQueries/{sample_query}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.
145 &quot;queryEntry&quot;: { # Query Entry captures metadata to be used for search evaluation. # The query entry.
146 &quot;query&quot;: &quot;A String&quot;, # Required. The query.
147 &quot;targets&quot;: [ # List of targets for the query.
148 { # Defines the parameters of the query&#x27;s expected outcome.
149 &quot;pageNumbers&quot;: [ # Expected page numbers of the target. Each page number must be non negative.
150 42,
151 ],
152 &quot;score&quot;: 3.14, # Relevance score of the target.
153 &quot;uri&quot;: &quot;A String&quot;, # 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: `https://example.com/abc`, `gcs://example/example.pdf`.
154 },
155 ],
156 },
157 }</pre>
158 </div>
159
160 <div class="method">
161 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
162 <pre>Deletes a SampleQuery.
163
164 Args:
165 name: string, Required. Full resource name of SampleQuery, such as `projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}/sampleQueries/{sample_query}`. If the caller does not have permission to delete the SampleQuery, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. If the SampleQuery to delete does not exist, a `NOT_FOUND` error is returned. (required)
166 x__xgafv: string, V1 error format.
167 Allowed values
168 1 - v1 error format
169 2 - v2 error format
170
171 Returns:
172 An object of the form:
173
174 { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
175 }</pre>
176 </div>
177
178 <div class="method">
179 <code class="details" id="get">get(name, x__xgafv=None)</code>
180 <pre>Gets a SampleQuery.
181
182 Args:
183 name: string, Required. Full resource name of SampleQuery, such as `projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}/sampleQueries/{sample_query}`. If the caller does not have permission to access the SampleQuery, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested SampleQuery does not exist, a NOT_FOUND error is returned. (required)
184 x__xgafv: string, V1 error format.
185 Allowed values
186 1 - v1 error format
187 2 - v2 error format
188
189 Returns:
190 An object of the form:
191
192 { # Sample Query captures metadata to be used for evaluation.
193 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Timestamp the SampleQuery was created at.
194 &quot;name&quot;: &quot;A String&quot;, # Identifier. The full resource name of the sample query, in the format of `projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}/sampleQueries/{sample_query}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.
195 &quot;queryEntry&quot;: { # Query Entry captures metadata to be used for search evaluation. # The query entry.
196 &quot;query&quot;: &quot;A String&quot;, # Required. The query.
197 &quot;targets&quot;: [ # List of targets for the query.
198 { # Defines the parameters of the query&#x27;s expected outcome.
199 &quot;pageNumbers&quot;: [ # Expected page numbers of the target. Each page number must be non negative.
200 42,
201 ],
202 &quot;score&quot;: 3.14, # Relevance score of the target.
203 &quot;uri&quot;: &quot;A String&quot;, # 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: `https://example.com/abc`, `gcs://example/example.pdf`.
204 },
205 ],
206 },
207 }</pre>
208 </div>
209
210 <div class="method">
211 <code class="details" id="import_">import_(parent, body=None, x__xgafv=None)</code>
212 <pre>Bulk import of multiple SampleQuerys. Sample queries that already exist may be deleted. Note: It is possible for a subset of the SampleQuerys to be successfully imported.
213
214 Args:
215 parent: string, Required. The parent sample query set resource name, such as `projects/{project}/locations/{location}/sampleQuerySets/{sampleQuerySet}`. If the caller does not have permission to list SampleQuerys under this sample query set, regardless of whether or not this sample query set exists, a `PERMISSION_DENIED` error is returned. (required)
216 body: object, The request body.
217 The object takes the form of:
218
219 { # Request message for SampleQueryService.ImportSampleQueries method.
220 &quot;bigquerySource&quot;: { # BigQuery source import data from. # BigQuery input source.
221 &quot;dataSchema&quot;: &quot;A String&quot;, # The schema to use when parsing the data from the source. Supported values for user event imports: * `user_event` (default): One UserEvent per row. Supported values for document imports: * `document` (default): One Document format per row. Each document must have a valid Document.id and one of Document.json_data or Document.struct_data. * `custom`: One custom data per row in arbitrary format that conforms to the defined Schema of the data store. This can only be used by the GENERIC Data Store vertical.
222 &quot;datasetId&quot;: &quot;A String&quot;, # Required. The BigQuery data set to copy the data from with a length limit of 1,024 characters.
223 &quot;gcsStagingDir&quot;: &quot;A String&quot;, # Intermediate Cloud Storage directory used for the import with a length limit of 2,000 characters. Can be specified if one wants to have the BigQuery export to a specific Cloud Storage directory.
224 &quot;partitionDate&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # BigQuery time partitioned table&#x27;s _PARTITIONDATE in YYYY-MM-DD format.
225 &quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
226 &quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
227 &quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
228 },
229 &quot;projectId&quot;: &quot;A String&quot;, # The project ID or the project number that contains the BigQuery source. Has a length limit of 128 characters. If not specified, inherits the project ID from the parent request.
230 &quot;tableId&quot;: &quot;A String&quot;, # Required. The BigQuery table to copy the data from with a length limit of 1,024 characters.
231 },
232 &quot;errorConfig&quot;: { # Configuration of destination for Import related errors. # The desired location of errors incurred during the Import.
233 &quot;gcsPrefix&quot;: &quot;A String&quot;, # Cloud Storage prefix for import errors. This must be an empty, existing Cloud Storage directory. Import errors are written to sharded files in this directory, one per line, as a JSON-encoded `google.rpc.Status` message.
234 },
235 &quot;gcsSource&quot;: { # Cloud Storage location for input content. # Cloud Storage location for the input content.
236 &quot;dataSchema&quot;: &quot;A String&quot;, # The schema to use when parsing the data from the source. Supported values for document imports: * `document` (default): One JSON Document per line. Each document must have a valid Document.id. * `content`: Unstructured data (e.g. PDF, HTML). Each file matched by `input_uris` becomes a document, with the ID set to the first 128 bits of SHA256(URI) encoded as a hex string. * `custom`: One custom data JSON per row in arbitrary format that conforms to the defined Schema of the data store. This can only be used by the GENERIC Data Store vertical. * `csv`: A CSV file with header conforming to the defined Schema of the data store. Each entry after the header is imported as a Document. This can only be used by the GENERIC Data Store vertical. Supported values for user event imports: * `user_event` (default): One JSON UserEvent per line.
237 &quot;inputUris&quot;: [ # Required. Cloud Storage URIs to input files. Each URI can be up to 2000 characters long. URIs can match the full object path (for example, `gs://bucket/directory/object.json`) or a pattern matching one or more files, such as `gs://bucket/directory/*.json`. A request can contain at most 100 files (or 100,000 files if `data_schema` is `content`). Each file can be up to 2 GB (or 100 MB if `data_schema` is `content`).
238 &quot;A String&quot;,
239 ],
240 },
241 &quot;inlineSource&quot;: { # The inline source for SampleQuerys. # The Inline source for sample query entries.
242 &quot;sampleQueries&quot;: [ # Required. A list of SampleQuerys to import. Max of 1000 items.
243 { # Sample Query captures metadata to be used for evaluation.
244 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Timestamp the SampleQuery was created at.
245 &quot;name&quot;: &quot;A String&quot;, # Identifier. The full resource name of the sample query, in the format of `projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}/sampleQueries/{sample_query}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.
246 &quot;queryEntry&quot;: { # Query Entry captures metadata to be used for search evaluation. # The query entry.
247 &quot;query&quot;: &quot;A String&quot;, # Required. The query.
248 &quot;targets&quot;: [ # List of targets for the query.
249 { # Defines the parameters of the query&#x27;s expected outcome.
250 &quot;pageNumbers&quot;: [ # Expected page numbers of the target. Each page number must be non negative.
251 42,
252 ],
253 &quot;score&quot;: 3.14, # Relevance score of the target.
254 &quot;uri&quot;: &quot;A String&quot;, # 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: `https://example.com/abc`, `gcs://example/example.pdf`.
255 },
256 ],
257 },
258 },
259 ],
260 },
261 }
262
263 x__xgafv: string, V1 error format.
264 Allowed values
265 1 - v1 error format
266 2 - v2 error format
267
268 Returns:
269 An object of the form:
270
271 { # This resource represents a long-running operation that is the result of a network API call.
272 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
273 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
274 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
275 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
276 {
277 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
278 },
279 ],
280 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
281 },
282 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
283 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
284 },
285 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
286 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
287 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
288 },
289 }</pre>
290 </div>
291
292 <div class="method">
293 <code class="details" id="list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</code>
294 <pre>Gets a list of SampleQuerys.
295
296 Args:
297 parent: string, Required. The parent sample query set resource name, such as `projects/{project}/locations/{location}/sampleQuerySets/{sampleQuerySet}`. If the caller does not have permission to list SampleQuerys under this sample query set, regardless of whether or not this sample query set exists, a `PERMISSION_DENIED` error is returned. (required)
298 pageSize: integer, Maximum number of SampleQuerys to return. If unspecified, defaults to 100. The maximum allowed value is 1000. Values above 1000 will be coerced to 1000. If this field is negative, an `INVALID_ARGUMENT` error is returned.
299 pageToken: string, A page token ListSampleQueriesResponse.next_page_token, received from a previous SampleQueryService.ListSampleQueries call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to SampleQueryService.ListSampleQueries must match the call that provided the page token. Otherwise, an `INVALID_ARGUMENT` error is returned.
300 x__xgafv: string, V1 error format.
301 Allowed values
302 1 - v1 error format
303 2 - v2 error format
304
305 Returns:
306 An object of the form:
307
308 { # Response message for SampleQueryService.ListSampleQueries method.
309 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token that can be sent as ListSampleQueriesRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.
310 &quot;sampleQueries&quot;: [ # The SampleQuerys.
311 { # Sample Query captures metadata to be used for evaluation.
312 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Timestamp the SampleQuery was created at.
313 &quot;name&quot;: &quot;A String&quot;, # Identifier. The full resource name of the sample query, in the format of `projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}/sampleQueries/{sample_query}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.
314 &quot;queryEntry&quot;: { # Query Entry captures metadata to be used for search evaluation. # The query entry.
315 &quot;query&quot;: &quot;A String&quot;, # Required. The query.
316 &quot;targets&quot;: [ # List of targets for the query.
317 { # Defines the parameters of the query&#x27;s expected outcome.
318 &quot;pageNumbers&quot;: [ # Expected page numbers of the target. Each page number must be non negative.
319 42,
320 ],
321 &quot;score&quot;: 3.14, # Relevance score of the target.
322 &quot;uri&quot;: &quot;A String&quot;, # 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: `https://example.com/abc`, `gcs://example/example.pdf`.
323 },
324 ],
325 },
326 },
327 ],
328 }</pre>
329 </div>
330
331 <div class="method">
332 <code class="details" id="list_next">list_next()</code>
333 <pre>Retrieves the next page of results.
334
335 Args:
336 previous_request: The request for the previous page. (required)
337 previous_response: The response from the request for the previous page. (required)
338
339 Returns:
340 A request object that you can call &#x27;execute()&#x27; on to request the next
341 page. Returns None if there are no more items in the collection.
342 </pre>
343 </div>
344
345 <div class="method">
346 <code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
347 <pre>Updates a SampleQuery.
348
349 Args:
350 name: string, Identifier. The full resource name of the sample query, in the format of `projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}/sampleQueries/{sample_query}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. (required)
351 body: object, The request body.
352 The object takes the form of:
353
354 { # Sample Query captures metadata to be used for evaluation.
355 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Timestamp the SampleQuery was created at.
356 &quot;name&quot;: &quot;A String&quot;, # Identifier. The full resource name of the sample query, in the format of `projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}/sampleQueries/{sample_query}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.
357 &quot;queryEntry&quot;: { # Query Entry captures metadata to be used for search evaluation. # The query entry.
358 &quot;query&quot;: &quot;A String&quot;, # Required. The query.
359 &quot;targets&quot;: [ # List of targets for the query.
360 { # Defines the parameters of the query&#x27;s expected outcome.
361 &quot;pageNumbers&quot;: [ # Expected page numbers of the target. Each page number must be non negative.
362 42,
363 ],
364 &quot;score&quot;: 3.14, # Relevance score of the target.
365 &quot;uri&quot;: &quot;A String&quot;, # 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: `https://example.com/abc`, `gcs://example/example.pdf`.
366 },
367 ],
368 },
369 }
370
371 updateMask: string, Indicates which fields in the provided imported &#x27;simple query&#x27; to update. If not set, will by default update all fields.
372 x__xgafv: string, V1 error format.
373 Allowed values
374 1 - v1 error format
375 2 - v2 error format
376
377 Returns:
378 An object of the form:
379
380 { # Sample Query captures metadata to be used for evaluation.
381 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Timestamp the SampleQuery was created at.
382 &quot;name&quot;: &quot;A String&quot;, # Identifier. The full resource name of the sample query, in the format of `projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}/sampleQueries/{sample_query}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.
383 &quot;queryEntry&quot;: { # Query Entry captures metadata to be used for search evaluation. # The query entry.
384 &quot;query&quot;: &quot;A String&quot;, # Required. The query.
385 &quot;targets&quot;: [ # List of targets for the query.
386 { # Defines the parameters of the query&#x27;s expected outcome.
387 &quot;pageNumbers&quot;: [ # Expected page numbers of the target. Each page number must be non negative.
388 42,
389 ],
390 &quot;score&quot;: 3.14, # Relevance score of the target.
391 &quot;uri&quot;: &quot;A String&quot;, # 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: `https://example.com/abc`, `gcs://example/example.pdf`.
392 },
393 ],
394 },
395 }</pre>
396 </div>
397
398 </body></html>