blob: 122bc09b3b674aa31cf08927586e9bd75bf3c429 [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 Bot0d561ef2020-11-25 07:50:41 -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 Botb6971b02020-11-26 17:16:03 -0800104 &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.
105 &quot;version&quot;: &quot;A String&quot;, # The version of this API.
106 &quot;documentationLink&quot;: &quot;A String&quot;, # A link to human readable documentation for the API.
107 &quot;version_module&quot;: True or False,
108 &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.
109 &quot;baseUrl&quot;: &quot;A String&quot;, # [DEPRECATED] The base URL for REST requests.
110 &quot;features&quot;: [ # A list of supported features for this API.
111 &quot;A String&quot;,
112 ],
113 &quot;icons&quot;: { # Links to 16x16 and 32x32 icons representing the API.
114 &quot;x32&quot;: &quot;A String&quot;, # The URL of the 32x32 icon.
115 &quot;x16&quot;: &quot;A String&quot;, # The URL of the 16x16 icon.
116 },
117 &quot;name&quot;: &quot;A String&quot;, # The name of this API.
118 &quot;servicePath&quot;: &quot;A String&quot;, # The base path for all REST requests.
119 &quot;title&quot;: &quot;A String&quot;, # The title of this API.
120 &quot;packagePath&quot;: &quot;A String&quot;, # The package of the owner of this API. See ownerDomain.
121 &quot;protocol&quot;: &quot;rest&quot;, # The protocol described by this document.
122 &quot;labels&quot;: [ # Labels for the status of this API, such as labs or deprecated.
123 &quot;A String&quot;,
124 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800125 &quot;revision&quot;: &quot;A String&quot;, # The version of this API.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800126 &quot;exponentialBackoffDefault&quot;: True or False, # Enable exponential backoff for suitable methods in the generated clients.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800127 &quot;discoveryVersion&quot;: &quot;v1&quot;, # Indicate the version of the Discovery API used to generate this doc.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700128 &quot;basePath&quot;: &quot;A String&quot;, # [DEPRECATED] The base path for REST requests.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800129 &quot;id&quot;: &quot;A String&quot;, # The ID of this API.
130 &quot;etag&quot;: &quot;A String&quot;, # The ETag for this response.
131 &quot;schemas&quot;: { # The schemas for this API.
132 &quot;a_key&quot;: { # An individual schema description.
133 &quot;location&quot;: &quot;A String&quot;, # Whether this parameter goes in the query or the path for REST requests.
134 &quot;required&quot;: True or False, # Whether the parameter is required.
135 &quot;enumDescriptions&quot;: [ # The descriptions for the enums. Each position maps to the corresponding value in the &quot;enum&quot; array.
136 &quot;A String&quot;,
137 ],
138 &quot;default&quot;: &quot;A String&quot;, # The default value of this property (if one exists).
139 &quot;maximum&quot;: &quot;A String&quot;, # The maximum value of this parameter.
140 &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.
141 &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.
142 &quot;properties&quot;: { # If this is a schema for an object, list the schema for each property of this object.
143 &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.
144 },
145 &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
146 &quot;minimum&quot;: &quot;A String&quot;, # The minimum value of this parameter.
147 &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
148 &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.
149 &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.
150 &quot;map&quot;: [ # The map of discriminant value to schema to use for parsing..
151 {
152 &quot;type_value&quot;: &quot;A String&quot;,
153 &quot;$ref&quot;: &quot;A String&quot;,
154 },
155 ],
156 &quot;discriminant&quot;: &quot;A String&quot;, # The name of the type discriminant property.
157 },
158 &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
159 &quot;repeated&quot;: True or False, # Whether this parameter may appear multiple times.
160 &quot;annotations&quot;: { # Additional information about this property.
161 &quot;required&quot;: [ # A list of methods for which this property is required on requests.
162 &quot;A String&quot;,
163 ],
164 },
165 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for this schema.
166 &quot;enum&quot;: [ # Values this parameter may take (if it is an enum).
167 &quot;A String&quot;,
168 ],
169 &quot;description&quot;: &quot;A String&quot;, # A description of this object.
170 &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.
171 },
172 },
173 &quot;batchPath&quot;: &quot;A String&quot;, # The path for REST batch requests.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700174 &quot;auth&quot;: { # Authentication information.
175 &quot;oauth2&quot;: { # OAuth 2.0 authentication information.
176 &quot;scopes&quot;: { # Available OAuth 2.0 scopes.
177 &quot;a_key&quot;: { # The scope value.
178 &quot;description&quot;: &quot;A String&quot;, # Description of scope.
179 },
180 },
181 },
182 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800183 &quot;rootUrl&quot;: &quot;A String&quot;, # The root URL under which all API services live.
184 &quot;ownerName&quot;: &quot;A String&quot;, # The name of the owner of this API. See ownerDomain.
185 &quot;description&quot;: &quot;A String&quot;, # The description of this API.
186 &quot;kind&quot;: &quot;discovery#restDescription&quot;, # The kind for this response.
187 &quot;parameters&quot;: { # Common parameters that apply across all apis.
188 &quot;a_key&quot;: { # Description of a single parameter.
189 &quot;location&quot;: &quot;A String&quot;, # Whether this parameter goes in the query or the path for REST requests.
190 &quot;required&quot;: True or False, # Whether the parameter is required.
191 &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 -0800192 &quot;A String&quot;,
193 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800194 &quot;default&quot;: &quot;A String&quot;, # The default value of this property (if one exists).
195 &quot;maximum&quot;: &quot;A String&quot;, # The maximum value of this parameter.
196 &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.
197 &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.
198 &quot;properties&quot;: { # If this is a schema for an object, list the schema for each property of this object.
199 &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.
200 },
201 &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
202 &quot;minimum&quot;: &quot;A String&quot;, # The minimum value of this parameter.
203 &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
204 &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.
205 &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.
206 &quot;map&quot;: [ # The map of discriminant value to schema to use for parsing..
207 {
208 &quot;type_value&quot;: &quot;A String&quot;,
209 &quot;$ref&quot;: &quot;A String&quot;,
210 },
211 ],
212 &quot;discriminant&quot;: &quot;A String&quot;, # The name of the type discriminant property.
213 },
214 &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
215 &quot;repeated&quot;: True or False, # Whether this parameter may appear multiple times.
216 &quot;annotations&quot;: { # Additional information about this property.
217 &quot;required&quot;: [ # A list of methods for which this property is required on requests.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800218 &quot;A String&quot;,
219 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800220 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800221 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for this schema.
222 &quot;enum&quot;: [ # Values this parameter may take (if it is an enum).
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800223 &quot;A String&quot;,
224 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800225 &quot;description&quot;: &quot;A String&quot;, # A description of this object.
226 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800227 },
228 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800229 &quot;resources&quot;: { # The resources in this API.
230 &quot;a_key&quot;: { # An individual resource description. Contains methods and sub-resources related to this resource.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800231 &quot;resources&quot;: { # Sub-resources on this resource.
232 &quot;a_key&quot;: # Object with schema name: RestResource # Description for any sub-resources on this resource.
233 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800234 &quot;methods&quot;: { # Methods on this resource.
235 &quot;a_key&quot;: { # Description for any methods on this resource.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800236 &quot;parameters&quot;: { # Details for all parameters in this method.
237 &quot;a_key&quot;: { # Details for a single parameter in this method.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800238 &quot;location&quot;: &quot;A String&quot;, # Whether this parameter goes in the query or the path for REST requests.
239 &quot;required&quot;: True or False, # Whether the parameter is required.
240 &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 -0800241 &quot;A String&quot;,
242 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800243 &quot;default&quot;: &quot;A String&quot;, # The default value of this property (if one exists).
244 &quot;maximum&quot;: &quot;A String&quot;, # The maximum value of this parameter.
245 &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.
246 &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.
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;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
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800251 &quot;minimum&quot;: &quot;A String&quot;, # The minimum value of this parameter.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800252 &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
253 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800254 &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;map&quot;: [ # The map of discriminant value to schema to use for parsing..
256 {
257 &quot;type_value&quot;: &quot;A String&quot;,
258 &quot;$ref&quot;: &quot;A String&quot;,
259 },
260 ],
261 &quot;discriminant&quot;: &quot;A String&quot;, # The name of the type discriminant property.
262 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800263 &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
264 &quot;repeated&quot;: True or False, # Whether this parameter may appear multiple times.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800265 &quot;annotations&quot;: { # Additional information about this property.
266 &quot;required&quot;: [ # A list of methods for which this property is required on requests.
267 &quot;A String&quot;,
268 ],
269 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800270 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for this schema.
271 &quot;enum&quot;: [ # Values this parameter may take (if it is an enum).
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800272 &quot;A String&quot;,
273 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800274 &quot;description&quot;: &quot;A String&quot;, # A description of this object.
275 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800276 },
277 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800278 &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.
279 &quot;mediaUpload&quot;: { # Media upload parameters.
280 &quot;accept&quot;: [ # MIME Media Ranges for acceptable media uploads to this method.
281 &quot;A String&quot;,
282 ],
283 &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;.
284 &quot;protocols&quot;: { # Supported upload protocols.
285 &quot;resumable&quot;: { # Supports the Resumable Media Upload protocol.
286 &quot;multipart&quot;: true, # True if this endpoint supports uploading 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.
288 },
289 &quot;simple&quot;: { # Supports uploading as a single HTTP request.
290 &quot;multipart&quot;: true, # True if this endpoint supports upload multipart media.
291 &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.
292 },
293 },
294 },
295 &quot;supportsMediaUpload&quot;: True or False, # Whether this method supports media uploads.
296 &quot;request&quot;: { # The schema for the request.
297 &quot;parameterName&quot;: &quot;A String&quot;, # parameter name.
298 &quot;$ref&quot;: &quot;A String&quot;, # Schema ID for the request schema.
299 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800300 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800301 &quot;supportsSubscription&quot;: True or False, # Whether this method supports subscriptions.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800302 &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.
303 &quot;A String&quot;,
304 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800305 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800306 &quot;response&quot;: { # The schema for the response.
307 &quot;$ref&quot;: &quot;A String&quot;, # Schema ID for the response schema.
308 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800309 &quot;supportsMediaDownload&quot;: True or False, # Whether this method supports media downloads.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800310 &quot;httpMethod&quot;: &quot;A String&quot;, # HTTP method used by this method.
311 &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.
312 &quot;description&quot;: &quot;A String&quot;, # Description of this method.
313 &quot;scopes&quot;: [ # OAuth 2.0 scopes applicable to this method.
314 &quot;A String&quot;,
315 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800316 },
317 },
318 },
319 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800320 &quot;methods&quot;: { # API-level methods for this API.
321 &quot;a_key&quot;: { # An individual method description.
322 &quot;parameters&quot;: { # Details for all parameters in this method.
323 &quot;a_key&quot;: { # Details for a single parameter in this method.
324 &quot;location&quot;: &quot;A String&quot;, # Whether this parameter goes in the query or the path for REST requests.
325 &quot;required&quot;: True or False, # Whether the parameter is required.
326 &quot;enumDescriptions&quot;: [ # The descriptions for the enums. Each position maps to the corresponding value in the &quot;enum&quot; array.
327 &quot;A String&quot;,
328 ],
329 &quot;default&quot;: &quot;A String&quot;, # The default value of this property (if one exists).
330 &quot;maximum&quot;: &quot;A String&quot;, # The maximum value of this parameter.
331 &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.
332 &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.
333 &quot;properties&quot;: { # If this is a schema for an object, list the schema for each property of this object.
334 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800335 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800336 &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
337 &quot;minimum&quot;: &quot;A String&quot;, # The minimum value of this parameter.
338 &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
339 &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.
340 &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.
341 &quot;map&quot;: [ # The map of discriminant value to schema to use for parsing..
342 {
343 &quot;type_value&quot;: &quot;A String&quot;,
344 &quot;$ref&quot;: &quot;A String&quot;,
345 },
346 ],
347 &quot;discriminant&quot;: &quot;A String&quot;, # The name of the type discriminant property.
348 },
349 &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
350 &quot;repeated&quot;: True or False, # Whether this parameter may appear multiple times.
351 &quot;annotations&quot;: { # Additional information about this property.
352 &quot;required&quot;: [ # A list of methods for which this property is required on requests.
353 &quot;A String&quot;,
354 ],
355 },
356 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for this schema.
357 &quot;enum&quot;: [ # Values this parameter may take (if it is an enum).
358 &quot;A String&quot;,
359 ],
360 &quot;description&quot;: &quot;A String&quot;, # A description of this object.
361 &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.
362 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800363 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800364 &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.
365 &quot;mediaUpload&quot;: { # Media upload parameters.
366 &quot;accept&quot;: [ # MIME Media Ranges for acceptable media uploads to this method.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800367 &quot;A String&quot;,
368 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800369 &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;.
370 &quot;protocols&quot;: { # Supported upload protocols.
371 &quot;resumable&quot;: { # Supports the Resumable Media Upload protocol.
372 &quot;multipart&quot;: true, # True if this endpoint supports uploading multipart media.
373 &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 Bot0d561ef2020-11-25 07:50:41 -0800374 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800375 &quot;simple&quot;: { # Supports uploading as a single HTTP request.
376 &quot;multipart&quot;: true, # True if this endpoint supports upload multipart media.
377 &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.
378 },
379 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800380 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800381 &quot;supportsMediaUpload&quot;: True or False, # Whether this method supports media uploads.
382 &quot;request&quot;: { # The schema for the request.
383 &quot;parameterName&quot;: &quot;A String&quot;, # parameter name.
384 &quot;$ref&quot;: &quot;A String&quot;, # Schema ID for the request schema.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800385 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800386 &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.
387 &quot;supportsSubscription&quot;: True or False, # Whether this method supports subscriptions.
388 &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 -0800389 &quot;A String&quot;,
390 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800391 &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.
392 &quot;response&quot;: { # The schema for the response.
393 &quot;$ref&quot;: &quot;A String&quot;, # Schema ID for the response schema.
394 },
395 &quot;supportsMediaDownload&quot;: True or False, # Whether this method supports media downloads.
396 &quot;httpMethod&quot;: &quot;A String&quot;, # HTTP method used by this method.
397 &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.
398 &quot;description&quot;: &quot;A String&quot;, # Description of this method.
399 &quot;scopes&quot;: [ # OAuth 2.0 scopes applicable to this method.
400 &quot;A String&quot;,
401 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800402 },
403 },
John Asmuth614db982014-04-24 15:46:26 -0400404 }</pre>
405</div>
406
407<div class="method">
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800408 <code class="details" id="list">list(name=None, preferred=None)</code>
John Asmuth614db982014-04-24 15:46:26 -0400409 <pre>Retrieve the list of APIs supported at this endpoint.
410
411Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700412 name: string, Only include APIs with the given name.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800413 preferred: boolean, Return only the preferred version of an API.
John Asmuth614db982014-04-24 15:46:26 -0400414
415Returns:
416 An object of the form:
417
418 {
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800419 &quot;discoveryVersion&quot;: &quot;v1&quot;, # Indicate the version of the Discovery API used to generate this doc.
Bu Sun Kim65020912020-05-20 12:08:20 -0700420 &quot;items&quot;: [ # The individual directory entries. One entry per api/version pair.
John Asmuth614db982014-04-24 15:46:26 -0400421 {
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800422 &quot;preferred&quot;: True or False, # True if this version is the preferred version to use.
423 &quot;version&quot;: &quot;A String&quot;, # The version of the API.
424 &quot;description&quot;: &quot;A String&quot;, # The description of this API.
425 &quot;title&quot;: &quot;A String&quot;, # The title of this API.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800426 &quot;name&quot;: &quot;A String&quot;, # The name of the API.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800427 &quot;discoveryLink&quot;: &quot;A String&quot;, # A link to the discovery document.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800428 &quot;kind&quot;: &quot;discovery#directoryItem&quot;, # The kind for this response.
429 &quot;id&quot;: &quot;A String&quot;, # The id of this API.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700430 &quot;icons&quot;: { # Links to 16x16 and 32x32 icons representing the API.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700431 &quot;x16&quot;: &quot;A String&quot;, # The URL of the 16x16 icon.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800432 &quot;x32&quot;: &quot;A String&quot;, # The URL of the 32x32 icon.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700433 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800434 &quot;labels&quot;: [ # Labels for the status of this API, such as labs or deprecated.
435 &quot;A String&quot;,
436 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800437 &quot;documentationLink&quot;: &quot;A String&quot;, # A link to human readable documentation for the API.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800438 &quot;discoveryRestUrl&quot;: &quot;A String&quot;, # The URL for the discovery REST document.
John Asmuth614db982014-04-24 15:46:26 -0400439 },
440 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800441 &quot;kind&quot;: &quot;discovery#directoryList&quot;, # The kind for this response.
John Asmuth614db982014-04-24 15:46:26 -0400442 }</pre>
443</div>
444
445</body></html>