| John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 1 | <html><body> | 
|  | 2 | <style> | 
|  | 3 |  | 
|  | 4 | body, h1, h2, h3, div, span, p, pre, a { | 
|  | 5 | margin: 0; | 
|  | 6 | padding: 0; | 
|  | 7 | border: 0; | 
|  | 8 | font-weight: inherit; | 
|  | 9 | font-style: inherit; | 
|  | 10 | font-size: 100%; | 
|  | 11 | font-family: inherit; | 
|  | 12 | vertical-align: baseline; | 
|  | 13 | } | 
|  | 14 |  | 
|  | 15 | body { | 
|  | 16 | font-size: 13px; | 
|  | 17 | padding: 1em; | 
|  | 18 | } | 
|  | 19 |  | 
|  | 20 | h1 { | 
|  | 21 | font-size: 26px; | 
|  | 22 | margin-bottom: 1em; | 
|  | 23 | } | 
|  | 24 |  | 
|  | 25 | h2 { | 
|  | 26 | font-size: 24px; | 
|  | 27 | margin-bottom: 1em; | 
|  | 28 | } | 
|  | 29 |  | 
|  | 30 | h3 { | 
|  | 31 | font-size: 20px; | 
|  | 32 | margin-bottom: 1em; | 
|  | 33 | margin-top: 1em; | 
|  | 34 | } | 
|  | 35 |  | 
|  | 36 | pre, code { | 
|  | 37 | line-height: 1.5; | 
|  | 38 | font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; | 
|  | 39 | } | 
|  | 40 |  | 
|  | 41 | pre { | 
|  | 42 | margin-top: 0.5em; | 
|  | 43 | } | 
|  | 44 |  | 
|  | 45 | h1, h2, h3, p { | 
|  | 46 | font-family: Arial, sans serif; | 
|  | 47 | } | 
|  | 48 |  | 
|  | 49 | h1, h2, h3 { | 
|  | 50 | border-bottom: solid #CCC 1px; | 
|  | 51 | } | 
|  | 52 |  | 
|  | 53 | .toc_element { | 
|  | 54 | margin-top: 0.5em; | 
|  | 55 | } | 
|  | 56 |  | 
|  | 57 | .firstline { | 
|  | 58 | margin-left: 2 em; | 
|  | 59 | } | 
|  | 60 |  | 
|  | 61 | .method  { | 
|  | 62 | margin-top: 1em; | 
|  | 63 | border: solid 1px #CCC; | 
|  | 64 | padding: 1em; | 
|  | 65 | background: #EEE; | 
|  | 66 | } | 
|  | 67 |  | 
|  | 68 | .details { | 
|  | 69 | font-weight: bold; | 
|  | 70 | font-size: 14px; | 
|  | 71 | } | 
|  | 72 |  | 
|  | 73 | </style> | 
|  | 74 |  | 
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 75 | <h1><a href="discovery_v1.html">API Discovery Service</a> . <a href="discovery_v1.apis.html">apis</a></h1> | 
| John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 76 | <h2>Instance Methods</h2> | 
|  | 77 | <p class="toc_element"> | 
| Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 78 | <code><a href="#close">close()</a></code></p> | 
|  | 79 | <p class="firstline">Close httplib2 connections.</p> | 
|  | 80 | <p class="toc_element"> | 
| John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 81 | <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"> | 
| Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 84 | <code><a href="#list">list(preferred=None, name=None)</a></code></p> | 
| John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 85 | <p class="firstline">Retrieve the list of APIs supported at this endpoint.</p> | 
|  | 86 | <h3>Method Details</h3> | 
|  | 87 | <div class="method"> | 
| Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 88 | <code class="details" id="close">close()</code> | 
|  | 89 | <pre>Close httplib2 connections.</pre> | 
|  | 90 | </div> | 
|  | 91 |  | 
|  | 92 | <div class="method"> | 
| John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 93 | <code class="details" id="getRest">getRest(api, version)</code> | 
|  | 94 | <pre>Retrieve the description of a particular version of an api. | 
|  | 95 |  | 
|  | 96 | Args: | 
|  | 97 | api: string, The name of the API. (required) | 
|  | 98 | version: string, The version of the API. (required) | 
|  | 99 |  | 
|  | 100 | Returns: | 
|  | 101 | An object of the form: | 
|  | 102 |  | 
|  | 103 | { | 
| Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 104 | "rootUrl": "A String", # The root URL under which all API services live. | 
| Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 105 | "schemas": { # The schemas for this API. | 
|  | 106 | "a_key": { # An individual schema description. | 
|  | 107 | "maximum": "A String", # The maximum value of this parameter. | 
|  | 108 | "repeated": True or False, # Whether this parameter may appear multiple times. | 
|  | 109 | "id": "A String", # Unique identifier for this schema. | 
|  | 110 | "description": "A String", # A description of this object. | 
|  | 111 | "additionalProperties": # 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. | 
|  | 112 | "location": "A String", # Whether this parameter goes in the query or the path for REST requests. | 
|  | 113 | "properties": { # If this is a schema for an object, list the schema for each property of this object. | 
|  | 114 | "a_key": # Object with schema name: JsonSchema # A single property of this object. The value is itself a JSON Schema object describing this property. | 
|  | 115 | }, | 
|  | 116 | "format": "A String", # 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 | 
|  | 117 | "required": True or False, # Whether the parameter is required. | 
|  | 118 | "$ref": "A String", # A reference to another schema. The value of this property is the "id" of another schema. | 
|  | 119 | "enum": [ # Values this parameter may take (if it is an enum). | 
|  | 120 | "A String", | 
|  | 121 | ], | 
|  | 122 | "minimum": "A String", # The minimum value of this parameter. | 
|  | 123 | "default": "A String", # The default value of this property (if one exists). | 
| Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 124 | "variant": { # 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. | 
|  | 125 | "map": [ # The map of discriminant value to schema to use for parsing.. | 
|  | 126 | { | 
|  | 127 | "type_value": "A String", | 
|  | 128 | "$ref": "A String", | 
|  | 129 | }, | 
|  | 130 | ], | 
|  | 131 | "discriminant": "A String", # The name of the type discriminant property. | 
|  | 132 | }, | 
| Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 133 | "items": # Object with schema name: JsonSchema # If this is a schema for an array, this property is the schema for each element in the array. | 
| Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 134 | "enumDescriptions": [ # The descriptions for the enums. Each position maps to the corresponding value in the "enum" array. | 
|  | 135 | "A String", | 
|  | 136 | ], | 
| Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 137 | "readOnly": 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. | 
| Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 138 | "annotations": { # Additional information about this property. | 
|  | 139 | "required": [ # A list of methods for which this property is required on requests. | 
|  | 140 | "A String", | 
|  | 141 | ], | 
|  | 142 | }, | 
| Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 143 | "pattern": "A String", # 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 | 
| Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 144 | "type": "A String", # 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 | 
| Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 145 | }, | 
|  | 146 | }, | 
| Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 147 | "revision": "A String", # The version of this API. | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 148 | "methods": { # API-level methods for this API. | 
|  | 149 | "a_key": { # An individual method description. | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 150 | "id": "A String", # A unique ID for this method. This property can be used to match methods between different versions of Discovery. | 
| Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 151 | "path": "A String", # The URI path of this REST method. Should be used in conjunction with the basePath property at the api-level. | 
| Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 152 | "response": { # The schema for the response. | 
|  | 153 | "$ref": "A String", # Schema ID for the response schema. | 
|  | 154 | }, | 
| Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 155 | "useMediaDownloadService": True or False, # Indicates that downloads from this method should use the download service URL (i.e. "/download"). Only applies if the method supports media download. | 
|  | 156 | "parameterOrder": [ # 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 "most-significant" parameter appears first. | 
|  | 157 | "A String", | 
|  | 158 | ], | 
|  | 159 | "scopes": [ # OAuth 2.0 scopes applicable to this method. | 
|  | 160 | "A String", | 
|  | 161 | ], | 
|  | 162 | "supportsMediaUpload": True or False, # Whether this method supports media uploads. | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 163 | "mediaUpload": { # Media upload parameters. | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 164 | "protocols": { # Supported upload protocols. | 
|  | 165 | "resumable": { # Supports the Resumable Media Upload protocol. | 
|  | 166 | "multipart": true, # True if this endpoint supports uploading multipart media. | 
|  | 167 | "path": "A String", # The URI path to be used for upload. Should be used in conjunction with the basePath property at the api-level. | 
| John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 168 | }, | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 169 | "simple": { # Supports uploading as a single HTTP request. | 
|  | 170 | "multipart": true, # True if this endpoint supports upload multipart media. | 
|  | 171 | "path": "A String", # The URI path to be used for upload. Should be used in conjunction with the basePath property at the api-level. | 
|  | 172 | }, | 
|  | 173 | }, | 
| Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 174 | "maxSize": "A String", # Maximum size of a media upload, such as "1MB", "2GB" or "3TB". | 
| Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 175 | "accept": [ # MIME Media Ranges for acceptable media uploads to this method. | 
|  | 176 | "A String", | 
|  | 177 | ], | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 178 | }, | 
| Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 179 | "etagRequired": 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. | 
|  | 180 | "supportsMediaDownload": True or False, # Whether this method supports media downloads. | 
|  | 181 | "httpMethod": "A String", # HTTP method used by this method. | 
|  | 182 | "description": "A String", # Description of this method. | 
|  | 183 | "parameters": { # Details for all parameters in this method. | 
|  | 184 | "a_key": { # Details for a single parameter in this method. | 
|  | 185 | "maximum": "A String", # The maximum value of this parameter. | 
|  | 186 | "repeated": True or False, # Whether this parameter may appear multiple times. | 
|  | 187 | "id": "A String", # Unique identifier for this schema. | 
|  | 188 | "description": "A String", # A description of this object. | 
|  | 189 | "additionalProperties": # 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. | 
|  | 190 | "location": "A String", # Whether this parameter goes in the query or the path for REST requests. | 
|  | 191 | "properties": { # If this is a schema for an object, list the schema for each property of this object. | 
|  | 192 | "a_key": # Object with schema name: JsonSchema # A single property of this object. The value is itself a JSON Schema object describing this property. | 
|  | 193 | }, | 
|  | 194 | "format": "A String", # 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 | 
|  | 195 | "required": True or False, # Whether the parameter is required. | 
|  | 196 | "$ref": "A String", # A reference to another schema. The value of this property is the "id" of another schema. | 
|  | 197 | "enum": [ # Values this parameter may take (if it is an enum). | 
| Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 198 | "A String", | 
|  | 199 | ], | 
| Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 200 | "minimum": "A String", # The minimum value of this parameter. | 
|  | 201 | "default": "A String", # The default value of this property (if one exists). | 
|  | 202 | "variant": { # 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. | 
|  | 203 | "map": [ # The map of discriminant value to schema to use for parsing.. | 
|  | 204 | { | 
|  | 205 | "type_value": "A String", | 
|  | 206 | "$ref": "A String", | 
|  | 207 | }, | 
|  | 208 | ], | 
|  | 209 | "discriminant": "A String", # The name of the type discriminant property. | 
| Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 210 | }, | 
| Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 211 | "items": # Object with schema name: JsonSchema # If this is a schema for an array, this property is the schema for each element in the array. | 
|  | 212 | "enumDescriptions": [ # The descriptions for the enums. Each position maps to the corresponding value in the "enum" array. | 
|  | 213 | "A String", | 
|  | 214 | ], | 
|  | 215 | "readOnly": 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. | 
|  | 216 | "annotations": { # Additional information about this property. | 
|  | 217 | "required": [ # A list of methods for which this property is required on requests. | 
|  | 218 | "A String", | 
|  | 219 | ], | 
|  | 220 | }, | 
|  | 221 | "pattern": "A String", # 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 | 
|  | 222 | "type": "A String", # 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 | 
|  | 223 | }, | 
|  | 224 | }, | 
|  | 225 | "request": { # The schema for the request. | 
|  | 226 | "parameterName": "A String", # parameter name. | 
|  | 227 | "$ref": "A String", # Schema ID for the request schema. | 
|  | 228 | }, | 
|  | 229 | "supportsSubscription": True or False, # Whether this method supports subscriptions. | 
|  | 230 | }, | 
|  | 231 | }, | 
|  | 232 | "name": "A String", # The name of this API. | 
|  | 233 | "id": "A String", # The ID of this API. | 
|  | 234 | "documentationLink": "A String", # A link to human readable documentation for the API. | 
|  | 235 | "servicePath": "A String", # The base path for all REST requests. | 
|  | 236 | "title": "A String", # The title of this API. | 
|  | 237 | "exponentialBackoffDefault": True or False, # Enable exponential backoff for suitable methods in the generated clients. | 
|  | 238 | "protocol": "rest", # The protocol described by this document. | 
|  | 239 | "basePath": "A String", # [DEPRECATED] The base path for REST requests. | 
|  | 240 | "resources": { # The resources in this API. | 
|  | 241 | "a_key": { # An individual resource description. Contains methods and sub-resources related to this resource. | 
|  | 242 | "resources": { # Sub-resources on this resource. | 
|  | 243 | "a_key": # Object with schema name: RestResource # Description for any sub-resources on this resource. | 
|  | 244 | }, | 
|  | 245 | "methods": { # Methods on this resource. | 
|  | 246 | "a_key": { # Description for any methods on this resource. | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 247 | "id": "A String", # A unique ID for this method. This property can be used to match methods between different versions of Discovery. | 
| Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 248 | "path": "A String", # The URI path of this REST method. Should be used in conjunction with the basePath property at the api-level. | 
| Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 249 | "response": { # The schema for the response. | 
|  | 250 | "$ref": "A String", # Schema ID for the response schema. | 
|  | 251 | }, | 
| Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 252 | "useMediaDownloadService": True or False, # Indicates that downloads from this method should use the download service URL (i.e. "/download"). Only applies if the method supports media download. | 
|  | 253 | "parameterOrder": [ # 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 "most-significant" parameter appears first. | 
|  | 254 | "A String", | 
|  | 255 | ], | 
|  | 256 | "scopes": [ # OAuth 2.0 scopes applicable to this method. | 
|  | 257 | "A String", | 
|  | 258 | ], | 
|  | 259 | "supportsMediaUpload": True or False, # Whether this method supports media uploads. | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 260 | "mediaUpload": { # Media upload parameters. | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 261 | "protocols": { # Supported upload protocols. | 
|  | 262 | "resumable": { # Supports the Resumable Media Upload protocol. | 
|  | 263 | "multipart": true, # True if this endpoint supports uploading multipart media. | 
|  | 264 | "path": "A String", # The URI path to be used for upload. Should be used in conjunction with the basePath property at the api-level. | 
| John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 265 | }, | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 266 | "simple": { # Supports uploading as a single HTTP request. | 
|  | 267 | "multipart": true, # True if this endpoint supports upload multipart media. | 
|  | 268 | "path": "A String", # The URI path to be used for upload. Should be used in conjunction with the basePath property at the api-level. | 
|  | 269 | }, | 
|  | 270 | }, | 
| Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 271 | "maxSize": "A String", # Maximum size of a media upload, such as "1MB", "2GB" or "3TB". | 
| Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 272 | "accept": [ # MIME Media Ranges for acceptable media uploads to this method. | 
|  | 273 | "A String", | 
|  | 274 | ], | 
| John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 275 | }, | 
| Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 276 | "etagRequired": 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. | 
|  | 277 | "supportsMediaDownload": True or False, # Whether this method supports media downloads. | 
|  | 278 | "httpMethod": "A String", # HTTP method used by this method. | 
|  | 279 | "description": "A String", # Description of this method. | 
|  | 280 | "parameters": { # Details for all parameters in this method. | 
|  | 281 | "a_key": { # Details for a single parameter in this method. | 
|  | 282 | "maximum": "A String", # The maximum value of this parameter. | 
|  | 283 | "repeated": True or False, # Whether this parameter may appear multiple times. | 
|  | 284 | "id": "A String", # Unique identifier for this schema. | 
|  | 285 | "description": "A String", # A description of this object. | 
|  | 286 | "additionalProperties": # 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. | 
|  | 287 | "location": "A String", # Whether this parameter goes in the query or the path for REST requests. | 
|  | 288 | "properties": { # If this is a schema for an object, list the schema for each property of this object. | 
|  | 289 | "a_key": # Object with schema name: JsonSchema # A single property of this object. The value is itself a JSON Schema object describing this property. | 
|  | 290 | }, | 
|  | 291 | "format": "A String", # 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 | 
|  | 292 | "required": True or False, # Whether the parameter is required. | 
|  | 293 | "$ref": "A String", # A reference to another schema. The value of this property is the "id" of another schema. | 
|  | 294 | "enum": [ # Values this parameter may take (if it is an enum). | 
|  | 295 | "A String", | 
|  | 296 | ], | 
|  | 297 | "minimum": "A String", # The minimum value of this parameter. | 
|  | 298 | "default": "A String", # The default value of this property (if one exists). | 
|  | 299 | "variant": { # 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. | 
|  | 300 | "map": [ # The map of discriminant value to schema to use for parsing.. | 
|  | 301 | { | 
|  | 302 | "type_value": "A String", | 
|  | 303 | "$ref": "A String", | 
|  | 304 | }, | 
|  | 305 | ], | 
|  | 306 | "discriminant": "A String", # The name of the type discriminant property. | 
|  | 307 | }, | 
|  | 308 | "items": # Object with schema name: JsonSchema # If this is a schema for an array, this property is the schema for each element in the array. | 
|  | 309 | "enumDescriptions": [ # The descriptions for the enums. Each position maps to the corresponding value in the "enum" array. | 
|  | 310 | "A String", | 
|  | 311 | ], | 
|  | 312 | "readOnly": 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. | 
|  | 313 | "annotations": { # Additional information about this property. | 
|  | 314 | "required": [ # A list of methods for which this property is required on requests. | 
|  | 315 | "A String", | 
|  | 316 | ], | 
|  | 317 | }, | 
|  | 318 | "pattern": "A String", # 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 | 
|  | 319 | "type": "A String", # 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 | 
|  | 320 | }, | 
|  | 321 | }, | 
|  | 322 | "request": { # The schema for the request. | 
|  | 323 | "parameterName": "A String", # parameter name. | 
|  | 324 | "$ref": "A String", # Schema ID for the request schema. | 
|  | 325 | }, | 
|  | 326 | "supportsSubscription": True or False, # Whether this method supports subscriptions. | 
| John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 327 | }, | 
|  | 328 | }, | 
| John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 329 | }, | 
|  | 330 | }, | 
| Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 331 | "auth": { # Authentication information. | 
|  | 332 | "oauth2": { # OAuth 2.0 authentication information. | 
|  | 333 | "scopes": { # Available OAuth 2.0 scopes. | 
|  | 334 | "a_key": { # The scope value. | 
|  | 335 | "description": "A String", # Description of scope. | 
|  | 336 | }, | 
|  | 337 | }, | 
|  | 338 | }, | 
|  | 339 | }, | 
|  | 340 | "batchPath": "A String", # The path for REST batch requests. | 
|  | 341 | "canonicalName": "A String", # Indicates how the API name should be capitalized and split into various parts. Useful for generating pretty class names. | 
|  | 342 | "description": "A String", # The description of this API. | 
|  | 343 | "ownerName": "A String", # The name of the owner of this API. See ownerDomain. | 
|  | 344 | "features": [ # A list of supported features for this API. | 
|  | 345 | "A String", | 
|  | 346 | ], | 
| Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 347 | "version": "A String", # The version of this API. | 
| Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 348 | "icons": { # Links to 16x16 and 32x32 icons representing the API. | 
|  | 349 | "x32": "A String", # The URL of the 32x32 icon. | 
|  | 350 | "x16": "A String", # The URL of the 16x16 icon. | 
|  | 351 | }, | 
|  | 352 | "version_module": True or False, | 
|  | 353 | "kind": "discovery#restDescription", # The kind for this response. | 
|  | 354 | "etag": "A String", # The ETag for this response. | 
|  | 355 | "ownerDomain": "A String", # 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. | 
|  | 356 | "labels": [ # Labels for the status of this API, such as labs or deprecated. | 
|  | 357 | "A String", | 
|  | 358 | ], | 
|  | 359 | "packagePath": "A String", # The package of the owner of this API. See ownerDomain. | 
|  | 360 | "discoveryVersion": "v1", # Indicate the version of the Discovery API used to generate this doc. | 
|  | 361 | "baseUrl": "A String", # [DEPRECATED] The base URL for REST requests. | 
|  | 362 | "parameters": { # Common parameters that apply across all apis. | 
|  | 363 | "a_key": { # Description of a single parameter. | 
|  | 364 | "maximum": "A String", # The maximum value of this parameter. | 
|  | 365 | "repeated": True or False, # Whether this parameter may appear multiple times. | 
|  | 366 | "id": "A String", # Unique identifier for this schema. | 
|  | 367 | "description": "A String", # A description of this object. | 
|  | 368 | "additionalProperties": # 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. | 
|  | 369 | "location": "A String", # Whether this parameter goes in the query or the path for REST requests. | 
|  | 370 | "properties": { # If this is a schema for an object, list the schema for each property of this object. | 
|  | 371 | "a_key": # Object with schema name: JsonSchema # A single property of this object. The value is itself a JSON Schema object describing this property. | 
|  | 372 | }, | 
|  | 373 | "format": "A String", # 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 | 
|  | 374 | "required": True or False, # Whether the parameter is required. | 
|  | 375 | "$ref": "A String", # A reference to another schema. The value of this property is the "id" of another schema. | 
|  | 376 | "enum": [ # Values this parameter may take (if it is an enum). | 
|  | 377 | "A String", | 
|  | 378 | ], | 
|  | 379 | "minimum": "A String", # The minimum value of this parameter. | 
|  | 380 | "default": "A String", # The default value of this property (if one exists). | 
| Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 381 | "variant": { # 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. | 
|  | 382 | "map": [ # The map of discriminant value to schema to use for parsing.. | 
|  | 383 | { | 
|  | 384 | "type_value": "A String", | 
|  | 385 | "$ref": "A String", | 
|  | 386 | }, | 
|  | 387 | ], | 
|  | 388 | "discriminant": "A String", # The name of the type discriminant property. | 
|  | 389 | }, | 
| Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 390 | "items": # Object with schema name: JsonSchema # If this is a schema for an array, this property is the schema for each element in the array. | 
| Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 391 | "enumDescriptions": [ # The descriptions for the enums. Each position maps to the corresponding value in the "enum" array. | 
|  | 392 | "A String", | 
|  | 393 | ], | 
| Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 394 | "readOnly": 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. | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 395 | "annotations": { # Additional information about this property. | 
|  | 396 | "required": [ # A list of methods for which this property is required on requests. | 
|  | 397 | "A String", | 
|  | 398 | ], | 
|  | 399 | }, | 
| Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 400 | "pattern": "A String", # 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 | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 401 | "type": "A String", # 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 | 
| John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 402 | }, | 
|  | 403 | }, | 
| John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 404 | }</pre> | 
|  | 405 | </div> | 
|  | 406 |  | 
|  | 407 | <div class="method"> | 
| Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 408 | <code class="details" id="list">list(preferred=None, name=None)</code> | 
| John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 409 | <pre>Retrieve the list of APIs supported at this endpoint. | 
|  | 410 |  | 
|  | 411 | Args: | 
| John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 412 | preferred: boolean, Return only the preferred version of an API. | 
| Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 413 | name: string, Only include APIs with the given name. | 
| John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 414 |  | 
|  | 415 | Returns: | 
|  | 416 | An object of the form: | 
|  | 417 |  | 
|  | 418 | { | 
| Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 419 | "kind": "discovery#directoryList", # The kind for this response. | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 420 | "discoveryVersion": "v1", # Indicate the version of the Discovery API used to generate this doc. | 
|  | 421 | "items": [ # The individual directory entries. One entry per api/version pair. | 
| John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 422 | { | 
| Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 423 | "kind": "discovery#directoryItem", # The kind for this response. | 
| Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 424 | "title": "A String", # The title of this API. | 
| Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 425 | "discoveryRestUrl": "A String", # The URL for the discovery REST document. | 
|  | 426 | "icons": { # Links to 16x16 and 32x32 icons representing the API. | 
|  | 427 | "x32": "A String", # The URL of the 32x32 icon. | 
|  | 428 | "x16": "A String", # The URL of the 16x16 icon. | 
|  | 429 | }, | 
|  | 430 | "documentationLink": "A String", # A link to human readable documentation for the API. | 
| Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 431 | "labels": [ # Labels for the status of this API, such as labs or deprecated. | 
|  | 432 | "A String", | 
|  | 433 | ], | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 434 | "discoveryLink": "A String", # A link to the discovery document. | 
| Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 435 | "preferred": True or False, # True if this version is the preferred version to use. | 
| Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 436 | "description": "A String", # The description of this API. | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 437 | "name": "A String", # The name of the API. | 
| Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 438 | "id": "A String", # The id of this API. | 
| Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 439 | "version": "A String", # The version of the API. | 
| John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 440 | }, | 
|  | 441 | ], | 
| John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 442 | }</pre> | 
|  | 443 | </div> | 
|  | 444 |  | 
|  | 445 | </body></html> |