Index: discovery/googleapis/cloudfunctions__v1.json |
diff --git a/discovery/googleapis/cloudfunctions__v1.json b/discovery/googleapis/cloudfunctions__v1.json |
new file mode 100644 |
index 0000000000000000000000000000000000000000..637d1c7b965a34d6a2dacf7afb4bdef56e75360d |
--- /dev/null |
+++ b/discovery/googleapis/cloudfunctions__v1.json |
@@ -0,0 +1,222 @@ |
+{ |
+ "auth": { |
+ "oauth2": { |
+ "scopes": { |
+ "https://www.googleapis.com/auth/cloud-platform": { |
+ "description": "View and manage your data across Google Cloud Platform services" |
+ } |
+ } |
+ } |
+ }, |
+ "basePath": "", |
+ "baseUrl": "https://cloudfunctions.googleapis.com/", |
+ "batchPath": "batch", |
+ "canonicalName": "Cloud Functions", |
+ "description": "API for managing lightweight user-provided functions executed in response to events.", |
+ "discoveryVersion": "v1", |
+ "documentationLink": "https://cloud.google.com/functions", |
+ "icons": { |
+ "x16": "http://www.google.com/images/icons/product/search-16.gif", |
+ "x32": "http://www.google.com/images/icons/product/search-32.gif" |
+ }, |
+ "id": "cloudfunctions:v1", |
+ "kind": "discovery#restDescription", |
+ "name": "cloudfunctions", |
+ "ownerDomain": "google.com", |
+ "ownerName": "Google", |
+ "parameters": { |
+ "alt": { |
+ "default": "json", |
+ "description": "Data format for response.", |
+ "enum": [ |
+ "json", |
+ "media", |
+ "proto" |
+ ], |
+ "enumDescriptions": [ |
+ "Responses with Content-Type of application/json", |
+ "Media download with context-dependent Content-Type", |
+ "Responses with Content-Type of application/x-protobuf" |
+ ], |
+ "location": "query", |
+ "type": "string" |
+ }, |
+ "access_token": { |
+ "description": "OAuth access token.", |
+ "location": "query", |
+ "type": "string" |
+ }, |
+ "key": { |
+ "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", |
+ "location": "query", |
+ "type": "string" |
+ }, |
+ "quotaUser": { |
+ "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", |
+ "location": "query", |
+ "type": "string" |
+ }, |
+ "pp": { |
+ "default": "true", |
+ "description": "Pretty-print response.", |
+ "location": "query", |
+ "type": "boolean" |
+ }, |
+ "oauth_token": { |
+ "description": "OAuth 2.0 token for the current user.", |
+ "location": "query", |
+ "type": "string" |
+ }, |
+ "bearer_token": { |
+ "description": "OAuth bearer token.", |
+ "location": "query", |
+ "type": "string" |
+ }, |
+ "upload_protocol": { |
+ "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", |
+ "location": "query", |
+ "type": "string" |
+ }, |
+ "prettyPrint": { |
+ "default": "true", |
+ "description": "Returns response with indentations and line breaks.", |
+ "location": "query", |
+ "type": "boolean" |
+ }, |
+ "fields": { |
+ "description": "Selector specifying which fields to include in a partial response.", |
+ "location": "query", |
+ "type": "string" |
+ }, |
+ "uploadType": { |
+ "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", |
+ "location": "query", |
+ "type": "string" |
+ }, |
+ "$.xgafv": { |
+ "description": "V1 error format.", |
+ "enum": [ |
+ "1", |
+ "2" |
+ ], |
+ "enumDescriptions": [ |
+ "v1 error format", |
+ "v2 error format" |
+ ], |
+ "location": "query", |
+ "type": "string" |
+ }, |
+ "callback": { |
+ "description": "JSONP", |
+ "location": "query", |
+ "type": "string" |
+ } |
+ }, |
+ "protocol": "rest", |
+ "resources": { |
+ "projects": { |
+ "resources": { |
+ "locations": { |
+ "methods": { |
+ "get": { |
+ "description": "Get information about a location.", |
+ "httpMethod": "GET", |
+ "id": "cloudfunctions.projects.locations.get", |
+ "parameterOrder": [ |
+ "name" |
+ ], |
+ "parameters": { |
+ "name": { |
+ "description": "Resource name for the location.", |
+ "location": "path", |
+ "pattern": "^projects/[^/]+/locations/[^/]+$", |
+ "required": true, |
+ "type": "string" |
+ } |
+ }, |
+ "path": "v1/{+name}", |
+ "response": { |
+ "$ref": "Location" |
+ }, |
+ "scopes": [ |
+ "https://www.googleapis.com/auth/cloud-platform" |
+ ] |
+ } |
+ } |
+ } |
+ } |
+ } |
+ }, |
+ "revision": "20170321", |
+ "rootUrl": "https://cloudfunctions.googleapis.com/", |
+ "schemas": { |
+ "Location": { |
+ "description": "A resource that represents Google Cloud Platform location.", |
+ "id": "Location", |
+ "properties": { |
+ "labels": { |
+ "additionalProperties": { |
+ "type": "string" |
+ }, |
+ "description": "Cross-service attributes for the location. For example\n\n {\"cloud.googleapis.com/region\": \"us-east1\"}", |
+ "type": "object" |
+ }, |
+ "name": { |
+ "description": "Resource name for the location, which may vary between implementations.\nFor example: `\"projects/example-project/locations/us-east1\"`", |
+ "type": "string" |
+ }, |
+ "locationId": { |
+ "description": "The canonical id for this location. For example: `\"us-east1\"`.", |
+ "type": "string" |
+ }, |
+ "metadata": { |
+ "additionalProperties": { |
+ "description": "Properties of the object. Contains field @type with type URL.", |
+ "type": "any" |
+ }, |
+ "description": "Service-specific metadata. For example the available capacity at the given\nlocation.", |
+ "type": "object" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "OperationMetadataV1Beta2": { |
+ "description": "Metadata describing an Operation", |
+ "id": "OperationMetadataV1Beta2", |
+ "properties": { |
+ "target": { |
+ "description": "Target of the operation - for example\nprojects/project-1/locations/region-1/functions/function-1", |
+ "type": "string" |
+ }, |
+ "request": { |
+ "additionalProperties": { |
+ "description": "Properties of the object. Contains field @type with type URL.", |
+ "type": "any" |
+ }, |
+ "description": "The original request that started the operation.", |
+ "type": "object" |
+ }, |
+ "type": { |
+ "description": "Type of operation.", |
+ "enum": [ |
+ "OPERATION_UNSPECIFIED", |
+ "CREATE_FUNCTION", |
+ "UPDATE_FUNCTION", |
+ "DELETE_FUNCTION" |
+ ], |
+ "enumDescriptions": [ |
+ "Unknown operation type.", |
+ "Triggered by CreateFunction call", |
+ "Triggered by UpdateFunction call", |
+ "Triggered by DeleteFunction call." |
+ ], |
+ "type": "string" |
+ } |
+ }, |
+ "type": "object" |
+ } |
+ }, |
+ "servicePath": "", |
+ "title": "Google Cloud Functions API", |
+ "version": "v1" |
+} |