File: discovery_v1.apis.html

package info (click to toggle)
python-googleapi 2.180.0-1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 527,124 kB
  • sloc: python: 11,076; javascript: 249; sh: 114; makefile: 59
file content (476 lines) | stat: -rw-r--r-- 31,466 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
<html><body>
<style>

body, h1, h2, h3, div, span, p, pre, a {
  margin: 0;
  padding: 0;
  border: 0;
  font-weight: inherit;
  font-style: inherit;
  font-size: 100%;
  font-family: inherit;
  vertical-align: baseline;
}

body {
  font-size: 13px;
  padding: 1em;
}

h1 {
  font-size: 26px;
  margin-bottom: 1em;
}

h2 {
  font-size: 24px;
  margin-bottom: 1em;
}

h3 {
  font-size: 20px;
  margin-bottom: 1em;
  margin-top: 1em;
}

pre, code {
  line-height: 1.5;
  font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
}

pre {
  margin-top: 0.5em;
}

h1, h2, h3, p {
  font-family: Arial, sans serif;
}

h1, h2, h3 {
  border-bottom: solid #CCC 1px;
}

.toc_element {
  margin-top: 0.5em;
}

.firstline {
  margin-left: 2 em;
}

.method  {
  margin-top: 1em;
  border: solid 1px #CCC;
  padding: 1em;
  background: #EEE;
}

.details {
  font-weight: bold;
  font-size: 14px;
}

</style>

<h1><a href="discovery_v1.html">API Discovery Service</a> . <a href="discovery_v1.apis.html">apis</a></h1>
<h2>Instance Methods</h2>
<p class="toc_element">
  <code><a href="#close">close()</a></code></p>
<p class="firstline">Close httplib2 connections.</p>
<p class="toc_element">
  <code><a href="#getRest">getRest(api, version)</a></code></p>
<p class="firstline">Retrieve the description of a particular version of an api.</p>
<p class="toc_element">
  <code><a href="#list">list(name=None, preferred=None)</a></code></p>
<p class="firstline">Retrieve the list of APIs supported at this endpoint.</p>
<h3>Method Details</h3>
<div class="method">
    <code class="details" id="close">close()</code>
  <pre>Close httplib2 connections.</pre>
</div>

<div class="method">
    <code class="details" id="getRest">getRest(api, version)</code>
  <pre>Retrieve the description of a particular version of an api.

Args:
  api: string, The name of the API. (required)
  version: string, The version of the API. (required)

