blob: 189b9008290c8acf7a23fbfe86f1c2e03e8ec09f [file] [log] [blame]
John Asmuth614db982014-04-24 15:46:26 -04001<html><body>
2<style>
3
4body, 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
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, 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
Bu Sun Kim65020912020-05-20 12:08:20 -070075<h1><a href="customsearch_v1.html">Custom Search API</a> . <a href="customsearch_v1.cse.html">cse</a></h1>
John Asmuth614db982014-04-24 15:46:26 -040076<h2>Instance Methods</h2>
77<p class="toc_element">
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070078 <code><a href="customsearch_v1.cse.siterestrict.html">siterestrict()</a></code>
79</p>
80<p class="firstline">Returns the siterestrict Resource.</p>
81
82<p class="toc_element">
Bu Sun Kim65020912020-05-20 12:08:20 -070083 <code><a href="#list">list(imgSize=None, cx=None, orTerms=None, exactTerms=None, hq=None, relatedSite=None, siteSearch=None, lowRange=None, excludeTerms=None, highRange=None, fileType=None, cr=None, lr=None, imgColorType=None, imgDominantColor=None, gl=None, filter=None, googlehost=None, start=None, num=None, hl=None, sort=None, imgType=None, rights=None, dateRestrict=None, siteSearchFilter=None, q=None, searchType=None, linkSite=None, c2coff=None, safe=None, x__xgafv=None)</a></code></p>
84<p class="firstline">Returns metadata about the search performed, metadata about the custom</p>
John Asmuth614db982014-04-24 15:46:26 -040085<h3>Method Details</h3>
86<div class="method">
Bu Sun Kim65020912020-05-20 12:08:20 -070087 <code class="details" id="list">list(imgSize=None, cx=None, orTerms=None, exactTerms=None, hq=None, relatedSite=None, siteSearch=None, lowRange=None, excludeTerms=None, highRange=None, fileType=None, cr=None, lr=None, imgColorType=None, imgDominantColor=None, gl=None, filter=None, googlehost=None, start=None, num=None, hl=None, sort=None, imgType=None, rights=None, dateRestrict=None, siteSearchFilter=None, q=None, searchType=None, linkSite=None, c2coff=None, safe=None, x__xgafv=None)</code>
88 <pre>Returns metadata about the search performed, metadata about the custom
89search engine used for the search, and the search results.
John Asmuth614db982014-04-24 15:46:26 -040090
91Args:
Bu Sun Kim65020912020-05-20 12:08:20 -070092 imgSize: string, Returns images of a specified size. Acceptable values are:
93
94* `&quot;huge&quot;`
95
96* `&quot;icon&quot;`
97
98* `&quot;large&quot;`
99
100* `&quot;medium&quot;`
101
102* `&quot;small&quot;`
103
104* `&quot;xlarge&quot;`
105
106* `&quot;xxlarge&quot;`
107 cx: string, The custom search engine ID to use for this request.
108 orTerms: string, Provides additional search terms to check for in a document, where each
109document in the search results must contain at least one of the additional
110search terms.
111 exactTerms: string, Identifies a phrase that all documents in the search results must contain.
112 hq: string, Appends the specified query terms to the query, as if they were combined
113with a logical AND operator.
114 relatedSite: string, Specifies that all search results should be pages that are related to the
115specified URL.
116 siteSearch: string, Specifies a given site which should always be included or excluded from
117results (see `siteSearchFilter` parameter, below).
118 lowRange: string, Specifies the starting value for a search range. Use `lowRange` and
119`highRange` to append an inclusive search range of `lowRange...highRange`
120to the query.
121 excludeTerms: string, Identifies a word or phrase that should not appear in any documents in the
122search results.
123 highRange: string, Specifies the ending value for a search range.
124
125* Use `lowRange` and `highRange` to append an inclusive search range of
126`lowRange...highRange` to the query.
127 fileType: string, Restricts results to files of a specified extension. A list of file types
128indexable by Google can be found in Search Console [Help
129Center](https://support.google.com/webmasters/answer/35287).
130 cr: string, Restricts search results to documents originating in a particular country.
131You may use [Boolean
132operators](https://developers.google.com/custom-search/docs/xml_results_appendices#booleanOperators)
133in the cr parameter&#x27;s value.
134
135Google Search determines the country of a document by analyzing:
136
137* the top-level domain (TLD) of the document&#x27;s URL
138
139* the geographic location of the Web server&#x27;s IP address
140
141See the [Country Parameter
142Values](https://developers.google.com/custom-search/docs/xml_results_appendices#countryCollections)
143page for a list of valid values for this parameter.
144 lr: string, Restricts the search to documents written in a particular language (e.g.,
145`lr=lang_ja`).
146
147Acceptable values are:
148
149* `&quot;lang_ar&quot;`: Arabic
150
151* `&quot;lang_bg&quot;`: Bulgarian
152
153* `&quot;lang_ca&quot;`: Catalan
154
155* `&quot;lang_cs&quot;`: Czech
156
157* `&quot;lang_da&quot;`: Danish
158
159* `&quot;lang_de&quot;`: German
160
161* `&quot;lang_el&quot;`: Greek
162
163* `&quot;lang_en&quot;`: English
164
165* `&quot;lang_es&quot;`: Spanish
166
167* `&quot;lang_et&quot;`: Estonian
168
169* `&quot;lang_fi&quot;`: Finnish
170
171* `&quot;lang_fr&quot;`: French
172
173* `&quot;lang_hr&quot;`: Croatian
174
175* `&quot;lang_hu&quot;`: Hungarian
176
177* `&quot;lang_id&quot;`: Indonesian
178
179* `&quot;lang_is&quot;`: Icelandic
180
181* `&quot;lang_it&quot;`: Italian
182
183* `&quot;lang_iw&quot;`: Hebrew
184
185* `&quot;lang_ja&quot;`: Japanese
186
187* `&quot;lang_ko&quot;`: Korean
188
189* `&quot;lang_lt&quot;`: Lithuanian
190
191* `&quot;lang_lv&quot;`: Latvian
192
193* `&quot;lang_nl&quot;`: Dutch
194
195* `&quot;lang_no&quot;`: Norwegian
196
197* `&quot;lang_pl&quot;`: Polish
198
199* `&quot;lang_pt&quot;`: Portuguese
200
201* `&quot;lang_ro&quot;`: Romanian
202
203* `&quot;lang_ru&quot;`: Russian
204
205* `&quot;lang_sk&quot;`: Slovak
206
207* `&quot;lang_sl&quot;`: Slovenian
208
209* `&quot;lang_sr&quot;`: Serbian
210
211* `&quot;lang_sv&quot;`: Swedish
212
213* `&quot;lang_tr&quot;`: Turkish
214
215* `&quot;lang_zh-CN&quot;`: Chinese (Simplified)
216
217* `&quot;lang_zh-TW&quot;`: Chinese (Traditional)
218 imgColorType: string, Returns black and white, grayscale, transparent, or color images.
219Acceptable values are:
220
221* `&quot;color&quot;`
222
223* `&quot;gray&quot;`
224
225* `&quot;mono&quot;`: black and white
226
227* `&quot;trans&quot;`: transparent background
228 imgDominantColor: string, Returns images of a specific dominant color. Acceptable values are:
229
230* `&quot;black&quot;`
231
232* `&quot;blue&quot;`
233
234* `&quot;brown&quot;`
235
236* `&quot;gray&quot;`
237
238* `&quot;green&quot;`
239
240* `&quot;orange&quot;`
241
242* `&quot;pink&quot;`
243
244* `&quot;purple&quot;`
245
246* `&quot;red&quot;`
247
248* `&quot;teal&quot;`
249
250* `&quot;white&quot;`
251
252* `&quot;yellow&quot;`
John Asmuth614db982014-04-24 15:46:26 -0400253 gl: string, Geolocation of end user.
Bu Sun Kim65020912020-05-20 12:08:20 -0700254
255* The `gl` parameter value is a two-letter country code. The `gl` parameter
256boosts search results whose country of origin matches the parameter value.
257See the [Country
258Codes](https://developers.google.com/custom-search/docs/xml_results_appendices#countryCodes)
259page for a list of valid values.
260
261* Specifying a `gl` parameter value should lead to more relevant results.
262This is particularly true for international customers and, even more
263specifically, for customers in English- speaking countries other than the
264United States.
265 filter: string, Controls turning on or off the duplicate content filter.
266
267* See [Automatic
268Filtering](https://developers.google.com/custom-search/docs/xml_results#automaticFiltering)
269for more information about Google&#x27;s search results filters. Note that host
270crowding filtering applies only to multi-site searches.
271
272* By default, Google applies filtering to all search results to improve the
273quality of those results.
274
275Acceptable values are:
276
277* `0`: Turns off duplicate content filter.
278
279* `1`: Turns on duplicate content filter.
280 googlehost: string, **Deprecated**. Use the `gl` parameter for a similar effect.
281
282The local Google domain (for example, google.com, google.de, or
283google.fr) to use to perform the search.
284 start: integer, The index of the first result to return. The default number of results per
285page is 10, so `&amp;start=11` would start at the top of the second page of
286results. **Note**: The JSON API will never return more than 100 results,
287even if more than 100 documents match the query, so setting the sum of
288`start + num` to a number greater than 100 will produce an error. Also note
289that the maximum value for `num` is 10.
290 num: integer, Number of search results to return.
291
292* Valid values are integers between 1 and 10, inclusive.
293 hl: string, Sets the user interface language.
294
295* Explicitly setting this parameter improves the performance and the
296quality of your search results.
297
298* See the [Interface
299Languages](https://developers.google.com/custom-search/docs/xml_results#wsInterfaceLanguages)
300section of [Internationalizing Queries and Results
301Presentation](https://developers.google.com/custom-search/docs/xml_results#wsInternationalizing)
302for more information, and (Supported Interface
303Languages)[https://developers.google.com/custom-search/docs/xml_results_appendices#interfaceLanguages]
304for a list of supported languages.
305 sort: string, The sort expression to apply to the results.
306 imgType: string, Returns images of a type. Acceptable values are:
307
308* `&quot;clipart&quot;`
309
310* `&quot;face&quot;`
311
312* `&quot;lineart&quot;`
313
314* `&quot;stock&quot;`
315
316* `&quot;photo&quot;`
317
318* `&quot;animated&quot;`
319 rights: string, Filters based on licensing. Supported values include: `cc_publicdomain`,
320`cc_attribute`, `cc_sharealike`, `cc_noncommercial`, `cc_nonderived` and
321combinations of these. See [typical
322combinations](https://wiki.creativecommons.org/wiki/CC_Search_integration).
323 dateRestrict: string, Restricts results to URLs based on date. Supported values include:
324
325* `d[number]`: requests results from the specified number of past days.
326
327* `w[number]`: requests results from the specified number of past weeks.
328
329* `m[number]`: requests results from the specified number of past months.
330
331* `y[number]`: requests results from the specified number of past years.
332 siteSearchFilter: string, Controls whether to include or exclude results from the site named in the
333`siteSearch` parameter.
334
335Acceptable values are:
336
337* `&quot;e&quot;`: exclude
338
339* `&quot;i&quot;`: include
340 q: string, Query
341 searchType: string, Specifies the search type: `image`. If unspecified, results are limited to
342webpages.
343
344Acceptable values are:
345
346* `&quot;image&quot;`: custom image search.
347 linkSite: string, Specifies that all search results should contain a link to a particular
348URL.
349 c2coff: string, Enables or disables [Simplified and Traditional Chinese
350Search](https://developers.google.com/custom-search/docs/xml_results#chineseSearch).
351
352The default value for this parameter is 0 (zero), meaning that the feature
353is enabled. Supported values are:
354
355* `1`: Disabled
356
357* `0`: Enabled (default)
358 safe: string, Search safety level. Acceptable values are:
359
360* `&quot;active&quot;`: Enables SafeSearch filtering.
361
362* `&quot;off&quot;`: Disables SafeSearch filtering. (default)
363 x__xgafv: string, V1 error format.
John Asmuth614db982014-04-24 15:46:26 -0400364 Allowed values
Bu Sun Kim65020912020-05-20 12:08:20 -0700365 1 - v1 error format
366 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -0400367
368Returns:
369 An object of the form:
370
Bu Sun Kim65020912020-05-20 12:08:20 -0700371 { # Response to a custom search request.
372 &quot;queries&quot;: { # Query metadata for the previous, current, and next pages of results.
373 &quot;nextPage&quot;: [ # Metadata representing the next page of results, if applicable.
374 { # Custom search request metadata.
375 &quot;searchType&quot;: &quot;A String&quot;, # Allowed values are `web` or `image`. If unspecified, results are limited
376 # to webpages.
377 &quot;gl&quot;: &quot;A String&quot;, # Boosts search results whose country of origin matches the parameter
378 # value. See [Country
379 # Codes](https://developers.google.com/custom-search/docs/xml_results#countryCodes)
380 # for a list of valid values.
381 #
382 # Specifying a `gl` parameter value in WebSearch requests should improve
383 # the relevance of results. This is particularly true for international
384 # customers and, even more specifically, for customers in English-speaking
385 # countries other than the United States.
386 &quot;startIndex&quot;: 42, # The index of the current set of search results into the total set of
387 # results, where the index of the first result is 1.
388 &quot;startPage&quot;: 42, # The page number of this set of results, where the page length is set by
389 # the `count` property.
390 &quot;googleHost&quot;: &quot;A String&quot;, # Specifies the Google domain (for example, google.com, google.de, or
391 # google.fr) to which the search should be limited.
392 &quot;title&quot;: &quot;A String&quot;, # A description of the query.
393 &quot;count&quot;: 42, # Number of search results returned in this set.
394 &quot;highRange&quot;: &quot;A String&quot;, # Specifies the ending value for a search range. Use `cse:lowRange` and
395 # `cse:highrange` to append an inclusive search range of
396 # `lowRange...highRange` to the query.
397 &quot;siteSearchFilter&quot;: &quot;A String&quot;, # Specifies whether to include or exclude results from the site named in
398 # the `sitesearch` parameter. Supported values are:
399 #
400 # * `i`: include content from site
401 #
402 # * `e`: exclude content from site
403 &quot;linkSite&quot;: &quot;A String&quot;, # Specifies that all results should contain a link to a specific URL.
404 &quot;imgSize&quot;: &quot;A String&quot;, # Restricts results to images of a specified size. Supported values are:
405 #
406 # * `icon` (small)
407 #
408 # * `small | medium | large | xlarge` (medium)
409 #
410 # * `xxlarge` (large)
411 #
412 # * `huge` (extra-large)
413 &quot;orTerms&quot;: &quot;A String&quot;, # Provides additional search terms to check for in a document, where each
414 # document in the search results must contain at least one of the
415 # additional search terms. You can also use the [Boolean
416 # OR](https://developers.google.com/custom-search/docs/xml_results#BooleanOrqt)
417 # query term for this type of query.
418 &quot;totalResults&quot;: &quot;A String&quot;, # Estimated number of total search results. May not be accurate.
419 &quot;hq&quot;: &quot;A String&quot;, # Appends the specified query terms to the query, as if they were combined
420 # with a logical `AND` operator.
421 &quot;outputEncoding&quot;: &quot;A String&quot;, # The character encoding supported for search results.
422 &quot;imgType&quot;: &quot;A String&quot;, # Restricts results to images of a specified type. Supported values are:
423 #
424 # * `clipart` (Clip art)
425 #
426 # * `face` (Face)
427 #
428 # * `lineart` (Line drawing)
429 #
430 # * `photo` (Photo)
431 #
432 # * `animated` (Animated)
433 #
434 # * `stock` (Stock)
435 &quot;relatedSite&quot;: &quot;A String&quot;, # Specifies that all search results should be pages that are related to the
436 # specified URL. The parameter value should be a URL.
437 &quot;imgDominantColor&quot;: &quot;A String&quot;, # Restricts results to images with a specific dominant color. Supported
438 # values are:
439 #
440 # * `red`
441 #
442 # * `orange`
443 #
444 # * `yellow`
445 #
446 # * `green`
447 #
448 # * `teal`
449 #
450 # * `blue`
451 #
452 # * `purple`
453 #
454 # * `pink`
455 #
456 # * `white`
457 #
458 # * `gray`
459 #
460 # * `black`
461 #
462 # * `brown`
463 &quot;excludeTerms&quot;: &quot;A String&quot;, # Identifies a word or phrase that should not appear in any documents in
464 # the search results.
465 &quot;filter&quot;: &quot;A String&quot;, # Activates or deactivates the automatic filtering of Google search
466 # results. See [Automatic
467 # Filtering](https://developers.google.com/custom-search/docs/xml_results#automaticFiltering)
468 # for more information about Google&#x27;s search results filters. Valid values
469 # for this parameter are:
470 #
471 # * `0`: Disabled
472 #
473 # * `1`: Enabled (default)
474 #
475 # **Note**: By default, Google applies filtering to all search results to
476 # improve the quality of those results.
477 &quot;searchTerms&quot;: &quot;A String&quot;, # The search terms entered by the user.
478 &quot;imgColorType&quot;: &quot;A String&quot;, # Restricts results to images of a specified color type. Supported values
479 # are:
480 #
481 # * `mono` (black and white)
482 #
483 # * `gray` (grayscale)
484 #
485 # * `color` (color)
486 &quot;exactTerms&quot;: &quot;A String&quot;, # Identifies a phrase that all documents in the search results must
487 # contain.
488 &quot;fileType&quot;: &quot;A String&quot;, # Restricts results to files of a specified extension. Filetypes supported
489 # by Google include:
490 #
491 # * Adobe Portable Document Format (`pdf`)
492 #
493 # * Adobe PostScript (`ps`)
494 #
495 # * Lotus 1-2-3 (`wk1`, `wk2`, `wk3`, `wk4`, `wk5`, `wki`, `wks`, `wku`)
496 #
497 # * Lotus WordPro (`lwp`)
498 #
499 # * Macwrite (`mw`)
500 #
501 # * Microsoft Excel (`xls`)
502 #
503 # * Microsoft PowerPoint (`ppt`)
504 #
505 # * Microsoft Word (`doc`)
506 #
507 # * Microsoft Works (`wks`, `wps`, `wdb`)
508 #
509 # * Microsoft Write (`wri`)
510 #
511 # * Rich Text Format (`rtf`)
512 #
513 # * Shockwave Flash (`swf`)
514 #
515 # * Text (`ans`, `txt`).
516 #
517 # Additional filetypes may be added in the future. An up-to-date list can
518 # always be found in Google&#x27;s [file type
519 # FAQ](https://support.google.com/webmasters/answer/35287).
520 &quot;disableCnTwTranslation&quot;: &quot;A String&quot;, # Enables or disables the [Simplified and Traditional Chinese
521 # Search](https://developers.google.com/custom-search/docs/xml_results#chineseSearch)
522 # feature.
523 #
524 # Supported values are:
525 #
526 # * `0`: enabled (default)
527 #
528 # * `1`: disabled
529 &quot;rights&quot;: &quot;A String&quot;, # Filters based on licensing. Supported values include:
530 #
531 # * `cc_publicdomain`
532 #
533 # * `cc_attribute`
534 #
535 # * `cc_sharealike`
536 #
537 # * `cc_noncommercial`
538 #
539 # * `cc_nonderived`
540 &quot;siteSearch&quot;: &quot;A String&quot;, # Restricts results to URLs from a specified site.
541 &quot;cr&quot;: &quot;A String&quot;, # Restricts search results to documents originating in a particular
542 # country. You may use [Boolean
543 # operators](https://developers.google.com/custom-search/docs/xml_results#booleanOperators)
544 # in the `cr` parameter&#x27;s value.
545 #
546 # Google WebSearch determines the country of a document by analyzing the
547 # following:
548 #
549 # * The top-level domain (TLD) of the document&#x27;s URL.
550 #
551 # * The geographic location of the web server&#x27;s IP address.
552 #
553 # See [Country (cr) Parameter
554 # Values](https://developers.google.com/custom-search/docs/xml_results#countryCollections)
555 # for a list of valid values for this parameter.
556 &quot;safe&quot;: &quot;A String&quot;, # Specifies the [SafeSearch
557 # level](https://developers.google.com/custom-search/docs/xml_results#safeSearchLevels)
558 # used for filtering out adult results. This is a custom property not
559 # defined in the OpenSearch spec. Valid parameter values are:
560 #
561 # * `&quot;off&quot;`: Disable SafeSearch
562 #
563 # * `&quot;active&quot;`: Enable SafeSearch
564 &quot;lowRange&quot;: &quot;A String&quot;, # Specifies the starting value for a search range. Use `cse:lowRange` and
565 # `cse:highrange` to append an inclusive search range of
566 # `lowRange...highRange` to the query.
567 &quot;cx&quot;: &quot;A String&quot;, # The identifier of a custom search engine created using the Custom Search
568 # [Control Panel](https://cse.google.com/). This is a custom property not
569 # defined in the OpenSearch spec. This parameter is **required**.
570 &quot;sort&quot;: &quot;A String&quot;, # Specifies that results should be sorted according to the specified
571 # expression. For example, sort by date.
572 &quot;dateRestrict&quot;: &quot;A String&quot;, # Restricts results to URLs based on date. Supported values include:
573 #
574 # * `d[number]`: requests results from the specified number of past days.
575 #
576 # * `w[number]`: requests results from the specified number of past weeks.
577 #
578 # * `m[number]`: requests results from the specified number of past months.
579 #
580 # * `y[number]`: requests results from the specified number of past years.
581 &quot;inputEncoding&quot;: &quot;A String&quot;, # The character encoding supported for search requests.
582 &quot;language&quot;: &quot;A String&quot;, # The language of the search results.
583 &quot;hl&quot;: &quot;A String&quot;, # Specifies the interface language (host language) of your user interface.
584 # Explicitly setting this parameter improves the performance and the
585 # quality of your search results.
586 #
587 # See the [Interface
588 # Languages](https://developers.google.com/custom-search/docs/xml_results#wsInterfaceLanguages)
589 # section of [Internationalizing Queries and Results
590 # Presentation](https://developers.google.com/custom-search/docs/xml_results#wsInternationalizing)
591 # for more information, and [Supported Interface
592 # Languages](https://developers.google.com/custom-search/docs/xml_results_appendices#interfaceLanguages)
593 # for a list of supported languages.
John Asmuth614db982014-04-24 15:46:26 -0400594 },
John Asmuth614db982014-04-24 15:46:26 -0400595 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700596 &quot;request&quot;: [ # Metadata representing the current request.
597 { # Custom search request metadata.
598 &quot;searchTerms&quot;: &quot;A String&quot;, # The search terms entered by the user.
599 &quot;disableCnTwTranslation&quot;: &quot;A String&quot;, # Enables or disables the [Simplified and Traditional Chinese
600 # Search](https://developers.google.com/custom-search/docs/xml_results#chineseSearch)
601 # feature.
602 #
603 # Supported values are:
604 #
605 # * `0`: enabled (default)
606 #
607 # * `1`: disabled
608 &quot;fileType&quot;: &quot;A String&quot;, # Restricts results to files of a specified extension. Filetypes supported
609 # by Google include:
610 #
611 # * Adobe Portable Document Format (`pdf`)
612 #
613 # * Adobe PostScript (`ps`)
614 #
615 # * Lotus 1-2-3 (`wk1`, `wk2`, `wk3`, `wk4`, `wk5`, `wki`, `wks`, `wku`)
616 #
617 # * Lotus WordPro (`lwp`)
618 #
619 # * Macwrite (`mw`)
620 #
621 # * Microsoft Excel (`xls`)
622 #
623 # * Microsoft PowerPoint (`ppt`)
624 #
625 # * Microsoft Word (`doc`)
626 #
627 # * Microsoft Works (`wks`, `wps`, `wdb`)
628 #
629 # * Microsoft Write (`wri`)
630 #
631 # * Rich Text Format (`rtf`)
632 #
633 # * Shockwave Flash (`swf`)
634 #
635 # * Text (`ans`, `txt`).
636 #
637 # Additional filetypes may be added in the future. An up-to-date list can
638 # always be found in Google&#x27;s [file type
639 # FAQ](https://support.google.com/webmasters/answer/35287).
640 &quot;highRange&quot;: &quot;A String&quot;, # Specifies the ending value for a search range. Use `cse:lowRange` and
641 # `cse:highrange` to append an inclusive search range of
642 # `lowRange...highRange` to the query.
643 &quot;siteSearchFilter&quot;: &quot;A String&quot;, # Specifies whether to include or exclude results from the site named in
644 # the `sitesearch` parameter. Supported values are:
645 #
646 # * `i`: include content from site
647 #
648 # * `e`: exclude content from site
649 &quot;imgSize&quot;: &quot;A String&quot;, # Restricts results to images of a specified size. Supported values are:
650 #
651 # * `icon` (small)
652 #
653 # * `small | medium | large | xlarge` (medium)
654 #
655 # * `xxlarge` (large)
656 #
657 # * `huge` (extra-large)
658 &quot;gl&quot;: &quot;A String&quot;, # Boosts search results whose country of origin matches the parameter
659 # value. See [Country
660 # Codes](https://developers.google.com/custom-search/docs/xml_results#countryCodes)
661 # for a list of valid values.
662 #
663 # Specifying a `gl` parameter value in WebSearch requests should improve
664 # the relevance of results. This is particularly true for international
665 # customers and, even more specifically, for customers in English-speaking
666 # countries other than the United States.
667 &quot;exactTerms&quot;: &quot;A String&quot;, # Identifies a phrase that all documents in the search results must
668 # contain.
669 &quot;startPage&quot;: 42, # The page number of this set of results, where the page length is set by
670 # the `count` property.
671 &quot;safe&quot;: &quot;A String&quot;, # Specifies the [SafeSearch
672 # level](https://developers.google.com/custom-search/docs/xml_results#safeSearchLevels)
673 # used for filtering out adult results. This is a custom property not
674 # defined in the OpenSearch spec. Valid parameter values are:
675 #
676 # * `&quot;off&quot;`: Disable SafeSearch
677 #
678 # * `&quot;active&quot;`: Enable SafeSearch
679 &quot;siteSearch&quot;: &quot;A String&quot;, # Restricts results to URLs from a specified site.
680 &quot;searchType&quot;: &quot;A String&quot;, # Allowed values are `web` or `image`. If unspecified, results are limited
681 # to webpages.
682 &quot;cx&quot;: &quot;A String&quot;, # The identifier of a custom search engine created using the Custom Search
683 # [Control Panel](https://cse.google.com/). This is a custom property not
684 # defined in the OpenSearch spec. This parameter is **required**.
685 &quot;rights&quot;: &quot;A String&quot;, # Filters based on licensing. Supported values include:
686 #
687 # * `cc_publicdomain`
688 #
689 # * `cc_attribute`
690 #
691 # * `cc_sharealike`
692 #
693 # * `cc_noncommercial`
694 #
695 # * `cc_nonderived`
696 &quot;dateRestrict&quot;: &quot;A String&quot;, # Restricts results to URLs based on date. Supported values include:
697 #
698 # * `d[number]`: requests results from the specified number of past days.
699 #
700 # * `w[number]`: requests results from the specified number of past weeks.
701 #
702 # * `m[number]`: requests results from the specified number of past months.
703 #
704 # * `y[number]`: requests results from the specified number of past years.
705 &quot;inputEncoding&quot;: &quot;A String&quot;, # The character encoding supported for search requests.
706 &quot;excludeTerms&quot;: &quot;A String&quot;, # Identifies a word or phrase that should not appear in any documents in
707 # the search results.
708 &quot;hl&quot;: &quot;A String&quot;, # Specifies the interface language (host language) of your user interface.
709 # Explicitly setting this parameter improves the performance and the
710 # quality of your search results.
711 #
712 # See the [Interface
713 # Languages](https://developers.google.com/custom-search/docs/xml_results#wsInterfaceLanguages)
714 # section of [Internationalizing Queries and Results
715 # Presentation](https://developers.google.com/custom-search/docs/xml_results#wsInternationalizing)
716 # for more information, and [Supported Interface
717 # Languages](https://developers.google.com/custom-search/docs/xml_results_appendices#interfaceLanguages)
718 # for a list of supported languages.
719 &quot;title&quot;: &quot;A String&quot;, # A description of the query.
720 &quot;orTerms&quot;: &quot;A String&quot;, # Provides additional search terms to check for in a document, where each
721 # document in the search results must contain at least one of the
722 # additional search terms. You can also use the [Boolean
723 # OR](https://developers.google.com/custom-search/docs/xml_results#BooleanOrqt)
724 # query term for this type of query.
725 &quot;lowRange&quot;: &quot;A String&quot;, # Specifies the starting value for a search range. Use `cse:lowRange` and
726 # `cse:highrange` to append an inclusive search range of
727 # `lowRange...highRange` to the query.
728 &quot;googleHost&quot;: &quot;A String&quot;, # Specifies the Google domain (for example, google.com, google.de, or
729 # google.fr) to which the search should be limited.
730 &quot;imgColorType&quot;: &quot;A String&quot;, # Restricts results to images of a specified color type. Supported values
731 # are:
732 #
733 # * `mono` (black and white)
734 #
735 # * `gray` (grayscale)
736 #
737 # * `color` (color)
738 &quot;filter&quot;: &quot;A String&quot;, # Activates or deactivates the automatic filtering of Google search
739 # results. See [Automatic
740 # Filtering](https://developers.google.com/custom-search/docs/xml_results#automaticFiltering)
741 # for more information about Google&#x27;s search results filters. Valid values
742 # for this parameter are:
743 #
744 # * `0`: Disabled
745 #
746 # * `1`: Enabled (default)
747 #
748 # **Note**: By default, Google applies filtering to all search results to
749 # improve the quality of those results.
750 &quot;startIndex&quot;: 42, # The index of the current set of search results into the total set of
751 # results, where the index of the first result is 1.
752 &quot;sort&quot;: &quot;A String&quot;, # Specifies that results should be sorted according to the specified
753 # expression. For example, sort by date.
754 &quot;linkSite&quot;: &quot;A String&quot;, # Specifies that all results should contain a link to a specific URL.
755 &quot;cr&quot;: &quot;A String&quot;, # Restricts search results to documents originating in a particular
756 # country. You may use [Boolean
757 # operators](https://developers.google.com/custom-search/docs/xml_results#booleanOperators)
758 # in the `cr` parameter&#x27;s value.
759 #
760 # Google WebSearch determines the country of a document by analyzing the
761 # following:
762 #
763 # * The top-level domain (TLD) of the document&#x27;s URL.
764 #
765 # * The geographic location of the web server&#x27;s IP address.
766 #
767 # See [Country (cr) Parameter
768 # Values](https://developers.google.com/custom-search/docs/xml_results#countryCollections)
769 # for a list of valid values for this parameter.
770 &quot;imgDominantColor&quot;: &quot;A String&quot;, # Restricts results to images with a specific dominant color. Supported
771 # values are:
772 #
773 # * `red`
774 #
775 # * `orange`
776 #
777 # * `yellow`
778 #
779 # * `green`
780 #
781 # * `teal`
782 #
783 # * `blue`
784 #
785 # * `purple`
786 #
787 # * `pink`
788 #
789 # * `white`
790 #
791 # * `gray`
792 #
793 # * `black`
794 #
795 # * `brown`
796 &quot;count&quot;: 42, # Number of search results returned in this set.
797 &quot;relatedSite&quot;: &quot;A String&quot;, # Specifies that all search results should be pages that are related to the
798 # specified URL. The parameter value should be a URL.
799 &quot;hq&quot;: &quot;A String&quot;, # Appends the specified query terms to the query, as if they were combined
800 # with a logical `AND` operator.
801 &quot;imgType&quot;: &quot;A String&quot;, # Restricts results to images of a specified type. Supported values are:
802 #
803 # * `clipart` (Clip art)
804 #
805 # * `face` (Face)
806 #
807 # * `lineart` (Line drawing)
808 #
809 # * `photo` (Photo)
810 #
811 # * `animated` (Animated)
812 #
813 # * `stock` (Stock)
814 &quot;outputEncoding&quot;: &quot;A String&quot;, # The character encoding supported for search results.
815 &quot;language&quot;: &quot;A String&quot;, # The language of the search results.
816 &quot;totalResults&quot;: &quot;A String&quot;, # Estimated number of total search results. May not be accurate.
817 },
818 ],
819 &quot;previousPage&quot;: [ # Metadata representing the previous page of results, if applicable.
820 { # Custom search request metadata.
821 &quot;hl&quot;: &quot;A String&quot;, # Specifies the interface language (host language) of your user interface.
822 # Explicitly setting this parameter improves the performance and the
823 # quality of your search results.
824 #
825 # See the [Interface
826 # Languages](https://developers.google.com/custom-search/docs/xml_results#wsInterfaceLanguages)
827 # section of [Internationalizing Queries and Results
828 # Presentation](https://developers.google.com/custom-search/docs/xml_results#wsInternationalizing)
829 # for more information, and [Supported Interface
830 # Languages](https://developers.google.com/custom-search/docs/xml_results_appendices#interfaceLanguages)
831 # for a list of supported languages.
832 &quot;inputEncoding&quot;: &quot;A String&quot;, # The character encoding supported for search requests.
833 &quot;disableCnTwTranslation&quot;: &quot;A String&quot;, # Enables or disables the [Simplified and Traditional Chinese
834 # Search](https://developers.google.com/custom-search/docs/xml_results#chineseSearch)
835 # feature.
836 #
837 # Supported values are:
838 #
839 # * `0`: enabled (default)
840 #
841 # * `1`: disabled
842 &quot;imgDominantColor&quot;: &quot;A String&quot;, # Restricts results to images with a specific dominant color. Supported
843 # values are:
844 #
845 # * `red`
846 #
847 # * `orange`
848 #
849 # * `yellow`
850 #
851 # * `green`
852 #
853 # * `teal`
854 #
855 # * `blue`
856 #
857 # * `purple`
858 #
859 # * `pink`
860 #
861 # * `white`
862 #
863 # * `gray`
864 #
865 # * `black`
866 #
867 # * `brown`
868 &quot;imgSize&quot;: &quot;A String&quot;, # Restricts results to images of a specified size. Supported values are:
869 #
870 # * `icon` (small)
871 #
872 # * `small | medium | large | xlarge` (medium)
873 #
874 # * `xxlarge` (large)
875 #
876 # * `huge` (extra-large)
877 &quot;googleHost&quot;: &quot;A String&quot;, # Specifies the Google domain (for example, google.com, google.de, or
878 # google.fr) to which the search should be limited.
879 &quot;searchTerms&quot;: &quot;A String&quot;, # The search terms entered by the user.
880 &quot;lowRange&quot;: &quot;A String&quot;, # Specifies the starting value for a search range. Use `cse:lowRange` and
881 # `cse:highrange` to append an inclusive search range of
882 # `lowRange...highRange` to the query.
883 &quot;linkSite&quot;: &quot;A String&quot;, # Specifies that all results should contain a link to a specific URL.
884 &quot;startPage&quot;: 42, # The page number of this set of results, where the page length is set by
885 # the `count` property.
886 &quot;cx&quot;: &quot;A String&quot;, # The identifier of a custom search engine created using the Custom Search
887 # [Control Panel](https://cse.google.com/). This is a custom property not
888 # defined in the OpenSearch spec. This parameter is **required**.
889 &quot;startIndex&quot;: 42, # The index of the current set of search results into the total set of
890 # results, where the index of the first result is 1.
891 &quot;gl&quot;: &quot;A String&quot;, # Boosts search results whose country of origin matches the parameter
892 # value. See [Country
893 # Codes](https://developers.google.com/custom-search/docs/xml_results#countryCodes)
894 # for a list of valid values.
895 #
896 # Specifying a `gl` parameter value in WebSearch requests should improve
897 # the relevance of results. This is particularly true for international
898 # customers and, even more specifically, for customers in English-speaking
899 # countries other than the United States.
900 &quot;imgColorType&quot;: &quot;A String&quot;, # Restricts results to images of a specified color type. Supported values
901 # are:
902 #
903 # * `mono` (black and white)
904 #
905 # * `gray` (grayscale)
906 #
907 # * `color` (color)
908 &quot;relatedSite&quot;: &quot;A String&quot;, # Specifies that all search results should be pages that are related to the
909 # specified URL. The parameter value should be a URL.
910 &quot;dateRestrict&quot;: &quot;A String&quot;, # Restricts results to URLs based on date. Supported values include:
911 #
912 # * `d[number]`: requests results from the specified number of past days.
913 #
914 # * `w[number]`: requests results from the specified number of past weeks.
915 #
916 # * `m[number]`: requests results from the specified number of past months.
917 #
918 # * `y[number]`: requests results from the specified number of past years.
919 &quot;language&quot;: &quot;A String&quot;, # The language of the search results.
920 &quot;hq&quot;: &quot;A String&quot;, # Appends the specified query terms to the query, as if they were combined
921 # with a logical `AND` operator.
922 &quot;title&quot;: &quot;A String&quot;, # A description of the query.
923 &quot;highRange&quot;: &quot;A String&quot;, # Specifies the ending value for a search range. Use `cse:lowRange` and
924 # `cse:highrange` to append an inclusive search range of
925 # `lowRange...highRange` to the query.
926 &quot;fileType&quot;: &quot;A String&quot;, # Restricts results to files of a specified extension. Filetypes supported
927 # by Google include:
928 #
929 # * Adobe Portable Document Format (`pdf`)
930 #
931 # * Adobe PostScript (`ps`)
932 #
933 # * Lotus 1-2-3 (`wk1`, `wk2`, `wk3`, `wk4`, `wk5`, `wki`, `wks`, `wku`)
934 #
935 # * Lotus WordPro (`lwp`)
936 #
937 # * Macwrite (`mw`)
938 #
939 # * Microsoft Excel (`xls`)
940 #
941 # * Microsoft PowerPoint (`ppt`)
942 #
943 # * Microsoft Word (`doc`)
944 #
945 # * Microsoft Works (`wks`, `wps`, `wdb`)
946 #
947 # * Microsoft Write (`wri`)
948 #
949 # * Rich Text Format (`rtf`)
950 #
951 # * Shockwave Flash (`swf`)
952 #
953 # * Text (`ans`, `txt`).
954 #
955 # Additional filetypes may be added in the future. An up-to-date list can
956 # always be found in Google&#x27;s [file type
957 # FAQ](https://support.google.com/webmasters/answer/35287).
958 &quot;siteSearchFilter&quot;: &quot;A String&quot;, # Specifies whether to include or exclude results from the site named in
959 # the `sitesearch` parameter. Supported values are:
960 #
961 # * `i`: include content from site
962 #
963 # * `e`: exclude content from site
964 &quot;rights&quot;: &quot;A String&quot;, # Filters based on licensing. Supported values include:
965 #
966 # * `cc_publicdomain`
967 #
968 # * `cc_attribute`
969 #
970 # * `cc_sharealike`
971 #
972 # * `cc_noncommercial`
973 #
974 # * `cc_nonderived`
975 &quot;exactTerms&quot;: &quot;A String&quot;, # Identifies a phrase that all documents in the search results must
976 # contain.
977 &quot;excludeTerms&quot;: &quot;A String&quot;, # Identifies a word or phrase that should not appear in any documents in
978 # the search results.
979 &quot;safe&quot;: &quot;A String&quot;, # Specifies the [SafeSearch
980 # level](https://developers.google.com/custom-search/docs/xml_results#safeSearchLevels)
981 # used for filtering out adult results. This is a custom property not
982 # defined in the OpenSearch spec. Valid parameter values are:
983 #
984 # * `&quot;off&quot;`: Disable SafeSearch
985 #
986 # * `&quot;active&quot;`: Enable SafeSearch
987 &quot;sort&quot;: &quot;A String&quot;, # Specifies that results should be sorted according to the specified
988 # expression. For example, sort by date.
989 &quot;searchType&quot;: &quot;A String&quot;, # Allowed values are `web` or `image`. If unspecified, results are limited
990 # to webpages.
991 &quot;filter&quot;: &quot;A String&quot;, # Activates or deactivates the automatic filtering of Google search
992 # results. See [Automatic
993 # Filtering](https://developers.google.com/custom-search/docs/xml_results#automaticFiltering)
994 # for more information about Google&#x27;s search results filters. Valid values
995 # for this parameter are:
996 #
997 # * `0`: Disabled
998 #
999 # * `1`: Enabled (default)
1000 #
1001 # **Note**: By default, Google applies filtering to all search results to
1002 # improve the quality of those results.
1003 &quot;count&quot;: 42, # Number of search results returned in this set.
1004 &quot;orTerms&quot;: &quot;A String&quot;, # Provides additional search terms to check for in a document, where each
1005 # document in the search results must contain at least one of the
1006 # additional search terms. You can also use the [Boolean
1007 # OR](https://developers.google.com/custom-search/docs/xml_results#BooleanOrqt)
1008 # query term for this type of query.
1009 &quot;imgType&quot;: &quot;A String&quot;, # Restricts results to images of a specified type. Supported values are:
1010 #
1011 # * `clipart` (Clip art)
1012 #
1013 # * `face` (Face)
1014 #
1015 # * `lineart` (Line drawing)
1016 #
1017 # * `photo` (Photo)
1018 #
1019 # * `animated` (Animated)
1020 #
1021 # * `stock` (Stock)
1022 &quot;siteSearch&quot;: &quot;A String&quot;, # Restricts results to URLs from a specified site.
1023 &quot;totalResults&quot;: &quot;A String&quot;, # Estimated number of total search results. May not be accurate.
1024 &quot;outputEncoding&quot;: &quot;A String&quot;, # The character encoding supported for search results.
1025 &quot;cr&quot;: &quot;A String&quot;, # Restricts search results to documents originating in a particular
1026 # country. You may use [Boolean
1027 # operators](https://developers.google.com/custom-search/docs/xml_results#booleanOperators)
1028 # in the `cr` parameter&#x27;s value.
1029 #
1030 # Google WebSearch determines the country of a document by analyzing the
1031 # following:
1032 #
1033 # * The top-level domain (TLD) of the document&#x27;s URL.
1034 #
1035 # * The geographic location of the web server&#x27;s IP address.
1036 #
1037 # See [Country (cr) Parameter
1038 # Values](https://developers.google.com/custom-search/docs/xml_results#countryCollections)
1039 # for a list of valid values for this parameter.
John Asmuth614db982014-04-24 15:46:26 -04001040 },
1041 ],
1042 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001043 &quot;spelling&quot;: { # Spell correction information for a query.
1044 &quot;htmlCorrectedQuery&quot;: &quot;A String&quot;, # The corrected query, formatted in HTML.
1045 &quot;correctedQuery&quot;: &quot;A String&quot;, # The corrected query.
John Asmuth614db982014-04-24 15:46:26 -04001046 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001047 &quot;promotions&quot;: [ # The set of
1048 # [promotions](https://developers.google.com/custom-search/docs/promotions).
1049 # Present only if the custom search engine&#x27;s configuration files define any
1050 # promotions for the given query.
1051 { # Promotion result.
1052 &quot;image&quot;: { # Image belonging to a promotion.
1053 &quot;source&quot;: &quot;A String&quot;, # URL of the image for this promotion link.
1054 &quot;height&quot;: 42, # Image height in pixels.
1055 &quot;width&quot;: 42, # Image width in pixels.
1056 },
1057 &quot;bodyLines&quot;: [ # An array of block objects for this promotion. See [Google WebSearch
1058 # Protocol
1059 # reference](https://developers.google.com/custom-search/docs/xml_results)
1060 # for more information.
1061 { # Block object belonging to a promotion.
1062 &quot;link&quot;: &quot;A String&quot;, # The anchor text of the block object&#x27;s link, if it has a link.
1063 &quot;htmlTitle&quot;: &quot;A String&quot;, # The block object&#x27;s text in HTML, if it has text.
1064 &quot;title&quot;: &quot;A String&quot;, # The block object&#x27;s text, if it has text.
1065 &quot;url&quot;: &quot;A String&quot;, # The URL of the block object&#x27;s link, if it has one.
1066 },
1067 ],
1068 &quot;displayLink&quot;: &quot;A String&quot;, # An abridged version of this search&#x27;s result URL, e.g. www.example.com.
1069 &quot;title&quot;: &quot;A String&quot;, # The title of the promotion.
1070 &quot;link&quot;: &quot;A String&quot;, # The URL of the promotion.
1071 &quot;htmlTitle&quot;: &quot;A String&quot;, # The title of the promotion, in HTML.
1072 },
1073 ],
1074 &quot;items&quot;: [ # The current set of custom search results.
1075 { # A custom search result.
1076 &quot;displayLink&quot;: &quot;A String&quot;, # An abridged version of this search result’s URL, e.g. www.example.com.
1077 &quot;kind&quot;: &quot;A String&quot;, # A unique identifier for the type of current object. For this API, it is
1078 # `customsearch#result.`
1079 &quot;link&quot;: &quot;A String&quot;, # The full URL to which the search result is pointing, e.g.
1080 # http://www.example.com/foo/bar.
1081 &quot;fileFormat&quot;: &quot;A String&quot;, # The file format of the search result.
1082 &quot;htmlFormattedUrl&quot;: &quot;A String&quot;, # The HTML-formatted URL displayed after the snippet for each search result.
1083 &quot;htmlSnippet&quot;: &quot;A String&quot;, # The snippet of the search result, in HTML.
1084 &quot;formattedUrl&quot;: &quot;A String&quot;, # The URL displayed after the snippet for each search result.
1085 &quot;cacheId&quot;: &quot;A String&quot;, # Indicates the ID of Google&#x27;s cached version of the search result.
1086 &quot;htmlTitle&quot;: &quot;A String&quot;, # The title of the search result, in HTML.
1087 &quot;image&quot;: { # Image belonging to a custom search result.
1088 &quot;byteSize&quot;: 42, # The size of the image, in pixels.
1089 &quot;width&quot;: 42, # The width of the image, in pixels.
1090 &quot;thumbnailWidth&quot;: 42, # The width of the thumbnail image, in pixels.
1091 &quot;contextLink&quot;: &quot;A String&quot;, # A URL pointing to the webpage hosting the image.
1092 &quot;height&quot;: 42, # The height of the image, in pixels.
1093 &quot;thumbnailLink&quot;: &quot;A String&quot;, # A URL to the thumbnail image.
1094 &quot;thumbnailHeight&quot;: 42, # The height of the thumbnail image, in pixels.
1095 },
1096 &quot;pagemap&quot;: { # Contains
1097 # [PageMap](https://developers.google.com/custom-search/docs/structured_data#pagemaps)
1098 # information for this search result.
1099 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
1100 },
1101 &quot;title&quot;: &quot;A String&quot;, # The title of the search result, in plain text.
1102 &quot;labels&quot;: [ # Encapsulates all information about [refinement
1103 # labels](https://developers.google.com/custom-search/docs/xml_results).
1104 { # Refinement label associated with a custom search result.
1105 &quot;name&quot;: &quot;A String&quot;, # The name of a refinement label, which you can use to refine searches.
1106 # Don&#x27;t display this in your user interface; instead, use displayName.
1107 &quot;displayName&quot;: &quot;A String&quot;, # The display name of a refinement label. This is the name you should
1108 # display in your user interface.
1109 &quot;label_with_op&quot;: &quot;A String&quot;, # Refinement label and the associated refinement operation.
1110 },
1111 ],
1112 &quot;snippet&quot;: &quot;A String&quot;, # The snippet of the search result, in plain text.
1113 &quot;mime&quot;: &quot;A String&quot;, # The MIME type of the search result.
1114 },
1115 ],
1116 &quot;searchInformation&quot;: { # Metadata about a search operation.
1117 &quot;totalResults&quot;: &quot;A String&quot;, # The total number of search results returned by the query.
1118 &quot;searchTime&quot;: 3.14, # The time taken for the server to return search results.
1119 &quot;formattedTotalResults&quot;: &quot;A String&quot;, # The total number of search results, formatted according to locale style.
1120 &quot;formattedSearchTime&quot;: &quot;A String&quot;, # The time taken for the server to return search results, formatted
1121 # according to locale style.
John Asmuth614db982014-04-24 15:46:26 -04001122 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001123 &quot;context&quot;: { # Metadata and refinements associated with the given search engine,
1124 # including:
1125 #
1126 # * The name of the search engine that was used for the query.
1127 #
1128 # * A set of [facet
1129 # objects](https://developers.google.com/custom-search/docs/refinements#create)
1130 # (refinements) you can use for refining a search.
1131 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
1132 },
1133 &quot;url&quot;: { # OpenSearch template and URL.
1134 &quot;type&quot;: &quot;A String&quot;, # The MIME type of the OpenSearch URL template for the Custom Search API.
1135 &quot;template&quot;: &quot;A String&quot;, # The actual [OpenSearch
1136 # template](http://www.opensearch.org/specifications/opensearch/1.1#opensearch_url_template_syntax)
1137 # for this API.
1138 },
1139 &quot;kind&quot;: &quot;A String&quot;, # Unique identifier for the type of current object. For this API, it is
1140 # customsearch#search.
John Asmuth614db982014-04-24 15:46:26 -04001141 }</pre>
1142</div>
1143
1144</body></html>