| OLD | NEW |
| 1 { | 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": "", | 2 "basePath": "", |
| 12 "baseUrl": "https://cloudfunctions.googleapis.com/", | 3 "baseUrl": "https://cloudfunctions.googleapis.com/", |
| 13 "batchPath": "batch", | 4 "batchPath": "batch", |
| 14 "canonicalName": "Cloud Functions", | 5 "canonicalName": "Cloud Functions", |
| 15 "description": "API for managing lightweight user-provided functions execute
d in response to events.", | 6 "description": "API for managing lightweight user-provided functions execute
d in response to events.", |
| 16 "discoveryVersion": "v1", | 7 "discoveryVersion": "v1", |
| 17 "documentationLink": "https://cloud.google.com/functions", | 8 "documentationLink": "https://cloud.google.com/functions", |
| 18 "icons": { | 9 "icons": { |
| 19 "x16": "http://www.google.com/images/icons/product/search-16.gif", | 10 "x16": "http://www.google.com/images/icons/product/search-16.gif", |
| 20 "x32": "http://www.google.com/images/icons/product/search-32.gif" | 11 "x32": "http://www.google.com/images/icons/product/search-32.gif" |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", | 67 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", |
| 77 "location": "query", | 68 "location": "query", |
| 78 "type": "string" | 69 "type": "string" |
| 79 }, | 70 }, |
| 80 "prettyPrint": { | 71 "prettyPrint": { |
| 81 "default": "true", | 72 "default": "true", |
| 82 "description": "Returns response with indentations and line breaks."
, | 73 "description": "Returns response with indentations and line breaks."
, |
| 83 "location": "query", | 74 "location": "query", |
| 84 "type": "boolean" | 75 "type": "boolean" |
| 85 }, | 76 }, |
| 77 "uploadType": { |
| 78 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", |
| 79 "location": "query", |
| 80 "type": "string" |
| 81 }, |
| 86 "fields": { | 82 "fields": { |
| 87 "description": "Selector specifying which fields to include in a par
tial response.", | 83 "description": "Selector specifying which fields to include in a par
tial response.", |
| 88 "location": "query", | 84 "location": "query", |
| 89 "type": "string" | 85 "type": "string" |
| 90 }, | 86 }, |
| 91 "uploadType": { | |
| 92 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", | |
| 93 "location": "query", | |
| 94 "type": "string" | |
| 95 }, | |
| 96 "$.xgafv": { | 87 "$.xgafv": { |
| 97 "description": "V1 error format.", | 88 "description": "V1 error format.", |
| 98 "enum": [ | 89 "enum": [ |
| 99 "1", | 90 "1", |
| 100 "2" | 91 "2" |
| 101 ], | 92 ], |
| 102 "enumDescriptions": [ | 93 "enumDescriptions": [ |
| 103 "v1 error format", | 94 "v1 error format", |
| 104 "v2 error format" | 95 "v2 error format" |
| 105 ], | 96 ], |
| 106 "location": "query", | 97 "location": "query", |
| 107 "type": "string" | 98 "type": "string" |
| 108 }, | 99 }, |
| 109 "callback": { | 100 "callback": { |
| 110 "description": "JSONP", | 101 "description": "JSONP", |
| 111 "location": "query", | 102 "location": "query", |
| 112 "type": "string" | 103 "type": "string" |
| 113 } | 104 } |
| 114 }, | 105 }, |
| 115 "protocol": "rest", | 106 "protocol": "rest", |
| 116 "resources": { | 107 "resources": {}, |
| 117 "projects": { | 108 "revision": "20170412", |
| 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/", | 109 "rootUrl": "https://cloudfunctions.googleapis.com/", |
| 152 "schemas": { | 110 "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": { | 111 "OperationMetadataV1Beta2": { |
| 184 "description": "Metadata describing an Operation", | 112 "description": "Metadata describing an Operation", |
| 185 "id": "OperationMetadataV1Beta2", | 113 "id": "OperationMetadataV1Beta2", |
| 186 "properties": { | 114 "properties": { |
| 187 "target": { | 115 "target": { |
| 188 "description": "Target of the operation - for example\nproje
cts/project-1/locations/region-1/functions/function-1", | 116 "description": "Target of the operation - for example\nproje
cts/project-1/locations/region-1/functions/function-1", |
| 189 "type": "string" | 117 "type": "string" |
| 190 }, | 118 }, |
| 191 "request": { | 119 "request": { |
| 192 "additionalProperties": { | 120 "additionalProperties": { |
| (...skipping 20 matching lines...) Expand all Loading... |
| 213 "type": "string" | 141 "type": "string" |
| 214 } | 142 } |
| 215 }, | 143 }, |
| 216 "type": "object" | 144 "type": "object" |
| 217 } | 145 } |
| 218 }, | 146 }, |
| 219 "servicePath": "", | 147 "servicePath": "", |
| 220 "title": "Google Cloud Functions API", | 148 "title": "Google Cloud Functions API", |
| 221 "version": "v1" | 149 "version": "v1" |
| 222 } | 150 } |
| OLD | NEW |