blob: e2dc684b81c831e3e0cd4052bf1ec666028f167c [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 Bot0d561ef2020-11-25 07:50:41 -0800104 &quot;revision&quot;: &quot;A String&quot;, # The version of this API.
105 &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 -0700106 &quot;basePath&quot;: &quot;A String&quot;, # [DEPRECATED] The base path for REST requests.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800107 &quot;servicePath&quot;: &quot;A String&quot;, # The base path for all REST requests.
108 &quot;ownerName&quot;: &quot;A String&quot;, # The name of the owner of this API. See ownerDomain.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700109 &quot;auth&quot;: { # Authentication information.
110 &quot;oauth2&quot;: { # OAuth 2.0 authentication information.
111 &quot;scopes&quot;: { # Available OAuth 2.0 scopes.
112 &quot;a_key&quot;: { # The scope value.
113 &quot;description&quot;: &quot;A String&quot;, # Description of scope.
114 },
115 },
116 },
117 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800118 &quot;icons&quot;: { # Links to 16x16 and 32x32 icons representing the API.
119 &quot;x16&quot;: &quot;A String&quot;, # The URL of the 16x16 icon.
120 &quot;x32&quot;: &quot;A String&quot;, # The URL of the 32x32 icon.
John Asmuth614db982014-04-24 15:46:26 -0400121 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800122 &quot;methods&quot;: { # API-level methods for this API.
123 &quot;a_key&quot;: { # An individual method description.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800124 &quot;supportsSubscription&quot;: True or False, # Whether this method supports subscriptions.
125 &quot;scopes&quot;: [ # OAuth 2.0 scopes applicable to this method.
126 &quot;A String&quot;,
127 ],
128 &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.
129 &quot;mediaUpload&quot;: { # Media upload parameters.
130 &quot;accept&quot;: [ # MIME Media Ranges for acceptable media uploads to this method.
131 &quot;A String&quot;,
132 ],
133 &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;.
134 &quot;protocols&quot;: { # Supported upload protocols.
135 &quot;simple&quot;: { # Supports uploading as a single HTTP request.
136 &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.
137 &quot;multipart&quot;: true, # True if this endpoint supports upload multipart media.
138 },
139 &quot;resumable&quot;: { # Supports the Resumable Media Upload protocol.
140 &quot;multipart&quot;: true, # True if this endpoint supports uploading multipart media.
141 &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.
142 },
143 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800144 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800145 &quot;supportsMediaUpload&quot;: True or False, # Whether this method supports media uploads.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800146 &quot;parameters&quot;: { # Details for all parameters in this method.
147 &quot;a_key&quot;: { # Details for a single parameter in this method.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800148 &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.
149 &quot;repeated&quot;: True or False, # Whether this parameter may appear multiple times.
150 &quot;description&quot;: &quot;A String&quot;, # A description of this object.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800151 &quot;default&quot;: &quot;A String&quot;, # The default value of this property (if one exists).
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800152 &quot;enum&quot;: [ # Values this parameter may take (if it is an enum).
153 &quot;A String&quot;,
154 ],
155 &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
156 &quot;minimum&quot;: &quot;A String&quot;, # The minimum value of this parameter.
157 &quot;location&quot;: &quot;A String&quot;, # Whether this parameter goes in the query or the path for REST requests.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800158 &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.
159 &quot;map&quot;: [ # The map of discriminant value to schema to use for parsing..
160 {
161 &quot;type_value&quot;: &quot;A String&quot;,
162 &quot;$ref&quot;: &quot;A String&quot;,
163 },
164 ],
165 &quot;discriminant&quot;: &quot;A String&quot;, # The name of the type discriminant property.
166 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800167 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800168 &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
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800169 &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 Bot0d561ef2020-11-25 07:50:41 -0800170 &quot;properties&quot;: { # If this is a schema for an object, list the schema for each property of this object.
171 &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.
172 },
173 &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.
174 &quot;required&quot;: True or False, # Whether the parameter is required.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800175 &quot;annotations&quot;: { # Additional information about this property.
176 &quot;required&quot;: [ # A list of methods for which this property is required on requests.
177 &quot;A String&quot;,
178 ],
179 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800180 &quot;enumDescriptions&quot;: [ # The descriptions for the enums. Each position maps to the corresponding value in the &quot;enum&quot; array.
181 &quot;A String&quot;,
182 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800183 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for this schema.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800184 &quot;maximum&quot;: &quot;A String&quot;, # The maximum value of this parameter.
185 &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 Botc2228be2020-11-24 15:48:03 -0800186 },
187 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800188 &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.
189 &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.
190 &quot;httpMethod&quot;: &quot;A String&quot;, # HTTP method used by this method.
191 &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.
192 &quot;A String&quot;,
193 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800194 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800195 &quot;description&quot;: &quot;A String&quot;, # Description of this method.
196 &quot;response&quot;: { # The schema for the response.
197 &quot;$ref&quot;: &quot;A String&quot;, # Schema ID for the response schema.
198 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800199 &quot;request&quot;: { # The schema for the request.
200 &quot;$ref&quot;: &quot;A String&quot;, # Schema ID for the request schema.
201 &quot;parameterName&quot;: &quot;A String&quot;, # parameter name.
202 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800203 &quot;supportsMediaDownload&quot;: True or False, # Whether this method supports media downloads.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800204 },
205 },
206 &quot;kind&quot;: &quot;discovery#restDescription&quot;, # The kind for this response.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800207 &quot;id&quot;: &quot;A String&quot;, # The ID of this API.
208 &quot;features&quot;: [ # A list of supported features for this API.
209 &quot;A String&quot;,
210 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800211 &quot;resources&quot;: { # The resources in this API.
212 &quot;a_key&quot;: { # An individual resource description. Contains methods and sub-resources related to this resource.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800213 &quot;methods&quot;: { # Methods on this resource.
214 &quot;a_key&quot;: { # Description for any methods on this resource.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800215 &quot;supportsSubscription&quot;: True or False, # Whether this method supports subscriptions.
216 &quot;scopes&quot;: [ # OAuth 2.0 scopes applicable to this method.
217 &quot;A String&quot;,
218 ],
219 &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.
220 &quot;mediaUpload&quot;: { # Media upload parameters.
221 &quot;accept&quot;: [ # MIME Media Ranges for acceptable media uploads to this method.
222 &quot;A String&quot;,
223 ],
224 &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;.
225 &quot;protocols&quot;: { # Supported upload protocols.
226 &quot;simple&quot;: { # Supports uploading as a single HTTP request.
227 &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.
228 &quot;multipart&quot;: true, # True if this endpoint supports upload multipart media.
229 },
230 &quot;resumable&quot;: { # Supports the Resumable Media Upload protocol.
231 &quot;multipart&quot;: true, # True if this endpoint supports uploading multipart media.
232 &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.
233 },
234 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800235 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800236 &quot;supportsMediaUpload&quot;: True or False, # Whether this method supports media uploads.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800237 &quot;parameters&quot;: { # Details for all parameters in this method.
238 &quot;a_key&quot;: { # Details for a single parameter in this method.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800239 &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.
240 &quot;repeated&quot;: True or False, # Whether this parameter may appear multiple times.
241 &quot;description&quot;: &quot;A String&quot;, # A description of this object.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800242 &quot;default&quot;: &quot;A String&quot;, # The default value of this property (if one exists).
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800243 &quot;enum&quot;: [ # Values this parameter may take (if it is an enum).
244 &quot;A String&quot;,
245 ],
246 &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
247 &quot;minimum&quot;: &quot;A String&quot;, # The minimum value of this parameter.
248 &quot;location&quot;: &quot;A String&quot;, # Whether this parameter goes in the query or the path for REST requests.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800249 &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.
250 &quot;map&quot;: [ # The map of discriminant value to schema to use for parsing..
251 {
252 &quot;type_value&quot;: &quot;A String&quot;,
253 &quot;$ref&quot;: &quot;A String&quot;,
254 },
255 ],
256 &quot;discriminant&quot;: &quot;A String&quot;, # The name of the type discriminant property.
257 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800258 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800259 &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
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800260 &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 Bot0d561ef2020-11-25 07:50:41 -0800261 &quot;properties&quot;: { # If this is a schema for an object, list the schema for each property of this object.
262 &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.
263 },
264 &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.
265 &quot;required&quot;: True or False, # Whether the parameter is required.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800266 &quot;annotations&quot;: { # Additional information about this property.
267 &quot;required&quot;: [ # A list of methods for which this property is required on requests.
268 &quot;A String&quot;,
269 ],
270 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800271 &quot;enumDescriptions&quot;: [ # The descriptions for the enums. Each position maps to the corresponding value in the &quot;enum&quot; array.
272 &quot;A String&quot;,
273 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800274 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for this schema.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800275 &quot;maximum&quot;: &quot;A String&quot;, # The maximum value of this parameter.
276 &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 Botc2228be2020-11-24 15:48:03 -0800277 },
278 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800279 &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.
280 &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.
281 &quot;httpMethod&quot;: &quot;A String&quot;, # HTTP method used by this method.
282 &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.
283 &quot;A String&quot;,
284 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800285 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800286 &quot;description&quot;: &quot;A String&quot;, # Description of this method.
287 &quot;response&quot;: { # The schema for the response.
288 &quot;$ref&quot;: &quot;A String&quot;, # Schema ID for the response schema.
289 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800290 &quot;request&quot;: { # The schema for the request.
291 &quot;$ref&quot;: &quot;A String&quot;, # Schema ID for the request schema.
292 &quot;parameterName&quot;: &quot;A String&quot;, # parameter name.
293 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800294 &quot;supportsMediaDownload&quot;: True or False, # Whether this method supports media downloads.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800295 },
296 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800297 &quot;resources&quot;: { # Sub-resources on this resource.
298 &quot;a_key&quot;: # Object with schema name: RestResource # Description for any sub-resources on this resource.
299 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800300 },
301 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800302 &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.
303 &quot;schemas&quot;: { # The schemas for this API.
304 &quot;a_key&quot;: { # An individual schema description.
305 &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.
306 &quot;repeated&quot;: True or False, # Whether this parameter may appear multiple times.
307 &quot;description&quot;: &quot;A String&quot;, # A description of this object.
308 &quot;default&quot;: &quot;A String&quot;, # The default value of this property (if one exists).
309 &quot;enum&quot;: [ # Values this parameter may take (if it is an enum).
310 &quot;A String&quot;,
311 ],
312 &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
313 &quot;minimum&quot;: &quot;A String&quot;, # The minimum value of this parameter.
314 &quot;location&quot;: &quot;A String&quot;, # Whether this parameter goes in the query or the path for REST requests.
315 &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.
316 &quot;map&quot;: [ # The map of discriminant value to schema to use for parsing..
317 {
318 &quot;type_value&quot;: &quot;A String&quot;,
319 &quot;$ref&quot;: &quot;A String&quot;,
320 },
321 ],
322 &quot;discriminant&quot;: &quot;A String&quot;, # The name of the type discriminant property.
323 },
324 &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.
325 &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
326 &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.
327 &quot;properties&quot;: { # If this is a schema for an object, list the schema for each property of this object.
328 &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.
329 },
330 &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.
331 &quot;required&quot;: True or False, # Whether the parameter is required.
332 &quot;annotations&quot;: { # Additional information about this property.
333 &quot;required&quot;: [ # A list of methods for which this property is required on requests.
334 &quot;A String&quot;,
335 ],
336 },
337 &quot;enumDescriptions&quot;: [ # The descriptions for the enums. Each position maps to the corresponding value in the &quot;enum&quot; array.
338 &quot;A String&quot;,
339 ],
340 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for this schema.
341 &quot;maximum&quot;: &quot;A String&quot;, # The maximum value of this parameter.
342 &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
343 },
344 },
345 &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.
346 &quot;rootUrl&quot;: &quot;A String&quot;, # The root URL under which all API services live.
347 &quot;protocol&quot;: &quot;rest&quot;, # The protocol described by this document.
348 &quot;title&quot;: &quot;A String&quot;, # The title of this API.
349 &quot;etag&quot;: &quot;A String&quot;, # The ETag for this response.
350 &quot;batchPath&quot;: &quot;A String&quot;, # The path for REST batch requests.
351 &quot;name&quot;: &quot;A String&quot;, # The name of this API.
352 &quot;packagePath&quot;: &quot;A String&quot;, # The package of the owner of this API. See ownerDomain.
353 &quot;documentationLink&quot;: &quot;A String&quot;, # A link to human readable documentation for the API.
354 &quot;parameters&quot;: { # Common parameters that apply across all apis.
355 &quot;a_key&quot;: { # Description of a single parameter.
356 &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.
357 &quot;repeated&quot;: True or False, # Whether this parameter may appear multiple times.
358 &quot;description&quot;: &quot;A String&quot;, # A description of this object.
359 &quot;default&quot;: &quot;A String&quot;, # The default value of this property (if one exists).
360 &quot;enum&quot;: [ # Values this parameter may take (if it is an enum).
361 &quot;A String&quot;,
362 ],
363 &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
364 &quot;minimum&quot;: &quot;A String&quot;, # The minimum value of this parameter.
365 &quot;location&quot;: &quot;A String&quot;, # Whether this parameter goes in the query or the path for REST requests.
366 &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.
367 &quot;map&quot;: [ # The map of discriminant value to schema to use for parsing..
368 {
369 &quot;type_value&quot;: &quot;A String&quot;,
370 &quot;$ref&quot;: &quot;A String&quot;,
371 },
372 ],
373 &quot;discriminant&quot;: &quot;A String&quot;, # The name of the type discriminant property.
374 },
375 &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.
376 &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
377 &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.
378 &quot;properties&quot;: { # If this is a schema for an object, list the schema for each property of this object.
379 &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.
380 },
381 &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.
382 &quot;required&quot;: True or False, # Whether the parameter is required.
383 &quot;annotations&quot;: { # Additional information about this property.
384 &quot;required&quot;: [ # A list of methods for which this property is required on requests.
385 &quot;A String&quot;,
386 ],
387 },
388 &quot;enumDescriptions&quot;: [ # The descriptions for the enums. Each position maps to the corresponding value in the &quot;enum&quot; array.
389 &quot;A String&quot;,
390 ],
391 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for this schema.
392 &quot;maximum&quot;: &quot;A String&quot;, # The maximum value of this parameter.
393 &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
394 },
395 },
396 &quot;exponentialBackoffDefault&quot;: True or False, # Enable exponential backoff for suitable methods in the generated clients.
397 &quot;baseUrl&quot;: &quot;A String&quot;, # [DEPRECATED] The base URL for REST requests.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800398 &quot;version_module&quot;: True or False,
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800399 &quot;version&quot;: &quot;A String&quot;, # The version of this API.
400 &quot;description&quot;: &quot;A String&quot;, # The description of this API.
401 &quot;labels&quot;: [ # Labels for the status of this API, such as labs or deprecated.
402 &quot;A String&quot;,
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 {
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700419 &quot;kind&quot;: &quot;discovery#directoryList&quot;, # The kind for this response.
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 Bot0d561ef2020-11-25 07:50:41 -0800422 &quot;labels&quot;: [ # Labels for the status of this API, such as labs or deprecated.
423 &quot;A String&quot;,
424 ],
425 &quot;name&quot;: &quot;A String&quot;, # The name of the API.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800426 &quot;discoveryLink&quot;: &quot;A String&quot;, # A link to the discovery document.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700427 &quot;icons&quot;: { # Links to 16x16 and 32x32 icons representing the API.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700428 &quot;x16&quot;: &quot;A String&quot;, # The URL of the 16x16 icon.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800429 &quot;x32&quot;: &quot;A String&quot;, # The URL of the 32x32 icon.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700430 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700431 &quot;description&quot;: &quot;A String&quot;, # The description of this API.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800432 &quot;documentationLink&quot;: &quot;A String&quot;, # A link to human readable documentation for the API.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800433 &quot;kind&quot;: &quot;discovery#directoryItem&quot;, # The kind for this response.
434 &quot;id&quot;: &quot;A String&quot;, # The id of this API.
435 &quot;preferred&quot;: True or False, # True if this version is the preferred version to use.
436 &quot;discoveryRestUrl&quot;: &quot;A String&quot;, # The URL for the discovery REST document.
437 &quot;version&quot;: &quot;A String&quot;, # The version of the API.
438 &quot;title&quot;: &quot;A String&quot;, # The title of this API.
John Asmuth614db982014-04-24 15:46:26 -0400439 },
440 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800441 &quot;discoveryVersion&quot;: &quot;v1&quot;, # Indicate the version of the Discovery API used to generate this doc.
John Asmuth614db982014-04-24 15:46:26 -0400442 }</pre>
443</div>
444
445</body></html>