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:v1beta1", | 25 "id": "runtimeconfig:v1beta1", |
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 "upload_protocol": { | |
32 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", | |
33 "location": "query", | |
34 "type": "string" | |
35 }, | |
36 "prettyPrint": { | |
37 "default": "true", | |
38 "description": "Returns response with indentations and line breaks."
, | |
39 "location": "query", | |
40 "type": "boolean" | |
41 }, | |
42 "fields": { | |
43 "description": "Selector specifying which fields to include in a par
tial response.", | |
44 "location": "query", | |
45 "type": "string" | |
46 }, | |
47 "uploadType": { | |
48 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", | |
49 "location": "query", | |
50 "type": "string" | |
51 }, | |
52 "$.xgafv": { | 31 "$.xgafv": { |
53 "description": "V1 error format.", | 32 "description": "V1 error format.", |
54 "enum": [ | 33 "enum": [ |
55 "1", | 34 "1", |
56 "2" | 35 "2" |
57 ], | 36 ], |
58 "enumDescriptions": [ | 37 "enumDescriptions": [ |
59 "v1 error format", | 38 "v1 error format", |
60 "v2 error format" | 39 "v2 error format" |
61 ], | 40 ], |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 "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.", | 76 "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.", |
98 "location": "query", | 77 "location": "query", |
99 "type": "string" | 78 "type": "string" |
100 }, | 79 }, |
101 "pp": { | 80 "pp": { |
102 "default": "true", | 81 "default": "true", |
103 "description": "Pretty-print response.", | 82 "description": "Pretty-print response.", |
104 "location": "query", | 83 "location": "query", |
105 "type": "boolean" | 84 "type": "boolean" |
106 }, | 85 }, |
| 86 "oauth_token": { |
| 87 "description": "OAuth 2.0 token for the current user.", |
| 88 "location": "query", |
| 89 "type": "string" |
| 90 }, |
107 "bearer_token": { | 91 "bearer_token": { |
108 "description": "OAuth bearer token.", | 92 "description": "OAuth bearer token.", |
109 "location": "query", | 93 "location": "query", |
110 "type": "string" | 94 "type": "string" |
111 }, | 95 }, |
112 "oauth_token": { | 96 "upload_protocol": { |
113 "description": "OAuth 2.0 token for the current user.", | 97 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", |
| 98 "location": "query", |
| 99 "type": "string" |
| 100 }, |
| 101 "prettyPrint": { |
| 102 "default": "true", |
| 103 "description": "Returns response with indentations and line breaks."
, |
| 104 "location": "query", |
| 105 "type": "boolean" |
| 106 }, |
| 107 "fields": { |
| 108 "description": "Selector specifying which fields to include in a par
tial response.", |
| 109 "location": "query", |
| 110 "type": "string" |
| 111 }, |
| 112 "uploadType": { |
| 113 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", |
114 "location": "query", | 114 "location": "query", |
115 "type": "string" | 115 "type": "string" |
116 } | 116 } |
117 }, | 117 }, |
118 "protocol": "rest", | 118 "protocol": "rest", |
119 "resources": { | 119 "resources": { |
120 "projects": { | 120 "projects": { |
121 "resources": { | 121 "resources": { |
122 "configs": { | 122 "configs": { |
123 "methods": { | 123 "methods": { |
124 "getIamPolicy": { | |
125 "description": "Gets the access control policy for a
resource.\nReturns an empty policy if the resource exists and does not have a p
olicy\nset.", | |
126 "httpMethod": "GET", | |
127 "id": "runtimeconfig.projects.configs.getIamPolicy", | |
128 "parameterOrder": [ | |
129 "resource" | |
130 ], | |
131 "parameters": { | |
132 "resource": { | |
133 "description": "REQUIRED: The resource for w
hich the policy is being requested.\n`resource` is usually specified as a path.
For example, a Project\nresource is specified as `projects/{project}`.", | |
134 "location": "path", | |
135 "pattern": "^projects/[^/]+/configs/[^/]+$", | |
136 "required": true, | |
137 "type": "string" | |
138 } | |
139 }, | |
140 "path": "v1beta1/{+resource}:getIamPolicy", | |
141 "response": { | |
142 "$ref": "Policy" | |
143 }, | |
144 "scopes": [ | |
145 "https://www.googleapis.com/auth/cloud-platform"
, | |
146 "https://www.googleapis.com/auth/cloudruntimecon
fig" | |
147 ] | |
148 }, | |
149 "get": { | 124 "get": { |
150 "description": "Gets information about a RuntimeConf
ig resource.", | 125 "description": "Gets information about a RuntimeConf
ig resource.", |
151 "httpMethod": "GET", | 126 "httpMethod": "GET", |
152 "id": "runtimeconfig.projects.configs.get", | 127 "id": "runtimeconfig.projects.configs.get", |
153 "parameterOrder": [ | 128 "parameterOrder": [ |
154 "name" | 129 "name" |
155 ], | 130 ], |
156 "parameters": { | 131 "parameters": { |
157 "name": { | 132 "name": { |
158 "description": "The name of the RuntimeConfi
g resource to retrieve, in the format:\n\n`projects/[PROJECT_ID]/configs/[CONFIG
_NAME]`", | 133 "description": "The name of the RuntimeConfi
g resource to retrieve, in the format:\n\n`projects/[PROJECT_ID]/configs/[CONFIG
_NAME]`", |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
193 }, | 168 }, |
194 "response": { | 169 "response": { |
195 "$ref": "RuntimeConfig" | 170 "$ref": "RuntimeConfig" |
196 }, | 171 }, |
197 "scopes": [ | 172 "scopes": [ |
198 "https://www.googleapis.com/auth/cloud-platform"
, | 173 "https://www.googleapis.com/auth/cloud-platform"
, |
199 "https://www.googleapis.com/auth/cloudruntimecon
fig" | 174 "https://www.googleapis.com/auth/cloudruntimecon
fig" |
200 ] | 175 ] |
201 }, | 176 }, |
202 "testIamPermissions": { | 177 "testIamPermissions": { |
203 "description": "Returns permissions that a caller ha
s on the specified resource.\nIf the resource does not exist, this will return a
n empty set of\npermissions, not a NOT_FOUND error.", | 178 "description": "Returns permissions that a caller ha
s on the specified resource.\nIf the resource does not exist, this will return a
n empty set of\npermissions, not a NOT_FOUND error.\n\nNote: This operation is d
esigned to be used for building permission-aware\nUIs and command-line tools, no
t for authorization checking. This operation\nmay \"fail open\" without warning.
", |
204 "httpMethod": "POST", | 179 "httpMethod": "POST", |
205 "id": "runtimeconfig.projects.configs.testIamPermiss
ions", | 180 "id": "runtimeconfig.projects.configs.testIamPermiss
ions", |
206 "parameterOrder": [ | 181 "parameterOrder": [ |
207 "resource" | 182 "resource" |
208 ], | 183 ], |
209 "parameters": { | 184 "parameters": { |
210 "resource": { | 185 "resource": { |
211 "description": "REQUIRED: The resource for w
hich the policy detail is being requested.\n`resource` is usually specified as a
path. For example, a Project\nresource is specified as `projects/{project}`.", | 186 "description": "REQUIRED: The resource for w
hich the policy detail is being requested.\nSee the operation documentation for
the appropriate value for this field.", |
212 "location": "path", | 187 "location": "path", |
213 "pattern": "^projects/[^/]+/configs/[^/]+$", | 188 "pattern": "^projects/[^/]+/configs/[^/]+$", |
214 "required": true, | 189 "required": true, |
215 "type": "string" | 190 "type": "string" |
216 } | 191 } |
217 }, | 192 }, |
218 "path": "v1beta1/{+resource}:testIamPermissions", | 193 "path": "v1beta1/{+resource}:testIamPermissions", |
219 "request": { | 194 "request": { |
220 "$ref": "TestIamPermissionsRequest" | 195 "$ref": "TestIamPermissionsRequest" |
221 }, | 196 }, |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
253 ] | 228 ] |
254 }, | 229 }, |
255 "list": { | 230 "list": { |
256 "description": "Lists all the RuntimeConfig resource
s within project.", | 231 "description": "Lists all the RuntimeConfig resource
s within project.", |
257 "httpMethod": "GET", | 232 "httpMethod": "GET", |
258 "id": "runtimeconfig.projects.configs.list", | 233 "id": "runtimeconfig.projects.configs.list", |
259 "parameterOrder": [ | 234 "parameterOrder": [ |
260 "parent" | 235 "parent" |
261 ], | 236 ], |
262 "parameters": { | 237 "parameters": { |
263 "parent": { | |
264 "description": "The [project ID](https://sup
port.google.com/cloud/answer/6158840?hl=en&ref_topic=6158848)\nfor this request,
in the format `projects/[PROJECT_ID]`.", | |
265 "location": "path", | |
266 "pattern": "^projects/[^/]+$", | |
267 "required": true, | |
268 "type": "string" | |
269 }, | |
270 "pageToken": { | 238 "pageToken": { |
271 "description": "Specifies a page token to us
e. Set `pageToken` to a `nextPageToken`\nreturned by a previous list request to
get the next page of results.", | 239 "description": "Specifies a page token to us
e. Set `pageToken` to a `nextPageToken`\nreturned by a previous list request to
get the next page of results.", |
272 "location": "query", | 240 "location": "query", |
273 "type": "string" | 241 "type": "string" |
274 }, | 242 }, |
275 "pageSize": { | 243 "pageSize": { |
276 "description": "Specifies the number of resu
lts to return per page. If there are fewer\nelements than the specified number,
returns all elements.", | 244 "description": "Specifies the number of resu
lts to return per page. If there are fewer\nelements than the specified number,
returns all elements.", |
277 "format": "int32", | 245 "format": "int32", |
278 "location": "query", | 246 "location": "query", |
279 "type": "integer" | 247 "type": "integer" |
| 248 }, |
| 249 "parent": { |
| 250 "description": "The [project ID](https://sup
port.google.com/cloud/answer/6158840?hl=en&ref_topic=6158848)\nfor this request,
in the format `projects/[PROJECT_ID]`.", |
| 251 "location": "path", |
| 252 "pattern": "^projects/[^/]+$", |
| 253 "required": true, |
| 254 "type": "string" |
280 } | 255 } |
281 }, | 256 }, |
282 "path": "v1beta1/{+parent}/configs", | 257 "path": "v1beta1/{+parent}/configs", |
283 "response": { | 258 "response": { |
284 "$ref": "ListConfigsResponse" | 259 "$ref": "ListConfigsResponse" |
285 }, | 260 }, |
286 "scopes": [ | 261 "scopes": [ |
287 "https://www.googleapis.com/auth/cloud-platform"
, | 262 "https://www.googleapis.com/auth/cloud-platform"
, |
288 "https://www.googleapis.com/auth/cloudruntimecon
fig" | 263 "https://www.googleapis.com/auth/cloudruntimecon
fig" |
289 ] | 264 ] |
290 }, | 265 }, |
291 "setIamPolicy": { | 266 "setIamPolicy": { |
292 "description": "Sets the access control policy on th
e specified resource. Replaces any\nexisting policy.", | 267 "description": "Sets the access control policy on th
e specified resource. Replaces any\nexisting policy.", |
293 "httpMethod": "POST", | 268 "httpMethod": "POST", |
294 "id": "runtimeconfig.projects.configs.setIamPolicy", | 269 "id": "runtimeconfig.projects.configs.setIamPolicy", |
295 "parameterOrder": [ | 270 "parameterOrder": [ |
296 "resource" | 271 "resource" |
297 ], | 272 ], |
298 "parameters": { | 273 "parameters": { |
299 "resource": { | 274 "resource": { |
300 "description": "REQUIRED: The resource for w
hich the policy is being specified.\n`resource` is usually specified as a path.
For example, a Project\nresource is specified as `projects/{project}`.", | 275 "description": "REQUIRED: The resource for w
hich the policy is being specified.\nSee the operation documentation for the app
ropriate value for this field.", |
301 "location": "path", | 276 "location": "path", |
302 "pattern": "^projects/[^/]+/configs/[^/]+$", | 277 "pattern": "^projects/[^/]+/configs/[^/]+$", |
303 "required": true, | 278 "required": true, |
304 "type": "string" | 279 "type": "string" |
305 } | 280 } |
306 }, | 281 }, |
307 "path": "v1beta1/{+resource}:setIamPolicy", | 282 "path": "v1beta1/{+resource}:setIamPolicy", |
308 "request": { | 283 "request": { |
309 "$ref": "SetIamPolicyRequest" | 284 "$ref": "SetIamPolicyRequest" |
310 }, | 285 }, |
311 "response": { | 286 "response": { |
312 "$ref": "Policy" | 287 "$ref": "Policy" |
313 }, | 288 }, |
314 "scopes": [ | 289 "scopes": [ |
315 "https://www.googleapis.com/auth/cloud-platform"
, | 290 "https://www.googleapis.com/auth/cloud-platform"
, |
316 "https://www.googleapis.com/auth/cloudruntimecon
fig" | 291 "https://www.googleapis.com/auth/cloudruntimecon
fig" |
317 ] | 292 ] |
318 }, | 293 }, |
319 "create": { | 294 "create": { |
320 "description": "Creates a new RuntimeConfig resource
. The configuration name must be\nunique within project.", | 295 "description": "Creates a new RuntimeConfig resource
. The configuration name must be\nunique within project.", |
321 "httpMethod": "POST", | 296 "httpMethod": "POST", |
322 "id": "runtimeconfig.projects.configs.create", | 297 "id": "runtimeconfig.projects.configs.create", |
323 "parameterOrder": [ | 298 "parameterOrder": [ |
324 "parent" | 299 "parent" |
325 ], | 300 ], |
326 "parameters": { | 301 "parameters": { |
327 "requestId": { | 302 "requestId": { |
328 "description": "An optional but recommended
unique <code>request_id</code>. If the server\nreceives two <code>create()</code
> requests with the same\n<code>request_id</code>, then the second request will
be ignored and the\nfirst resource created and stored in the backend is returne
d.\nEmpty <code>request_id</code> fields are ignored.\n\nIt is responsibility of
the client to ensure uniqueness of the\n<code>request_id</code> strings.\n\n<co
de>request_id</code> strings are limited to 64 characters.", | 303 "description": "An optional but recommended
unique `request_id`. If the server\nreceives two `create()` requests with the s
ame\n`request_id`, then the second request will be ignored and the\nfirst resour
ce created and stored in the backend is returned.\nEmpty `request_id` fields are
ignored.\n\nIt is responsibility of the client to ensure uniqueness of the\n`re
quest_id` strings.\n\n`request_id` strings are limited to 64 characters.", |
329 "location": "query", | 304 "location": "query", |
330 "type": "string" | 305 "type": "string" |
331 }, | 306 }, |
332 "parent": { | 307 "parent": { |
333 "description": "The [project ID](https://sup
port.google.com/cloud/answer/6158840?hl=en&ref_topic=6158848)\nfor this request,
in the format `projects/[PROJECT_ID]`.", | 308 "description": "The [project ID](https://sup
port.google.com/cloud/answer/6158840?hl=en&ref_topic=6158848)\nfor this request,
in the format `projects/[PROJECT_ID]`.", |
334 "location": "path", | 309 "location": "path", |
335 "pattern": "^projects/[^/]+$", | 310 "pattern": "^projects/[^/]+$", |
336 "required": true, | 311 "required": true, |
337 "type": "string" | 312 "type": "string" |
338 } | 313 } |
339 }, | 314 }, |
340 "path": "v1beta1/{+parent}/configs", | 315 "path": "v1beta1/{+parent}/configs", |
341 "request": { | 316 "request": { |
342 "$ref": "RuntimeConfig" | 317 "$ref": "RuntimeConfig" |
343 }, | 318 }, |
344 "response": { | 319 "response": { |
345 "$ref": "RuntimeConfig" | 320 "$ref": "RuntimeConfig" |
346 }, | 321 }, |
347 "scopes": [ | 322 "scopes": [ |
348 "https://www.googleapis.com/auth/cloud-platform"
, | 323 "https://www.googleapis.com/auth/cloud-platform"
, |
349 "https://www.googleapis.com/auth/cloudruntimecon
fig" | 324 "https://www.googleapis.com/auth/cloudruntimecon
fig" |
350 ] | 325 ] |
| 326 }, |
| 327 "getIamPolicy": { |
| 328 "description": "Gets the access control policy for a
resource.\nReturns an empty policy if the resource exists and does not have a p
olicy\nset.", |
| 329 "httpMethod": "GET", |
| 330 "id": "runtimeconfig.projects.configs.getIamPolicy", |
| 331 "parameterOrder": [ |
| 332 "resource" |
| 333 ], |
| 334 "parameters": { |
| 335 "resource": { |
| 336 "description": "REQUIRED: The resource for w
hich the policy is being requested.\nSee the operation documentation for the app
ropriate value for this field.", |
| 337 "location": "path", |
| 338 "pattern": "^projects/[^/]+/configs/[^/]+$", |
| 339 "required": true, |
| 340 "type": "string" |
| 341 } |
| 342 }, |
| 343 "path": "v1beta1/{+resource}:getIamPolicy", |
| 344 "response": { |
| 345 "$ref": "Policy" |
| 346 }, |
| 347 "scopes": [ |
| 348 "https://www.googleapis.com/auth/cloud-platform"
, |
| 349 "https://www.googleapis.com/auth/cloudruntimecon
fig" |
| 350 ] |
351 } | 351 } |
352 }, | 352 }, |
353 "resources": { | 353 "resources": { |
354 "variables": { | 354 "operations": { |
355 "methods": { | 355 "methods": { |
| 356 "get": { |
| 357 "description": "Gets the latest state of a l
ong-running operation. Clients can use this\nmethod to poll the operation resul
t at intervals as recommended by the API\nservice.", |
| 358 "httpMethod": "GET", |
| 359 "id": "runtimeconfig.projects.configs.operat
ions.get", |
| 360 "parameterOrder": [ |
| 361 "name" |
| 362 ], |
| 363 "parameters": { |
| 364 "name": { |
| 365 "description": "The name of the oper
ation resource.", |
| 366 "location": "path", |
| 367 "pattern": "^projects/[^/]+/configs/
[^/]+/operations/.+$", |
| 368 "required": true, |
| 369 "type": "string" |
| 370 } |
| 371 }, |
| 372 "path": "v1beta1/{+name}", |
| 373 "response": { |
| 374 "$ref": "Operation" |
| 375 }, |
| 376 "scopes": [ |
| 377 "https://www.googleapis.com/auth/cloud-p
latform", |
| 378 "https://www.googleapis.com/auth/cloudru
ntimeconfig" |
| 379 ] |
| 380 }, |
| 381 "testIamPermissions": { |
| 382 "description": "Returns permissions that a c
aller has on the specified resource.\nIf the resource does not exist, this will
return an empty set of\npermissions, not a NOT_FOUND error.\n\nNote: This operat
ion is designed to be used for building permission-aware\nUIs and command-line t
ools, not for authorization checking. This operation\nmay \"fail open\" without
warning.", |
| 383 "httpMethod": "GET", |
| 384 "id": "runtimeconfig.projects.configs.operat
ions.testIamPermissions", |
| 385 "parameterOrder": [ |
| 386 "resource" |
| 387 ], |
| 388 "parameters": { |
| 389 "resource": { |
| 390 "description": "REQUIRED: The resour
ce for which the policy detail is being requested.\nSee the operation documentat
ion for the appropriate value for this field.", |
| 391 "location": "path", |
| 392 "pattern": "^projects/[^/]+/configs/
[^/]+/operations/.+$", |
| 393 "required": true, |
| 394 "type": "string" |
| 395 }, |
| 396 "permissions": { |
| 397 "description": "The set of permissio
ns to check for the `resource`. Permissions with\nwildcards (such as '*' or 'sto
rage.*') are not allowed. For more\ninformation see\n[IAM Overview](https://clou
d.google.com/iam/docs/overview#permissions).", |
| 398 "location": "query", |
| 399 "repeated": true, |
| 400 "type": "string" |
| 401 } |
| 402 }, |
| 403 "path": "v1beta1/{+resource}:testIamPermissi
ons", |
| 404 "response": { |
| 405 "$ref": "TestIamPermissionsResponse" |
| 406 }, |
| 407 "scopes": [ |
| 408 "https://www.googleapis.com/auth/cloud-p
latform", |
| 409 "https://www.googleapis.com/auth/cloudru
ntimeconfig" |
| 410 ] |
| 411 } |
| 412 } |
| 413 }, |
| 414 "waiters": { |
| 415 "methods": { |
| 416 "testIamPermissions": { |
| 417 "description": "Returns permissions that a c
aller has on the specified resource.\nIf the resource does not exist, this will
return an empty set of\npermissions, not a NOT_FOUND error.\n\nNote: This operat
ion is designed to be used for building permission-aware\nUIs and command-line t
ools, not for authorization checking. This operation\nmay \"fail open\" without
warning.", |
| 418 "httpMethod": "GET", |
| 419 "id": "runtimeconfig.projects.configs.waiter
s.testIamPermissions", |
| 420 "parameterOrder": [ |
| 421 "resource" |
| 422 ], |
| 423 "parameters": { |
| 424 "resource": { |
| 425 "description": "REQUIRED: The resour
ce for which the policy detail is being requested.\nSee the operation documentat
ion for the appropriate value for this field.", |
| 426 "location": "path", |
| 427 "pattern": "^projects/[^/]+/configs/
[^/]+/waiters/[^/]+$", |
| 428 "required": true, |
| 429 "type": "string" |
| 430 }, |
| 431 "permissions": { |
| 432 "description": "The set of permissio
ns to check for the `resource`. Permissions with\nwildcards (such as '*' or 'sto
rage.*') are not allowed. For more\ninformation see\n[IAM Overview](https://clou
d.google.com/iam/docs/overview#permissions).", |
| 433 "location": "query", |
| 434 "repeated": true, |
| 435 "type": "string" |
| 436 } |
| 437 }, |
| 438 "path": "v1beta1/{+resource}:testIamPermissi
ons", |
| 439 "response": { |
| 440 "$ref": "TestIamPermissionsResponse" |
| 441 }, |
| 442 "scopes": [ |
| 443 "https://www.googleapis.com/auth/cloud-p
latform", |
| 444 "https://www.googleapis.com/auth/cloudru
ntimeconfig" |
| 445 ] |
| 446 }, |
| 447 "delete": { |
| 448 "description": "Deletes the waiter with the
specified name.", |
| 449 "httpMethod": "DELETE", |
| 450 "id": "runtimeconfig.projects.configs.waiter
s.delete", |
| 451 "parameterOrder": [ |
| 452 "name" |
| 453 ], |
| 454 "parameters": { |
| 455 "name": { |
| 456 "description": "The Waiter resource
to delete, in the format:\n\n `projects/[PROJECT_ID]/configs/[CONFIG_NAME]/waite
rs/[WAITER_NAME]`", |
| 457 "location": "path", |
| 458 "pattern": "^projects/[^/]+/configs/
[^/]+/waiters/[^/]+$", |
| 459 "required": true, |
| 460 "type": "string" |
| 461 } |
| 462 }, |
| 463 "path": "v1beta1/{+name}", |
| 464 "response": { |
| 465 "$ref": "Empty" |
| 466 }, |
| 467 "scopes": [ |
| 468 "https://www.googleapis.com/auth/cloud-p
latform", |
| 469 "https://www.googleapis.com/auth/cloudru
ntimeconfig" |
| 470 ] |
| 471 }, |
356 "list": { | 472 "list": { |
357 "description": "Lists variables within given
a configuration, matching any provided filters.\nThis only lists variable names
, not the values.", | 473 "description": "List waiters within the give
n configuration.", |
358 "httpMethod": "GET", | 474 "httpMethod": "GET", |
359 "id": "runtimeconfig.projects.configs.variab
les.list", | 475 "id": "runtimeconfig.projects.configs.waiter
s.list", |
360 "parameterOrder": [ | 476 "parameterOrder": [ |
361 "parent" | 477 "parent" |
362 ], | 478 ], |
363 "parameters": { | 479 "parameters": { |
364 "pageToken": { | 480 "pageToken": { |
365 "description": "Specifies a page tok
en to use. Set `pageToken` to a `nextPageToken`\nreturned by a previous list req
uest to get the next page of results.", | 481 "description": "Specifies a page tok
en to use. Set `pageToken` to a `nextPageToken`\nreturned by a previous list req
uest to get the next page of results.", |
366 "location": "query", | 482 "location": "query", |
367 "type": "string" | 483 "type": "string" |
368 }, | 484 }, |
369 "pageSize": { | 485 "pageSize": { |
370 "description": "Specifies the number
of results to return per page. If there are fewer\nelements than the specified
number, returns all elements.", | 486 "description": "Specifies the number
of results to return per page. If there are fewer\nelements than the specified
number, returns all elements.", |
371 "format": "int32", | 487 "format": "int32", |
372 "location": "query", | 488 "location": "query", |
373 "type": "integer" | 489 "type": "integer" |
374 }, | 490 }, |
375 "parent": { | 491 "parent": { |
376 "description": "The path to the Runt
imeConfig resource for which you want to list variables.\nThe configuration must
exist beforehand; the path must by in the format:\n\n`projects/[PROJECT_ID]/con
figs/[CONFIG_NAME]`", | 492 "description": "The path to the conf
iguration for which you want to get a list of waiters.\nThe configuration must e
xist beforehand; the path must by in the format:\n\n`projects/[PROJECT_ID]/confi
gs/[CONFIG_NAME]`", |
377 "location": "path", | 493 "location": "path", |
378 "pattern": "^projects/[^/]+/configs/
[^/]+$", | 494 "pattern": "^projects/[^/]+/configs/
[^/]+$", |
379 "required": true, | 495 "required": true, |
380 "type": "string" | 496 "type": "string" |
381 }, | 497 } |
382 "filter": { | 498 }, |
383 "description": "Filters variables by
matching the specified filter. For example:\n\n`projects/example-project/config
/[CONFIG_NAME]/variables/example-variable`.", | 499 "path": "v1beta1/{+parent}/waiters", |
384 "location": "query", | 500 "response": { |
385 "type": "string" | 501 "$ref": "ListWaitersResponse" |
386 } | 502 }, |
387 }, | 503 "scopes": [ |
388 "path": "v1beta1/{+parent}/variables", | 504 "https://www.googleapis.com/auth/cloud-p
latform", |
389 "response": { | 505 "https://www.googleapis.com/auth/cloudru
ntimeconfig" |
390 "$ref": "ListVariablesResponse" | 506 ] |
| 507 }, |
| 508 "get": { |
| 509 "description": "Gets information about a sin
gle waiter.", |
| 510 "httpMethod": "GET", |
| 511 "id": "runtimeconfig.projects.configs.waiter
s.get", |
| 512 "parameterOrder": [ |
| 513 "name" |
| 514 ], |
| 515 "parameters": { |
| 516 "name": { |
| 517 "description": "The fully-qualified
name of the Waiter resource object to retrieve, in the\nformat:\n\n`projects/[PR
OJECT_ID]/configs/[CONFIG_NAME]/waiters/[WAITER_NAME]`", |
| 518 "location": "path", |
| 519 "pattern": "^projects/[^/]+/configs/
[^/]+/waiters/[^/]+$", |
| 520 "required": true, |
| 521 "type": "string" |
| 522 } |
| 523 }, |
| 524 "path": "v1beta1/{+name}", |
| 525 "response": { |
| 526 "$ref": "Waiter" |
391 }, | 527 }, |
392 "scopes": [ | 528 "scopes": [ |
393 "https://www.googleapis.com/auth/cloud-p
latform", | 529 "https://www.googleapis.com/auth/cloud-p
latform", |
394 "https://www.googleapis.com/auth/cloudru
ntimeconfig" | 530 "https://www.googleapis.com/auth/cloudru
ntimeconfig" |
395 ] | 531 ] |
396 }, | 532 }, |
397 "create": { | 533 "create": { |
398 "description": "Creates a variable within th
e given configuration. You cannot create\na variable with a name that is a prefi
x of an existing variable name, or a\nname that has an existing variable name as
a prefix.\n\nTo learn more about creating a variable, read the\n[Setting and Ge
tting Data](/deployment-manager/runtime-configurator/set-and-get-variables)\ndoc
umentation.", | 534 "description": "Creates a Waiter resource. T
his operation returns a long-running Operation\nresource which can be polled for
completion. However, a waiter with the\ngiven name will exist (and can be retri
eved) prior to the operation\ncompleting. If the operation fails, the failed Wai
ter resource will\nstill exist and must be deleted prior to subsequent creation
attempts.", |
399 "httpMethod": "POST", | 535 "httpMethod": "POST", |
400 "id": "runtimeconfig.projects.configs.variab
les.create", | 536 "id": "runtimeconfig.projects.configs.waiter
s.create", |
401 "parameterOrder": [ | 537 "parameterOrder": [ |
402 "parent" | 538 "parent" |
403 ], | 539 ], |
404 "parameters": { | 540 "parameters": { |
405 "requestId": { | 541 "requestId": { |
406 "description": "An optional but reco
mmended unique <code>request_id</code>. If the server\nreceives two <code>create
()</code> requests with the same\n<code>request_id</code>, then the second requ
est will be ignored and the\nfirst resource created and stored in the backend is
returned.\nEmpty <code>request_id</code> fields are ignored.\n\nIt is responsib
ility of the client to ensure uniqueness of the\n<code>request_id</code> strings
.\n\n<code>request_id</code> strings are limited to 64 characters.", | 542 "description": "An optional but reco
mmended unique `request_id`. If the server\nreceives two `create()` requests wi
th the same\n`request_id`, then the second request will be ignored and the\nfirs
t resource created and stored in the backend is returned.\nEmpty `request_id` fi
elds are ignored.\n\nIt is responsibility of the client to ensure uniqueness of
the\n`request_id` strings.\n\n`request_id` strings are limited to 64 characters.
", |
407 "location": "query", | 543 "location": "query", |
408 "type": "string" | 544 "type": "string" |
409 }, | 545 }, |
410 "parent": { | 546 "parent": { |
411 "description": "The path to the Ruti
meConfig resource that this variable should belong to.\nThe configuration must e
xist beforehand; the path must by in the format:\n\n`projects/[PROJECT_ID]/confi
gs/[CONFIG_NAME]`", | 547 "description": "The path to the conf
iguration that will own the waiter.\nThe configuration must exist beforehand; th
e path must by in the format:\n\n`projects/[PROJECT_ID]/configs/[CONFIG_NAME]`."
, |
412 "location": "path", | 548 "location": "path", |
413 "pattern": "^projects/[^/]+/configs/
[^/]+$", | 549 "pattern": "^projects/[^/]+/configs/
[^/]+$", |
414 "required": true, | 550 "required": true, |
415 "type": "string" | 551 "type": "string" |
416 } | 552 } |
417 }, | 553 }, |
418 "path": "v1beta1/{+parent}/variables", | 554 "path": "v1beta1/{+parent}/waiters", |
419 "request": { | 555 "request": { |
420 "$ref": "Variable" | 556 "$ref": "Waiter" |
421 }, | 557 }, |
422 "response": { | 558 "response": { |
423 "$ref": "Variable" | 559 "$ref": "Operation" |
424 }, | 560 }, |
425 "scopes": [ | 561 "scopes": [ |
426 "https://www.googleapis.com/auth/cloud-p
latform", | 562 "https://www.googleapis.com/auth/cloud-p
latform", |
427 "https://www.googleapis.com/auth/cloudru
ntimeconfig" | |
428 ] | |
429 }, | |
430 "get": { | |
431 "description": "Gets information about a sin
gle variable.", | |
432 "httpMethod": "GET", | |
433 "id": "runtimeconfig.projects.configs.variab
les.get", | |
434 "parameterOrder": [ | |
435 "name" | |
436 ], | |
437 "parameters": { | |
438 "name": { | |
439 "description": "The name of the vari
able to return, in the format:\n\n`projects/[PROJECT_ID]/configs/[CONFIG_NAME]/v
ariables/[VARIBLE_NAME]`", | |
440 "location": "path", | |
441 "pattern": "^projects/[^/]+/configs/
[^/]+/variables/.+$", | |
442 "required": true, | |
443 "type": "string" | |
444 } | |
445 }, | |
446 "path": "v1beta1/{+name}", | |
447 "response": { | |
448 "$ref": "Variable" | |
449 }, | |
450 "scopes": [ | |
451 "https://www.googleapis.com/auth/cloud-p
latform", | |
452 "https://www.googleapis.com/auth/cloudru
ntimeconfig" | |
453 ] | |
454 }, | |
455 "watch": { | |
456 "description": "Watches a specific variable
and waits for a change in the variable's value.\nWhen there is a change, this me
thod returns the new value or times out.\n\nIf a variable is deleted while being
watched, the `variableState` state is\nset to `DELETED` and the method returns
the last known variable `value`.\n\nIf you set the deadline for watching to a la
rger value than internal timeout\n(60 seconds), the current variable value is re
turned and the `variableState`\nwill be `VARIABLE_STATE_UNSPECIFIED`.\n\nTo lear
n more about creating a watcher, read the\n[Watching a Variable for Changes](/de
ployment-manager/runtime-configurator/watching-a-variable)\ndocumentation.", | |
457 "httpMethod": "POST", | |
458 "id": "runtimeconfig.projects.configs.variab
les.watch", | |
459 "parameterOrder": [ | |
460 "name" | |
461 ], | |
462 "parameters": { | |
463 "name": { | |
464 "description": "The name of the vari
able to watch, in the format:\n\n`projects/[PROJECT_ID]/configs/[CONFIG_NAME]`", | |
465 "location": "path", | |
466 "pattern": "^projects/[^/]+/configs/
[^/]+/variables/.+$", | |
467 "required": true, | |
468 "type": "string" | |
469 } | |
470 }, | |
471 "path": "v1beta1/{+name}:watch", | |
472 "request": { | |
473 "$ref": "WatchVariableRequest" | |
474 }, | |
475 "response": { | |
476 "$ref": "Variable" | |
477 }, | |
478 "scopes": [ | |
479 "https://www.googleapis.com/auth/cloud-p
latform", | |
480 "https://www.googleapis.com/auth/cloudru
ntimeconfig" | |
481 ] | |
482 }, | |
483 "update": { | |
484 "description": "Updates an existing variable
with a new value.", | |
485 "httpMethod": "PUT", | |
486 "id": "runtimeconfig.projects.configs.variab
les.update", | |
487 "parameterOrder": [ | |
488 "name" | |
489 ], | |
490 "parameters": { | |
491 "name": { | |
492 "description": "The name of the vari
able to update, in the format:\n\n`projects/[PROJECT_ID]/configs/[CONFIG_NAME]/v
ariables/[VARIABLE_NAME]`", | |
493 "location": "path", | |
494 "pattern": "^projects/[^/]+/configs/
[^/]+/variables/.+$", | |
495 "required": true, | |
496 "type": "string" | |
497 } | |
498 }, | |
499 "path": "v1beta1/{+name}", | |
500 "request": { | |
501 "$ref": "Variable" | |
502 }, | |
503 "response": { | |
504 "$ref": "Variable" | |
505 }, | |
506 "scopes": [ | |
507 "https://www.googleapis.com/auth/cloud-p
latform", | |
508 "https://www.googleapis.com/auth/cloudru
ntimeconfig" | |
509 ] | |
510 }, | |
511 "testIamPermissions": { | |
512 "description": "Returns permissions that a c
aller has on the specified resource.\nIf the resource does not exist, this will
return an empty set of\npermissions, not a NOT_FOUND error.", | |
513 "httpMethod": "GET", | |
514 "id": "runtimeconfig.projects.configs.variab
les.testIamPermissions", | |
515 "parameterOrder": [ | |
516 "resource" | |
517 ], | |
518 "parameters": { | |
519 "resource": { | |
520 "description": "REQUIRED: The resour
ce for which the policy detail is being requested.\n`resource` is usually specif
ied as a path. For example, a Project\nresource is specified as `projects/{proje
ct}`.", | |
521 "location": "path", | |
522 "pattern": "^projects/[^/]+/configs/
[^/]+/variables/.+$", | |
523 "required": true, | |
524 "type": "string" | |
525 }, | |
526 "permissions": { | |
527 "description": "The set of permissio
ns to check for the `resource`. Permissions with\nwildcards (such as '*' or 'sto
rage.*') are not allowed. For more\ninformation see\n[IAM Overview](https://clou
d.google.com/iam/docs/overview#permissions).", | |
528 "location": "query", | |
529 "repeated": true, | |
530 "type": "string" | |
531 } | |
532 }, | |
533 "path": "v1beta1/{+resource}:testIamPermissi
ons", | |
534 "response": { | |
535 "$ref": "TestIamPermissionsResponse" | |
536 }, | |
537 "scopes": [ | |
538 "https://www.googleapis.com/auth/cloud-p
latform", | |
539 "https://www.googleapis.com/auth/cloudru
ntimeconfig" | |
540 ] | |
541 }, | |
542 "delete": { | |
543 "description": "Deletes a variable or multip
le variables.\n\nIf you specify a variable name, then that variable is deleted.
If you\nspecify a prefix and `recursive` is true, then all variables with that\n
prefix are deleted. You must set a `recursive` to true if you delete\nvariables
by prefix.", | |
544 "httpMethod": "DELETE", | |
545 "id": "runtimeconfig.projects.configs.variab
les.delete", | |
546 "parameterOrder": [ | |
547 "name" | |
548 ], | |
549 "parameters": { | |
550 "recursive": { | |
551 "description": "Set to `true` to rec
ursively delete multiple variables with the same\nprefix.", | |
552 "location": "query", | |
553 "type": "boolean" | |
554 }, | |
555 "name": { | |
556 "description": "The name of the vari
able to delete, in the format:\n\n`projects/[PROJECT_ID]/configs/[CONFIG_NAME]/v
ariables/[VARIABLE_NAME]`", | |
557 "location": "path", | |
558 "pattern": "^projects/[^/]+/configs/
[^/]+/variables/.+$", | |
559 "required": true, | |
560 "type": "string" | |
561 } | |
562 }, | |
563 "path": "v1beta1/{+name}", | |
564 "response": { | |
565 "$ref": "Empty" | |
566 }, | |
567 "scopes": [ | |
568 "https://www.googleapis.com/auth/cloud-p
latform", | |
569 "https://www.googleapis.com/auth/cloudru
ntimeconfig" | 563 "https://www.googleapis.com/auth/cloudru
ntimeconfig" |
570 ] | 564 ] |
571 } | 565 } |
572 } | 566 } |
573 }, | 567 }, |
574 "operations": { | 568 "variables": { |
575 "methods": { | 569 "methods": { |
| 570 "watch": { |
| 571 "description": "Watches a specific variable
and waits for a change in the variable's value.\nWhen there is a change, this me
thod returns the new value or times out.\n\nIf a variable is deleted while being
watched, the `variableState` state is\nset to `DELETED` and the method returns
the last known variable `value`.\n\nIf you set the deadline for watching to a la
rger value than internal timeout\n(60 seconds), the current variable value is re
turned and the `variableState`\nwill be `VARIABLE_STATE_UNSPECIFIED`.\n\nTo lear
n more about creating a watcher, read the\n[Watching a Variable for Changes](/de
ployment-manager/runtime-configurator/watching-a-variable)\ndocumentation.", |
| 572 "httpMethod": "POST", |
| 573 "id": "runtimeconfig.projects.configs.variab
les.watch", |
| 574 "parameterOrder": [ |
| 575 "name" |
| 576 ], |
| 577 "parameters": { |
| 578 "name": { |
| 579 "description": "The name of the vari
able to watch, in the format:\n\n`projects/[PROJECT_ID]/configs/[CONFIG_NAME]`", |
| 580 "location": "path", |
| 581 "pattern": "^projects/[^/]+/configs/
[^/]+/variables/.+$", |
| 582 "required": true, |
| 583 "type": "string" |
| 584 } |
| 585 }, |
| 586 "path": "v1beta1/{+name}:watch", |
| 587 "request": { |
| 588 "$ref": "WatchVariableRequest" |
| 589 }, |
| 590 "response": { |
| 591 "$ref": "Variable" |
| 592 }, |
| 593 "scopes": [ |
| 594 "https://www.googleapis.com/auth/cloud-p
latform", |
| 595 "https://www.googleapis.com/auth/cloudru
ntimeconfig" |
| 596 ] |
| 597 }, |
576 "get": { | 598 "get": { |
577 "description": "Gets the latest state of a l
ong-running operation. Clients can use this\nmethod to poll the operation resul
t at intervals as recommended by the API\nservice.", | 599 "description": "Gets information about a sin
gle variable.", |
578 "httpMethod": "GET", | 600 "httpMethod": "GET", |
579 "id": "runtimeconfig.projects.configs.operat
ions.get", | 601 "id": "runtimeconfig.projects.configs.variab
les.get", |
580 "parameterOrder": [ | 602 "parameterOrder": [ |
581 "name" | 603 "name" |
582 ], | 604 ], |
583 "parameters": { | 605 "parameters": { |
584 "name": { | 606 "name": { |
585 "description": "The name of the oper
ation resource.", | 607 "description": "The name of the vari
able to return, in the format:\n\n`projects/[PROJECT_ID]/configs/[CONFIG_NAME]/v
ariables/[VARIBLE_NAME]`", |
586 "location": "path", | 608 "location": "path", |
587 "pattern": "^projects/[^/]+/configs/
[^/]+/operations/.+$", | 609 "pattern": "^projects/[^/]+/configs/
[^/]+/variables/.+$", |
588 "required": true, | 610 "required": true, |
589 "type": "string" | 611 "type": "string" |
590 } | 612 } |
591 }, | 613 }, |
592 "path": "v1beta1/{+name}", | 614 "path": "v1beta1/{+name}", |
593 "response": { | 615 "response": { |
594 "$ref": "Operation" | 616 "$ref": "Variable" |
| 617 }, |
| 618 "scopes": [ |
| 619 "https://www.googleapis.com/auth/cloud-p
latform", |
| 620 "https://www.googleapis.com/auth/cloudru
ntimeconfig" |
| 621 ] |
| 622 }, |
| 623 "update": { |
| 624 "description": "Updates an existing variable
with a new value.", |
| 625 "httpMethod": "PUT", |
| 626 "id": "runtimeconfig.projects.configs.variab
les.update", |
| 627 "parameterOrder": [ |
| 628 "name" |
| 629 ], |
| 630 "parameters": { |
| 631 "name": { |
| 632 "description": "The name of the vari
able to update, in the format:\n\n`projects/[PROJECT_ID]/configs/[CONFIG_NAME]/v
ariables/[VARIABLE_NAME]`", |
| 633 "location": "path", |
| 634 "pattern": "^projects/[^/]+/configs/
[^/]+/variables/.+$", |
| 635 "required": true, |
| 636 "type": "string" |
| 637 } |
| 638 }, |
| 639 "path": "v1beta1/{+name}", |
| 640 "request": { |
| 641 "$ref": "Variable" |
| 642 }, |
| 643 "response": { |
| 644 "$ref": "Variable" |
595 }, | 645 }, |
596 "scopes": [ | 646 "scopes": [ |
597 "https://www.googleapis.com/auth/cloud-p
latform", | 647 "https://www.googleapis.com/auth/cloud-p
latform", |
598 "https://www.googleapis.com/auth/cloudru
ntimeconfig" | 648 "https://www.googleapis.com/auth/cloudru
ntimeconfig" |
599 ] | 649 ] |
600 }, | 650 }, |
601 "testIamPermissions": { | 651 "testIamPermissions": { |
602 "description": "Returns permissions that a c
aller has on the specified resource.\nIf the resource does not exist, this will
return an empty set of\npermissions, not a NOT_FOUND error.", | 652 "description": "Returns permissions that a c
aller has on the specified resource.\nIf the resource does not exist, this will
return an empty set of\npermissions, not a NOT_FOUND error.\n\nNote: This operat
ion is designed to be used for building permission-aware\nUIs and command-line t
ools, not for authorization checking. This operation\nmay \"fail open\" without
warning.", |
603 "httpMethod": "GET", | 653 "httpMethod": "GET", |
604 "id": "runtimeconfig.projects.configs.operat
ions.testIamPermissions", | 654 "id": "runtimeconfig.projects.configs.variab
les.testIamPermissions", |
605 "parameterOrder": [ | 655 "parameterOrder": [ |
606 "resource" | 656 "resource" |
607 ], | 657 ], |
608 "parameters": { | 658 "parameters": { |
609 "resource": { | 659 "resource": { |
610 "description": "REQUIRED: The resour
ce for which the policy detail is being requested.\n`resource` is usually specif
ied as a path. For example, a Project\nresource is specified as `projects/{proje
ct}`.", | 660 "description": "REQUIRED: The resour
ce for which the policy detail is being requested.\nSee the operation documentat
ion for the appropriate value for this field.", |
611 "location": "path", | 661 "location": "path", |
612 "pattern": "^projects/[^/]+/configs/
[^/]+/operations/.+$", | 662 "pattern": "^projects/[^/]+/configs/
[^/]+/variables/.+$", |
613 "required": true, | 663 "required": true, |
614 "type": "string" | 664 "type": "string" |
615 }, | 665 }, |
616 "permissions": { | 666 "permissions": { |
617 "description": "The set of permissio
ns to check for the `resource`. Permissions with\nwildcards (such as '*' or 'sto
rage.*') are not allowed. For more\ninformation see\n[IAM Overview](https://clou
d.google.com/iam/docs/overview#permissions).", | 667 "description": "The set of permissio
ns to check for the `resource`. Permissions with\nwildcards (such as '*' or 'sto
rage.*') are not allowed. For more\ninformation see\n[IAM Overview](https://clou
d.google.com/iam/docs/overview#permissions).", |
618 "location": "query", | 668 "location": "query", |
619 "repeated": true, | 669 "repeated": true, |
620 "type": "string" | 670 "type": "string" |
621 } | 671 } |
622 }, | 672 }, |
623 "path": "v1beta1/{+resource}:testIamPermissi
ons", | 673 "path": "v1beta1/{+resource}:testIamPermissi
ons", |
624 "response": { | 674 "response": { |
625 "$ref": "TestIamPermissionsResponse" | 675 "$ref": "TestIamPermissionsResponse" |
626 }, | 676 }, |
627 "scopes": [ | 677 "scopes": [ |
628 "https://www.googleapis.com/auth/cloud-p
latform", | 678 "https://www.googleapis.com/auth/cloud-p
latform", |
629 "https://www.googleapis.com/auth/cloudru
ntimeconfig" | 679 "https://www.googleapis.com/auth/cloudru
ntimeconfig" |
630 ] | 680 ] |
631 } | 681 }, |
632 } | 682 "delete": { |
633 }, | 683 "description": "Deletes a variable or multip
le variables.\n\nIf you specify a variable name, then that variable is deleted.
If you\nspecify a prefix and `recursive` is true, then all variables with that\n
prefix are deleted. You must set a `recursive` to true if you delete\nvariables
by prefix.", |
634 "waiters": { | 684 "httpMethod": "DELETE", |
635 "methods": { | 685 "id": "runtimeconfig.projects.configs.variab
les.delete", |
| 686 "parameterOrder": [ |
| 687 "name" |
| 688 ], |
| 689 "parameters": { |
| 690 "recursive": { |
| 691 "description": "Set to `true` to rec
ursively delete multiple variables with the same\nprefix.", |
| 692 "location": "query", |
| 693 "type": "boolean" |
| 694 }, |
| 695 "name": { |
| 696 "description": "The name of the vari
able to delete, in the format:\n\n`projects/[PROJECT_ID]/configs/[CONFIG_NAME]/v
ariables/[VARIABLE_NAME]`", |
| 697 "location": "path", |
| 698 "pattern": "^projects/[^/]+/configs/
[^/]+/variables/.+$", |
| 699 "required": true, |
| 700 "type": "string" |
| 701 } |
| 702 }, |
| 703 "path": "v1beta1/{+name}", |
| 704 "response": { |
| 705 "$ref": "Empty" |
| 706 }, |
| 707 "scopes": [ |
| 708 "https://www.googleapis.com/auth/cloud-p
latform", |
| 709 "https://www.googleapis.com/auth/cloudru
ntimeconfig" |
| 710 ] |
| 711 }, |
636 "list": { | 712 "list": { |
637 "description": "List waiters within the give
n configuration.", | 713 "description": "Lists variables within given
a configuration, matching any provided filters.\nThis only lists variable names
, not the values, unless `return_values` is\ntrue, in which case only variables
that user has IAM permission to GetVariable\nwill be returned.", |
638 "httpMethod": "GET", | 714 "httpMethod": "GET", |
639 "id": "runtimeconfig.projects.configs.waiter
s.list", | 715 "id": "runtimeconfig.projects.configs.variab
les.list", |
640 "parameterOrder": [ | 716 "parameterOrder": [ |
641 "parent" | 717 "parent" |
642 ], | 718 ], |
643 "parameters": { | 719 "parameters": { |
644 "pageToken": { | |
645 "description": "Specifies a page tok
en to use. Set `pageToken` to a `nextPageToken`\nreturned by a previous list req
uest to get the next page of results.", | |
646 "location": "query", | |
647 "type": "string" | |
648 }, | |
649 "pageSize": { | 720 "pageSize": { |
650 "description": "Specifies the number
of results to return per page. If there are fewer\nelements than the specified
number, returns all elements.", | 721 "description": "Specifies the number
of results to return per page. If there are fewer\nelements than the specified
number, returns all elements.", |
651 "format": "int32", | 722 "format": "int32", |
652 "location": "query", | 723 "location": "query", |
653 "type": "integer" | 724 "type": "integer" |
654 }, | 725 }, |
655 "parent": { | 726 "parent": { |
656 "description": "The path to the conf
iguration for which you want to get a list of waiters.\nThe configuration must e
xist beforehand; the path must by in the format:\n\n`projects/[PROJECT_ID]/confi
gs/[CONFIG_NAME]`", | 727 "description": "The path to the Runt
imeConfig resource for which you want to list variables.\nThe configuration must
exist beforehand; the path must by in the format:\n\n`projects/[PROJECT_ID]/con
figs/[CONFIG_NAME]`", |
657 "location": "path", | 728 "location": "path", |
658 "pattern": "^projects/[^/]+/configs/
[^/]+$", | 729 "pattern": "^projects/[^/]+/configs/
[^/]+$", |
659 "required": true, | 730 "required": true, |
660 "type": "string" | 731 "type": "string" |
661 } | 732 }, |
662 }, | 733 "filter": { |
663 "path": "v1beta1/{+parent}/waiters", | 734 "description": "Filters variables by
matching the specified filter. For example:\n\n`projects/example-project/config
/[CONFIG_NAME]/variables/example-variable`.", |
664 "response": { | 735 "location": "query", |
665 "$ref": "ListWaitersResponse" | 736 "type": "string" |
666 }, | 737 }, |
667 "scopes": [ | 738 "pageToken": { |
668 "https://www.googleapis.com/auth/cloud-p
latform", | 739 "description": "Specifies a page tok
en to use. Set `pageToken` to a `nextPageToken`\nreturned by a previous list req
uest to get the next page of results.", |
669 "https://www.googleapis.com/auth/cloudru
ntimeconfig" | 740 "location": "query", |
670 ] | 741 "type": "string" |
671 }, | 742 }, |
672 "get": { | 743 "returnValues": { |
673 "description": "Gets information about a sin
gle waiter.", | 744 "description": "The flag indicates w
hether the user wants to return values of variables.\nIf true, then only those v
ariables that user has IAM GetVariable permission\nwill be returned along with t
heir values.", |
674 "httpMethod": "GET", | 745 "location": "query", |
675 "id": "runtimeconfig.projects.configs.waiter
s.get", | 746 "type": "boolean" |
676 "parameterOrder": [ | 747 } |
677 "name" | 748 }, |
678 ], | 749 "path": "v1beta1/{+parent}/variables", |
679 "parameters": { | 750 "response": { |
680 "name": { | 751 "$ref": "ListVariablesResponse" |
681 "description": "The fully-qualified
name of the Waiter resource object to retrieve, in the\nformat:\n\n`projects/[PR
OJECT_ID]/configs/[CONFIG_NAME]/waiters/[WAITER_NAME]`", | |
682 "location": "path", | |
683 "pattern": "^projects/[^/]+/configs/
[^/]+/waiters/[^/]+$", | |
684 "required": true, | |
685 "type": "string" | |
686 } | |
687 }, | |
688 "path": "v1beta1/{+name}", | |
689 "response": { | |
690 "$ref": "Waiter" | |
691 }, | 752 }, |
692 "scopes": [ | 753 "scopes": [ |
693 "https://www.googleapis.com/auth/cloud-p
latform", | 754 "https://www.googleapis.com/auth/cloud-p
latform", |
694 "https://www.googleapis.com/auth/cloudru
ntimeconfig" | 755 "https://www.googleapis.com/auth/cloudru
ntimeconfig" |
695 ] | 756 ] |
696 }, | 757 }, |
697 "create": { | 758 "create": { |
698 "description": "Creates a Waiter resource. T
his operation returns a long-running Operation\nresource which can be polled for
completion. However, a waiter with the\ngiven name will exist (and can be retri
eved) prior to the operation\ncompleting. If the operation fails, the failed Wai
ter resource will\nstill exist and must be deleted prior to subsequent creation
attempts.", | 759 "description": "Creates a variable within th
e given configuration. You cannot create\na variable with a name that is a prefi
x of an existing variable name, or a\nname that has an existing variable name as
a prefix.\n\nTo learn more about creating a variable, read the\n[Setting and Ge
tting Data](/deployment-manager/runtime-configurator/set-and-get-variables)\ndoc
umentation.", |
699 "httpMethod": "POST", | 760 "httpMethod": "POST", |
700 "id": "runtimeconfig.projects.configs.waiter
s.create", | 761 "id": "runtimeconfig.projects.configs.variab
les.create", |
701 "parameterOrder": [ | 762 "parameterOrder": [ |
702 "parent" | 763 "parent" |
703 ], | 764 ], |
704 "parameters": { | 765 "parameters": { |
705 "requestId": { | 766 "requestId": { |
706 "description": "An optional but reco
mmended unique <code>request_id</code>. If the server\nreceives two <code>create
()</code> requests with the same\n<code>request_id</code>, then the second requ
est will be ignored and the\nfirst resource created and stored in the backend is
returned.\nEmpty <code>request_id</code> fields are ignored.\n\nIt is responsib
ility of the client to ensure uniqueness of the\n<code>request_id</code> strings
.\n\n<code>request_id</code> strings are limited to 64 characters.", | 767 "description": "An optional but reco
mmended unique `request_id`. If the server\nreceives two `create()` requests wi
th the same\n`request_id`, then the second request will be ignored and the\nfirs
t resource created and stored in the backend is returned.\nEmpty `request_id` fi
elds are ignored.\n\nIt is responsibility of the client to ensure uniqueness of
the\n`request_id` strings.\n\n`request_id` strings are limited to 64 characters.
", |
707 "location": "query", | 768 "location": "query", |
708 "type": "string" | 769 "type": "string" |
709 }, | 770 }, |
710 "parent": { | 771 "parent": { |
711 "description": "The path to the conf
iguration that will own the waiter.\nThe configuration must exist beforehand; th
e path must by in the format:\n\n`projects/[PROJECT_ID]/configs/[CONFIG_NAME]`."
, | 772 "description": "The path to the Ruti
meConfig resource that this variable should belong to.\nThe configuration must e
xist beforehand; the path must by in the format:\n\n`projects/[PROJECT_ID]/confi
gs/[CONFIG_NAME]`", |
712 "location": "path", | 773 "location": "path", |
713 "pattern": "^projects/[^/]+/configs/
[^/]+$", | 774 "pattern": "^projects/[^/]+/configs/
[^/]+$", |
714 "required": true, | 775 "required": true, |
715 "type": "string" | 776 "type": "string" |
716 } | 777 } |
717 }, | 778 }, |
718 "path": "v1beta1/{+parent}/waiters", | 779 "path": "v1beta1/{+parent}/variables", |
719 "request": { | 780 "request": { |
720 "$ref": "Waiter" | 781 "$ref": "Variable" |
721 }, | 782 }, |
722 "response": { | 783 "response": { |
723 "$ref": "Operation" | 784 "$ref": "Variable" |
724 }, | 785 }, |
725 "scopes": [ | 786 "scopes": [ |
726 "https://www.googleapis.com/auth/cloud-p
latform", | 787 "https://www.googleapis.com/auth/cloud-p
latform", |
727 "https://www.googleapis.com/auth/cloudru
ntimeconfig" | |
728 ] | |
729 }, | |
730 "testIamPermissions": { | |
731 "description": "Returns permissions that a c
aller has on the specified resource.\nIf the resource does not exist, this will
return an empty set of\npermissions, not a NOT_FOUND error.", | |
732 "httpMethod": "GET", | |
733 "id": "runtimeconfig.projects.configs.waiter
s.testIamPermissions", | |
734 "parameterOrder": [ | |
735 "resource" | |
736 ], | |
737 "parameters": { | |
738 "resource": { | |
739 "description": "REQUIRED: The resour
ce for which the policy detail is being requested.\n`resource` is usually specif
ied as a path. For example, a Project\nresource is specified as `projects/{proje
ct}`.", | |
740 "location": "path", | |
741 "pattern": "^projects/[^/]+/configs/
[^/]+/waiters/[^/]+$", | |
742 "required": true, | |
743 "type": "string" | |
744 }, | |
745 "permissions": { | |
746 "description": "The set of permissio
ns to check for the `resource`. Permissions with\nwildcards (such as '*' or 'sto
rage.*') are not allowed. For more\ninformation see\n[IAM Overview](https://clou
d.google.com/iam/docs/overview#permissions).", | |
747 "location": "query", | |
748 "repeated": true, | |
749 "type": "string" | |
750 } | |
751 }, | |
752 "path": "v1beta1/{+resource}:testIamPermissi
ons", | |
753 "response": { | |
754 "$ref": "TestIamPermissionsResponse" | |
755 }, | |
756 "scopes": [ | |
757 "https://www.googleapis.com/auth/cloud-p
latform", | |
758 "https://www.googleapis.com/auth/cloudru
ntimeconfig" | |
759 ] | |
760 }, | |
761 "delete": { | |
762 "description": "Deletes the waiter with the
specified name.", | |
763 "httpMethod": "DELETE", | |
764 "id": "runtimeconfig.projects.configs.waiter
s.delete", | |
765 "parameterOrder": [ | |
766 "name" | |
767 ], | |
768 "parameters": { | |
769 "name": { | |
770 "description": "The Waiter resource
to delete, in the format:\n\n `projects/[PROJECT_ID]/configs/[CONFIG_NAME]/waite
rs/[WAITER_NAME]`", | |
771 "location": "path", | |
772 "pattern": "^projects/[^/]+/configs/
[^/]+/waiters/[^/]+$", | |
773 "required": true, | |
774 "type": "string" | |
775 } | |
776 }, | |
777 "path": "v1beta1/{+name}", | |
778 "response": { | |
779 "$ref": "Empty" | |
780 }, | |
781 "scopes": [ | |
782 "https://www.googleapis.com/auth/cloud-p
latform", | |
783 "https://www.googleapis.com/auth/cloudru
ntimeconfig" | 788 "https://www.googleapis.com/auth/cloudru
ntimeconfig" |
784 ] | 789 ] |
785 } | 790 } |
786 } | 791 } |
787 } | 792 } |
788 } | 793 } |
789 } | 794 } |
790 } | 795 } |
791 } | 796 } |
792 }, | 797 }, |
793 "revision": "20170123", | 798 "revision": "20170224", |
794 "rootUrl": "https://runtimeconfig.googleapis.com/", | 799 "rootUrl": "https://runtimeconfig.googleapis.com/", |
795 "schemas": { | 800 "schemas": { |
796 "Status": { | |
797 "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` which can be used for common error conditions.\n\n# Lan
guage 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` mes
sage is\nexposed in different client libraries and different wire protocols, it
can be\nmapped differently. For example, it will likely be mapped to some except
ions\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\nenviron
ments, either with or without APIs, to provide a\nconsistent developer experienc
e 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
may\n have a `Status` message for error reporting purpose.\n\n- Batch operati
ons. If a client uses batch request and batch response, the\n `Status` messag
e should be used directly inside batch response, one for\n each error sub-res
ponse.\n\n- Asynchronous operations. If an API call embeds asynchronous operatio
n\n results in its response, the status of those operations should be\n re
presented directly using the `Status` message.\n\n- Logging. If some API errors
are stored in logs, the message `Status` could\n be used directly after any s
tripping needed for security/privacy reasons.", | |
798 "id": "Status", | |
799 "properties": { | |
800 "details": { | |
801 "description": "A list of messages that carry the error deta
ils. There will be a\ncommon set of message types for APIs to use.", | |
802 "items": { | |
803 "additionalProperties": { | |
804 "description": "Properties of the object. Contains f
ield @type with type URL.", | |
805 "type": "any" | |
806 }, | |
807 "type": "object" | |
808 }, | |
809 "type": "array" | |
810 }, | |
811 "code": { | |
812 "description": "The status code, which should be an enum val
ue of google.rpc.Code.", | |
813 "format": "int32", | |
814 "type": "integer" | |
815 }, | |
816 "message": { | |
817 "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.", | |
818 "type": "string" | |
819 } | |
820 }, | |
821 "type": "object" | |
822 }, | |
823 "Binding": { | |
824 "description": "Associates `members` with a `role`.", | |
825 "id": "Binding", | |
826 "properties": { | |
827 "role": { | |
828 "description": "Role that is assigned to `members`.\nFor exa
mple, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired", | |
829 "type": "string" | |
830 }, | |
831 "members": { | |
832 "description": "Specifies the identities requesting access f
or a Cloud Platform resource.\n`members` can have the following values:\n\n* `al
lUsers`: A special identifier that represents anyone who is\n on the internet;
with or without a Google account.\n\n* `allAuthenticatedUsers`: A special ident
ifier that represents anyone\n who is authenticated with a Google account or a
service account.\n\n* `user:{emailid}`: An email address that represents a spec
ific Google\n account. For example, `alice@gmail.com` or `joe@example.com`.\n\
n\n* `serviceAccount:{emailid}`: An email address that represents a service\n
account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{e
mailid}`: An email address that represents a Google group.\n For example, `adm
ins@example.com`.\n\n* `domain:{domain}`: A Google Apps domain name that represe
nts all the\n users of that domain. For example, `google.com` or `example.com`
.\n\n", | |
833 "items": { | |
834 "type": "string" | |
835 }, | |
836 "type": "array" | |
837 } | |
838 }, | |
839 "type": "object" | |
840 }, | |
841 "Cardinality": { | |
842 "description": "A Cardinality condition for the Waiter resource. A c
ardinality condition is\nmet when the number of variables under a specified path
prefix reaches a\npredefined number. For example, if you set a Cardinality cond
ition where\nthe `path` is set to `/foo` and the number of paths is set to 2, th
e\nfollowing variables would meet the condition in a RuntimeConfig resource:\n\n
+ `/foo/variable1 = \"value1\"`\n+ `/foo/variable2 = \"value2\"`\n+ `/bar/variab
le3 = \"value3\"`\n\nIt would not would not satisify the same condition with the
`number` set to\n3, however, because there is only 2 paths that start with `/fo
o`.\nCardinality conditions are recursive; all subtrees under the specific\npath
prefix are counted.", | |
843 "id": "Cardinality", | |
844 "properties": { | |
845 "path": { | |
846 "description": "The root of the variable subtree to monitor.
For example, `/foo`.", | |
847 "type": "string" | |
848 }, | |
849 "number": { | |
850 "description": "The number variables under the `path` that m
ust exist to meet this\ncondition. Defaults to 1 if not specified.", | |
851 "format": "int32", | |
852 "type": "integer" | |
853 } | |
854 }, | |
855 "type": "object" | |
856 }, | |
857 "Empty": { | |
858 "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 `{}`.", | |
859 "id": "Empty", | |
860 "properties": {}, | |
861 "type": "object" | |
862 }, | |
863 "ListConfigsResponse": { | |
864 "description": "`ListConfigs()` returns the following response. The
order of returned\nobjects is arbitrary; that is, it is not ordered in any parti
cular way.", | |
865 "id": "ListConfigsResponse", | |
866 "properties": { | |
867 "configs": { | |
868 "description": "A list of the configurations in the project.
The order of returned\nobjects is arbitrary; that is, it is not ordered in any
particular way.", | |
869 "items": { | |
870 "$ref": "RuntimeConfig" | |
871 }, | |
872 "type": "array" | |
873 }, | |
874 "nextPageToken": { | |
875 "description": "This token allows you to get the next page o
f results for list requests.\nIf the number of results is larger than `pageSize`
, use the `nextPageToken`\nas a value for the query parameter `pageToken` in the
next list request.\nSubsequent list requests will have their own `nextPageToken
` to continue\npaging through the results", | |
876 "type": "string" | |
877 } | |
878 }, | |
879 "type": "object" | |
880 }, | |
881 "EndCondition": { | |
882 "description": "The condition that a Waiter resource is waiting for.
", | |
883 "id": "EndCondition", | |
884 "properties": { | |
885 "cardinality": { | |
886 "$ref": "Cardinality", | |
887 "description": "The cardinality of the `EndCondition`." | |
888 } | |
889 }, | |
890 "type": "object" | |
891 }, | |
892 "TestIamPermissionsResponse": { | |
893 "description": "Response message for `TestIamPermissions` method.", | |
894 "id": "TestIamPermissionsResponse", | |
895 "properties": { | |
896 "permissions": { | |
897 "description": "A subset of `TestPermissionsRequest.permissi
ons` that the caller is\nallowed.", | |
898 "items": { | |
899 "type": "string" | |
900 }, | |
901 "type": "array" | |
902 } | |
903 }, | |
904 "type": "object" | |
905 }, | |
906 "ListVariablesResponse": { | 801 "ListVariablesResponse": { |
907 "description": "Response for the `ListVariables()` method.", | 802 "description": "Response for the `ListVariables()` method.", |
908 "id": "ListVariablesResponse", | 803 "id": "ListVariablesResponse", |
909 "properties": { | 804 "properties": { |
910 "variables": { | 805 "variables": { |
911 "description": "A list of variables and their values. The or
der of returned variable\nobjects is arbitrary.", | 806 "description": "A list of variables and their values. The or
der of returned variable\nobjects is arbitrary.", |
912 "items": { | 807 "items": { |
913 "$ref": "Variable" | 808 "$ref": "Variable" |
914 }, | 809 }, |
915 "type": "array" | 810 "type": "array" |
(...skipping 29 matching lines...) Expand all Loading... |
945 "format": "google-datetime", | 840 "format": "google-datetime", |
946 "type": "string" | 841 "type": "string" |
947 } | 842 } |
948 }, | 843 }, |
949 "type": "object" | 844 "type": "object" |
950 }, | 845 }, |
951 "ListWaitersResponse": { | 846 "ListWaitersResponse": { |
952 "description": "Response for the `ListWaiters()` method.\nOrder of r
eturned waiter objects is arbitrary.", | 847 "description": "Response for the `ListWaiters()` method.\nOrder of r
eturned waiter objects is arbitrary.", |
953 "id": "ListWaitersResponse", | 848 "id": "ListWaitersResponse", |
954 "properties": { | 849 "properties": { |
955 "nextPageToken": { | |
956 "description": "This token allows you to get the next page o
f results for list requests.\nIf the number of results is larger than `pageSize`
, use the `nextPageToken`\nas a value for the query parameter `pageToken` in the
next list request.\nSubsequent list requests will have their own `nextPageToken
` to continue\npaging through the results", | |
957 "type": "string" | |
958 }, | |
959 "waiters": { | 850 "waiters": { |
960 "description": "Found waiters in the project.", | 851 "description": "Found waiters in the project.", |
961 "items": { | 852 "items": { |
962 "$ref": "Waiter" | 853 "$ref": "Waiter" |
963 }, | 854 }, |
964 "type": "array" | 855 "type": "array" |
| 856 }, |
| 857 "nextPageToken": { |
| 858 "description": "This token allows you to get the next page o
f results for list requests.\nIf the number of results is larger than `pageSize`
, use the `nextPageToken`\nas a value for the query parameter `pageToken` in the
next list request.\nSubsequent list requests will have their own `nextPageToken
` to continue\npaging through the results", |
| 859 "type": "string" |
965 } | 860 } |
966 }, | 861 }, |
967 "type": "object" | 862 "type": "object" |
968 }, | 863 }, |
969 "TestIamPermissionsRequest": { | 864 "TestIamPermissionsRequest": { |
970 "description": "Request message for `TestIamPermissions` method.", | 865 "description": "Request message for `TestIamPermissions` method.", |
971 "id": "TestIamPermissionsRequest", | 866 "id": "TestIamPermissionsRequest", |
972 "properties": { | 867 "properties": { |
973 "permissions": { | 868 "permissions": { |
974 "description": "The set of permissions to check for the `res
ource`. Permissions with\nwildcards (such as '*' or 'storage.*') are not allowed
. For more\ninformation see\n[IAM Overview](https://cloud.google.com/iam/docs/ov
erview#permissions).", | 869 "description": "The set of permissions to check for the `res
ource`. Permissions with\nwildcards (such as '*' or 'storage.*') are not allowed
. For more\ninformation see\n[IAM Overview](https://cloud.google.com/iam/docs/ov
erview#permissions).", |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1014 "description": "The name of the Waiter resource, in the form
at:\n\n projects/[PROJECT_ID]/configs/[CONFIG_NAME]/waiters/[WAITER_NAME]\n\n
The `[PROJECT_ID]` must be a valid Google Cloud project ID,\nthe `[CONFIG_NAME]`
must be a valid RuntimeConfig resource, the\n`[WAITER_NAME]` must match RFC 103
5 segment specification, and the length\nof `[WAITER_NAME]` must be less than 64
bytes.\n\nAfter you create a Waiter resource, you cannot change the resource na
me.", | 909 "description": "The name of the Waiter resource, in the form
at:\n\n projects/[PROJECT_ID]/configs/[CONFIG_NAME]/waiters/[WAITER_NAME]\n\n
The `[PROJECT_ID]` must be a valid Google Cloud project ID,\nthe `[CONFIG_NAME]`
must be a valid RuntimeConfig resource, the\n`[WAITER_NAME]` must match RFC 103
5 segment specification, and the length\nof `[WAITER_NAME]` must be less than 64
bytes.\n\nAfter you create a Waiter resource, you cannot change the resource na
me.", |
1015 "type": "string" | 910 "type": "string" |
1016 } | 911 } |
1017 }, | 912 }, |
1018 "type": "object" | 913 "type": "object" |
1019 }, | 914 }, |
1020 "Policy": { | 915 "Policy": { |
1021 "description": "Defines an Identity and Access Management (IAM) poli
cy. It is used to\nspecify access control policies for Cloud Platform resources.
\n\n\nA `Policy` consists of a list of `bindings`. A `Binding` binds a list of\n
`members` to a `role`, where the members can be user accounts, Google groups,\nG
oogle domains, and service accounts. A `role` is a named list of permissions\nde
fined by IAM.\n\n**Example**\n\n {\n \"bindings\": [\n {\n
\"role\": \"roles/owner\",\n \"members\": [\n \"user:mike
@example.com\",\n \"group:admins@example.com\",\n \"domain
:google.com\",\n \"serviceAccount:my-other-app@appspot.gserviceaccoun
t.com\",\n ]\n },\n {\n \"role\": \"roles/viewer
\",\n \"members\": [\"user:sean@example.com\"]\n }\n ]\n
}\n\nFor a description of IAM and its features, see the\n[IAM developer's guide
](https://cloud.google.com/iam).", | 916 "description": "Defines an Identity and Access Management (IAM) poli
cy. It is used to\nspecify access control policies for Cloud Platform resources.
\n\n\nA `Policy` consists of a list of `bindings`. A `Binding` binds a list of\n
`members` to a `role`, where the members can be user accounts, Google groups,\nG
oogle domains, and service accounts. A `role` is a named list of permissions\nde
fined by IAM.\n\n**Example**\n\n {\n \"bindings\": [\n {\n
\"role\": \"roles/owner\",\n \"members\": [\n \"user:mike
@example.com\",\n \"group:admins@example.com\",\n \"domain
:google.com\",\n \"serviceAccount:my-other-app@appspot.gserviceaccoun
t.com\",\n ]\n },\n {\n \"role\": \"roles/viewer
\",\n \"members\": [\"user:sean@example.com\"]\n }\n ]\n
}\n\nFor a description of IAM and its features, see the\n[IAM developer's guide
](https://cloud.google.com/iam).", |
1022 "id": "Policy", | 917 "id": "Policy", |
1023 "properties": { | 918 "properties": { |
1024 "bindings": { | |
1025 "description": "Associates a list of `members` to a `role`.\
nMultiple `bindings` must not be specified for the same `role`.\n`bindings` with
no members will result in an error.", | |
1026 "items": { | |
1027 "$ref": "Binding" | |
1028 }, | |
1029 "type": "array" | |
1030 }, | |
1031 "etag": { | 919 "etag": { |
1032 "description": "`etag` is used for optimistic concurrency co
ntrol as a way to help\nprevent simultaneous updates of a policy from overwritin
g each other.\nIt is strongly suggested that systems make use of the `etag` in t
he\nread-modify-write cycle to perform policy updates in order to avoid race\nco
nditions: An `etag` is returned in the response to `getIamPolicy`, and\nsystems
are expected to put that etag in the request to `setIamPolicy` to\nensure that t
heir change will be applied to the same version of the policy.\n\nIf no `etag` i
s provided in the call to `setIamPolicy`, then the existing\npolicy is overwritt
en blindly.", | 920 "description": "`etag` is used for optimistic concurrency co
ntrol as a way to help\nprevent simultaneous updates of a policy from overwritin
g each other.\nIt is strongly suggested that systems make use of the `etag` in t
he\nread-modify-write cycle to perform policy updates in order to avoid race\nco
nditions: An `etag` is returned in the response to `getIamPolicy`, and\nsystems
are expected to put that etag in the request to `setIamPolicy` to\nensure that t
heir change will be applied to the same version of the policy.\n\nIf no `etag` i
s provided in the call to `setIamPolicy`, then the existing\npolicy is overwritt
en blindly.", |
1033 "format": "byte", | 921 "format": "byte", |
1034 "type": "string" | 922 "type": "string" |
1035 }, | 923 }, |
1036 "version": { | 924 "version": { |
1037 "description": "Version of the `Policy`. The default version
is 0.", | 925 "description": "Version of the `Policy`. The default version
is 0.", |
1038 "format": "int32", | 926 "format": "int32", |
1039 "type": "integer" | 927 "type": "integer" |
| 928 }, |
| 929 "bindings": { |
| 930 "description": "Associates a list of `members` to a `role`.\
nMultiple `bindings` must not be specified for the same `role`.\n`bindings` with
no members will result in an error.", |
| 931 "items": { |
| 932 "$ref": "Binding" |
| 933 }, |
| 934 "type": "array" |
1040 } | 935 } |
1041 }, | 936 }, |
1042 "type": "object" | 937 "type": "object" |
1043 }, | 938 }, |
1044 "Variable": { | 939 "Variable": { |
1045 "description": "Describes a single variable within a RuntimeConfig r
esource.\nThe name denotes the hierarchical variable name. For example,\n`ports/
serving_port` is a valid variable name. The variable value is an\nopaque string
and only leaf variables can have values (that is, variables\nthat do not have an
y child variables).", | 940 "description": "Describes a single variable within a RuntimeConfig r
esource.\nThe name denotes the hierarchical variable name. For example,\n`ports/
serving_port` is a valid variable name. The variable value is an\nopaque string
and only leaf variables can have values (that is, variables\nthat do not have an
y child variables).", |
1046 "id": "Variable", | 941 "id": "Variable", |
1047 "properties": { | 942 "properties": { |
1048 "text": { | |
1049 "description": "The string value of the variable. The length
of the value must be less\nthan 4096 bytes. Empty values are also accepted. For
example,\n<code>text: \"my text value\"</code>.", | |
1050 "type": "string" | |
1051 }, | |
1052 "value": { | |
1053 "description": "The binary value of the variable. The length
of the value must be less\nthan 4096 bytes. Empty values are also accepted. The
value must be\nbase64 encoded. Only one of `value` or `text` can be set.", | |
1054 "format": "byte", | |
1055 "type": "string" | |
1056 }, | |
1057 "updateTime": { | 943 "updateTime": { |
1058 "description": "[Output Only] The time of the last variable
update.", | 944 "description": "[Output Only] The time of the last variable
update.", |
1059 "format": "google-datetime", | 945 "format": "google-datetime", |
1060 "type": "string" | 946 "type": "string" |
1061 }, | 947 }, |
1062 "state": { | 948 "state": { |
1063 "description": "[Ouput only] The current state of the variab
le. The variable state indicates\nthe outcome of the `variables().watch` call an
d is visible through the\n`get` and `list` calls.", | 949 "description": "[Ouput only] The current state of the variab
le. The variable state indicates\nthe outcome of the `variables().watch` call an
d is visible through the\n`get` and `list` calls.", |
1064 "enum": [ | 950 "enum": [ |
1065 "VARIABLE_STATE_UNSPECIFIED", | 951 "VARIABLE_STATE_UNSPECIFIED", |
1066 "UPDATED", | 952 "UPDATED", |
1067 "DELETED" | 953 "DELETED" |
1068 ], | 954 ], |
1069 "enumDescriptions": [ | 955 "enumDescriptions": [ |
1070 "Default variable state.", | 956 "Default variable state.", |
1071 "The variable was updated, while `variables().watch` was
executing.", | 957 "The variable was updated, while `variables().watch` was
executing.", |
1072 "The variable was deleted, while `variables().watch` was
executing." | 958 "The variable was deleted, while `variables().watch` was
executing." |
1073 ], | 959 ], |
1074 "type": "string" | 960 "type": "string" |
1075 }, | 961 }, |
1076 "name": { | 962 "name": { |
1077 "description": "The name of the variable resource, in the fo
rmat:\n\n projects/[PROJECT_ID]/configs/[CONFIG_NAME]/variables/[VARIABLE_NAM
E]\n\nThe `[PROJECT_ID]` must be a valid project ID, `[CONFIG_NAME]` must be a\n
valid RuntimeConfig reource and `[VARIABLE_NAME]` follows Unix file system\nfile
path naming.\n\nThe `[VARIABLE_NAME]` can contain ASCII letters, numbers, slash
es and\ndashes. Slashes are used as path element separators and are not part of
the\n`[VARIABLE_NAME]` itself, so `[VARIABLE_NAME]` must contain at least one\nn
on-slash character. Multiple slashes are coalesced into single slash\ncharacter.
Each path segment should follow RFC 1035 segment specification.\nThe length of
a `[VARIABLE_NAME]` must be less than 256 bytes.\n\nOnce you create a variable,
you cannot change the variable name.", | 963 "description": "The name of the variable resource, in the fo
rmat:\n\n projects/[PROJECT_ID]/configs/[CONFIG_NAME]/variables/[VARIABLE_NAM
E]\n\nThe `[PROJECT_ID]` must be a valid project ID, `[CONFIG_NAME]` must be a\n
valid RuntimeConfig reource and `[VARIABLE_NAME]` follows Unix file system\nfile
path naming.\n\nThe `[VARIABLE_NAME]` can contain ASCII letters, numbers, slash
es and\ndashes. Slashes are used as path element separators and are not part of
the\n`[VARIABLE_NAME]` itself, so `[VARIABLE_NAME]` must contain at least one\nn
on-slash character. Multiple slashes are coalesced into single slash\ncharacter.
Each path segment should follow RFC 1035 segment specification.\nThe length of
a `[VARIABLE_NAME]` must be less than 256 bytes.\n\nOnce you create a variable,
you cannot change the variable name.", |
1078 "type": "string" | 964 "type": "string" |
| 965 }, |
| 966 "text": { |
| 967 "description": "The string value of the variable. The length
of the value must be less\nthan 4096 bytes. Empty values are also accepted. For
example,\n`text: \"my text value\"`. The string must be valid UTF-8.", |
| 968 "type": "string" |
| 969 }, |
| 970 "value": { |
| 971 "description": "The binary value of the variable. The length
of the value must be less\nthan 4096 bytes. Empty values are also accepted. The
value must be\nbase64 encoded. Only one of `value` or `text` can be set.", |
| 972 "format": "byte", |
| 973 "type": "string" |
1079 } | 974 } |
1080 }, | 975 }, |
1081 "type": "object" | 976 "type": "object" |
1082 }, | 977 }, |
1083 "Operation": { | 978 "Operation": { |
1084 "description": "This resource represents a long-running operation th
at is the result of a\nnetwork API call.", | 979 "description": "This resource represents a long-running operation th
at is the result of a\nnetwork API call.", |
1085 "id": "Operation", | 980 "id": "Operation", |
1086 "properties": { | 981 "properties": { |
| 982 "error": { |
| 983 "$ref": "Status", |
| 984 "description": "The error result of the operation in case of
failure or cancellation." |
| 985 }, |
1087 "metadata": { | 986 "metadata": { |
1088 "additionalProperties": { | 987 "additionalProperties": { |
1089 "description": "Properties of the object. Contains field
@type with type URL.", | 988 "description": "Properties of the object. Contains field
@type with type URL.", |
1090 "type": "any" | 989 "type": "any" |
1091 }, | 990 }, |
1092 "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.
", | 991 "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.
", |
1093 "type": "object" | 992 "type": "object" |
1094 }, | 993 }, |
1095 "done": { | 994 "done": { |
1096 "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.", | 995 "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.", |
1097 "type": "boolean" | 996 "type": "boolean" |
1098 }, | 997 }, |
1099 "response": { | 998 "response": { |
1100 "additionalProperties": { | 999 "additionalProperties": { |
1101 "description": "Properties of the object. Contains field
@type with type URL.", | 1000 "description": "Properties of the object. Contains field
@type with type URL.", |
1102 "type": "any" | 1001 "type": "any" |
1103 }, | 1002 }, |
1104 "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`.", | 1003 "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`.", |
1105 "type": "object" | 1004 "type": "object" |
1106 }, | 1005 }, |
1107 "name": { | 1006 "name": { |
1108 "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`
.", | 1007 "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`
.", |
1109 "type": "string" | 1008 "type": "string" |
1110 }, | |
1111 "error": { | |
1112 "$ref": "Status", | |
1113 "description": "The error result of the operation in case of
failure or cancellation." | |
1114 } | 1009 } |
1115 }, | 1010 }, |
1116 "type": "object" | 1011 "type": "object" |
1117 }, | 1012 }, |
1118 "SetIamPolicyRequest": { | 1013 "SetIamPolicyRequest": { |
1119 "description": "Request message for `SetIamPolicy` method.", | 1014 "description": "Request message for `SetIamPolicy` method.", |
1120 "id": "SetIamPolicyRequest", | 1015 "id": "SetIamPolicyRequest", |
1121 "properties": { | 1016 "properties": { |
1122 "policy": { | 1017 "policy": { |
1123 "$ref": "Policy", | 1018 "$ref": "Policy", |
1124 "description": "REQUIRED: The complete policy to be applied
to the `resource`. The size of\nthe policy is limited to a few 10s of KB. An emp
ty policy is a\nvalid policy but certain Cloud Platform services (such as Projec
ts)\nmight reject them." | 1019 "description": "REQUIRED: The complete policy to be applied
to the `resource`. The size of\nthe policy is limited to a few 10s of KB. An emp
ty policy is a\nvalid policy but certain Cloud Platform services (such as Projec
ts)\nmight reject them." |
1125 } | 1020 } |
1126 }, | 1021 }, |
1127 "type": "object" | 1022 "type": "object" |
| 1023 }, |
| 1024 "Status": { |
| 1025 "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` which can be used for common error conditions.\n\n# Lan
guage 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` mes
sage is\nexposed in different client libraries and different wire protocols, it
can be\nmapped differently. For example, it will likely be mapped to some except
ions\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\nenviron
ments, either with or without APIs, to provide a\nconsistent developer experienc
e 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
may\n have a `Status` message for error reporting purpose.\n\n- Batch operati
ons. If a client uses batch request and batch response, the\n `Status` messag
e should be used directly inside batch response, one for\n each error sub-res
ponse.\n\n- Asynchronous operations. If an API call embeds asynchronous operatio
n\n results in its response, the status of those operations should be\n re
presented directly using the `Status` message.\n\n- Logging. If some API errors
are stored in logs, the message `Status` could\n be used directly after any s
tripping needed for security/privacy reasons.", |
| 1026 "id": "Status", |
| 1027 "properties": { |
| 1028 "details": { |
| 1029 "description": "A list of messages that carry the error deta
ils. There will be a\ncommon set of message types for APIs to use.", |
| 1030 "items": { |
| 1031 "additionalProperties": { |
| 1032 "description": "Properties of the object. Contains f
ield @type with type URL.", |
| 1033 "type": "any" |
| 1034 }, |
| 1035 "type": "object" |
| 1036 }, |
| 1037 "type": "array" |
| 1038 }, |
| 1039 "code": { |
| 1040 "description": "The status code, which should be an enum val
ue of google.rpc.Code.", |
| 1041 "format": "int32", |
| 1042 "type": "integer" |
| 1043 }, |
| 1044 "message": { |
| 1045 "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.", |
| 1046 "type": "string" |
| 1047 } |
| 1048 }, |
| 1049 "type": "object" |
| 1050 }, |
| 1051 "Binding": { |
| 1052 "description": "Associates `members` with a `role`.", |
| 1053 "id": "Binding", |
| 1054 "properties": { |
| 1055 "members": { |
| 1056 "description": "Specifies the identities requesting access f
or a Cloud Platform resource.\n`members` can have the following values:\n\n* `al
lUsers`: A special identifier that represents anyone who is\n on the internet;
with or without a Google account.\n\n* `allAuthenticatedUsers`: A special ident
ifier that represents anyone\n who is authenticated with a Google account or a
service account.\n\n* `user:{emailid}`: An email address that represents a spec
ific Google\n account. For example, `alice@gmail.com` or `joe@example.com`.\n\
n\n* `serviceAccount:{emailid}`: An email address that represents a service\n
account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{e
mailid}`: An email address that represents a Google group.\n For example, `adm
ins@example.com`.\n\n* `domain:{domain}`: A Google Apps domain name that represe
nts all the\n users of that domain. For example, `google.com` or `example.com`
.\n\n", |
| 1057 "items": { |
| 1058 "type": "string" |
| 1059 }, |
| 1060 "type": "array" |
| 1061 }, |
| 1062 "role": { |
| 1063 "description": "Role that is assigned to `members`.\nFor exa
mple, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired", |
| 1064 "type": "string" |
| 1065 } |
| 1066 }, |
| 1067 "type": "object" |
| 1068 }, |
| 1069 "Empty": { |
| 1070 "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 `{}`.", |
| 1071 "id": "Empty", |
| 1072 "properties": {}, |
| 1073 "type": "object" |
| 1074 }, |
| 1075 "Cardinality": { |
| 1076 "description": "A Cardinality condition for the Waiter resource. A c
ardinality condition is\nmet when the number of variables under a specified path
prefix reaches a\npredefined number. For example, if you set a Cardinality cond
ition where\nthe `path` is set to `/foo` and the number of paths is set to 2, th
e\nfollowing variables would meet the condition in a RuntimeConfig resource:\n\n
+ `/foo/variable1 = \"value1\"`\n+ `/foo/variable2 = \"value2\"`\n+ `/bar/variab
le3 = \"value3\"`\n\nIt would not would not satisify the same condition with the
`number` set to\n3, however, because there is only 2 paths that start with `/fo
o`.\nCardinality conditions are recursive; all subtrees under the specific\npath
prefix are counted.", |
| 1077 "id": "Cardinality", |
| 1078 "properties": { |
| 1079 "path": { |
| 1080 "description": "The root of the variable subtree to monitor.
For example, `/foo`.", |
| 1081 "type": "string" |
| 1082 }, |
| 1083 "number": { |
| 1084 "description": "The number variables under the `path` that m
ust exist to meet this\ncondition. Defaults to 1 if not specified.", |
| 1085 "format": "int32", |
| 1086 "type": "integer" |
| 1087 } |
| 1088 }, |
| 1089 "type": "object" |
| 1090 }, |
| 1091 "ListConfigsResponse": { |
| 1092 "description": "`ListConfigs()` returns the following response. The
order of returned\nobjects is arbitrary; that is, it is not ordered in any parti
cular way.", |
| 1093 "id": "ListConfigsResponse", |
| 1094 "properties": { |
| 1095 "configs": { |
| 1096 "description": "A list of the configurations in the project.
The order of returned\nobjects is arbitrary; that is, it is not ordered in any
particular way.", |
| 1097 "items": { |
| 1098 "$ref": "RuntimeConfig" |
| 1099 }, |
| 1100 "type": "array" |
| 1101 }, |
| 1102 "nextPageToken": { |
| 1103 "description": "This token allows you to get the next page o
f results for list requests.\nIf the number of results is larger than `pageSize`
, use the `nextPageToken`\nas a value for the query parameter `pageToken` in the
next list request.\nSubsequent list requests will have their own `nextPageToken
` to continue\npaging through the results", |
| 1104 "type": "string" |
| 1105 } |
| 1106 }, |
| 1107 "type": "object" |
| 1108 }, |
| 1109 "EndCondition": { |
| 1110 "description": "The condition that a Waiter resource is waiting for.
", |
| 1111 "id": "EndCondition", |
| 1112 "properties": { |
| 1113 "cardinality": { |
| 1114 "$ref": "Cardinality", |
| 1115 "description": "The cardinality of the `EndCondition`." |
| 1116 } |
| 1117 }, |
| 1118 "type": "object" |
| 1119 }, |
| 1120 "TestIamPermissionsResponse": { |
| 1121 "description": "Response message for `TestIamPermissions` method.", |
| 1122 "id": "TestIamPermissionsResponse", |
| 1123 "properties": { |
| 1124 "permissions": { |
| 1125 "description": "A subset of `TestPermissionsRequest.permissi
ons` that the caller is\nallowed.", |
| 1126 "items": { |
| 1127 "type": "string" |
| 1128 }, |
| 1129 "type": "array" |
| 1130 } |
| 1131 }, |
| 1132 "type": "object" |
1128 } | 1133 } |
1129 }, | 1134 }, |
1130 "servicePath": "", | 1135 "servicePath": "", |
1131 "title": "Google Cloud RuntimeConfig API", | 1136 "title": "Google Cloud RuntimeConfig API", |
1132 "version": "v1beta1" | 1137 "version": "v1beta1" |
1133 } | 1138 } |
OLD | NEW |