Returns:
  An object of the form:

    {
  &quot;auth&quot;: { # Authentication information.
    &quot;oauth2&quot;: { # OAuth 2.0 authentication information.
      &quot;scopes&quot;: { # Available OAuth 2.0 scopes.
        &quot;a_key&quot;: { # The scope value.
          &quot;description&quot;: &quot;A String&quot;, # Description of scope.
        },
      },
    },
  },
  &quot;basePath&quot;: &quot;A String&quot;, # [DEPRECATED] The base path for REST requests.
  &quot;baseUrl&quot;: &quot;A String&quot;, # [DEPRECATED] The base URL for REST requests.
  &quot;batchPath&quot;: &quot;A String&quot;, # The path for REST batch requests.
  &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.
  &quot;description&quot;: &quot;A String&quot;, # The description of this API.
  &quot;discoveryVersion&quot;: &quot;v1&quot;, # Indicate the version of the Discovery API used to generate this doc.
  &quot;documentationLink&quot;: &quot;A String&quot;, # A link to human readable documentation for the API.
  &quot;endpoints&quot;: [ # A list of location-based endpoint objects for this API. Each object contains the endpoint URL, location, description and deprecation status.
    { # A single endpoint object
      &quot;deprecated&quot;: True or False, # Whether this endpoint is deprecated
      &quot;description&quot;: &quot;A String&quot;, # A string describing the host designated by the URL
      &quot;endpointUrl&quot;: &quot;A String&quot;, # The URL of the endpoint target host
      &quot;location&quot;: &quot;A String&quot;, # The location of the endpoint
    },
  ],
  &quot;etag&quot;: &quot;A String&quot;, # The ETag for this response.
  &quot;exponentialBackoffDefault&quot;: True or False, # Enable exponential backoff for suitable methods in the generated clients.
  &quot;features&quot;: [ # A list of supported features for this API.
    &quot;A String&quot;,
  ],
  &quot;icons&quot;: { # Links to 16x16 and 32x32 icons representing the API.
    &quot;x16&quot;: &quot;A String&quot;, # The URL of the 16x16 icon.
    &quot;x32&quot;: &quot;A String&quot;, # The URL of the 32x32 icon.
  },
  &quot;id&quot;: &quot;A String&quot;, # The ID of this API.
  &quot;kind&quot;: &quot;discovery#restDescription&quot;, # The kind for this response.
  &quot;labels&quot;: [ # Labels for the status of this API, such as labs or deprecated.
    &quot;A String&quot;,
  ],
  &quot;methods&quot;: { # API-level methods for this API.
    &quot;a_key&quot;: { # An individual method description.
      &quot;apiVersion&quot;: &quot;A String&quot;, # The API Version of this method, as passed in via the `X-Goog-Api-Version` header or `$apiVersion` query parameter.
      &quot;deprecated&quot;: True or False, # Whether this method is deprecated.
      &quot;description&quot;: &quot;A String&quot;, # Description of this method.
      &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.
      &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.
      &quot;httpMethod&quot;: &quot;A String&quot;, # HTTP method used by this method.
      &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.
      &quot;mediaUpload&quot;: { # Media upload parameters.
        &quot;accept&quot;: [ # MIME Media Ranges for acceptable media uploads to this method.
          &quot;A String&quot;,
        ],
        &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;.
        &quot;protocols&quot;: { # Supported upload protocols.
          &quot;resumable&quot;: { # Supports the Resumable Media Upload protocol.
            &quot;multipart&quot;: true, # True if this endpoint supports uploading multipart media.
            &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.
          },
          &quot;simple&quot;: { # Supports uploading as a single HTTP request.
            &quot;multipart&quot;: true, # True if this endpoint supports upload multipart media.
            &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.
          },
        },
      },
      &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.
        &quot;A String&quot;,
      ],
      &quot;parameters&quot;: { # Details for all parameters in this method.
        &quot;a_key&quot;: { # Details for a single parameter in this method.
          &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.
          &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.
          &quot;annotations&quot;: { # Additional information about this property.
            &quot;required&quot;: [ # A list of methods for which this property is required on requests.
              &quot;A String&quot;,
            ],
          },
          &quot;default&quot;: &quot;A String&quot;, # The default value of this property (if one exists).
          &quot;deprecated&quot;: True or False, # Whether the parameter is deprecated.
          &quot;description&quot;: &quot;A String&quot;, # A description of this object.
          &quot;enum&quot;: [ # Values this parameter may take (if it is an enum).
            &quot;A String&quot;,
          ],
          &quot;enumDeprecated&quot;: [ # The deprecation status for the enums. Each position maps to the corresponding value in the &quot;enum&quot; array.
            True or False,
          ],
          &quot;enumDescriptions&quot;: [ # The descriptions for the enums. Each position maps to the corresponding value in the &quot;enum&quot; array.
            &quot;A String&quot;,
          ],
          &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
          &quot;id&quot;: &quot;A String&quot;, # Unique identifier for this schema.
          &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.
          &quot;location&quot;: &quot;A String&quot;, # Whether this parameter goes in the query or the path for REST requests.
          &quot;maximum&quot;: &quot;A String&quot;, # The maximum value of this parameter.
          &quot;minimum&quot;: &quot;A String&quot;, # The minimum value of this parameter.
          &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
          &quot;properties&quot;: { # If this is a schema for an object, list the schema for each property of this object.
            &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.
          },
          &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.
          &quot;repeated&quot;: True or False, # Whether this parameter may appear multiple times.
          &quot;required&quot;: True or False, # Whether the parameter is required.
          &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
          &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.
            &quot;discriminant&quot;: &quot;A String&quot;, # The name of the type discriminant property.
            &quot;map&quot;: [ # The map of discriminant value to schema to use for parsing..
              {
                &quot;$ref&quot;: &quot;A String&quot;,
                &quot;type_value&quot;: &quot;A String&quot;,
              },
            ],
          },
        },
      },
      &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.
      &quot;request&quot;: { # The schema for the request.
        &quot;$ref&quot;: &quot;A String&quot;, # Schema ID for the request schema.
        &quot;parameterName&quot;: &quot;A String&quot;, # parameter name.
      },
      &quot;response&quot;: { # The schema for the response.
        &quot;$ref&quot;: &quot;A String&quot;, # Schema ID for the response schema.
      },
      &quot;scopes&quot;: [ # OAuth 2.0 scopes applicable to this method.
        &quot;A String&quot;,
      ],
      &quot;supportsMediaDownload&quot;: True or False, # Whether this method supports media downloads.
      &quot;supportsMediaUpload&quot;: True or False, # Whether this method supports media uploads.
      &quot;supportsSubscription&quot;: True or False, # Whether this method supports subscriptions.
      &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.
    },
  },
  &quot;name&quot;: &quot;A String&quot;, # The name of this API.
  &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.
  &quot;ownerName&quot;: &quot;A String&quot;, # The name of the owner of this API. See ownerDomain.
  &quot;packagePath&quot;: &quot;A String&quot;, # The package of the owner of this API. See ownerDomain.
  &quot;parameters&quot;: { # Common parameters that apply across all apis.
    &quot;a_key&quot;: { # Description of a single parameter.
      &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.
      &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.
      &quot;annotations&quot;: { # Additional information about this property.
        &quot;required&quot;: [ # A list of methods for which this property is required on requests.
          &quot;A String&quot;,
        ],
      },
      &quot;default&quot;: &quot;A String&quot;, # The default value of this property (if one exists).
      &quot;deprecated&quot;: True or False, # Whether the parameter is deprecated.
      &quot;description&quot;: &quot;A String&quot;, # A description of this object.
      &quot;enum&quot;: [ # Values this parameter may take (if it is an enum).
        &quot;A String&quot;,
      ],
      &quot;enumDeprecated&quot;: [ # The deprecation status for the enums. Each position maps to the corresponding value in the &quot;enum&quot; array.
        True or False,
      ],
      &quot;enumDescriptions&quot;: [ # The descriptions for the enums. Each position maps to the corresponding value in the &quot;enum&quot; array.
        &quot;A String&quot;,
      ],
      &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
      &quot;id&quot;: &quot;A String&quot;, # Unique identifier for this schema.
      &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.
      &quot;location&quot;: &quot;A String&quot;, # Whether this parameter goes in the query or the path for REST requests.
      &quot;maximum&quot;: &quot;A String&quot;, # The maximum value of this parameter.
      &quot;minimum&quot;: &quot;A String&quot;, # The minimum value of this parameter.
      &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
      &quot;properties&quot;: { # If this is a schema for an object, list the schema for each property of this object.
        &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.
      },
      &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.
      &quot;repeated&quot;: True or False, # Whether this parameter may appear multiple times.
      &quot;required&quot;: True or False, # Whether the parameter is required.
      &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
      &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.
        &quot;discriminant&quot;: &quot;A String&quot;, # The name of the type discriminant property.
        &quot;map&quot;: [ # The map of discriminant value to schema to use for parsing..
          {
            &quot;$ref&quot;: &quot;A String&quot;,
            &quot;type_value&quot;: &quot;A String&quot;,
          },
        ],
      },
    },
  },
  &quot;protocol&quot;: &quot;rest&quot;, # The protocol described by this document.
  &quot;resources&quot;: { # The resources in this API.
    &quot;a_key&quot;: { # An individual resource description. Contains methods and sub-resources related to this resource.
      &quot;deprecated&quot;: True or False, # Whether this resource is deprecated.
      &quot;methods&quot;: { # Methods on this resource.
        &quot;a_key&quot;: { # Description for any methods on this resource.
          &quot;apiVersion&quot;: &quot;A String&quot;, # The API Version of this method, as passed in via the `X-Goog-Api-Version` header or `$apiVersion` query parameter.
          &quot;deprecated&quot;: True or False, # Whether this method is deprecated.
          &quot;description&quot;: &quot;A String&quot;, # Description of this method.
          &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.
          &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.
          &quot;httpMethod&quot;: &quot;A String&quot;, # HTTP method used by this method.
          &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.
          &quot;mediaUpload&quot;: { # Media upload parameters.
            &quot;accept&quot;: [ # MIME Media Ranges for acceptable media uploads to this method.
              &quot;A String&quot;,
            ],
            &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;.
            &quot;protocols&quot;: { # Supported upload protocols.
              &quot;resumable&quot;: { # Supports the Resumable Media Upload protocol.
                &quot;multipart&quot;: true, # True if this endpoint supports uploading multipart media.
                &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.
              },
              &quot;simple&quot;: { # Supports uploading as a single HTTP request.
                &quot;multipart&quot;: true, # True if this endpoint supports upload multipart media.
                &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.
              },
            },
          },
          &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.
            &quot;A String&quot;,
          ],
          &quot;parameters&quot;: { # Details for all parameters in this method.
            &quot;a_key&quot;: { # Details for a single parameter in this method.
              &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.
              &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.
              &quot;annotations&quot;: { # Additional information about this property.
                &quot;required&quot;: [ # A list of methods for which this property is required on requests.
                  &quot;A String&quot;,
                ],
              },
              &quot;default&quot;: &quot;A String&quot;, # The default value of this property (if one exists).
              &quot;deprecated&quot;: True or False, # Whether the parameter is deprecated.
              &quot;description&quot;: &quot;A String&quot;, # A description of this object.
              &quot;enum&quot;: [ # Values this parameter may take (if it is an enum).
                &quot;A String&quot;,
              ],
              &quot;enumDeprecated&quot;: [ # The deprecation status for the enums. Each position maps to the corresponding value in the &quot;enum&quot; array.
                True or False,
              ],
              &quot;enumDescriptions&quot;: [ # The descriptions for the enums. Each position maps to the corresponding value in the &quot;enum&quot; array.
                &quot;A String&quot;,
              ],
              &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
              &quot;id&quot;: &quot;A String&quot;, # Unique identifier for this schema.
              &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.
              &quot;location&quot;: &quot;A String&quot;, # Whether this parameter goes in the query or the path for REST requests.
              &quot;maximum&quot;: &quot;A String&quot;, # The maximum value of this parameter.
              &quot;minimum&quot;: &quot;A String&quot;, # The minimum value of this parameter.
              &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
              &quot;properties&quot;: { # If this is a schema for an object, list the schema for each property of this object.
                &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.
              },
              &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.
              &quot;repeated&quot;: True or False, # Whether this parameter may appear multiple times.
              &quot;required&quot;: True or False, # Whether the parameter is required.
              &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
              &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.
                &quot;discriminant&quot;: &quot;A String&quot;, # The name of the type discriminant property.
                &quot;map&quot;: [ # The map of discriminant value to schema to use for parsing..
                  {
                    &quot;$ref&quot;: &quot;A String&quot;,
                    &quot;type_value&quot;: &quot;A String&quot;,
                  },
                ],
              },
            },
          },
          &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.
          &quot;request&quot;: { # The schema for the request.
            &quot;$ref&quot;: &quot;A String&quot;, # Schema ID for the request schema.
            &quot;parameterName&quot;: &quot;A String&quot;, # parameter name.
          },
          &quot;response&quot;: { # The schema for the response.
            &quot;$ref&quot;: &quot;A String&quot;, # Schema ID for the response schema.
          },
          &quot;scopes&quot;: [ # OAuth 2.0 scopes applicable to this method.
            &quot;A String&quot;,
          ],
          &quot;supportsMediaDownload&quot;: True or False, # Whether this method supports media downloads.
          &quot;supportsMediaUpload&quot;: True or False, # Whether this method supports media uploads.
          &quot;supportsSubscription&quot;: True or False, # Whether this method supports subscriptions.
          &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.
        },
      },
      &quot;resources&quot;: { # Sub-resources on this resource.
        &quot;a_key&quot;: # Object with schema name: RestResource # Description for any sub-resources on this resource.
      },
    },
  },
  &quot;revision&quot;: &quot;A String&quot;, # The version of this API.
  &quot;rootUrl&quot;: &quot;A String&quot;, # The root URL under which all API services live.
  &quot;schemas&quot;: { # The schemas for this API.
    &quot;a_key&quot;: { # An individual schema description.
      &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.
      &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.
      &quot;annotations&quot;: { # Additional information about this property.
        &quot;required&quot;: [ # A list of methods for which this property is required on requests.
          &quot;A String&quot;,
        ],
      },
      &quot;default&quot;: &quot;A String&quot;, # The default value of this property (if one exists).
      &quot;deprecated&quot;: True or False, # Whether the parameter is deprecated.
      &quot;description&quot;: &quot;A String&quot;, # A description of this object.
      &quot;enum&quot;: [ # Values this parameter may take (if it is an enum).
        &quot;A String&quot;,
      ],
      &quot;enumDeprecated&quot;: [ # The deprecation status for the enums. Each position maps to the corresponding value in the &quot;enum&quot; array.
        True or False,
      ],
      &quot;enumDescriptions&quot;: [ # The descriptions for the enums. Each position maps to the corresponding value in the &quot;enum&quot; array.
        &quot;A String&quot;,
      ],
      &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
      &quot;id&quot;: &quot;A String&quot;, # Unique identifier for this schema.
      &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.
      &quot;location&quot;: &quot;A String&quot;, # Whether this parameter goes in the query or the path for REST requests.
      &quot;maximum&quot;: &quot;A String&quot;, # The maximum value of this parameter.
      &quot;minimum&quot;: &quot;A String&quot;, # The minimum value of this parameter.
      &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
      &quot;properties&quot;: { # If this is a schema for an object, list the schema for each property of this object.
        &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.
      },
      &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.
      &quot;repeated&quot;: True or False, # Whether this parameter may appear multiple times.
      &quot;required&quot;: True or False, # Whether the parameter is required.
      &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
      &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.
        &quot;discriminant&quot;: &quot;A String&quot;, # The name of the type discriminant property.
        &quot;map&quot;: [ # The map of discriminant value to schema to use for parsing..
          {
            &quot;$ref&quot;: &quot;A String&quot;,
            &quot;type_value&quot;: &quot;A String&quot;,
          },
        ],
      },
    },
  },
  &quot;servicePath&quot;: &quot;A String&quot;, # The base path for all REST requests.
  &quot;title&quot;: &quot;A String&quot;, # The title of this API.
  &quot;version&quot;: &quot;A String&quot;, # The version of this API.
  &quot;version_module&quot;: True or False,
}</pre>
</div>

