chore: update docs/dyn (#1106)
diff --git a/docs/dyn/discovery_v1.apis.html b/docs/dyn/discovery_v1.apis.html
index 9b2b49b..e2dc684 100644
--- a/docs/dyn/discovery_v1.apis.html
+++ b/docs/dyn/discovery_v1.apis.html
@@ -81,7 +81,7 @@
<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(preferred=None, name=None)</a></code></p>
+ <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">
@@ -101,12 +101,11 @@
An object of the form:
{
- "icons": { # Links to 16x16 and 32x32 icons representing the API.
- "x32": "A String", # The URL of the 32x32 icon.
- "x16": "A String", # The URL of the 16x16 icon.
- },
+ "revision": "A String", # The version of this API.
+ "discoveryVersion": "v1", # Indicate the version of the Discovery API used to generate this doc.
"basePath": "A String", # [DEPRECATED] The base path for REST requests.
- "baseUrl": "A String", # [DEPRECATED] The base URL for REST requests.
+ "servicePath": "A String", # The base path for all REST requests.
+ "ownerName": "A String", # The name of the owner of this API. See ownerDomain.
"auth": { # Authentication information.
"oauth2": { # OAuth 2.0 authentication information.
"scopes": { # Available OAuth 2.0 scopes.
@@ -116,62 +115,46 @@
},
},
},
- "batchPath": "A String", # The path for REST batch requests.
- "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.
- "parameters": { # Common parameters that apply across all apis.
- "a_key": { # Description of a single parameter.
- "minimum": "A String", # The minimum value of this parameter.
- "default": "A String", # The default value of this property (if one exists).
- "properties": { # If this is a schema for an object, list the schema for each property of this object.
- "a_key": # Object with schema name: JsonSchema # A single property of this object. The value is itself a JSON Schema object describing this property.
- },
- "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.
- "map": [ # The map of discriminant value to schema to use for parsing..
- {
- "type_value": "A String",
- "$ref": "A String",
- },
- ],
- "discriminant": "A String", # The name of the type discriminant property.
- },
- "enumDescriptions": [ # The descriptions for the enums. Each position maps to the corresponding value in the "enum" array.
- "A String",
- ],
- "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
- "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.
- "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.
- "maximum": "A String", # The maximum value of this parameter.
- "location": "A String", # Whether this parameter goes in the query or the path for REST requests.
- "$ref": "A String", # A reference to another schema. The value of this property is the "id" of another schema.
- "enum": [ # Values this parameter may take (if it is an enum).
- "A String",
- ],
- "required": True or False, # Whether the parameter is required.
- "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.
- "annotations": { # Additional information about this property.
- "required": [ # A list of methods for which this property is required on requests.
- "A String",
- ],
- },
- "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
- "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
- "id": "A String", # Unique identifier for this schema.
- "repeated": True or False, # Whether this parameter may appear multiple times.
- "description": "A String", # A description of this object.
- },
+ "icons": { # Links to 16x16 and 32x32 icons representing the API.
+ "x16": "A String", # The URL of the 16x16 icon.
+ "x32": "A String", # The URL of the 32x32 icon.
},
"methods": { # API-level methods for this API.
"a_key": { # An individual method description.
- "response": { # The schema for the response.
- "$ref": "A String", # Schema ID for the response schema.
+ "supportsSubscription": True or False, # Whether this method supports subscriptions.
+ "scopes": [ # OAuth 2.0 scopes applicable to this method.
+ "A String",
+ ],
+ "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.
+ "mediaUpload": { # Media upload parameters.
+ "accept": [ # MIME Media Ranges for acceptable media uploads to this method.
+ "A String",
+ ],
+ "maxSize": "A String", # Maximum size of a media upload, such as "1MB", "2GB" or "3TB".
+ "protocols": { # Supported upload protocols.
+ "simple": { # Supports uploading as a single HTTP request.
+ "path": "A String", # The URI path to be used for upload. Should be used in conjunction with the basePath property at the api-level.
+ "multipart": true, # True if this endpoint supports upload multipart media.
+ },
+ "resumable": { # Supports the Resumable Media Upload protocol.
+ "multipart": true, # True if this endpoint supports uploading multipart media.
+ "path": "A String", # The URI path to be used for upload. Should be used in conjunction with the basePath property at the api-level.
+ },
+ },
},
+ "supportsMediaUpload": True or False, # Whether this method supports media uploads.
"parameters": { # Details for all parameters in this method.
"a_key": { # Details for a single parameter in this method.
- "minimum": "A String", # The minimum value of this parameter.
+ "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.
+ "repeated": True or False, # Whether this parameter may appear multiple times.
+ "description": "A String", # A description of this object.
"default": "A String", # The default value of this property (if one exists).
- "properties": { # If this is a schema for an object, list the schema for each property of this object.
- "a_key": # Object with schema name: JsonSchema # A single property of this object. The value is itself a JSON Schema object describing this property.
- },
+ "enum": [ # Values this parameter may take (if it is an enum).
+ "A String",
+ ],
+ "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
+ "minimum": "A String", # The minimum value of this parameter.
+ "location": "A String", # Whether this parameter goes in the query or the path for REST requests.
"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.
"map": [ # The map of discriminant value to schema to use for parsing..
{
@@ -181,150 +164,88 @@
],
"discriminant": "A String", # The name of the type discriminant property.
},
- "enumDescriptions": [ # The descriptions for the enums. Each position maps to the corresponding value in the "enum" array.
- "A String",
- ],
- "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
- "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.
- "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.
- "maximum": "A String", # The maximum value of this parameter.
- "location": "A String", # Whether this parameter goes in the query or the path for REST requests.
"$ref": "A String", # A reference to another schema. The value of this property is the "id" of another schema.
- "enum": [ # Values this parameter may take (if it is an enum).
- "A String",
- ],
- "required": True or False, # Whether the parameter is required.
+ "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
"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.
+ "properties": { # If this is a schema for an object, list the schema for each property of this object.
+ "a_key": # Object with schema name: JsonSchema # A single property of this object. The value is itself a JSON Schema object describing this property.
+ },
+ "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.
+ "required": True or False, # Whether the parameter is required.
"annotations": { # Additional information about this property.
"required": [ # A list of methods for which this property is required on requests.
"A String",
],
},
- "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
- "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
+ "enumDescriptions": [ # The descriptions for the enums. Each position maps to the corresponding value in the "enum" array.
+ "A String",
+ ],
"id": "A String", # Unique identifier for this schema.
- "repeated": True or False, # Whether this parameter may appear multiple times.
- "description": "A String", # A description of this object.
+ "maximum": "A String", # The maximum value of this parameter.
+ "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
},
},
- "mediaUpload": { # Media upload parameters.
- "maxSize": "A String", # Maximum size of a media upload, such as "1MB", "2GB" or "3TB".
- "protocols": { # Supported upload protocols.
- "resumable": { # Supports the Resumable Media Upload protocol.
- "path": "A String", # The URI path to be used for upload. Should be used in conjunction with the basePath property at the api-level.
- "multipart": true, # True if this endpoint supports uploading multipart media.
- },
- "simple": { # Supports uploading as a single HTTP request.
- "multipart": true, # True if this endpoint supports upload multipart media.
- "path": "A String", # The URI path to be used for upload. Should be used in conjunction with the basePath property at the api-level.
- },
- },
- "accept": [ # MIME Media Ranges for acceptable media uploads to this method.
- "A String",
- ],
- },
- "description": "A String", # Description of this method.
+ "id": "A String", # A unique ID for this method. This property can be used to match methods between different versions of Discovery.
+ "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.
+ "httpMethod": "A String", # HTTP method used by this method.
+ "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.
+ "A String",
+ ],
"path": "A String", # The URI path of this REST method. Should be used in conjunction with the basePath property at the api-level.
+ "description": "A String", # Description of this method.
+ "response": { # The schema for the response.
+ "$ref": "A String", # Schema ID for the response schema.
+ },
"request": { # The schema for the request.
"$ref": "A String", # Schema ID for the request schema.
"parameterName": "A String", # parameter name.
},
- "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.
- "httpMethod": "A String", # HTTP method used by this method.
"supportsMediaDownload": True or False, # Whether this method supports media downloads.
- "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.
- "id": "A String", # A unique ID for this method. This property can be used to match methods between different versions of Discovery.
- "scopes": [ # OAuth 2.0 scopes applicable to this method.
- "A String",
- ],
- "supportsSubscription": True or False, # Whether this method supports subscriptions.
- "supportsMediaUpload": True or False, # Whether this method supports media uploads.
- "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.
- "A String",
- ],
- },
- },
- "id": "A String", # The ID of this API.
- "rootUrl": "A String", # The root URL under which all API services live.
- "features": [ # A list of supported features for this API.
- "A String",
- ],
- "documentationLink": "A String", # A link to human readable documentation for the API.
- "labels": [ # Labels for the status of this API, such as labs or deprecated.
- "A String",
- ],
- "canonicalName": "A String", # Indicates how the API name should be capitalized and split into various parts. Useful for generating pretty class names.
- "name": "A String", # The name of this API.
- "packagePath": "A String", # The package of the owner of this API. See ownerDomain.
- "etag": "A String", # The ETag for this response.
- "exponentialBackoffDefault": True or False, # Enable exponential backoff for suitable methods in the generated clients.
- "revision": "A String", # The version of this API.
- "schemas": { # The schemas for this API.
- "a_key": { # An individual schema description.
- "minimum": "A String", # The minimum value of this parameter.
- "default": "A String", # The default value of this property (if one exists).
- "properties": { # If this is a schema for an object, list the schema for each property of this object.
- "a_key": # Object with schema name: JsonSchema # A single property of this object. The value is itself a JSON Schema object describing this property.
- },
- "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.
- "map": [ # The map of discriminant value to schema to use for parsing..
- {
- "type_value": "A String",
- "$ref": "A String",
- },
- ],
- "discriminant": "A String", # The name of the type discriminant property.
- },
- "enumDescriptions": [ # The descriptions for the enums. Each position maps to the corresponding value in the "enum" array.
- "A String",
- ],
- "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
- "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.
- "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.
- "maximum": "A String", # The maximum value of this parameter.
- "location": "A String", # Whether this parameter goes in the query or the path for REST requests.
- "$ref": "A String", # A reference to another schema. The value of this property is the "id" of another schema.
- "enum": [ # Values this parameter may take (if it is an enum).
- "A String",
- ],
- "required": True or False, # Whether the parameter is required.
- "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.
- "annotations": { # Additional information about this property.
- "required": [ # A list of methods for which this property is required on requests.
- "A String",
- ],
- },
- "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
- "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
- "id": "A String", # Unique identifier for this schema.
- "repeated": True or False, # Whether this parameter may appear multiple times.
- "description": "A String", # A description of this object.
},
},
"kind": "discovery#restDescription", # The kind for this response.
- "version": "A String", # The version of this API.
- "servicePath": "A String", # The base path for all REST requests.
- "title": "A String", # The title of this API.
- "ownerName": "A String", # The name of the owner of this API. See ownerDomain.
- "discoveryVersion": "v1", # Indicate the version of the Discovery API used to generate this doc.
- "protocol": "rest", # The protocol described by this document.
+ "id": "A String", # The ID of this API.
+ "features": [ # A list of supported features for this API.
+ "A String",
+ ],
"resources": { # The resources in this API.
"a_key": { # An individual resource description. Contains methods and sub-resources related to this resource.
- "resources": { # Sub-resources on this resource.
- "a_key": # Object with schema name: RestResource # Description for any sub-resources on this resource.
- },
"methods": { # Methods on this resource.
"a_key": { # Description for any methods on this resource.
- "response": { # The schema for the response.
- "$ref": "A String", # Schema ID for the response schema.
+ "supportsSubscription": True or False, # Whether this method supports subscriptions.
+ "scopes": [ # OAuth 2.0 scopes applicable to this method.
+ "A String",
+ ],
+ "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.
+ "mediaUpload": { # Media upload parameters.
+ "accept": [ # MIME Media Ranges for acceptable media uploads to this method.
+ "A String",
+ ],
+ "maxSize": "A String", # Maximum size of a media upload, such as "1MB", "2GB" or "3TB".
+ "protocols": { # Supported upload protocols.
+ "simple": { # Supports uploading as a single HTTP request.
+ "path": "A String", # The URI path to be used for upload. Should be used in conjunction with the basePath property at the api-level.
+ "multipart": true, # True if this endpoint supports upload multipart media.
+ },
+ "resumable": { # Supports the Resumable Media Upload protocol.
+ "multipart": true, # True if this endpoint supports uploading multipart media.
+ "path": "A String", # The URI path to be used for upload. Should be used in conjunction with the basePath property at the api-level.
+ },
+ },
},
+ "supportsMediaUpload": True or False, # Whether this method supports media uploads.
"parameters": { # Details for all parameters in this method.
"a_key": { # Details for a single parameter in this method.
- "minimum": "A String", # The minimum value of this parameter.
+ "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.
+ "repeated": True or False, # Whether this parameter may appear multiple times.
+ "description": "A String", # A description of this object.
"default": "A String", # The default value of this property (if one exists).
- "properties": { # If this is a schema for an object, list the schema for each property of this object.
- "a_key": # Object with schema name: JsonSchema # A single property of this object. The value is itself a JSON Schema object describing this property.
- },
+ "enum": [ # Values this parameter may take (if it is an enum).
+ "A String",
+ ],
+ "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
+ "minimum": "A String", # The minimum value of this parameter.
+ "location": "A String", # Whether this parameter goes in the query or the path for REST requests.
"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.
"map": [ # The map of discriminant value to schema to use for parsing..
{
@@ -334,111 +255,190 @@
],
"discriminant": "A String", # The name of the type discriminant property.
},
- "enumDescriptions": [ # The descriptions for the enums. Each position maps to the corresponding value in the "enum" array.
- "A String",
- ],
- "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
- "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.
- "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.
- "maximum": "A String", # The maximum value of this parameter.
- "location": "A String", # Whether this parameter goes in the query or the path for REST requests.
"$ref": "A String", # A reference to another schema. The value of this property is the "id" of another schema.
- "enum": [ # Values this parameter may take (if it is an enum).
- "A String",
- ],
- "required": True or False, # Whether the parameter is required.
+ "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
"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.
+ "properties": { # If this is a schema for an object, list the schema for each property of this object.
+ "a_key": # Object with schema name: JsonSchema # A single property of this object. The value is itself a JSON Schema object describing this property.
+ },
+ "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.
+ "required": True or False, # Whether the parameter is required.
"annotations": { # Additional information about this property.
"required": [ # A list of methods for which this property is required on requests.
"A String",
],
},
- "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
- "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
+ "enumDescriptions": [ # The descriptions for the enums. Each position maps to the corresponding value in the "enum" array.
+ "A String",
+ ],
"id": "A String", # Unique identifier for this schema.
- "repeated": True or False, # Whether this parameter may appear multiple times.
- "description": "A String", # A description of this object.
+ "maximum": "A String", # The maximum value of this parameter.
+ "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
},
},
- "mediaUpload": { # Media upload parameters.
- "maxSize": "A String", # Maximum size of a media upload, such as "1MB", "2GB" or "3TB".
- "protocols": { # Supported upload protocols.
- "resumable": { # Supports the Resumable Media Upload protocol.
- "path": "A String", # The URI path to be used for upload. Should be used in conjunction with the basePath property at the api-level.
- "multipart": true, # True if this endpoint supports uploading multipart media.
- },
- "simple": { # Supports uploading as a single HTTP request.
- "multipart": true, # True if this endpoint supports upload multipart media.
- "path": "A String", # The URI path to be used for upload. Should be used in conjunction with the basePath property at the api-level.
- },
- },
- "accept": [ # MIME Media Ranges for acceptable media uploads to this method.
- "A String",
- ],
- },
- "description": "A String", # Description of this method.
+ "id": "A String", # A unique ID for this method. This property can be used to match methods between different versions of Discovery.
+ "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.
+ "httpMethod": "A String", # HTTP method used by this method.
+ "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.
+ "A String",
+ ],
"path": "A String", # The URI path of this REST method. Should be used in conjunction with the basePath property at the api-level.
+ "description": "A String", # Description of this method.
+ "response": { # The schema for the response.
+ "$ref": "A String", # Schema ID for the response schema.
+ },
"request": { # The schema for the request.
"$ref": "A String", # Schema ID for the request schema.
"parameterName": "A String", # parameter name.
},
- "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.
- "httpMethod": "A String", # HTTP method used by this method.
"supportsMediaDownload": True or False, # Whether this method supports media downloads.
- "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.
- "id": "A String", # A unique ID for this method. This property can be used to match methods between different versions of Discovery.
- "scopes": [ # OAuth 2.0 scopes applicable to this method.
- "A String",
- ],
- "supportsSubscription": True or False, # Whether this method supports subscriptions.
- "supportsMediaUpload": True or False, # Whether this method supports media uploads.
- "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.
- "A String",
- ],
},
},
+ "resources": { # Sub-resources on this resource.
+ "a_key": # Object with schema name: RestResource # Description for any sub-resources on this resource.
+ },
},
},
- "description": "A String", # The description of this API.
+ "canonicalName": "A String", # Indicates how the API name should be capitalized and split into various parts. Useful for generating pretty class names.
+ "schemas": { # The schemas for this API.
+ "a_key": { # An individual schema description.
+ "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.
+ "repeated": True or False, # Whether this parameter may appear multiple times.
+ "description": "A String", # A description of this object.
+ "default": "A String", # The default value of this property (if one exists).
+ "enum": [ # Values this parameter may take (if it is an enum).
+ "A String",
+ ],
+ "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
+ "minimum": "A String", # The minimum value of this parameter.
+ "location": "A String", # Whether this parameter goes in the query or the path for REST requests.
+ "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.
+ "map": [ # The map of discriminant value to schema to use for parsing..
+ {
+ "type_value": "A String",
+ "$ref": "A String",
+ },
+ ],
+ "discriminant": "A String", # The name of the type discriminant property.
+ },
+ "$ref": "A String", # A reference to another schema. The value of this property is the "id" of another schema.
+ "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
+ "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.
+ "properties": { # If this is a schema for an object, list the schema for each property of this object.
+ "a_key": # Object with schema name: JsonSchema # A single property of this object. The value is itself a JSON Schema object describing this property.
+ },
+ "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.
+ "required": True or False, # Whether the parameter is required.
+ "annotations": { # Additional information about this property.
+ "required": [ # A list of methods for which this property is required on requests.
+ "A String",
+ ],
+ },
+ "enumDescriptions": [ # The descriptions for the enums. Each position maps to the corresponding value in the "enum" array.
+ "A String",
+ ],
+ "id": "A String", # Unique identifier for this schema.
+ "maximum": "A String", # The maximum value of this parameter.
+ "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
+ },
+ },
+ "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.
+ "rootUrl": "A String", # The root URL under which all API services live.
+ "protocol": "rest", # The protocol described by this document.
+ "title": "A String", # The title of this API.
+ "etag": "A String", # The ETag for this response.
+ "batchPath": "A String", # The path for REST batch requests.
+ "name": "A String", # The name of this API.
+ "packagePath": "A String", # The package of the owner of this API. See ownerDomain.
+ "documentationLink": "A String", # A link to human readable documentation for the API.
+ "parameters": { # Common parameters that apply across all apis.
+ "a_key": { # Description of a single parameter.
+ "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.
+ "repeated": True or False, # Whether this parameter may appear multiple times.
+ "description": "A String", # A description of this object.
+ "default": "A String", # The default value of this property (if one exists).
+ "enum": [ # Values this parameter may take (if it is an enum).
+ "A String",
+ ],
+ "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
+ "minimum": "A String", # The minimum value of this parameter.
+ "location": "A String", # Whether this parameter goes in the query or the path for REST requests.
+ "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.
+ "map": [ # The map of discriminant value to schema to use for parsing..
+ {
+ "type_value": "A String",
+ "$ref": "A String",
+ },
+ ],
+ "discriminant": "A String", # The name of the type discriminant property.
+ },
+ "$ref": "A String", # A reference to another schema. The value of this property is the "id" of another schema.
+ "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
+ "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.
+ "properties": { # If this is a schema for an object, list the schema for each property of this object.
+ "a_key": # Object with schema name: JsonSchema # A single property of this object. The value is itself a JSON Schema object describing this property.
+ },
+ "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.
+ "required": True or False, # Whether the parameter is required.
+ "annotations": { # Additional information about this property.
+ "required": [ # A list of methods for which this property is required on requests.
+ "A String",
+ ],
+ },
+ "enumDescriptions": [ # The descriptions for the enums. Each position maps to the corresponding value in the "enum" array.
+ "A String",
+ ],
+ "id": "A String", # Unique identifier for this schema.
+ "maximum": "A String", # The maximum value of this parameter.
+ "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
+ },
+ },
+ "exponentialBackoffDefault": True or False, # Enable exponential backoff for suitable methods in the generated clients.
+ "baseUrl": "A String", # [DEPRECATED] The base URL for REST requests.
"version_module": True or False,
+ "version": "A String", # The version of this API.
+ "description": "A String", # The description of this API.
+ "labels": [ # Labels for the status of this API, such as labs or deprecated.
+ "A String",
+ ],
}</pre>
</div>
<div class="method">
- <code class="details" id="list">list(preferred=None, name=None)</code>
+ <code class="details" id="list">list(name=None, preferred=None)</code>
<pre>Retrieve the list of APIs supported at this endpoint.
Args:
- preferred: boolean, Return only the preferred version of an API.
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:
{
"kind": "discovery#directoryList", # The kind for this response.
- "discoveryVersion": "v1", # Indicate the version of the Discovery API used to generate this doc.
"items": [ # The individual directory entries. One entry per api/version pair.
{
- "id": "A String", # The id of this API.
- "discoveryRestUrl": "A String", # The URL for the discovery REST document.
+ "labels": [ # Labels for the status of this API, such as labs or deprecated.
+ "A String",
+ ],
+ "name": "A String", # The name of the API.
"discoveryLink": "A String", # A link to the discovery document.
- "preferred": True or False, # True if this version is the preferred version to use.
- "title": "A String", # The title of this API.
- "version": "A String", # The version of the API.
"icons": { # Links to 16x16 and 32x32 icons representing the API.
"x16": "A String", # The URL of the 16x16 icon.
"x32": "A String", # The URL of the 32x32 icon.
},
- "kind": "discovery#directoryItem", # The kind for this response.
- "labels": [ # Labels for the status of this API, such as labs or deprecated.
- "A String",
- ],
"description": "A String", # The description of this API.
- "name": "A String", # The name of the API.
"documentationLink": "A String", # A link to human readable documentation for the API.
+ "kind": "discovery#directoryItem", # The kind for this response.
+ "id": "A String", # The id of this API.
+ "preferred": True or False, # True if this version is the preferred version to use.
+ "discoveryRestUrl": "A String", # The URL for the discovery REST document.
+ "version": "A String", # The version of the API.
+ "title": "A String", # The title of this API.
},
],
+ "discoveryVersion": "v1", # Indicate the version of the Discovery API used to generate this doc.
}</pre>
</div>