OLD | NEW |
1 { | 1 { |
2 "auth": { | 2 "auth": { |
3 "oauth2": { | 3 "oauth2": { |
4 "scopes": { | 4 "scopes": { |
5 "https://www.googleapis.com/auth/cloudruntimeconfig": { | 5 "https://www.googleapis.com/auth/cloudruntimeconfig": { |
6 "description": "Manage your Google Cloud Platform services'
runtime configuration" | 6 "description": "Manage your Google Cloud Platform services'
runtime configuration" |
7 }, | 7 }, |
8 "https://www.googleapis.com/auth/cloud-platform": { | 8 "https://www.googleapis.com/auth/cloud-platform": { |
9 "description": "View and manage your data across Google Clou
d Platform services" | 9 "description": "View and manage your data across Google Clou
d Platform services" |
10 } | 10 } |
(...skipping 10 matching lines...) Expand all Loading... |
21 "icons": { | 21 "icons": { |
22 "x16": "http://www.google.com/images/icons/product/search-16.gif", | 22 "x16": "http://www.google.com/images/icons/product/search-16.gif", |
23 "x32": "http://www.google.com/images/icons/product/search-32.gif" | 23 "x32": "http://www.google.com/images/icons/product/search-32.gif" |
24 }, | 24 }, |
25 "id": "runtimeconfig:v1", | 25 "id": "runtimeconfig:v1", |
26 "kind": "discovery#restDescription", | 26 "kind": "discovery#restDescription", |
27 "name": "runtimeconfig", | 27 "name": "runtimeconfig", |
28 "ownerDomain": "google.com", | 28 "ownerDomain": "google.com", |
29 "ownerName": "Google", | 29 "ownerName": "Google", |
30 "parameters": { | 30 "parameters": { |
| 31 "pp": { |
| 32 "default": "true", |
| 33 "description": "Pretty-print response.", |
| 34 "location": "query", |
| 35 "type": "boolean" |
| 36 }, |
| 37 "bearer_token": { |
| 38 "description": "OAuth bearer token.", |
| 39 "location": "query", |
| 40 "type": "string" |
| 41 }, |
| 42 "oauth_token": { |
| 43 "description": "OAuth 2.0 token for the current user.", |
| 44 "location": "query", |
| 45 "type": "string" |
| 46 }, |
| 47 "upload_protocol": { |
| 48 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", |
| 49 "location": "query", |
| 50 "type": "string" |
| 51 }, |
31 "prettyPrint": { | 52 "prettyPrint": { |
32 "default": "true", | 53 "default": "true", |
33 "description": "Returns response with indentations and line breaks."
, | 54 "description": "Returns response with indentations and line breaks."
, |
34 "location": "query", | 55 "location": "query", |
35 "type": "boolean" | 56 "type": "boolean" |
36 }, | 57 }, |
| 58 "fields": { |
| 59 "description": "Selector specifying which fields to include in a par
tial response.", |
| 60 "location": "query", |
| 61 "type": "string" |
| 62 }, |
37 "uploadType": { | 63 "uploadType": { |
38 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", | 64 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", |
39 "location": "query", | 65 "location": "query", |
40 "type": "string" | 66 "type": "string" |
41 }, | 67 }, |
42 "fields": { | |
43 "description": "Selector specifying which fields to include in a par
tial response.", | |
44 "location": "query", | |
45 "type": "string" | |
46 }, | |
47 "callback": { | |
48 "description": "JSONP", | |
49 "location": "query", | |
50 "type": "string" | |
51 }, | |
52 "$.xgafv": { | 68 "$.xgafv": { |
53 "description": "V1 error format.", | 69 "description": "V1 error format.", |
54 "enum": [ | 70 "enum": [ |
55 "1", | 71 "1", |
56 "2" | 72 "2" |
57 ], | 73 ], |
58 "enumDescriptions": [ | 74 "enumDescriptions": [ |
59 "v1 error format", | 75 "v1 error format", |
60 "v2 error format" | 76 "v2 error format" |
61 ], | 77 ], |
62 "location": "query", | 78 "location": "query", |
63 "type": "string" | 79 "type": "string" |
64 }, | 80 }, |
| 81 "callback": { |
| 82 "description": "JSONP", |
| 83 "location": "query", |
| 84 "type": "string" |
| 85 }, |
65 "alt": { | 86 "alt": { |
66 "default": "json", | 87 "default": "json", |
67 "description": "Data format for response.", | 88 "description": "Data format for response.", |
68 "enum": [ | 89 "enum": [ |
69 "json", | 90 "json", |
70 "media", | 91 "media", |
71 "proto" | 92 "proto" |
72 ], | 93 ], |
73 "enumDescriptions": [ | 94 "enumDescriptions": [ |
74 "Responses with Content-Type of application/json", | 95 "Responses with Content-Type of application/json", |
(...skipping 10 matching lines...) Expand all Loading... |
85 }, | 106 }, |
86 "access_token": { | 107 "access_token": { |
87 "description": "OAuth access token.", | 108 "description": "OAuth access token.", |
88 "location": "query", | 109 "location": "query", |
89 "type": "string" | 110 "type": "string" |
90 }, | 111 }, |
91 "quotaUser": { | 112 "quotaUser": { |
92 "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.", | 113 "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.", |
93 "location": "query", | 114 "location": "query", |
94 "type": "string" | 115 "type": "string" |
95 }, | |
96 "pp": { | |
97 "default": "true", | |
98 "description": "Pretty-print response.", | |
99 "location": "query", | |
100 "type": "boolean" | |
101 }, | |
102 "oauth_token": { | |
103 "description": "OAuth 2.0 token for the current user.", | |
104 "location": "query", | |
105 "type": "string" | |
106 }, | |
107 "bearer_token": { | |
108 "description": "OAuth bearer token.", | |
109 "location": "query", | |
110 "type": "string" | |
111 }, | |
112 "upload_protocol": { | |
113 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", | |
114 "location": "query", | |
115 "type": "string" | |
116 } | 116 } |
117 }, | 117 }, |
118 "protocol": "rest", | 118 "protocol": "rest", |
119 "resources": { | 119 "resources": { |
120 "operations": { | 120 "operations": { |
121 "methods": { | 121 "methods": { |
122 "cancel": { | 122 "cancel": { |
123 "description": "Starts asynchronous cancellation on a long-r
unning operation. The server\nmakes a best effort to cancel the operation, but
success is not\nguaranteed. If the server doesn't support this method, it retur
ns\n`google.rpc.Code.UNIMPLEMENTED`. Clients can use\nOperations.GetOperation o
r\nother methods to check whether the cancellation succeeded or whether the\nope
ration completed despite cancellation. On successful cancellation,\nthe operatio
n is not deleted; instead, it becomes an operation with\nan Operation.error valu
e with a google.rpc.Status.code of 1,\ncorresponding to `Code.CANCELLED`.", | 123 "description": "Starts asynchronous cancellation on a long-r
unning operation. The server\nmakes a best effort to cancel the operation, but
success is not\nguaranteed. If the server doesn't support this method, it retur
ns\n`google.rpc.Code.UNIMPLEMENTED`. Clients can use\nOperations.GetOperation o
r\nother methods to check whether the cancellation succeeded or whether the\nope
ration completed despite cancellation. On successful cancellation,\nthe operatio
n is not deleted; instead, it becomes an operation with\nan Operation.error valu
e with a google.rpc.Status.code of 1,\ncorresponding to `Code.CANCELLED`.", |
124 "httpMethod": "POST", | 124 "httpMethod": "POST", |
125 "id": "runtimeconfig.operations.cancel", | 125 "id": "runtimeconfig.operations.cancel", |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
173 ] | 173 ] |
174 }, | 174 }, |
175 "list": { | 175 "list": { |
176 "description": "Lists operations that match the specified fi
lter in the request. If the\nserver doesn't support this method, it returns `UNI
MPLEMENTED`.\n\nNOTE: the `name` binding allows API services to override the bin
ding\nto use different resource name schemes, such as `users/*/operations`. To\n
override the binding, API services can add a binding such as\n`\"/v1/{name=users
/*}/operations\"` to their service configuration.\nFor backwards compatibility,
the default name includes the operations\ncollection id, however overriding user
s must ensure the name binding\nis the parent resource, without the operations c
ollection id.", | 176 "description": "Lists operations that match the specified fi
lter in the request. If the\nserver doesn't support this method, it returns `UNI
MPLEMENTED`.\n\nNOTE: the `name` binding allows API services to override the bin
ding\nto use different resource name schemes, such as `users/*/operations`. To\n
override the binding, API services can add a binding such as\n`\"/v1/{name=users
/*}/operations\"` to their service configuration.\nFor backwards compatibility,
the default name includes the operations\ncollection id, however overriding user
s must ensure the name binding\nis the parent resource, without the operations c
ollection id.", |
177 "httpMethod": "GET", | 177 "httpMethod": "GET", |
178 "id": "runtimeconfig.operations.list", | 178 "id": "runtimeconfig.operations.list", |
179 "parameterOrder": [ | 179 "parameterOrder": [ |
180 "name" | 180 "name" |
181 ], | 181 ], |
182 "parameters": { | 182 "parameters": { |
183 "filter": { | |
184 "description": "The standard list filter.", | |
185 "location": "query", | |
186 "type": "string" | |
187 }, | |
188 "pageToken": { | 183 "pageToken": { |
189 "description": "The standard list page token.", | 184 "description": "The standard list page token.", |
190 "location": "query", | 185 "location": "query", |
191 "type": "string" | 186 "type": "string" |
192 }, | 187 }, |
193 "name": { | 188 "name": { |
194 "description": "The name of the operation's parent r
esource.", | 189 "description": "The name of the operation's parent r
esource.", |
195 "location": "path", | 190 "location": "path", |
196 "pattern": "^operations$", | 191 "pattern": "^operations$", |
197 "required": true, | 192 "required": true, |
198 "type": "string" | 193 "type": "string" |
199 }, | 194 }, |
200 "pageSize": { | 195 "pageSize": { |
201 "description": "The standard list page size.", | 196 "description": "The standard list page size.", |
202 "format": "int32", | 197 "format": "int32", |
203 "location": "query", | 198 "location": "query", |
204 "type": "integer" | 199 "type": "integer" |
| 200 }, |
| 201 "filter": { |
| 202 "description": "The standard list filter.", |
| 203 "location": "query", |
| 204 "type": "string" |
205 } | 205 } |
206 }, | 206 }, |
207 "path": "v1/{+name}", | 207 "path": "v1/{+name}", |
208 "response": { | 208 "response": { |
209 "$ref": "ListOperationsResponse" | 209 "$ref": "ListOperationsResponse" |
210 }, | 210 }, |
211 "scopes": [ | 211 "scopes": [ |
212 "https://www.googleapis.com/auth/cloud-platform", | 212 "https://www.googleapis.com/auth/cloud-platform", |
213 "https://www.googleapis.com/auth/cloudruntimeconfig" | 213 "https://www.googleapis.com/auth/cloudruntimeconfig" |
214 ] | 214 ] |
215 } | 215 } |
216 } | 216 } |
217 } | 217 } |
218 }, | 218 }, |
219 "revision": "20170620", | 219 "revision": "20170816", |
220 "rootUrl": "https://runtimeconfig.googleapis.com/", | 220 "rootUrl": "https://runtimeconfig.googleapis.com/", |
221 "schemas": { | 221 "schemas": { |
| 222 "CancelOperationRequest": { |
| 223 "description": "The request message for Operations.CancelOperation."
, |
| 224 "id": "CancelOperationRequest", |
| 225 "properties": {}, |
| 226 "type": "object" |
| 227 }, |
| 228 "Status": { |
| 229 "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.", |
| 230 "id": "Status", |
| 231 "properties": { |
| 232 "details": { |
| 233 "description": "A list of messages that carry the error deta
ils. There is a common set of\nmessage types for APIs to use.", |
| 234 "items": { |
| 235 "additionalProperties": { |
| 236 "description": "Properties of the object. Contains f
ield @type with type URL.", |
| 237 "type": "any" |
| 238 }, |
| 239 "type": "object" |
| 240 }, |
| 241 "type": "array" |
| 242 }, |
| 243 "code": { |
| 244 "description": "The status code, which should be an enum val
ue of google.rpc.Code.", |
| 245 "format": "int32", |
| 246 "type": "integer" |
| 247 }, |
| 248 "message": { |
| 249 "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.", |
| 250 "type": "string" |
| 251 } |
| 252 }, |
| 253 "type": "object" |
| 254 }, |
222 "Operation": { | 255 "Operation": { |
223 "description": "This resource represents a long-running operation th
at is the result of a\nnetwork API call.", | 256 "description": "This resource represents a long-running operation th
at is the result of a\nnetwork API call.", |
224 "id": "Operation", | 257 "id": "Operation", |
225 "properties": { | 258 "properties": { |
| 259 "done": { |
| 260 "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.", |
| 261 "type": "boolean" |
| 262 }, |
| 263 "response": { |
| 264 "additionalProperties": { |
| 265 "description": "Properties of the object. Contains field
@type with type URL.", |
| 266 "type": "any" |
| 267 }, |
| 268 "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`.", |
| 269 "type": "object" |
| 270 }, |
226 "name": { | 271 "name": { |
227 "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`
.", | 272 "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`
.", |
228 "type": "string" | 273 "type": "string" |
229 }, | 274 }, |
230 "error": { | 275 "error": { |
231 "$ref": "Status", | 276 "$ref": "Status", |
232 "description": "The error result of the operation in case of
failure or cancellation." | 277 "description": "The error result of the operation in case of
failure or cancellation." |
233 }, | 278 }, |
234 "metadata": { | 279 "metadata": { |
235 "additionalProperties": { | 280 "additionalProperties": { |
236 "description": "Properties of the object. Contains field
@type with type URL.", | 281 "description": "Properties of the object. Contains field
@type with type URL.", |
237 "type": "any" | 282 "type": "any" |
238 }, | 283 }, |
239 "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.
", | 284 "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.
", |
240 "type": "object" | 285 "type": "object" |
241 }, | |
242 "done": { | |
243 "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.", | |
244 "type": "boolean" | |
245 }, | |
246 "response": { | |
247 "additionalProperties": { | |
248 "description": "Properties of the object. Contains field
@type with type URL.", | |
249 "type": "any" | |
250 }, | |
251 "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`.", | |
252 "type": "object" | |
253 } | 286 } |
254 }, | 287 }, |
255 "type": "object" | 288 "type": "object" |
256 }, | 289 }, |
257 "ListOperationsResponse": { | 290 "ListOperationsResponse": { |
258 "description": "The response message for Operations.ListOperations."
, | 291 "description": "The response message for Operations.ListOperations."
, |
259 "id": "ListOperationsResponse", | 292 "id": "ListOperationsResponse", |
260 "properties": { | 293 "properties": { |
| 294 "nextPageToken": { |
| 295 "description": "The standard List next-page token.", |
| 296 "type": "string" |
| 297 }, |
261 "operations": { | 298 "operations": { |
262 "description": "A list of operations that matches the specif
ied filter in the request.", | 299 "description": "A list of operations that matches the specif
ied filter in the request.", |
263 "items": { | 300 "items": { |
264 "$ref": "Operation" | 301 "$ref": "Operation" |
265 }, | 302 }, |
266 "type": "array" | 303 "type": "array" |
267 }, | |
268 "nextPageToken": { | |
269 "description": "The standard List next-page token.", | |
270 "type": "string" | |
271 } | 304 } |
272 }, | 305 }, |
273 "type": "object" | 306 "type": "object" |
274 }, | 307 }, |
275 "Empty": { | 308 "Empty": { |
276 "description": "A generic empty message that you can re-use to avoid
defining duplicated\nempty messages in your APIs. A typical example is to use i
t as the request\nor the response type of an API method. For instance:\n\n se
rvice Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty
);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.", | 309 "description": "A generic empty message that you can re-use to avoid
defining duplicated\nempty messages in your APIs. A typical example is to use i
t as the request\nor the response type of an API method. For instance:\n\n se
rvice Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty
);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.", |
277 "id": "Empty", | 310 "id": "Empty", |
278 "properties": {}, | 311 "properties": {}, |
279 "type": "object" | 312 "type": "object" |
280 }, | |
281 "CancelOperationRequest": { | |
282 "description": "The request message for Operations.CancelOperation."
, | |
283 "id": "CancelOperationRequest", | |
284 "properties": {}, | |
285 "type": "object" | |
286 }, | |
287 "Status": { | |
288 "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.", | |
289 "id": "Status", | |
290 "properties": { | |
291 "code": { | |
292 "description": "The status code, which should be an enum val
ue of google.rpc.Code.", | |
293 "format": "int32", | |
294 "type": "integer" | |
295 }, | |
296 "message": { | |
297 "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.", | |
298 "type": "string" | |
299 }, | |
300 "details": { | |
301 "description": "A list of messages that carry the error deta
ils. There will be a\ncommon set of message types for APIs to use.", | |
302 "items": { | |
303 "additionalProperties": { | |
304 "description": "Properties of the object. Contains f
ield @type with type URL.", | |
305 "type": "any" | |
306 }, | |
307 "type": "object" | |
308 }, | |
309 "type": "array" | |
310 } | |
311 }, | |
312 "type": "object" | |
313 } | 313 } |
314 }, | 314 }, |
315 "servicePath": "", | 315 "servicePath": "", |
316 "title": "Google Cloud Runtime Configuration API", | 316 "title": "Google Cloud Runtime Configuration API", |
317 "version": "v1" | 317 "version": "v1" |
318 } | 318 } |
OLD | NEW |