OLD | NEW |
(Empty) | |
| 1 { |
| 2 "auth": { |
| 3 "oauth2": { |
| 4 "scopes": { |
| 5 "https://www.googleapis.com/auth/cloud-platform": { |
| 6 "description": "View and manage your data across Google Clou
d Platform services" |
| 7 } |
| 8 } |
| 9 } |
| 10 }, |
| 11 "basePath": "", |
| 12 "baseUrl": "https://cloudfunctions.googleapis.com/", |
| 13 "batchPath": "batch", |
| 14 "canonicalName": "Cloud Functions", |
| 15 "description": "API for managing lightweight user-provided functions execute
d in response to events.", |
| 16 "discoveryVersion": "v1", |
| 17 "documentationLink": "https://cloud.google.com/functions", |
| 18 "icons": { |
| 19 "x16": "http://www.google.com/images/icons/product/search-16.gif", |
| 20 "x32": "http://www.google.com/images/icons/product/search-32.gif" |
| 21 }, |
| 22 "id": "cloudfunctions:v1", |
| 23 "kind": "discovery#restDescription", |
| 24 "name": "cloudfunctions", |
| 25 "ownerDomain": "google.com", |
| 26 "ownerName": "Google", |
| 27 "parameters": { |
| 28 "alt": { |
| 29 "default": "json", |
| 30 "description": "Data format for response.", |
| 31 "enum": [ |
| 32 "json", |
| 33 "media", |
| 34 "proto" |
| 35 ], |
| 36 "enumDescriptions": [ |
| 37 "Responses with Content-Type of application/json", |
| 38 "Media download with context-dependent Content-Type", |
| 39 "Responses with Content-Type of application/x-protobuf" |
| 40 ], |
| 41 "location": "query", |
| 42 "type": "string" |
| 43 }, |
| 44 "access_token": { |
| 45 "description": "OAuth access token.", |
| 46 "location": "query", |
| 47 "type": "string" |
| 48 }, |
| 49 "key": { |
| 50 "description": "API key. Your API key identifies your project and pr
ovides you with API access, quota, and reports. Required unless you provide an O
Auth 2.0 token.", |
| 51 "location": "query", |
| 52 "type": "string" |
| 53 }, |
| 54 "quotaUser": { |
| 55 "description": "Available to use for quota purposes for server-side
applications. Can be any arbitrary string assigned to a user, but should not exc
eed 40 characters.", |
| 56 "location": "query", |
| 57 "type": "string" |
| 58 }, |
| 59 "pp": { |
| 60 "default": "true", |
| 61 "description": "Pretty-print response.", |
| 62 "location": "query", |
| 63 "type": "boolean" |
| 64 }, |
| 65 "oauth_token": { |
| 66 "description": "OAuth 2.0 token for the current user.", |
| 67 "location": "query", |
| 68 "type": "string" |
| 69 }, |
| 70 "bearer_token": { |
| 71 "description": "OAuth bearer token.", |
| 72 "location": "query", |
| 73 "type": "string" |
| 74 }, |
| 75 "upload_protocol": { |
| 76 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", |
| 77 "location": "query", |
| 78 "type": "string" |
| 79 }, |
| 80 "prettyPrint": { |
| 81 "default": "true", |
| 82 "description": "Returns response with indentations and line breaks."
, |
| 83 "location": "query", |
| 84 "type": "boolean" |
| 85 }, |
| 86 "fields": { |
| 87 "description": "Selector specifying which fields to include in a par
tial response.", |
| 88 "location": "query", |
| 89 "type": "string" |
| 90 }, |
| 91 "uploadType": { |
| 92 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", |
| 93 "location": "query", |
| 94 "type": "string" |
| 95 }, |
| 96 "$.xgafv": { |
| 97 "description": "V1 error format.", |
| 98 "enum": [ |
| 99 "1", |
| 100 "2" |
| 101 ], |
| 102 "enumDescriptions": [ |
| 103 "v1 error format", |
| 104 "v2 error format" |
| 105 ], |
| 106 "location": "query", |
| 107 "type": "string" |
| 108 }, |
| 109 "callback": { |
| 110 "description": "JSONP", |
| 111 "location": "query", |
| 112 "type": "string" |
| 113 } |
| 114 }, |
| 115 "protocol": "rest", |
| 116 "resources": { |
| 117 "projects": { |
| 118 "resources": { |
| 119 "locations": { |
| 120 "methods": { |
| 121 "get": { |
| 122 "description": "Get information about a location.", |
| 123 "httpMethod": "GET", |
| 124 "id": "cloudfunctions.projects.locations.get", |
| 125 "parameterOrder": [ |
| 126 "name" |
| 127 ], |
| 128 "parameters": { |
| 129 "name": { |
| 130 "description": "Resource name for the locati
on.", |
| 131 "location": "path", |
| 132 "pattern": "^projects/[^/]+/locations/[^/]+$
", |
| 133 "required": true, |
| 134 "type": "string" |
| 135 } |
| 136 }, |
| 137 "path": "v1/{+name}", |
| 138 "response": { |
| 139 "$ref": "Location" |
| 140 }, |
| 141 "scopes": [ |
| 142 "https://www.googleapis.com/auth/cloud-platform" |
| 143 ] |
| 144 } |
| 145 } |
| 146 } |
| 147 } |
| 148 } |
| 149 }, |
| 150 "revision": "20170321", |
| 151 "rootUrl": "https://cloudfunctions.googleapis.com/", |
| 152 "schemas": { |
| 153 "Location": { |
| 154 "description": "A resource that represents Google Cloud Platform loc
ation.", |
| 155 "id": "Location", |
| 156 "properties": { |
| 157 "labels": { |
| 158 "additionalProperties": { |
| 159 "type": "string" |
| 160 }, |
| 161 "description": "Cross-service attributes for the location. F
or example\n\n {\"cloud.googleapis.com/region\": \"us-east1\"}", |
| 162 "type": "object" |
| 163 }, |
| 164 "name": { |
| 165 "description": "Resource name for the location, which may va
ry between implementations.\nFor example: `\"projects/example-project/locations/
us-east1\"`", |
| 166 "type": "string" |
| 167 }, |
| 168 "locationId": { |
| 169 "description": "The canonical id for this location. For exam
ple: `\"us-east1\"`.", |
| 170 "type": "string" |
| 171 }, |
| 172 "metadata": { |
| 173 "additionalProperties": { |
| 174 "description": "Properties of the object. Contains field
@type with type URL.", |
| 175 "type": "any" |
| 176 }, |
| 177 "description": "Service-specific metadata. For example the a
vailable capacity at the given\nlocation.", |
| 178 "type": "object" |
| 179 } |
| 180 }, |
| 181 "type": "object" |
| 182 }, |
| 183 "OperationMetadataV1Beta2": { |
| 184 "description": "Metadata describing an Operation", |
| 185 "id": "OperationMetadataV1Beta2", |
| 186 "properties": { |
| 187 "target": { |
| 188 "description": "Target of the operation - for example\nproje
cts/project-1/locations/region-1/functions/function-1", |
| 189 "type": "string" |
| 190 }, |
| 191 "request": { |
| 192 "additionalProperties": { |
| 193 "description": "Properties of the object. Contains field
@type with type URL.", |
| 194 "type": "any" |
| 195 }, |
| 196 "description": "The original request that started the operat
ion.", |
| 197 "type": "object" |
| 198 }, |
| 199 "type": { |
| 200 "description": "Type of operation.", |
| 201 "enum": [ |
| 202 "OPERATION_UNSPECIFIED", |
| 203 "CREATE_FUNCTION", |
| 204 "UPDATE_FUNCTION", |
| 205 "DELETE_FUNCTION" |
| 206 ], |
| 207 "enumDescriptions": [ |
| 208 "Unknown operation type.", |
| 209 "Triggered by CreateFunction call", |
| 210 "Triggered by UpdateFunction call", |
| 211 "Triggered by DeleteFunction call." |
| 212 ], |
| 213 "type": "string" |
| 214 } |
| 215 }, |
| 216 "type": "object" |
| 217 } |
| 218 }, |
| 219 "servicePath": "", |
| 220 "title": "Google Cloud Functions API", |
| 221 "version": "v1" |
| 222 } |
OLD | NEW |