blob: 093b67e18be2964131d15ddd2c4f75b6cc60edf9 [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 Kim715bd7f2019-06-14 16:50:42 -070075<h1><a href="discovery_v1.html">API Discovery Service</a> . <a href="discovery_v1.apis.html">apis</a></h1>
John Asmuth614db982014-04-24 15:46:26 -040076<h2>Instance Methods</h2>
77<p class="toc_element">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070078 <code><a href="#close">close()</a></code></p>
79<p class="firstline">Close httplib2 connections.</p>
80<p class="toc_element">
John Asmuth614db982014-04-24 15:46:26 -040081 <code><a href="#getRest">getRest(api, version)</a></code></p>
82<p class="firstline">Retrieve the description of a particular version of an api.</p>
83<p class="toc_element">
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -080084 <code><a href="#list">list(name=None, preferred=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -040085<p class="firstline">Retrieve the list of APIs supported at this endpoint.</p>
86<h3>Method Details</h3>
87<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070088 <code class="details" id="close">close()</code>
89 <pre>Close httplib2 connections.</pre>
90</div>
91
92<div class="method">
John Asmuth614db982014-04-24 15:46:26 -040093 <code class="details" id="getRest">getRest(api, version)</code>
94 <pre>Retrieve the description of a particular version of an api.
95
96Args:
97 api: string, The name of the API. (required)
98 version: string, The version of the API. (required)
99
100Returns:
101 An object of the form:
102
103 {
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800104 &quot;auth&quot;: { # Authentication information.
105 &quot;oauth2&quot;: { # OAuth 2.0 authentication information.
106 &quot;scopes&quot;: { # Available OAuth 2.0 scopes.
107 &quot;a_key&quot;: { # The scope value.
108 &quot;description&quot;: &quot;A String&quot;, # Description of scope.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800109 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800110 },
111 },
112 },
113 &quot;basePath&quot;: &quot;A String&quot;, # [DEPRECATED] The base path for REST requests.
114 &quot;baseUrl&quot;: &quot;A String&quot;, # [DEPRECATED] The base URL for REST requests.
115 &quot;batchPath&quot;: &quot;A String&quot;, # The path for REST batch requests.
116 &quot;canonicalName&quot;: &quot;A String&quot;, # Indicates how the API name should be capitalized and split into various parts. Useful for generating pretty class names.
117 &quot;description&quot;: &quot;A String&quot;, # The description of this API.
118 &quot;discoveryVersion&quot;: &quot;v1&quot;, # Indicate the version of the Discovery API used to generate this doc.
119 &quot;documentationLink&quot;: &quot;A String&quot;, # A link to human readable documentation for the API.
120 &quot;etag&quot;: &quot;A String&quot;, # The ETag for this response.
121 &quot;exponentialBackoffDefault&quot;: True or False, # Enable exponential backoff for suitable methods in the generated clients.
122 &quot;features&quot;: [ # A list of supported features for this API.
123 &quot;A String&quot;,
124 ],
125 &quot;icons&quot;: { # Links to 16x16 and 32x32 icons representing the API.
126 &quot;x16&quot;: &quot;A String&quot;, # The URL of the 16x16 icon.
127 &quot;x32&quot;: &quot;A String&quot;, # The URL of the 32x32 icon.
128 },
129 &quot;id&quot;: &quot;A String&quot;, # The ID of this API.
130 &quot;kind&quot;: &quot;discovery#restDescription&quot;, # The kind for this response.
131 &quot;labels&quot;: [ # Labels for the status of this API, such as labs or deprecated.
132 &quot;A String&quot;,
133 ],
134 &quot;methods&quot;: { # API-level methods for this API.
135 &quot;a_key&quot;: { # An individual method description.
136 &quot;description&quot;: &quot;A String&quot;, # Description of this method.
137 &quot;etagRequired&quot;: True or False, # Whether this method requires an ETag to be specified. The ETag is sent as an HTTP If-Match or If-None-Match header.
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400138 &quot;flatPath&quot;: &quot;A String&quot;, # The URI path of this REST method in (RFC 6570) format without level 2 features ({+var}). Supplementary to the path property.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800139 &quot;httpMethod&quot;: &quot;A String&quot;, # HTTP method used by this method.
140 &quot;id&quot;: &quot;A String&quot;, # A unique ID for this method. This property can be used to match methods between different versions of Discovery.
141 &quot;mediaUpload&quot;: { # Media upload parameters.
142 &quot;accept&quot;: [ # MIME Media Ranges for acceptable media uploads to this method.
143 &quot;A String&quot;,
144 ],
145 &quot;maxSize&quot;: &quot;A String&quot;, # Maximum size of a media upload, such as &quot;1MB&quot;, &quot;2GB&quot; or &quot;3TB&quot;.
146 &quot;protocols&quot;: { # Supported upload protocols.
147 &quot;resumable&quot;: { # Supports the Resumable Media Upload protocol.
148 &quot;multipart&quot;: true, # True if this endpoint supports uploading multipart media.
149 &quot;path&quot;: &quot;A String&quot;, # The URI path to be used for upload. Should be used in conjunction with the basePath property at the api-level.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800150 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800151 &quot;simple&quot;: { # Supports uploading as a single HTTP request.
152 &quot;multipart&quot;: true, # True if this endpoint supports upload multipart media.
153 &quot;path&quot;: &quot;A String&quot;, # The URI path to be used for upload. Should be used in conjunction with the basePath property at the api-level.
154 },
155 },
156 },
157 &quot;parameterOrder&quot;: [ # Ordered list of required parameters, serves as a hint to clients on how to structure their method signatures. The array is ordered such that the &quot;most-significant&quot; parameter appears first.
158 &quot;A String&quot;,
159 ],
160 &quot;parameters&quot;: { # Details for all parameters in this method.
161 &quot;a_key&quot;: { # Details for a single parameter in this method.
162 &quot;$ref&quot;: &quot;A String&quot;, # A reference to another schema. The value of this property is the &quot;id&quot; of another schema.
163 &quot;additionalProperties&quot;: # Object with schema name: JsonSchema # If this is a schema for an object, this property is the schema for any additional properties with dynamic keys on this object.
164 &quot;annotations&quot;: { # Additional information about this property.
165 &quot;required&quot;: [ # A list of methods for which this property is required on requests.
166 &quot;A String&quot;,
167 ],
168 },
169 &quot;default&quot;: &quot;A String&quot;, # The default value of this property (if one exists).
170 &quot;description&quot;: &quot;A String&quot;, # A description of this object.
171 &quot;enum&quot;: [ # Values this parameter may take (if it is an enum).
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800172 &quot;A String&quot;,
173 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800174 &quot;enumDescriptions&quot;: [ # The descriptions for the enums. Each position maps to the corresponding value in the &quot;enum&quot; array.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800175 &quot;A String&quot;,
176 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800177 &quot;format&quot;: &quot;A String&quot;, # An additional regular expression or key that helps constrain the value. For more details see: http://tools.ietf.org/html/draft-zyp-json-schema-03#section-5.23
178 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for this schema.
179 &quot;items&quot;: # Object with schema name: JsonSchema # If this is a schema for an array, this property is the schema for each element in the array.
180 &quot;location&quot;: &quot;A String&quot;, # Whether this parameter goes in the query or the path for REST requests.
181 &quot;maximum&quot;: &quot;A String&quot;, # The maximum value of this parameter.
182 &quot;minimum&quot;: &quot;A String&quot;, # The minimum value of this parameter.
183 &quot;pattern&quot;: &quot;A String&quot;, # The regular expression this parameter must conform to. Uses Java 6 regex format: http://docs.oracle.com/javase/6/docs/api/java/util/regex/Pattern.html
184 &quot;properties&quot;: { # If this is a schema for an object, list the schema for each property of this object.
185 &quot;a_key&quot;: # Object with schema name: JsonSchema # A single property of this object. The value is itself a JSON Schema object describing this property.
186 },
187 &quot;readOnly&quot;: True or False, # The value is read-only, generated by the service. The value cannot be modified by the client. If the value is included in a POST, PUT, or PATCH request, it is ignored by the service.
188 &quot;repeated&quot;: True or False, # Whether this parameter may appear multiple times.
189 &quot;required&quot;: True or False, # Whether the parameter is required.
190 &quot;type&quot;: &quot;A String&quot;, # The value type for this schema. A list of values can be found here: http://tools.ietf.org/html/draft-zyp-json-schema-03#section-5.1
191 &quot;variant&quot;: { # In a variant data type, the value of one property is used to determine how to interpret the entire entity. Its value must exist in a map of descriminant values to schema names.
192 &quot;discriminant&quot;: &quot;A String&quot;, # The name of the type discriminant property.
193 &quot;map&quot;: [ # The map of discriminant value to schema to use for parsing..
194 {
195 &quot;$ref&quot;: &quot;A String&quot;,
196 &quot;type_value&quot;: &quot;A String&quot;,
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800197 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800198 ],
199 },
200 },
201 },
202 &quot;path&quot;: &quot;A String&quot;, # The URI path of this REST method. Should be used in conjunction with the basePath property at the api-level.
203 &quot;request&quot;: { # The schema for the request.
204 &quot;$ref&quot;: &quot;A String&quot;, # Schema ID for the request schema.
205 &quot;parameterName&quot;: &quot;A String&quot;, # parameter name.
206 },
207 &quot;response&quot;: { # The schema for the response.
208 &quot;$ref&quot;: &quot;A String&quot;, # Schema ID for the response schema.
209 },
210 &quot;scopes&quot;: [ # OAuth 2.0 scopes applicable to this method.
211 &quot;A String&quot;,
212 ],
213 &quot;supportsMediaDownload&quot;: True or False, # Whether this method supports media downloads.
214 &quot;supportsMediaUpload&quot;: True or False, # Whether this method supports media uploads.
215 &quot;supportsSubscription&quot;: True or False, # Whether this method supports subscriptions.
216 &quot;useMediaDownloadService&quot;: True or False, # Indicates that downloads from this method should use the download service URL (i.e. &quot;/download&quot;). Only applies if the method supports media download.
217 },
218 },
219 &quot;name&quot;: &quot;A String&quot;, # The name of this API.
220 &quot;ownerDomain&quot;: &quot;A String&quot;, # The domain of the owner of this API. Together with the ownerName and a packagePath values, this can be used to generate a library for this API which would have a unique fully qualified name.
221 &quot;ownerName&quot;: &quot;A String&quot;, # The name of the owner of this API. See ownerDomain.
222 &quot;packagePath&quot;: &quot;A String&quot;, # The package of the owner of this API. See ownerDomain.
223 &quot;parameters&quot;: { # Common parameters that apply across all apis.
224 &quot;a_key&quot;: { # Description of a single parameter.
225 &quot;$ref&quot;: &quot;A String&quot;, # A reference to another schema. The value of this property is the &quot;id&quot; of another schema.
226 &quot;additionalProperties&quot;: # Object with schema name: JsonSchema # If this is a schema for an object, this property is the schema for any additional properties with dynamic keys on this object.
227 &quot;annotations&quot;: { # Additional information about this property.
228 &quot;required&quot;: [ # A list of methods for which this property is required on requests.
229 &quot;A String&quot;,
230 ],
231 },
232 &quot;default&quot;: &quot;A String&quot;, # The default value of this property (if one exists).
233 &quot;description&quot;: &quot;A String&quot;, # A description of this object.
234 &quot;enum&quot;: [ # Values this parameter may take (if it is an enum).
235 &quot;A String&quot;,
236 ],
237 &quot;enumDescriptions&quot;: [ # The descriptions for the enums. Each position maps to the corresponding value in the &quot;enum&quot; array.
238 &quot;A String&quot;,
239 ],
240 &quot;format&quot;: &quot;A String&quot;, # An additional regular expression or key that helps constrain the value. For more details see: http://tools.ietf.org/html/draft-zyp-json-schema-03#section-5.23
241 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for this schema.
242 &quot;items&quot;: # Object with schema name: JsonSchema # If this is a schema for an array, this property is the schema for each element in the array.
243 &quot;location&quot;: &quot;A String&quot;, # Whether this parameter goes in the query or the path for REST requests.
244 &quot;maximum&quot;: &quot;A String&quot;, # The maximum value of this parameter.
245 &quot;minimum&quot;: &quot;A String&quot;, # The minimum value of this parameter.
246 &quot;pattern&quot;: &quot;A String&quot;, # The regular expression this parameter must conform to. Uses Java 6 regex format: http://docs.oracle.com/javase/6/docs/api/java/util/regex/Pattern.html
247 &quot;properties&quot;: { # If this is a schema for an object, list the schema for each property of this object.
248 &quot;a_key&quot;: # Object with schema name: JsonSchema # A single property of this object. The value is itself a JSON Schema object describing this property.
249 },
250 &quot;readOnly&quot;: True or False, # The value is read-only, generated by the service. The value cannot be modified by the client. If the value is included in a POST, PUT, or PATCH request, it is ignored by the service.
251 &quot;repeated&quot;: True or False, # Whether this parameter may appear multiple times.
252 &quot;required&quot;: True or False, # Whether the parameter is required.
253 &quot;type&quot;: &quot;A String&quot;, # The value type for this schema. A list of values can be found here: http://tools.ietf.org/html/draft-zyp-json-schema-03#section-5.1
254 &quot;variant&quot;: { # In a variant data type, the value of one property is used to determine how to interpret the entire entity. Its value must exist in a map of descriminant values to schema names.
255 &quot;discriminant&quot;: &quot;A String&quot;, # The name of the type discriminant property.
256 &quot;map&quot;: [ # The map of discriminant value to schema to use for parsing..
257 {
258 &quot;$ref&quot;: &quot;A String&quot;,
259 &quot;type_value&quot;: &quot;A String&quot;,
260 },
261 ],
262 },
263 },
264 },
265 &quot;protocol&quot;: &quot;rest&quot;, # The protocol described by this document.
266 &quot;resources&quot;: { # The resources in this API.
267 &quot;a_key&quot;: { # An individual resource description. Contains methods and sub-resources related to this resource.
268 &quot;methods&quot;: { # Methods on this resource.
269 &quot;a_key&quot;: { # Description for any methods on this resource.
270 &quot;description&quot;: &quot;A String&quot;, # Description of this method.
271 &quot;etagRequired&quot;: True or False, # Whether this method requires an ETag to be specified. The ETag is sent as an HTTP If-Match or If-None-Match header.
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400272 &quot;flatPath&quot;: &quot;A String&quot;, # The URI path of this REST method in (RFC 6570) format without level 2 features ({+var}). Supplementary to the path property.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800273 &quot;httpMethod&quot;: &quot;A String&quot;, # HTTP method used by this method.
274 &quot;id&quot;: &quot;A String&quot;, # A unique ID for this method. This property can be used to match methods between different versions of Discovery.
275 &quot;mediaUpload&quot;: { # Media upload parameters.
276 &quot;accept&quot;: [ # MIME Media Ranges for acceptable media uploads to this method.
277 &quot;A String&quot;,
278 ],
279 &quot;maxSize&quot;: &quot;A String&quot;, # Maximum size of a media upload, such as &quot;1MB&quot;, &quot;2GB&quot; or &quot;3TB&quot;.
280 &quot;protocols&quot;: { # Supported upload protocols.
281 &quot;resumable&quot;: { # Supports the Resumable Media Upload protocol.
282 &quot;multipart&quot;: true, # True if this endpoint supports uploading multipart media.
283 &quot;path&quot;: &quot;A String&quot;, # The URI path to be used for upload. Should be used in conjunction with the basePath property at the api-level.
284 },
285 &quot;simple&quot;: { # Supports uploading as a single HTTP request.
286 &quot;multipart&quot;: true, # True if this endpoint supports upload multipart media.
287 &quot;path&quot;: &quot;A String&quot;, # The URI path to be used for upload. Should be used in conjunction with the basePath property at the api-level.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800288 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800289 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800290 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800291 &quot;parameterOrder&quot;: [ # Ordered list of required parameters, serves as a hint to clients on how to structure their method signatures. The array is ordered such that the &quot;most-significant&quot; parameter appears first.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800292 &quot;A String&quot;,
293 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800294 &quot;parameters&quot;: { # Details for all parameters in this method.
295 &quot;a_key&quot;: { # Details for a single parameter in this method.
296 &quot;$ref&quot;: &quot;A String&quot;, # A reference to another schema. The value of this property is the &quot;id&quot; of another schema.
297 &quot;additionalProperties&quot;: # Object with schema name: JsonSchema # If this is a schema for an object, this property is the schema for any additional properties with dynamic keys on this object.
298 &quot;annotations&quot;: { # Additional information about this property.
299 &quot;required&quot;: [ # A list of methods for which this property is required on requests.
300 &quot;A String&quot;,
301 ],
302 },
303 &quot;default&quot;: &quot;A String&quot;, # The default value of this property (if one exists).
304 &quot;description&quot;: &quot;A String&quot;, # A description of this object.
305 &quot;enum&quot;: [ # Values this parameter may take (if it is an enum).
306 &quot;A String&quot;,
307 ],
308 &quot;enumDescriptions&quot;: [ # The descriptions for the enums. Each position maps to the corresponding value in the &quot;enum&quot; array.
309 &quot;A String&quot;,
310 ],
311 &quot;format&quot;: &quot;A String&quot;, # An additional regular expression or key that helps constrain the value. For more details see: http://tools.ietf.org/html/draft-zyp-json-schema-03#section-5.23
312 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for this schema.
313 &quot;items&quot;: # Object with schema name: JsonSchema # If this is a schema for an array, this property is the schema for each element in the array.
314 &quot;location&quot;: &quot;A String&quot;, # Whether this parameter goes in the query or the path for REST requests.
315 &quot;maximum&quot;: &quot;A String&quot;, # The maximum value of this parameter.
316 &quot;minimum&quot;: &quot;A String&quot;, # The minimum value of this parameter.
317 &quot;pattern&quot;: &quot;A String&quot;, # The regular expression this parameter must conform to. Uses Java 6 regex format: http://docs.oracle.com/javase/6/docs/api/java/util/regex/Pattern.html
318 &quot;properties&quot;: { # If this is a schema for an object, list the schema for each property of this object.
319 &quot;a_key&quot;: # Object with schema name: JsonSchema # A single property of this object. The value is itself a JSON Schema object describing this property.
320 },
321 &quot;readOnly&quot;: True or False, # The value is read-only, generated by the service. The value cannot be modified by the client. If the value is included in a POST, PUT, or PATCH request, it is ignored by the service.
322 &quot;repeated&quot;: True or False, # Whether this parameter may appear multiple times.
323 &quot;required&quot;: True or False, # Whether the parameter is required.
324 &quot;type&quot;: &quot;A String&quot;, # The value type for this schema. A list of values can be found here: http://tools.ietf.org/html/draft-zyp-json-schema-03#section-5.1
325 &quot;variant&quot;: { # In a variant data type, the value of one property is used to determine how to interpret the entire entity. Its value must exist in a map of descriminant values to schema names.
326 &quot;discriminant&quot;: &quot;A String&quot;, # The name of the type discriminant property.
327 &quot;map&quot;: [ # The map of discriminant value to schema to use for parsing..
328 {
329 &quot;$ref&quot;: &quot;A String&quot;,
330 &quot;type_value&quot;: &quot;A String&quot;,
331 },
332 ],
333 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800334 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800335 },
336 &quot;path&quot;: &quot;A String&quot;, # The URI path of this REST method. Should be used in conjunction with the basePath property at the api-level.
337 &quot;request&quot;: { # The schema for the request.
338 &quot;$ref&quot;: &quot;A String&quot;, # Schema ID for the request schema.
339 &quot;parameterName&quot;: &quot;A String&quot;, # parameter name.
340 },
341 &quot;response&quot;: { # The schema for the response.
342 &quot;$ref&quot;: &quot;A String&quot;, # Schema ID for the response schema.
343 },
344 &quot;scopes&quot;: [ # OAuth 2.0 scopes applicable to this method.
345 &quot;A String&quot;,
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800346 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800347 &quot;supportsMediaDownload&quot;: True or False, # Whether this method supports media downloads.
348 &quot;supportsMediaUpload&quot;: True or False, # Whether this method supports media uploads.
349 &quot;supportsSubscription&quot;: True or False, # Whether this method supports subscriptions.
350 &quot;useMediaDownloadService&quot;: True or False, # Indicates that downloads from this method should use the download service URL (i.e. &quot;/download&quot;). Only applies if the method supports media download.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800351 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800352 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800353 &quot;resources&quot;: { # Sub-resources on this resource.
354 &quot;a_key&quot;: # Object with schema name: RestResource # Description for any sub-resources on this resource.
355 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800356 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800357 },
358 &quot;revision&quot;: &quot;A String&quot;, # The version of this API.
359 &quot;rootUrl&quot;: &quot;A String&quot;, # The root URL under which all API services live.
360 &quot;schemas&quot;: { # The schemas for this API.
361 &quot;a_key&quot;: { # An individual schema description.
362 &quot;$ref&quot;: &quot;A String&quot;, # A reference to another schema. The value of this property is the &quot;id&quot; of another schema.
363 &quot;additionalProperties&quot;: # Object with schema name: JsonSchema # If this is a schema for an object, this property is the schema for any additional properties with dynamic keys on this object.
364 &quot;annotations&quot;: { # Additional information about this property.
365 &quot;required&quot;: [ # A list of methods for which this property is required on requests.
366 &quot;A String&quot;,
367 ],
368 },
369 &quot;default&quot;: &quot;A String&quot;, # The default value of this property (if one exists).
370 &quot;description&quot;: &quot;A String&quot;, # A description of this object.
371 &quot;enum&quot;: [ # Values this parameter may take (if it is an enum).
372 &quot;A String&quot;,
373 ],
374 &quot;enumDescriptions&quot;: [ # The descriptions for the enums. Each position maps to the corresponding value in the &quot;enum&quot; array.
375 &quot;A String&quot;,
376 ],
377 &quot;format&quot;: &quot;A String&quot;, # An additional regular expression or key that helps constrain the value. For more details see: http://tools.ietf.org/html/draft-zyp-json-schema-03#section-5.23
378 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for this schema.
379 &quot;items&quot;: # Object with schema name: JsonSchema # If this is a schema for an array, this property is the schema for each element in the array.
380 &quot;location&quot;: &quot;A String&quot;, # Whether this parameter goes in the query or the path for REST requests.
381 &quot;maximum&quot;: &quot;A String&quot;, # The maximum value of this parameter.
382 &quot;minimum&quot;: &quot;A String&quot;, # The minimum value of this parameter.
383 &quot;pattern&quot;: &quot;A String&quot;, # The regular expression this parameter must conform to. Uses Java 6 regex format: http://docs.oracle.com/javase/6/docs/api/java/util/regex/Pattern.html
384 &quot;properties&quot;: { # If this is a schema for an object, list the schema for each property of this object.
385 &quot;a_key&quot;: # Object with schema name: JsonSchema # A single property of this object. The value is itself a JSON Schema object describing this property.
386 },
387 &quot;readOnly&quot;: True or False, # The value is read-only, generated by the service. The value cannot be modified by the client. If the value is included in a POST, PUT, or PATCH request, it is ignored by the service.
388 &quot;repeated&quot;: True or False, # Whether this parameter may appear multiple times.
389 &quot;required&quot;: True or False, # Whether the parameter is required.
390 &quot;type&quot;: &quot;A String&quot;, # The value type for this schema. A list of values can be found here: http://tools.ietf.org/html/draft-zyp-json-schema-03#section-5.1
391 &quot;variant&quot;: { # In a variant data type, the value of one property is used to determine how to interpret the entire entity. Its value must exist in a map of descriminant values to schema names.
392 &quot;discriminant&quot;: &quot;A String&quot;, # The name of the type discriminant property.
393 &quot;map&quot;: [ # The map of discriminant value to schema to use for parsing..
394 {
395 &quot;$ref&quot;: &quot;A String&quot;,
396 &quot;type_value&quot;: &quot;A String&quot;,
397 },
398 ],
399 },
400 },
401 },
402 &quot;servicePath&quot;: &quot;A String&quot;, # The base path for all REST requests.
403 &quot;title&quot;: &quot;A String&quot;, # The title of this API.
404 &quot;version&quot;: &quot;A String&quot;, # The version of this API.
405 &quot;version_module&quot;: True or False,
406}</pre>
John Asmuth614db982014-04-24 15:46:26 -0400407</div>
408
409<div class="method">
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800410 <code class="details" id="list">list(name=None, preferred=None)</code>
John Asmuth614db982014-04-24 15:46:26 -0400411 <pre>Retrieve the list of APIs supported at this endpoint.
412
413Args:
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800414 name: string, Only include APIs with the given name.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800415 preferred: boolean, Return only the preferred version of an API.
John Asmuth614db982014-04-24 15:46:26 -0400416
417Returns:
418 An object of the form:
419
420 {
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800421 &quot;discoveryVersion&quot;: &quot;v1&quot;, # Indicate the version of the Discovery API used to generate this doc.
422 &quot;items&quot;: [ # The individual directory entries. One entry per api/version pair.
423 {
424 &quot;description&quot;: &quot;A String&quot;, # The description of this API.
425 &quot;discoveryLink&quot;: &quot;A String&quot;, # A link to the discovery document.
426 &quot;discoveryRestUrl&quot;: &quot;A String&quot;, # The URL for the discovery REST document.
427 &quot;documentationLink&quot;: &quot;A String&quot;, # A link to human readable documentation for the API.
428 &quot;icons&quot;: { # Links to 16x16 and 32x32 icons representing the API.
429 &quot;x16&quot;: &quot;A String&quot;, # The URL of the 16x16 icon.
430 &quot;x32&quot;: &quot;A String&quot;, # The URL of the 32x32 icon.
John Asmuth614db982014-04-24 15:46:26 -0400431 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800432 &quot;id&quot;: &quot;A String&quot;, # The id of this API.
433 &quot;kind&quot;: &quot;discovery#directoryItem&quot;, # The kind for this response.
434 &quot;labels&quot;: [ # Labels for the status of this API, such as labs or deprecated.
435 &quot;A String&quot;,
436 ],
437 &quot;name&quot;: &quot;A String&quot;, # The name of the API.
438 &quot;preferred&quot;: True or False, # True if this version is the preferred version to use.
439 &quot;title&quot;: &quot;A String&quot;, # The title of this API.
440 &quot;version&quot;: &quot;A String&quot;, # The version of the API.
441 },
442 ],
443 &quot;kind&quot;: &quot;discovery#directoryList&quot;, # The kind for this response.
444}</pre>
John Asmuth614db982014-04-24 15:46:26 -0400445</div>
446
447</body></html>