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