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

Side by Side Diff: discovery/googleapis_beta/runtimeconfig__v1beta1.json

Issue 2987103002: Api-Roll 52: 2017-07-31 (Closed)
Patch Set: Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 16 matching lines...) Expand all
27 "name": "runtimeconfig", 27 "name": "runtimeconfig",
28 "ownerDomain": "google.com", 28 "ownerDomain": "google.com",
29 "ownerName": "Google", 29 "ownerName": "Google",
30 "parameters": { 30 "parameters": {
31 "pp": { 31 "pp": {
32 "default": "true", 32 "default": "true",
33 "description": "Pretty-print response.", 33 "description": "Pretty-print response.",
34 "location": "query", 34 "location": "query",
35 "type": "boolean" 35 "type": "boolean"
36 }, 36 },
37 "bearer_token": {
38 "description": "OAuth bearer token.",
39 "location": "query",
40 "type": "string"
41 },
37 "oauth_token": { 42 "oauth_token": {
38 "description": "OAuth 2.0 token for the current user.", 43 "description": "OAuth 2.0 token for the current user.",
39 "location": "query", 44 "location": "query",
40 "type": "string" 45 "type": "string"
41 }, 46 },
42 "bearer_token": {
43 "description": "OAuth bearer token.",
44 "location": "query",
45 "type": "string"
46 },
47 "upload_protocol": { 47 "upload_protocol": {
48 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").", 48 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").",
49 "location": "query", 49 "location": "query",
50 "type": "string" 50 "type": "string"
51 }, 51 },
52 "prettyPrint": { 52 "prettyPrint": {
53 "default": "true", 53 "default": "true",
54 "description": "Returns response with indentations and line breaks." , 54 "description": "Returns response with indentations and line breaks." ,
55 "location": "query", 55 "location": "query",
56 "type": "boolean" 56 "type": "boolean"
57 }, 57 },
58 "fields": { 58 "fields": {
59 "description": "Selector specifying which fields to include in a par tial response.", 59 "description": "Selector specifying which fields to include in a par tial response.",
60 "location": "query", 60 "location": "query",
61 "type": "string" 61 "type": "string"
62 }, 62 },
63 "uploadType": { 63 "uploadType": {
64 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").", 64 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").",
65 "location": "query", 65 "location": "query",
66 "type": "string" 66 "type": "string"
67 }, 67 },
68 "callback": {
69 "description": "JSONP",
70 "location": "query",
71 "type": "string"
72 },
68 "$.xgafv": { 73 "$.xgafv": {
69 "description": "V1 error format.", 74 "description": "V1 error format.",
70 "enum": [ 75 "enum": [
71 "1", 76 "1",
72 "2" 77 "2"
73 ], 78 ],
74 "enumDescriptions": [ 79 "enumDescriptions": [
75 "v1 error format", 80 "v1 error format",
76 "v2 error format" 81 "v2 error format"
77 ], 82 ],
78 "location": "query", 83 "location": "query",
79 "type": "string" 84 "type": "string"
80 }, 85 },
81 "callback": {
82 "description": "JSONP",
83 "location": "query",
84 "type": "string"
85 },
86 "alt": { 86 "alt": {
87 "default": "json", 87 "default": "json",
88 "description": "Data format for response.", 88 "description": "Data format for response.",
89 "enum": [ 89 "enum": [
90 "json", 90 "json",
91 "media", 91 "media",
92 "proto" 92 "proto"
93 ], 93 ],
94 "enumDescriptions": [ 94 "enumDescriptions": [
95 "Responses with Content-Type of application/json", 95 "Responses with Content-Type of application/json",
96 "Media download with context-dependent Content-Type", 96 "Media download with context-dependent Content-Type",
97 "Responses with Content-Type of application/x-protobuf" 97 "Responses with Content-Type of application/x-protobuf"
98 ], 98 ],
99 "location": "query", 99 "location": "query",
100 "type": "string" 100 "type": "string"
101 }, 101 },
102 "key": {
103 "description": "API key. Your API key identifies your project and pr ovides you with API access, quota, and reports. Required unless you provide an O Auth 2.0 token.",
104 "location": "query",
105 "type": "string"
106 },
102 "access_token": { 107 "access_token": {
103 "description": "OAuth access token.", 108 "description": "OAuth access token.",
104 "location": "query", 109 "location": "query",
105 "type": "string" 110 "type": "string"
106 }, 111 },
107 "key": {
108 "description": "API key. Your API key identifies your project and pr ovides you with API access, quota, and reports. Required unless you provide an O Auth 2.0 token.",
109 "location": "query",
110 "type": "string"
111 },
112 "quotaUser": { 112 "quotaUser": {
113 "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exc eed 40 characters.", 113 "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exc eed 40 characters.",
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.\nSee the operation documentation for the app ropriate value for this field.",
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 },
124 "get": { 149 "get": {
125 "description": "Gets information about a RuntimeConf ig resource.", 150 "description": "Gets information about a RuntimeConf ig resource.",
126 "httpMethod": "GET", 151 "httpMethod": "GET",
127 "id": "runtimeconfig.projects.configs.get", 152 "id": "runtimeconfig.projects.configs.get",
128 "parameterOrder": [ 153 "parameterOrder": [
129 "name" 154 "name"
130 ], 155 ],
131 "parameters": { 156 "parameters": {
132 "name": { 157 "name": {
133 "description": "The name of the RuntimeConfi g resource to retrieve, in the format:\n\n`projects/[PROJECT_ID]/configs/[CONFIG _NAME]`", 158 "description": "The name of the RuntimeConfi g resource to retrieve, in the format:\n\n`projects/[PROJECT_ID]/configs/[CONFIG _NAME]`",
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 }, 281 },
257 "path": "v1beta1/{+parent}/configs", 282 "path": "v1beta1/{+parent}/configs",
258 "response": { 283 "response": {
259 "$ref": "ListConfigsResponse" 284 "$ref": "ListConfigsResponse"
260 }, 285 },
261 "scopes": [ 286 "scopes": [
262 "https://www.googleapis.com/auth/cloud-platform" , 287 "https://www.googleapis.com/auth/cloud-platform" ,
263 "https://www.googleapis.com/auth/cloudruntimecon fig" 288 "https://www.googleapis.com/auth/cloudruntimecon fig"
264 ] 289 ]
265 }, 290 },
266 "create": {
267 "description": "Creates a new RuntimeConfig resource . The configuration name must be\nunique within project.",
268 "httpMethod": "POST",
269 "id": "runtimeconfig.projects.configs.create",
270 "parameterOrder": [
271 "parent"
272 ],
273 "parameters": {
274 "requestId": {
275 "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.",
276 "location": "query",
277 "type": "string"
278 },
279 "parent": {
280 "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]`.",
281 "location": "path",
282 "pattern": "^projects/[^/]+$",
283 "required": true,
284 "type": "string"
285 }
286 },
287 "path": "v1beta1/{+parent}/configs",
288 "request": {
289 "$ref": "RuntimeConfig"
290 },
291 "response": {
292 "$ref": "RuntimeConfig"
293 },
294 "scopes": [
295 "https://www.googleapis.com/auth/cloud-platform" ,
296 "https://www.googleapis.com/auth/cloudruntimecon fig"
297 ]
298 },
299 "setIamPolicy": { 291 "setIamPolicy": {
300 "description": "Sets the access control policy on th e specified resource. Replaces any\nexisting policy.", 292 "description": "Sets the access control policy on th e specified resource. Replaces any\nexisting policy.",
301 "httpMethod": "POST", 293 "httpMethod": "POST",
302 "id": "runtimeconfig.projects.configs.setIamPolicy", 294 "id": "runtimeconfig.projects.configs.setIamPolicy",
303 "parameterOrder": [ 295 "parameterOrder": [
304 "resource" 296 "resource"
305 ], 297 ],
306 "parameters": { 298 "parameters": {
307 "resource": { 299 "resource": {
308 "description": "REQUIRED: The resource for w hich the policy is being specified.\nSee the operation documentation for the app ropriate value for this field.", 300 "description": "REQUIRED: The resource for w hich the policy is being specified.\nSee the operation documentation for the app ropriate value for this field.",
309 "location": "path", 301 "location": "path",
310 "pattern": "^projects/[^/]+/configs/[^/]+$", 302 "pattern": "^projects/[^/]+/configs/[^/]+$",
311 "required": true, 303 "required": true,
312 "type": "string" 304 "type": "string"
313 } 305 }
314 }, 306 },
315 "path": "v1beta1/{+resource}:setIamPolicy", 307 "path": "v1beta1/{+resource}:setIamPolicy",
316 "request": { 308 "request": {
317 "$ref": "SetIamPolicyRequest" 309 "$ref": "SetIamPolicyRequest"
318 }, 310 },
319 "response": { 311 "response": {
320 "$ref": "Policy" 312 "$ref": "Policy"
321 }, 313 },
322 "scopes": [ 314 "scopes": [
323 "https://www.googleapis.com/auth/cloud-platform" , 315 "https://www.googleapis.com/auth/cloud-platform" ,
324 "https://www.googleapis.com/auth/cloudruntimecon fig" 316 "https://www.googleapis.com/auth/cloudruntimecon fig"
325 ] 317 ]
326 }, 318 },
327 "getIamPolicy": { 319 "create": {
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.", 320 "description": "Creates a new RuntimeConfig resource . The configuration name must be\nunique within project.",
329 "httpMethod": "GET", 321 "httpMethod": "POST",
330 "id": "runtimeconfig.projects.configs.getIamPolicy", 322 "id": "runtimeconfig.projects.configs.create",
331 "parameterOrder": [ 323 "parameterOrder": [
332 "resource" 324 "parent"
333 ], 325 ],
334 "parameters": { 326 "parameters": {
335 "resource": { 327 "requestId": {
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.", 328 "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",
330 "type": "string"
331 },
332 "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]`.",
337 "location": "path", 334 "location": "path",
338 "pattern": "^projects/[^/]+/configs/[^/]+$", 335 "pattern": "^projects/[^/]+$",
339 "required": true, 336 "required": true,
340 "type": "string" 337 "type": "string"
341 } 338 }
342 }, 339 },
343 "path": "v1beta1/{+resource}:getIamPolicy", 340 "path": "v1beta1/{+parent}/configs",
341 "request": {
342 "$ref": "RuntimeConfig"
343 },
344 "response": { 344 "response": {
345 "$ref": "Policy" 345 "$ref": "RuntimeConfig"
346 }, 346 },
347 "scopes": [ 347 "scopes": [
348 "https://www.googleapis.com/auth/cloud-platform" , 348 "https://www.googleapis.com/auth/cloud-platform" ,
349 "https://www.googleapis.com/auth/cloudruntimecon fig" 349 "https://www.googleapis.com/auth/cloudruntimecon fig"
350 ] 350 ]
351 } 351 }
352 }, 352 },
353 "resources": { 353 "resources": {
354 "operations": { 354 "waiters": {
355 "methods": { 355 "methods": {
356 "get": { 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.", 357 "description": "Gets information about a sin gle waiter.",
358 "httpMethod": "GET", 358 "httpMethod": "GET",
359 "id": "runtimeconfig.projects.configs.operat ions.get", 359 "id": "runtimeconfig.projects.configs.waiter s.get",
360 "parameterOrder": [ 360 "parameterOrder": [
361 "name" 361 "name"
362 ], 362 ],
363 "parameters": { 363 "parameters": {
364 "name": { 364 "name": {
365 "description": "The name of the oper ation resource.", 365 "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]`",
366 "location": "path", 366 "location": "path",
367 "pattern": "^projects/[^/]+/configs/ [^/]+/operations/.+$", 367 "pattern": "^projects/[^/]+/configs/ [^/]+/waiters/[^/]+$",
368 "required": true, 368 "required": true,
369 "type": "string" 369 "type": "string"
370 } 370 }
371 }, 371 },
372 "path": "v1beta1/{+name}", 372 "path": "v1beta1/{+name}",
373 "response": { 373 "response": {
374 "$ref": "Operation" 374 "$ref": "Waiter"
375 }, 375 },
376 "scopes": [ 376 "scopes": [
377 "https://www.googleapis.com/auth/cloud-p latform", 377 "https://www.googleapis.com/auth/cloud-p latform",
378 "https://www.googleapis.com/auth/cloudru ntimeconfig" 378 "https://www.googleapis.com/auth/cloudru ntimeconfig"
379 ] 379 ]
380 }, 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": "POST",
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 },
397 "path": "v1beta1/{+resource}:testIamPermissi ons",
398 "request": {
399 "$ref": "TestIamPermissionsRequest"
400 },
401 "response": {
402 "$ref": "TestIamPermissionsResponse"
403 },
404 "scopes": [
405 "https://www.googleapis.com/auth/cloud-p latform",
406 "https://www.googleapis.com/auth/cloudru ntimeconfig"
407 ]
408 }
409 }
410 },
411 "waiters": {
412 "methods": {
413 "list": { 381 "list": {
414 "description": "List waiters within the give n configuration.", 382 "description": "List waiters within the give n configuration.",
415 "httpMethod": "GET", 383 "httpMethod": "GET",
416 "id": "runtimeconfig.projects.configs.waiter s.list", 384 "id": "runtimeconfig.projects.configs.waiter s.list",
417 "parameterOrder": [ 385 "parameterOrder": [
418 "parent" 386 "parent"
419 ], 387 ],
420 "parameters": { 388 "parameters": {
389 "parent": {
390 "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]`",
391 "location": "path",
392 "pattern": "^projects/[^/]+/configs/ [^/]+$",
393 "required": true,
394 "type": "string"
395 },
421 "pageToken": { 396 "pageToken": {
422 "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.", 397 "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.",
423 "location": "query", 398 "location": "query",
424 "type": "string" 399 "type": "string"
425 }, 400 },
426 "pageSize": { 401 "pageSize": {
427 "description": "Specifies the number of results to return per page. If there are fewer\nelements than the specified number, returns all elements.", 402 "description": "Specifies the number of results to return per page. If there are fewer\nelements than the specified number, returns all elements.",
428 "format": "int32", 403 "format": "int32",
429 "location": "query", 404 "location": "query",
430 "type": "integer" 405 "type": "integer"
431 },
432 "parent": {
433 "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]`",
434 "location": "path",
435 "pattern": "^projects/[^/]+/configs/ [^/]+$",
436 "required": true,
437 "type": "string"
438 } 406 }
439 }, 407 },
440 "path": "v1beta1/{+parent}/waiters", 408 "path": "v1beta1/{+parent}/waiters",
441 "response": { 409 "response": {
442 "$ref": "ListWaitersResponse" 410 "$ref": "ListWaitersResponse"
443 }, 411 },
444 "scopes": [ 412 "scopes": [
445 "https://www.googleapis.com/auth/cloud-p latform", 413 "https://www.googleapis.com/auth/cloud-p latform",
446 "https://www.googleapis.com/auth/cloudru ntimeconfig" 414 "https://www.googleapis.com/auth/cloudru ntimeconfig"
447 ] 415 ]
448 }, 416 },
449 "get": {
450 "description": "Gets information about a sin gle waiter.",
451 "httpMethod": "GET",
452 "id": "runtimeconfig.projects.configs.waiter s.get",
453 "parameterOrder": [
454 "name"
455 ],
456 "parameters": {
457 "name": {
458 "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]`",
459 "location": "path",
460 "pattern": "^projects/[^/]+/configs/ [^/]+/waiters/[^/]+$",
461 "required": true,
462 "type": "string"
463 }
464 },
465 "path": "v1beta1/{+name}",
466 "response": {
467 "$ref": "Waiter"
468 },
469 "scopes": [
470 "https://www.googleapis.com/auth/cloud-p latform",
471 "https://www.googleapis.com/auth/cloudru ntimeconfig"
472 ]
473 },
474 "create": { 417 "create": {
475 "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.", 418 "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.",
476 "httpMethod": "POST", 419 "httpMethod": "POST",
477 "id": "runtimeconfig.projects.configs.waiter s.create", 420 "id": "runtimeconfig.projects.configs.waiter s.create",
478 "parameterOrder": [ 421 "parameterOrder": [
479 "parent" 422 "parent"
480 ], 423 ],
481 "parameters": { 424 "parameters": {
482 "requestId": { 425 "requestId": {
483 "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. ", 426 "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. ",
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
552 "response": { 495 "response": {
553 "$ref": "Empty" 496 "$ref": "Empty"
554 }, 497 },
555 "scopes": [ 498 "scopes": [
556 "https://www.googleapis.com/auth/cloud-p latform", 499 "https://www.googleapis.com/auth/cloud-p latform",
557 "https://www.googleapis.com/auth/cloudru ntimeconfig" 500 "https://www.googleapis.com/auth/cloudru ntimeconfig"
558 ] 501 ]
559 } 502 }
560 } 503 }
561 }, 504 },
505 "operations": {
506 "methods": {
507 "get": {
508 "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.",
509 "httpMethod": "GET",
510 "id": "runtimeconfig.projects.configs.operat ions.get",
511 "parameterOrder": [
512 "name"
513 ],
514 "parameters": {
515 "name": {
516 "description": "The name of the oper ation resource.",
517 "location": "path",
518 "pattern": "^projects/[^/]+/configs/ [^/]+/operations/.+$",
519 "required": true,
520 "type": "string"
521 }
522 },
523 "path": "v1beta1/{+name}",
524 "response": {
525 "$ref": "Operation"
526 },
527 "scopes": [
528 "https://www.googleapis.com/auth/cloud-p latform",
529 "https://www.googleapis.com/auth/cloudru ntimeconfig"
530 ]
531 },
532 "testIamPermissions": {
533 "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.",
534 "httpMethod": "POST",
535 "id": "runtimeconfig.projects.configs.operat ions.testIamPermissions",
536 "parameterOrder": [
537 "resource"
538 ],
539 "parameters": {
540 "resource": {
541 "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.",
542 "location": "path",
543 "pattern": "^projects/[^/]+/configs/ [^/]+/operations/.+$",
544 "required": true,
545 "type": "string"
546 }
547 },
548 "path": "v1beta1/{+resource}:testIamPermissi ons",
549 "request": {
550 "$ref": "TestIamPermissionsRequest"
551 },
552 "response": {
553 "$ref": "TestIamPermissionsResponse"
554 },
555 "scopes": [
556 "https://www.googleapis.com/auth/cloud-p latform",
557 "https://www.googleapis.com/auth/cloudru ntimeconfig"
558 ]
559 }
560 }
561 },
562 "variables": { 562 "variables": {
563 "methods": { 563 "methods": {
564 "get": { 564 "get": {
565 "description": "Gets information about a sin gle variable.", 565 "description": "Gets information about a sin gle variable.",
566 "httpMethod": "GET", 566 "httpMethod": "GET",
567 "id": "runtimeconfig.projects.configs.variab les.get", 567 "id": "runtimeconfig.projects.configs.variab les.get",
568 "parameterOrder": [ 568 "parameterOrder": [
569 "name" 569 "name"
570 ], 570 ],
571 "parameters": { 571 "parameters": {
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
713 "location": "path", 713 "location": "path",
714 "pattern": "^projects/[^/]+/configs/ [^/]+$", 714 "pattern": "^projects/[^/]+/configs/ [^/]+$",
715 "required": true, 715 "required": true,
716 "type": "string" 716 "type": "string"
717 }, 717 },
718 "filter": { 718 "filter": {
719 "description": "Filters variables by matching the specified filter. For example:\n\n`projects/example-project/config /[CONFIG_NAME]/variables/example-variable`.", 719 "description": "Filters variables by matching the specified filter. For example:\n\n`projects/example-project/config /[CONFIG_NAME]/variables/example-variable`.",
720 "location": "query", 720 "location": "query",
721 "type": "string" 721 "type": "string"
722 }, 722 },
723 "pageToken": {
724 "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.",
725 "location": "query",
726 "type": "string"
727 },
728 "returnValues": { 723 "returnValues": {
729 "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.", 724 "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.",
730 "location": "query", 725 "location": "query",
731 "type": "boolean" 726 "type": "boolean"
732 }, 727 },
728 "pageToken": {
729 "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.",
730 "location": "query",
731 "type": "string"
732 },
733 "pageSize": { 733 "pageSize": {
734 "description": "Specifies the number of results to return per page. If there are fewer\nelements than the specified number, returns all elements.", 734 "description": "Specifies the number of results to return per page. If there are fewer\nelements than the specified number, returns all elements.",
735 "format": "int32", 735 "format": "int32",
736 "location": "query", 736 "location": "query",
737 "type": "integer" 737 "type": "integer"
738 } 738 }
739 }, 739 },
740 "path": "v1beta1/{+parent}/variables", 740 "path": "v1beta1/{+parent}/variables",
741 "response": { 741 "response": {
742 "$ref": "ListVariablesResponse" 742 "$ref": "ListVariablesResponse"
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
782 } 782 }
783 } 783 }
784 } 784 }
785 } 785 }
786 } 786 }
787 } 787 }
788 }, 788 },
789 "revision": "20170620", 789 "revision": "20170620",
790 "rootUrl": "https://runtimeconfig.googleapis.com/", 790 "rootUrl": "https://runtimeconfig.googleapis.com/",
791 "schemas": { 791 "schemas": {
792 "Operation": {
793 "description": "This resource represents a long-running operation th at is the result of a\nnetwork API call.",
794 "id": "Operation",
795 "properties": {
796 "response": {
797 "additionalProperties": {
798 "description": "Properties of the object. Contains field @type with type URL.",
799 "type": "any"
800 },
801 "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`.",
802 "type": "object"
803 },
804 "name": {
805 "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` .",
806 "type": "string"
807 },
808 "error": {
809 "$ref": "Status",
810 "description": "The error result of the operation in case of failure or cancellation."
811 },
812 "metadata": {
813 "additionalProperties": {
814 "description": "Properties of the object. Contains field @type with type URL.",
815 "type": "any"
816 },
817 "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. ",
818 "type": "object"
819 },
820 "done": {
821 "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.",
822 "type": "boolean"
823 }
824 },
825 "type": "object"
826 },
827 "SetIamPolicyRequest": {
828 "description": "Request message for `SetIamPolicy` method.",
829 "id": "SetIamPolicyRequest",
830 "properties": {
831 "policy": {
832 "$ref": "Policy",
833 "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."
834 }
835 },
836 "type": "object"
837 },
838 "Status": {
839 "description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RP C APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is desig ned to be:\n\n- Simple to use and understand for most users\n- Flexible enough t o meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pie ces of data: error code, error message,\nand error details. The error code shoul d be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message tha t helps\ndevelopers *understand* and *resolve* the error. If a localized user-fa cing\nerror message is needed, put the localized message in the error details or \nlocalize it in the client. The optional error details may contain arbitrary\ni nformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` that can be used for common error conditions.\n\n# Lang uage mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` mess age is\nexposed in different client libraries and different wire protocols, it c an be\nmapped differently. For example, it will likely be mapped to some excepti ons\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n \nThe error model and the `Status` message can be used in a variety of\nenvironm ents, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n - Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step m ay\n have a `Status` message for error reporting.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\ n- Asynchronous operations. If an API call embeds asynchronous operation\n re sults in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are store d in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.",
840 "id": "Status",
841 "properties": {
842 "details": {
843 "description": "A list of messages that carry the error deta ils. There will be a\ncommon set of message types for APIs to use.",
844 "items": {
845 "additionalProperties": {
846 "description": "Properties of the object. Contains f ield @type with type URL.",
847 "type": "any"
848 },
849 "type": "object"
850 },
851 "type": "array"
852 },
853 "code": {
854 "description": "The status code, which should be an enum val ue of google.rpc.Code.",
855 "format": "int32",
856 "type": "integer"
857 },
858 "message": {
859 "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.",
860 "type": "string"
861 }
862 },
863 "type": "object"
864 },
865 "Binding": {
866 "description": "Associates `members` with a `role`.",
867 "id": "Binding",
868 "properties": {
869 "role": {
870 "description": "Role that is assigned to `members`.\nFor exa mple, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired",
871 "type": "string"
872 },
873 "members": {
874 "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\n* `domain:{domain}`: A Google Apps domain name that repre sents all the\n users of that domain. For example, `google.com` or `example.co m`.\n\n",
875 "items": {
876 "type": "string"
877 },
878 "type": "array"
879 }
880 },
881 "type": "object"
882 },
883 "Cardinality": {
884 "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.",
885 "id": "Cardinality",
886 "properties": {
887 "number": {
888 "description": "The number variables under the `path` that m ust exist to meet this\ncondition. Defaults to 1 if not specified.",
889 "format": "int32",
890 "type": "integer"
891 },
892 "path": {
893 "description": "The root of the variable subtree to monitor. For example, `/foo`.",
894 "type": "string"
895 }
896 },
897 "type": "object"
898 },
899 "Empty": {
900 "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 `{}`.",
901 "id": "Empty",
902 "properties": {},
903 "type": "object"
904 },
905 "ListConfigsResponse": {
906 "description": "`ListConfigs()` returns the following response. The order of returned\nobjects is arbitrary; that is, it is not ordered in any parti cular way.",
907 "id": "ListConfigsResponse",
908 "properties": {
909 "configs": {
910 "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.",
911 "items": {
912 "$ref": "RuntimeConfig"
913 },
914 "type": "array"
915 },
916 "nextPageToken": {
917 "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",
918 "type": "string"
919 }
920 },
921 "type": "object"
922 },
923 "EndCondition": {
924 "description": "The condition that a Waiter resource is waiting for. ",
925 "id": "EndCondition",
926 "properties": {
927 "cardinality": {
928 "$ref": "Cardinality",
929 "description": "The cardinality of the `EndCondition`."
930 }
931 },
932 "type": "object"
933 },
792 "TestIamPermissionsResponse": { 934 "TestIamPermissionsResponse": {
793 "description": "Response message for `TestIamPermissions` method.", 935 "description": "Response message for `TestIamPermissions` method.",
794 "id": "TestIamPermissionsResponse", 936 "id": "TestIamPermissionsResponse",
795 "properties": { 937 "properties": {
796 "permissions": { 938 "permissions": {
797 "description": "A subset of `TestPermissionsRequest.permissi ons` that the caller is\nallowed.", 939 "description": "A subset of `TestPermissionsRequest.permissi ons` that the caller is\nallowed.",
798 "items": { 940 "items": {
799 "type": "string" 941 "type": "string"
800 }, 942 },
801 "type": "array" 943 "type": "array"
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
859 "waiters": { 1001 "waiters": {
860 "description": "Found waiters in the project.", 1002 "description": "Found waiters in the project.",
861 "items": { 1003 "items": {
862 "$ref": "Waiter" 1004 "$ref": "Waiter"
863 }, 1005 },
864 "type": "array" 1006 "type": "array"
865 } 1007 }
866 }, 1008 },
867 "type": "object" 1009 "type": "object"
868 }, 1010 },
869 "TestIamPermissionsRequest": {
870 "description": "Request message for `TestIamPermissions` method.",
871 "id": "TestIamPermissionsRequest",
872 "properties": {
873 "permissions": {
874 "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).",
875 "items": {
876 "type": "string"
877 },
878 "type": "array"
879 }
880 },
881 "type": "object"
882 },
883 "Waiter": { 1011 "Waiter": {
884 "description": "A Waiter resource waits for some end condition withi n a RuntimeConfig resource\nto be met before it returns. For example, assume you have a distributed\nsystem where each node writes to a Variable resource indidi cating the node's\nreadiness as part of the startup process.\n\nYou then configu re a Waiter resource with the success condition set to wait\nuntil some number o f nodes have checked in. Afterwards, your application\nruns some arbitrary code after the condition has been met and the waiter\nreturns successfully.\n\nOnce c reated, a Waiter resource is immutable.\n\nTo learn more about using waiters, re ad the\n[Creating a Waiter](/deployment-manager/runtime-configurator/creating-a- waiter)\ndocumentation.", 1012 "description": "A Waiter resource waits for some end condition withi n a RuntimeConfig resource\nto be met before it returns. For example, assume you have a distributed\nsystem where each node writes to a Variable resource indidi cating the node's\nreadiness as part of the startup process.\n\nYou then configu re a Waiter resource with the success condition set to wait\nuntil some number o f nodes have checked in. Afterwards, your application\nruns some arbitrary code after the condition has been met and the waiter\nreturns successfully.\n\nOnce c reated, a Waiter resource is immutable.\n\nTo learn more about using waiters, re ad the\n[Creating a Waiter](/deployment-manager/runtime-configurator/creating-a- waiter)\ndocumentation.",
885 "id": "Waiter", 1013 "id": "Waiter",
886 "properties": { 1014 "properties": {
887 "error": { 1015 "error": {
888 "$ref": "Status", 1016 "$ref": "Status",
889 "description": "[Output Only] If the waiter ended due to a f ailure or timeout, this value\nwill be set." 1017 "description": "[Output Only] If the waiter ended due to a f ailure or timeout, this value\nwill be set."
890 }, 1018 },
891 "failure": { 1019 "failure": {
892 "$ref": "EndCondition", 1020 "$ref": "EndCondition",
(...skipping 17 matching lines...) Expand all
910 "format": "google-duration", 1038 "format": "google-duration",
911 "type": "string" 1039 "type": "string"
912 }, 1040 },
913 "name": { 1041 "name": {
914 "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.", 1042 "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.",
915 "type": "string" 1043 "type": "string"
916 } 1044 }
917 }, 1045 },
918 "type": "object" 1046 "type": "object"
919 }, 1047 },
920 "Variable": { 1048 "TestIamPermissionsRequest": {
921 "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).", 1049 "description": "Request message for `TestIamPermissions` method.",
922 "id": "Variable", 1050 "id": "TestIamPermissionsRequest",
923 "properties": { 1051 "properties": {
924 "text": { 1052 "permissions": {
925 "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.", 1053 "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).",
926 "type": "string" 1054 "items": {
927 }, 1055 "type": "string"
928 "value": { 1056 },
929 "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.", 1057 "type": "array"
930 "format": "byte",
931 "type": "string"
932 },
933 "updateTime": {
934 "description": "[Output Only] The time of the last variable update.",
935 "format": "google-datetime",
936 "type": "string"
937 },
938 "state": {
939 "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.",
940 "enum": [
941 "VARIABLE_STATE_UNSPECIFIED",
942 "UPDATED",
943 "DELETED"
944 ],
945 "enumDescriptions": [
946 "Default variable state.",
947 "The variable was updated, while `variables().watch` was executing.",
948 "The variable was deleted, while `variables().watch` was executing."
949 ],
950 "type": "string"
951 },
952 "name": {
953 "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.",
954 "type": "string"
955 } 1058 }
956 }, 1059 },
957 "type": "object" 1060 "type": "object"
958 }, 1061 },
959 "Policy": { 1062 "Policy": {
960 "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).", 1063 "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).",
961 "id": "Policy", 1064 "id": "Policy",
962 "properties": { 1065 "properties": {
963 "bindings": { 1066 "bindings": {
964 "description": "Associates a list of `members` to a `role`.\ n`bindings` with no members will result in an error.", 1067 "description": "Associates a list of `members` to a `role`.\ n`bindings` with no members will result in an error.",
965 "items": { 1068 "items": {
966 "$ref": "Binding" 1069 "$ref": "Binding"
967 }, 1070 },
968 "type": "array" 1071 "type": "array"
969 }, 1072 },
970 "etag": { 1073 "etag": {
971 "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.", 1074 "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.",
972 "format": "byte", 1075 "format": "byte",
973 "type": "string" 1076 "type": "string"
974 }, 1077 },
975 "version": { 1078 "version": {
976 "description": "Version of the `Policy`. The default version is 0.", 1079 "description": "Version of the `Policy`. The default version is 0.",
977 "format": "int32", 1080 "format": "int32",
978 "type": "integer" 1081 "type": "integer"
979 } 1082 }
980 }, 1083 },
981 "type": "object" 1084 "type": "object"
982 }, 1085 },
983 "Operation": { 1086 "Variable": {
984 "description": "This resource represents a long-running operation th at is the result of a\nnetwork API call.", 1087 "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).",
985 "id": "Operation", 1088 "id": "Variable",
986 "properties": { 1089 "properties": {
987 "response": { 1090 "text": {
988 "additionalProperties": { 1091 "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.",
989 "description": "Properties of the object. Contains field @type with type URL.", 1092 "type": "string"
990 "type": "any" 1093 },
991 }, 1094 "value": {
992 "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`.", 1095 "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.",
993 "type": "object" 1096 "format": "byte",
1097 "type": "string"
1098 },
1099 "state": {
1100 "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.",
1101 "enum": [
1102 "VARIABLE_STATE_UNSPECIFIED",
1103 "UPDATED",
1104 "DELETED"
1105 ],
1106 "enumDescriptions": [
1107 "Default variable state.",
1108 "The variable was updated, while `variables().watch` was executing.",
1109 "The variable was deleted, while `variables().watch` was executing."
1110 ],
1111 "type": "string"
1112 },
1113 "updateTime": {
1114 "description": "[Output Only] The time of the last variable update.",
1115 "format": "google-datetime",
1116 "type": "string"
994 }, 1117 },
995 "name": { 1118 "name": {
996 "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` .", 1119 "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.",
997 "type": "string" 1120 "type": "string"
998 },
999 "error": {
1000 "$ref": "Status",
1001 "description": "The error result of the operation in case of failure or cancellation."
1002 },
1003 "metadata": {
1004 "additionalProperties": {
1005 "description": "Properties of the object. Contains field @type with type URL.",
1006 "type": "any"
1007 },
1008 "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. ",
1009 "type": "object"
1010 },
1011 "done": {
1012 "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.",
1013 "type": "boolean"
1014 }
1015 },
1016 "type": "object"
1017 },
1018 "SetIamPolicyRequest": {
1019 "description": "Request message for `SetIamPolicy` method.",
1020 "id": "SetIamPolicyRequest",
1021 "properties": {
1022 "policy": {
1023 "$ref": "Policy",
1024 "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."
1025 }
1026 },
1027 "type": "object"
1028 },
1029 "Status": {
1030 "description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RP C APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is desig ned to be:\n\n- Simple to use and understand for most users\n- Flexible enough t o meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pie ces of data: error code, error message,\nand error details. The error code shoul d be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message tha t helps\ndevelopers *understand* and *resolve* the error. If a localized user-fa cing\nerror message is needed, put the localized message in the error details or \nlocalize it in the client. The optional error details may contain arbitrary\ni nformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` that can be used for common error conditions.\n\n# Lang uage mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` mess age is\nexposed in different client libraries and different wire protocols, it c an be\nmapped differently. For example, it will likely be mapped to some excepti ons\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n \nThe error model and the `Status` message can be used in a variety of\nenvironm ents, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n - Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step m ay\n have a `Status` message for error reporting.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\ n- Asynchronous operations. If an API call embeds asynchronous operation\n re sults in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are store d in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.",
1031 "id": "Status",
1032 "properties": {
1033 "code": {
1034 "description": "The status code, which should be an enum val ue of google.rpc.Code.",
1035 "format": "int32",
1036 "type": "integer"
1037 },
1038 "message": {
1039 "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.",
1040 "type": "string"
1041 },
1042 "details": {
1043 "description": "A list of messages that carry the error deta ils. There will be a\ncommon set of message types for APIs to use.",
1044 "items": {
1045 "additionalProperties": {
1046 "description": "Properties of the object. Contains f ield @type with type URL.",
1047 "type": "any"
1048 },
1049 "type": "object"
1050 },
1051 "type": "array"
1052 }
1053 },
1054 "type": "object"
1055 },
1056 "Binding": {
1057 "description": "Associates `members` with a `role`.",
1058 "id": "Binding",
1059 "properties": {
1060 "members": {
1061 "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\n* `domain:{domain}`: A Google Apps domain name that repre sents all the\n users of that domain. For example, `google.com` or `example.co m`.\n\n",
1062 "items": {
1063 "type": "string"
1064 },
1065 "type": "array"
1066 },
1067 "role": {
1068 "description": "Role that is assigned to `members`.\nFor exa mple, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired",
1069 "type": "string"
1070 }
1071 },
1072 "type": "object"
1073 },
1074 "Cardinality": {
1075 "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.",
1076 "id": "Cardinality",
1077 "properties": {
1078 "path": {
1079 "description": "The root of the variable subtree to monitor. For example, `/foo`.",
1080 "type": "string"
1081 },
1082 "number": {
1083 "description": "The number variables under the `path` that m ust exist to meet this\ncondition. Defaults to 1 if not specified.",
1084 "format": "int32",
1085 "type": "integer"
1086 }
1087 },
1088 "type": "object"
1089 },
1090 "Empty": {
1091 "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 `{}`.",
1092 "id": "Empty",
1093 "properties": {},
1094 "type": "object"
1095 },
1096 "ListConfigsResponse": {
1097 "description": "`ListConfigs()` returns the following response. The order of returned\nobjects is arbitrary; that is, it is not ordered in any parti cular way.",
1098 "id": "ListConfigsResponse",
1099 "properties": {
1100 "configs": {
1101 "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.",
1102 "items": {
1103 "$ref": "RuntimeConfig"
1104 },
1105 "type": "array"
1106 },
1107 "nextPageToken": {
1108 "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",
1109 "type": "string"
1110 }
1111 },
1112 "type": "object"
1113 },
1114 "EndCondition": {
1115 "description": "The condition that a Waiter resource is waiting for. ",
1116 "id": "EndCondition",
1117 "properties": {
1118 "cardinality": {
1119 "$ref": "Cardinality",
1120 "description": "The cardinality of the `EndCondition`."
1121 } 1121 }
1122 }, 1122 },
1123 "type": "object" 1123 "type": "object"
1124 } 1124 }
1125 }, 1125 },
1126 "servicePath": "", 1126 "servicePath": "",
1127 "title": "Google Cloud Runtime Configuration API", 1127 "title": "Google Cloud Runtime Configuration API",
1128 "version": "v1beta1" 1128 "version": "v1beta1"
1129 } 1129 }
OLDNEW
« no previous file with comments | « discovery/googleapis_beta/pubsub__v1beta2.json ('k') | discovery/googleapis_beta/speech__v1beta1.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698