Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(413)

Side by Side Diff: discovery/googleapis/cloudfunctions__v1.json

Issue 3003493002: Api-Roll 53: 2017-08-21 (Closed)
Patch Set: Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « discovery/googleapis/clouddebugger__v2.json ('k') | discovery/googleapis/cloudkms__v1.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 { 1 {
2 "auth": { 2 "auth": {
3 "oauth2": { 3 "oauth2": {
4 "scopes": { 4 "scopes": {
5 "https://www.googleapis.com/auth/cloud-platform": { 5 "https://www.googleapis.com/auth/cloud-platform": {
6 "description": "View and manage your data across Google Clou d Platform services" 6 "description": "View and manage your data across Google Clou d Platform services"
7 } 7 }
8 } 8 }
9 } 9 }
10 }, 10 },
11 "basePath": "", 11 "basePath": "",
12 "baseUrl": "https://cloudfunctions.googleapis.com/", 12 "baseUrl": "https://cloudfunctions.googleapis.com/",
13 "batchPath": "batch", 13 "batchPath": "batch",
14 "canonicalName": "Cloud Functions", 14 "canonicalName": "Cloud Functions",
15 "description": "API for managing lightweight user-provided functions execute d in response to events.", 15 "description": "API for managing lightweight user-provided functions execute d in response to events.",
16 "discoveryVersion": "v1", 16 "discoveryVersion": "v1",
17 "documentationLink": "https://cloud.google.com/functions", 17 "documentationLink": "https://cloud.google.com/functions",
18 "icons": { 18 "icons": {
19 "x16": "http://www.google.com/images/icons/product/search-16.gif", 19 "x16": "http://www.google.com/images/icons/product/search-16.gif",
20 "x32": "http://www.google.com/images/icons/product/search-32.gif" 20 "x32": "http://www.google.com/images/icons/product/search-32.gif"
21 }, 21 },
22 "id": "cloudfunctions:v1", 22 "id": "cloudfunctions:v1",
23 "kind": "discovery#restDescription", 23 "kind": "discovery#restDescription",
24 "name": "cloudfunctions", 24 "name": "cloudfunctions",
25 "ownerDomain": "google.com", 25 "ownerDomain": "google.com",
26 "ownerName": "Google", 26 "ownerName": "Google",
27 "parameters": { 27 "parameters": {
28 "pp": {
29 "default": "true",
30 "description": "Pretty-print response.",
31 "location": "query",
32 "type": "boolean"
33 },
34 "bearer_token": {
35 "description": "OAuth bearer token.",
36 "location": "query",
37 "type": "string"
38 },
39 "oauth_token": {
40 "description": "OAuth 2.0 token for the current user.",
41 "location": "query",
42 "type": "string"
43 },
28 "upload_protocol": { 44 "upload_protocol": {
29 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").", 45 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").",
30 "location": "query", 46 "location": "query",
31 "type": "string" 47 "type": "string"
32 }, 48 },
33 "prettyPrint": { 49 "prettyPrint": {
34 "default": "true", 50 "default": "true",
35 "description": "Returns response with indentations and line breaks." , 51 "description": "Returns response with indentations and line breaks." ,
36 "location": "query", 52 "location": "query",
37 "type": "boolean" 53 "type": "boolean"
38 }, 54 },
55 "fields": {
56 "description": "Selector specifying which fields to include in a par tial response.",
57 "location": "query",
58 "type": "string"
59 },
39 "uploadType": { 60 "uploadType": {
40 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").", 61 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").",
41 "location": "query", 62 "location": "query",
42 "type": "string" 63 "type": "string"
43 }, 64 },
44 "fields": {
45 "description": "Selector specifying which fields to include in a par tial response.",
46 "location": "query",
47 "type": "string"
48 },
49 "callback": {
50 "description": "JSONP",
51 "location": "query",
52 "type": "string"
53 },
54 "$.xgafv": { 65 "$.xgafv": {
55 "description": "V1 error format.", 66 "description": "V1 error format.",
56 "enum": [ 67 "enum": [
57 "1", 68 "1",
58 "2" 69 "2"
59 ], 70 ],
60 "enumDescriptions": [ 71 "enumDescriptions": [
61 "v1 error format", 72 "v1 error format",
62 "v2 error format" 73 "v2 error format"
63 ], 74 ],
64 "location": "query", 75 "location": "query",
65 "type": "string" 76 "type": "string"
66 }, 77 },
78 "callback": {
79 "description": "JSONP",
80 "location": "query",
81 "type": "string"
82 },
67 "alt": { 83 "alt": {
68 "default": "json", 84 "default": "json",
69 "description": "Data format for response.", 85 "description": "Data format for response.",
70 "enum": [ 86 "enum": [
71 "json", 87 "json",
72 "media", 88 "media",
73 "proto" 89 "proto"
74 ], 90 ],
75 "enumDescriptions": [ 91 "enumDescriptions": [
76 "Responses with Content-Type of application/json", 92 "Responses with Content-Type of application/json",
(...skipping 10 matching lines...) Expand all
87 }, 103 },
88 "access_token": { 104 "access_token": {
89 "description": "OAuth access token.", 105 "description": "OAuth access token.",
90 "location": "query", 106 "location": "query",
91 "type": "string" 107 "type": "string"
92 }, 108 },
93 "quotaUser": { 109 "quotaUser": {
94 "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.", 110 "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.",
95 "location": "query", 111 "location": "query",
96 "type": "string" 112 "type": "string"
97 },
98 "pp": {
99 "default": "true",
100 "description": "Pretty-print response.",
101 "location": "query",
102 "type": "boolean"
103 },
104 "oauth_token": {
105 "description": "OAuth 2.0 token for the current user.",
106 "location": "query",
107 "type": "string"
108 },
109 "bearer_token": {
110 "description": "OAuth bearer token.",
111 "location": "query",
112 "type": "string"
113 } 113 }
114 }, 114 },
115 "protocol": "rest", 115 "protocol": "rest",
116 "resources": { 116 "resources": {
117 "projects": {
118 "resources": {
119 "locations": {
120 "methods": {
121 "list": {
122 "description": "Lists information about the supporte d locations for this service.",
123 "httpMethod": "GET",
124 "id": "cloudfunctions.projects.locations.list",
125 "parameterOrder": [
126 "name"
127 ],
128 "parameters": {
129 "filter": {
130 "description": "The standard list filter.",
131 "location": "query",
132 "type": "string"
133 },
134 "pageToken": {
135 "description": "The standard list page token .",
136 "location": "query",
137 "type": "string"
138 },
139 "name": {
140 "description": "The resource that owns the l ocations collection, if applicable.",
141 "location": "path",
142 "pattern": "^projects/[^/]+$",
143 "required": true,
144 "type": "string"
145 },
146 "pageSize": {
147 "description": "The standard list page size. ",
148 "format": "int32",
149 "location": "query",
150 "type": "integer"
151 }
152 },
153 "path": "v1/{+name}/locations",
154 "response": {
155 "$ref": "ListLocationsResponse"
156 },
157 "scopes": [
158 "https://www.googleapis.com/auth/cloud-platform"
159 ]
160 }
161 }
162 }
163 }
164 },
165 "operations": { 117 "operations": {
166 "methods": { 118 "methods": {
167 "get": { 119 "get": {
168 "description": "Gets the latest state of a long-running oper ation. Clients can use this\nmethod to poll the operation result at intervals a s recommended by the API\nservice.", 120 "description": "Gets the latest state of a long-running oper ation. Clients can use this\nmethod to poll the operation result at intervals a s recommended by the API\nservice.",
169 "httpMethod": "GET", 121 "httpMethod": "GET",
170 "id": "cloudfunctions.operations.get", 122 "id": "cloudfunctions.operations.get",
171 "parameterOrder": [ 123 "parameterOrder": [
172 "name" 124 "name"
173 ], 125 ],
174 "parameters": { 126 "parameters": {
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 }, 170 },
219 "path": "v1/operations", 171 "path": "v1/operations",
220 "response": { 172 "response": {
221 "$ref": "ListOperationsResponse" 173 "$ref": "ListOperationsResponse"
222 }, 174 },
223 "scopes": [ 175 "scopes": [
224 "https://www.googleapis.com/auth/cloud-platform" 176 "https://www.googleapis.com/auth/cloud-platform"
225 ] 177 ]
226 } 178 }
227 } 179 }
180 },
181 "projects": {
182 "resources": {
183 "locations": {
184 "methods": {
185 "list": {
186 "description": "Lists information about the supporte d locations for this service.",
187 "httpMethod": "GET",
188 "id": "cloudfunctions.projects.locations.list",
189 "parameterOrder": [
190 "name"
191 ],
192 "parameters": {
193 "filter": {
194 "description": "The standard list filter.",
195 "location": "query",
196 "type": "string"
197 },
198 "pageToken": {
199 "description": "The standard list page token .",
200 "location": "query",
201 "type": "string"
202 },
203 "name": {
204 "description": "The resource that owns the l ocations collection, if applicable.",
205 "location": "path",
206 "pattern": "^projects/[^/]+$",
207 "required": true,
208 "type": "string"
209 },
210 "pageSize": {
211 "description": "The standard list page size. ",
212 "format": "int32",
213 "location": "query",
214 "type": "integer"
215 }
216 },
217 "path": "v1/{+name}/locations",
218 "response": {
219 "$ref": "ListLocationsResponse"
220 },
221 "scopes": [
222 "https://www.googleapis.com/auth/cloud-platform"
223 ]
224 }
225 }
226 }
227 }
228 } 228 }
229 }, 229 },
230 "revision": "20170726", 230 "revision": "20170817",
231 "rootUrl": "https://cloudfunctions.googleapis.com/", 231 "rootUrl": "https://cloudfunctions.googleapis.com/",
232 "schemas": { 232 "schemas": {
233 "OperationMetadataV1Beta2": { 233 "OperationMetadataV1Beta2": {
234 "description": "Metadata describing an Operation", 234 "description": "Metadata describing an Operation",
235 "id": "OperationMetadataV1Beta2", 235 "id": "OperationMetadataV1Beta2",
236 "properties": { 236 "properties": {
237 "target": { 237 "target": {
238 "description": "Target of the operation - for example\nproje cts/project-1/locations/region-1/functions/function-1", 238 "description": "Target of the operation - for example\nproje cts/project-1/locations/region-1/functions/function-1",
239 "type": "string" 239 "type": "string"
240 }, 240 },
(...skipping 21 matching lines...) Expand all
262 ], 262 ],
263 "type": "string" 263 "type": "string"
264 } 264 }
265 }, 265 },
266 "type": "object" 266 "type": "object"
267 }, 267 },
268 "Status": { 268 "Status": {
269 "description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RP C APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is desig ned to be:\n\n- Simple to use and understand for most users\n- Flexible enough t o meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pie ces of data: error code, error message,\nand error details. The error code shoul d be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message tha t helps\ndevelopers *understand* and *resolve* the error. If a localized user-fa cing\nerror message is needed, put the localized message in the error details or \nlocalize it in the client. The optional error details may contain arbitrary\ni nformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` that can be used for common error conditions.\n\n# Lang uage mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` mess age is\nexposed in different client libraries and different wire protocols, it c an be\nmapped differently. For example, it will likely be mapped to some excepti ons\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n \nThe error model and the `Status` message can be used in a variety of\nenvironm ents, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n - Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step m ay\n have a `Status` message for error reporting.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\ n- Asynchronous operations. If an API call embeds asynchronous operation\n re sults in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are store d in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.", 269 "description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RP C APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is desig ned to be:\n\n- Simple to use and understand for most users\n- Flexible enough t o meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pie ces of data: error code, error message,\nand error details. The error code shoul d be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message tha t helps\ndevelopers *understand* and *resolve* the error. If a localized user-fa cing\nerror message is needed, put the localized message in the error details or \nlocalize it in the client. The optional error details may contain arbitrary\ni nformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` that can be used for common error conditions.\n\n# Lang uage mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` mess age is\nexposed in different client libraries and different wire protocols, it c an be\nmapped differently. For example, it will likely be mapped to some excepti ons\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n \nThe error model and the `Status` message can be used in a variety of\nenvironm ents, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n - Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step m ay\n have a `Status` message for error reporting.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\ n- Asynchronous operations. If an API call embeds asynchronous operation\n re sults in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are store d in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.",
270 "id": "Status", 270 "id": "Status",
271 "properties": { 271 "properties": {
272 "message": {
273 "description": "A developer-facing error message, which shou ld be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.",
274 "type": "string"
275 },
276 "details": { 272 "details": {
277 "description": "A list of messages that carry the error deta ils. There is a common set of\nmessage types for APIs to use.", 273 "description": "A list of messages that carry the error deta ils. There is a common set of\nmessage types for APIs to use.",
278 "items": { 274 "items": {
279 "additionalProperties": { 275 "additionalProperties": {
280 "description": "Properties of the object. Contains f ield @type with type URL.", 276 "description": "Properties of the object. Contains f ield @type with type URL.",
281 "type": "any" 277 "type": "any"
282 }, 278 },
283 "type": "object" 279 "type": "object"
284 }, 280 },
285 "type": "array" 281 "type": "array"
286 }, 282 },
287 "code": { 283 "code": {
288 "description": "The status code, which should be an enum val ue of google.rpc.Code.", 284 "description": "The status code, which should be an enum val ue of google.rpc.Code.",
289 "format": "int32", 285 "format": "int32",
290 "type": "integer" 286 "type": "integer"
287 },
288 "message": {
289 "description": "A developer-facing error message, which shou ld be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.",
290 "type": "string"
291 } 291 }
292 }, 292 },
293 "type": "object" 293 "type": "object"
294 }, 294 },
295 "ListLocationsResponse": { 295 "ListLocationsResponse": {
296 "description": "The response message for Locations.ListLocations.", 296 "description": "The response message for Locations.ListLocations.",
297 "id": "ListLocationsResponse", 297 "id": "ListLocationsResponse",
298 "properties": { 298 "properties": {
299 "nextPageToken": { 299 "nextPageToken": {
300 "description": "The standard List next-page token.", 300 "description": "The standard List next-page token.",
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
355 }, 355 },
356 "type": "array" 356 "type": "array"
357 } 357 }
358 }, 358 },
359 "type": "object" 359 "type": "object"
360 }, 360 },
361 "Operation": { 361 "Operation": {
362 "description": "This resource represents a long-running operation th at is the result of a\nnetwork API call.", 362 "description": "This resource represents a long-running operation th at is the result of a\nnetwork API call.",
363 "id": "Operation", 363 "id": "Operation",
364 "properties": { 364 "properties": {
365 "done": {
366 "description": "If the value is `false`, it means the operat ion is still in progress.\nIf true, the operation is completed, and either `erro r` or `response` is\navailable.",
367 "type": "boolean"
368 },
369 "response": {
370 "additionalProperties": {
371 "description": "Properties of the object. Contains field @type with type URL.",
372 "type": "any"
373 },
374 "description": "The normal response of the operation in case of success. If the original\nmethod returns no data on success, such as `Delet e`, the response is\n`google.protobuf.Empty`. If the original method is standar d\n`Get`/`Create`/`Update`, the response should be the resource. For other\nmet hods, the response should have the type `XxxResponse`, where `Xxx`\nis the origi nal method name. For example, if the original method name\nis `TakeSnapshot()`, the inferred response type is\n`TakeSnapshotResponse`.",
375 "type": "object"
376 },
377 "name": { 365 "name": {
378 "description": "The server-assigned name, which is only uniq ue within the same service that\noriginally returns it. If you use the default H TTP mapping, the\n`name` should have the format of `operations/some/unique/name` .", 366 "description": "The server-assigned name, which is only uniq ue within the same service that\noriginally returns it. If you use the default H TTP mapping, the\n`name` should have the format of `operations/some/unique/name` .",
379 "type": "string" 367 "type": "string"
380 }, 368 },
381 "error": { 369 "error": {
382 "$ref": "Status", 370 "$ref": "Status",
383 "description": "The error result of the operation in case of failure or cancellation." 371 "description": "The error result of the operation in case of failure or cancellation."
384 }, 372 },
385 "metadata": { 373 "metadata": {
386 "additionalProperties": { 374 "additionalProperties": {
387 "description": "Properties of the object. Contains field @type with type URL.", 375 "description": "Properties of the object. Contains field @type with type URL.",
388 "type": "any" 376 "type": "any"
389 }, 377 },
390 "description": "Service-specific metadata associated with th e operation. It typically\ncontains progress information and common metadata su ch as create time.\nSome services might not provide such metadata. Any method t hat returns a\nlong-running operation should document the metadata type, if any. ", 378 "description": "Service-specific metadata associated with th e operation. It typically\ncontains progress information and common metadata su ch as create time.\nSome services might not provide such metadata. Any method t hat returns a\nlong-running operation should document the metadata type, if any. ",
391 "type": "object" 379 "type": "object"
380 },
381 "done": {
382 "description": "If the value is `false`, it means the operat ion is still in progress.\nIf true, the operation is completed, and either `erro r` or `response` is\navailable.",
383 "type": "boolean"
384 },
385 "response": {
386 "additionalProperties": {
387 "description": "Properties of the object. Contains field @type with type URL.",
388 "type": "any"
389 },
390 "description": "The normal response of the operation in case of success. If the original\nmethod returns no data on success, such as `Delet e`, the response is\n`google.protobuf.Empty`. If the original method is standar d\n`Get`/`Create`/`Update`, the response should be the resource. For other\nmet hods, the response should have the type `XxxResponse`, where `Xxx`\nis the origi nal method name. For example, if the original method name\nis `TakeSnapshot()`, the inferred response type is\n`TakeSnapshotResponse`.",
391 "type": "object"
392 } 392 }
393 }, 393 },
394 "type": "object" 394 "type": "object"
395 } 395 }
396 }, 396 },
397 "servicePath": "", 397 "servicePath": "",
398 "title": "Google Cloud Functions API", 398 "title": "Google Cloud Functions API",
399 "version": "v1" 399 "version": "v1"
400 } 400 }
OLDNEW
« no previous file with comments | « discovery/googleapis/clouddebugger__v2.json ('k') | discovery/googleapis/cloudkms__v1.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698