Debian Codegraph @

docs/dyn/cloudsearch_v1.query.sources.html

raw
1 <html><body>
2 <style>
3
4 body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13 }
14
15 body {
16 font-size: 13px;
17 padding: 1em;
18 }
19
20 h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23 }
24
25 h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28 }
29
30 h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34 }
35
36 pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39 }
40
41 pre {
42 margin-top: 0.5em;
43 }
44
45 h1, h2, h3, p {
46 font-family: Arial, sans serif;
47 }
48
49 h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51 }
52
53 .toc_element {
54 margin-top: 0.5em;
55 }
56
57 .firstline {
58 margin-left: 2 em;
59 }
60
61 .method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66 }
67
68 .details {
69 font-weight: bold;
70 font-size: 14px;
71 }
72
73 </style>
74
75 <h1><a href="cloudsearch_v1.html">Cloud Search API</a> . <a href="cloudsearch_v1.query.html">query</a> . <a href="cloudsearch_v1.query.sources.html">sources</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="#close">close()</a></code></p>
79 <p class="firstline">Close httplib2 connections.</p>
80 <p class="toc_element">
81 <code><a href="#list">list(pageToken=None, requestOptions_clientDisplayLanguageCode=None, requestOptions_debugOptions_enableDebugging=None, requestOptions_languageCode=None, requestOptions_searchApplicationId=None, requestOptions_timeZone=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Returns list of sources that user can use for Search and Suggest APIs. **Note:** This API requires a standard end user account to execute. A service account can't perform Query API requests directly; to use a service account to perform queries, set up [Google Workspace domain-wide delegation of authority](https://developers.google.com/workspace/cloud-search/docs/guides/delegation/).</p>
83 <p class="toc_element">
84 <code><a href="#list_next">list_next()</a></code></p>
85 <p class="firstline">Retrieves the next page of results.</p>
86 <h3>Method Details</h3>
87 <div class="method">
88 <code class="details" id="close">close()</code>
89 <pre>Close httplib2 connections.</pre>
90 </div>
91
92 <div class="method">
93 <code class="details" id="list">list(pageToken=None, requestOptions_clientDisplayLanguageCode=None, requestOptions_debugOptions_enableDebugging=None, requestOptions_languageCode=None, requestOptions_searchApplicationId=None, requestOptions_timeZone=None, x__xgafv=None)</code>
94 <pre>Returns list of sources that user can use for Search and Suggest APIs. **Note:** This API requires a standard end user account to execute. A service account can&#x27;t perform Query API requests directly; to use a service account to perform queries, set up [Google Workspace domain-wide delegation of authority](https://developers.google.com/workspace/cloud-search/docs/guides/delegation/).
95
96 Args:
97 pageToken: string, Number of sources to return in the response.
98 requestOptions_clientDisplayLanguageCode: string, The BCP-47 language code, such as &quot;pt&quot; or &quot;en&quot;. It represents the user&#x27;s preferred Display Language.
99 requestOptions_debugOptions_enableDebugging: boolean, If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field.
100 requestOptions_languageCode: string, The BCP-47 language code, such as &quot;en-US&quot; or &quot;sr-Latn&quot;. For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. For translations. Set this field using the language set in browser or for the page. In the event that the user&#x27;s language preference is known, set this field to the known user language. When specified, the documents in search results are biased towards the specified language. The Suggest API uses this field as a hint to make better third-party autocomplete predictions.
101 requestOptions_searchApplicationId: string, The ID generated when you create a search application using the [admin console](https://support.google.com/a/answer/9043922).
102 requestOptions_timeZone: string, Current user&#x27;s time zone id, such as &quot;America/Los_Angeles&quot; or &quot;Australia/Sydney&quot;. These IDs are defined by [Unicode Common Locale Data Repository (CLDR)](http://cldr.unicode.org/) project, and currently available in the file [timezone.xml](http://unicode.org/repos/cldr/trunk/common/bcp47/timezone.xml). This field is used to correctly interpret date and time queries. If this field is not specified, the default time zone (UTC) is used.
103 x__xgafv: string, V1 error format.
104 Allowed values
105 1 - v1 error format
106 2 - v2 error format
107
108 Returns:
109 An object of the form:
110
111 { # List sources response.
112 &quot;nextPageToken&quot;: &quot;A String&quot;,
113 &quot;sources&quot;: [
114 { # List of sources that the user can search using the query API.
115 &quot;displayName&quot;: &quot;A String&quot;, # Display name of the data source.
116 &quot;operators&quot;: [ # List of all operators applicable for this source.
117 { # The definition of a operator that can be used in a Search/Suggest request.
118 &quot;displayName&quot;: &quot;A String&quot;, # Display name of the operator
119 &quot;enumValues&quot;: [ # Potential list of values for the opeatror field. This field is only filled when we can safely enumerate all the possible values of this operator.
120 &quot;A String&quot;,
121 ],
122 &quot;greaterThanOperatorName&quot;: &quot;A String&quot;, # Indicates the operator name that can be used to isolate the property using the greater-than operator.
123 &quot;isFacetable&quot;: True or False, # Can this operator be used to get facets.
124 &quot;isRepeatable&quot;: True or False, # Indicates if multiple values can be set for this property.
125 &quot;isReturnable&quot;: True or False, # Will the property associated with this facet be returned as part of search results.
126 &quot;isSortable&quot;: True or False, # Can this operator be used to sort results.
127 &quot;isSuggestable&quot;: True or False, # Can get suggestions for this field.
128 &quot;lessThanOperatorName&quot;: &quot;A String&quot;, # Indicates the operator name that can be used to isolate the property using the less-than operator.
129 &quot;objectType&quot;: &quot;A String&quot;, # The name of the object corresponding to the operator. This field is only filled for schema-specific operators, and is unset for common operators.
130 &quot;operatorName&quot;: &quot;A String&quot;, # The name of the operator.
131 &quot;type&quot;: &quot;A String&quot;, # The type of the operator.
132 },
133 ],
134 &quot;shortName&quot;: &quot;A String&quot;, # A short name or alias for the source. This value can be used with the &#x27;source&#x27; operator.
135 &quot;source&quot;: { # Defines sources for the suggest/search APIs. # The name of the source
136 &quot;name&quot;: &quot;A String&quot;, # Source name for content indexed by the Indexing API.
137 &quot;predefinedSource&quot;: &quot;A String&quot;, # Predefined content source for Google Apps.
138 },
139 },
140 ],
141 }</pre>
142 </div>
143
144 <div class="method">
145 <code class="details" id="list_next">list_next()</code>
146 <pre>Retrieves the next page of results.
147
148 Args:
149 previous_request: The request for the previous page. (required)
150 previous_response: The response from the request for the previous page. (required)
151
152 Returns:
153 A request object that you can call &#x27;execute()&#x27; on to request the next
154 page. Returns None if there are no more items in the collection.
155 </pre>
156 </div>
157
158 </body></html>