<div class="method">
    <code class="details" id="list">list(name=None, preferred=None)</code>
  <pre>Retrieve the list of APIs supported at this endpoint.

Args:
  name: string, Only include APIs with the given name.
  preferred: boolean, Return only the preferred version of an API.

Returns:
  An object of the form:

    {
  &quot;discoveryVersion&quot;: &quot;v1&quot;, # Indicate the version of the Discovery API used to generate this doc.
  &quot;items&quot;: [ # The individual directory entries. One entry per api/version pair.
    {
      &quot;description&quot;: &quot;A String&quot;, # The description of this API.
      &quot;discoveryLink&quot;: &quot;A String&quot;, # A link to the discovery document.
      &quot;discoveryRestUrl&quot;: &quot;A String&quot;, # The URL for the discovery REST document.
      &quot;documentationLink&quot;: &quot;A String&quot;, # A link to human readable documentation for the API.
      &quot;icons&quot;: { # Links to 16x16 and 32x32 icons representing the API.
        &quot;x16&quot;: &quot;A String&quot;, # The URL of the 16x16 icon.
        &quot;x32&quot;: &quot;A String&quot;, # The URL of the 32x32 icon.
      },
      &quot;id&quot;: &quot;A String&quot;, # The id of this API.
      &quot;kind&quot;: &quot;discovery#directoryItem&quot;, # The kind for this response.
      &quot;labels&quot;: [ # Labels for the status of this API, such as labs or deprecated.
        &quot;A String&quot;,
      ],
      &quot;name&quot;: &quot;A String&quot;, # The name of the API.
      &quot;preferred&quot;: True or False, # True if this version is the preferred version to use.
      &quot;title&quot;: &quot;A String&quot;, # The title of this API.
      &quot;version&quot;: &quot;A String&quot;, # The version of the API.
    },
  ],
  &quot;kind&quot;: &quot;discovery#directoryList&quot;, # The kind for this response.
}</pre>
</div>

</body></html>