OLD | NEW |
(Empty) | |
| 1 { |
| 2 "auth": { |
| 3 "oauth2": { |
| 4 "scopes": { |
| 5 "https://www.googleapis.com/auth/appengine.admin": { |
| 6 "description": "View and manage your applications deployed o
n Google App Engine" |
| 7 }, |
| 8 "https://www.googleapis.com/auth/cloud-platform": { |
| 9 "description": "View and manage your data across Google Clou
d Platform services" |
| 10 }, |
| 11 "https://www.googleapis.com/auth/compute": { |
| 12 "description": "View and manage your Google Compute Engine r
esources" |
| 13 }, |
| 14 "https://www.googleapis.com/auth/devstorage.read_write": { |
| 15 "description": "Manage your data in Google Cloud Storage" |
| 16 }, |
| 17 "https://www.googleapis.com/auth/ndev.cloudman": { |
| 18 "description": "View and manage your Google Cloud Platform m
anagement resources and deployment status information" |
| 19 }, |
| 20 "https://www.googleapis.com/auth/ndev.cloudman.readonly": { |
| 21 "description": "View your Google Cloud Platform management r
esources and deployment status information" |
| 22 } |
| 23 } |
| 24 } |
| 25 }, |
| 26 "basePath": "/manager/v1beta2/projects/", |
| 27 "baseUrl": "https://www.googleapis.com/manager/v1beta2/projects/", |
| 28 "batchPath": "batch", |
| 29 "description": "The Deployment Manager API allows users to declaratively con
figure, deploy and run complex solutions on the Google Cloud Platform.", |
| 30 "discoveryVersion": "v1", |
| 31 "documentationLink": "https://developers.google.com/deployment-manager/", |
| 32 "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/9W3DLv6LKY-GqB6jKJr0p6e9y7s\"", |
| 33 "icons": { |
| 34 "x16": "http://www.google.com/images/icons/product/search-16.gif", |
| 35 "x32": "http://www.google.com/images/icons/product/search-32.gif" |
| 36 }, |
| 37 "id": "manager:v1beta2", |
| 38 "kind": "discovery#restDescription", |
| 39 "labels": [ |
| 40 "limited_availability" |
| 41 ], |
| 42 "name": "manager", |
| 43 "ownerDomain": "google.com", |
| 44 "ownerName": "Google", |
| 45 "parameters": { |
| 46 "alt": { |
| 47 "default": "json", |
| 48 "description": "Data format for the response.", |
| 49 "enum": [ |
| 50 "json" |
| 51 ], |
| 52 "enumDescriptions": [ |
| 53 "Responses with Content-Type of application/json" |
| 54 ], |
| 55 "location": "query", |
| 56 "type": "string" |
| 57 }, |
| 58 "fields": { |
| 59 "description": "Selector specifying which fields to include in a par
tial response.", |
| 60 "location": "query", |
| 61 "type": "string" |
| 62 }, |
| 63 "key": { |
| 64 "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.", |
| 65 "location": "query", |
| 66 "type": "string" |
| 67 }, |
| 68 "oauth_token": { |
| 69 "description": "OAuth 2.0 token for the current user.", |
| 70 "location": "query", |
| 71 "type": "string" |
| 72 }, |
| 73 "prettyPrint": { |
| 74 "default": "true", |
| 75 "description": "Returns response with indentations and line breaks."
, |
| 76 "location": "query", |
| 77 "type": "boolean" |
| 78 }, |
| 79 "quotaUser": { |
| 80 "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. Overrides userIp if both are provided.", |
| 81 "location": "query", |
| 82 "type": "string" |
| 83 }, |
| 84 "userIp": { |
| 85 "description": "IP address of the site where the request originates.
Use this if you want to enforce per-user limits.", |
| 86 "location": "query", |
| 87 "type": "string" |
| 88 } |
| 89 }, |
| 90 "protocol": "rest", |
| 91 "resources": { |
| 92 "deployments": { |
| 93 "methods": { |
| 94 "delete": { |
| 95 "description": "", |
| 96 "httpMethod": "DELETE", |
| 97 "id": "manager.deployments.delete", |
| 98 "parameterOrder": [ |
| 99 "projectId", |
| 100 "region", |
| 101 "deploymentName" |
| 102 ], |
| 103 "parameters": { |
| 104 "deploymentName": { |
| 105 "location": "path", |
| 106 "required": true, |
| 107 "type": "string" |
| 108 }, |
| 109 "projectId": { |
| 110 "location": "path", |
| 111 "required": true, |
| 112 "type": "string" |
| 113 }, |
| 114 "region": { |
| 115 "location": "path", |
| 116 "required": true, |
| 117 "type": "string" |
| 118 } |
| 119 }, |
| 120 "path": "{projectId}/regions/{region}/deployments/{deploymen
tName}", |
| 121 "scopes": [ |
| 122 "https://www.googleapis.com/auth/cloud-platform", |
| 123 "https://www.googleapis.com/auth/ndev.cloudman" |
| 124 ] |
| 125 }, |
| 126 "get": { |
| 127 "description": "", |
| 128 "httpMethod": "GET", |
| 129 "id": "manager.deployments.get", |
| 130 "parameterOrder": [ |
| 131 "projectId", |
| 132 "region", |
| 133 "deploymentName" |
| 134 ], |
| 135 "parameters": { |
| 136 "deploymentName": { |
| 137 "location": "path", |
| 138 "required": true, |
| 139 "type": "string" |
| 140 }, |
| 141 "projectId": { |
| 142 "location": "path", |
| 143 "required": true, |
| 144 "type": "string" |
| 145 }, |
| 146 "region": { |
| 147 "location": "path", |
| 148 "required": true, |
| 149 "type": "string" |
| 150 } |
| 151 }, |
| 152 "path": "{projectId}/regions/{region}/deployments/{deploymen
tName}", |
| 153 "response": { |
| 154 "$ref": "Deployment" |
| 155 }, |
| 156 "scopes": [ |
| 157 "https://www.googleapis.com/auth/cloud-platform", |
| 158 "https://www.googleapis.com/auth/ndev.cloudman", |
| 159 "https://www.googleapis.com/auth/ndev.cloudman.readonly" |
| 160 ] |
| 161 }, |
| 162 "insert": { |
| 163 "description": "", |
| 164 "httpMethod": "POST", |
| 165 "id": "manager.deployments.insert", |
| 166 "parameterOrder": [ |
| 167 "projectId", |
| 168 "region" |
| 169 ], |
| 170 "parameters": { |
| 171 "projectId": { |
| 172 "location": "path", |
| 173 "required": true, |
| 174 "type": "string" |
| 175 }, |
| 176 "region": { |
| 177 "location": "path", |
| 178 "required": true, |
| 179 "type": "string" |
| 180 } |
| 181 }, |
| 182 "path": "{projectId}/regions/{region}/deployments", |
| 183 "request": { |
| 184 "$ref": "Deployment" |
| 185 }, |
| 186 "response": { |
| 187 "$ref": "Deployment" |
| 188 }, |
| 189 "scopes": [ |
| 190 "https://www.googleapis.com/auth/appengine.admin", |
| 191 "https://www.googleapis.com/auth/cloud-platform", |
| 192 "https://www.googleapis.com/auth/compute", |
| 193 "https://www.googleapis.com/auth/devstorage.read_write", |
| 194 "https://www.googleapis.com/auth/ndev.cloudman" |
| 195 ] |
| 196 }, |
| 197 "list": { |
| 198 "description": "", |
| 199 "httpMethod": "GET", |
| 200 "id": "manager.deployments.list", |
| 201 "parameterOrder": [ |
| 202 "projectId", |
| 203 "region" |
| 204 ], |
| 205 "parameters": { |
| 206 "maxResults": { |
| 207 "default": "50", |
| 208 "description": "Maximum count of results to be retur
ned. Acceptable values are 0 to 100, inclusive. (Default: 50)", |
| 209 "format": "int32", |
| 210 "location": "query", |
| 211 "maximum": "100", |
| 212 "minimum": "0", |
| 213 "type": "integer" |
| 214 }, |
| 215 "pageToken": { |
| 216 "description": "Specifies a nextPageToken returned b
y a previous list request. This token can be used to request the next page of re
sults from a previous list request.", |
| 217 "location": "query", |
| 218 "type": "string" |
| 219 }, |
| 220 "projectId": { |
| 221 "location": "path", |
| 222 "required": true, |
| 223 "type": "string" |
| 224 }, |
| 225 "region": { |
| 226 "location": "path", |
| 227 "required": true, |
| 228 "type": "string" |
| 229 } |
| 230 }, |
| 231 "path": "{projectId}/regions/{region}/deployments", |
| 232 "response": { |
| 233 "$ref": "DeploymentsListResponse" |
| 234 }, |
| 235 "scopes": [ |
| 236 "https://www.googleapis.com/auth/cloud-platform", |
| 237 "https://www.googleapis.com/auth/ndev.cloudman", |
| 238 "https://www.googleapis.com/auth/ndev.cloudman.readonly" |
| 239 ] |
| 240 } |
| 241 } |
| 242 }, |
| 243 "templates": { |
| 244 "methods": { |
| 245 "delete": { |
| 246 "description": "", |
| 247 "httpMethod": "DELETE", |
| 248 "id": "manager.templates.delete", |
| 249 "parameterOrder": [ |
| 250 "projectId", |
| 251 "templateName" |
| 252 ], |
| 253 "parameters": { |
| 254 "projectId": { |
| 255 "location": "path", |
| 256 "required": true, |
| 257 "type": "string" |
| 258 }, |
| 259 "templateName": { |
| 260 "location": "path", |
| 261 "required": true, |
| 262 "type": "string" |
| 263 } |
| 264 }, |
| 265 "path": "{projectId}/templates/{templateName}", |
| 266 "scopes": [ |
| 267 "https://www.googleapis.com/auth/cloud-platform", |
| 268 "https://www.googleapis.com/auth/ndev.cloudman" |
| 269 ] |
| 270 }, |
| 271 "get": { |
| 272 "description": "", |
| 273 "httpMethod": "GET", |
| 274 "id": "manager.templates.get", |
| 275 "parameterOrder": [ |
| 276 "projectId", |
| 277 "templateName" |
| 278 ], |
| 279 "parameters": { |
| 280 "projectId": { |
| 281 "location": "path", |
| 282 "required": true, |
| 283 "type": "string" |
| 284 }, |
| 285 "templateName": { |
| 286 "location": "path", |
| 287 "required": true, |
| 288 "type": "string" |
| 289 } |
| 290 }, |
| 291 "path": "{projectId}/templates/{templateName}", |
| 292 "response": { |
| 293 "$ref": "Template" |
| 294 }, |
| 295 "scopes": [ |
| 296 "https://www.googleapis.com/auth/cloud-platform", |
| 297 "https://www.googleapis.com/auth/ndev.cloudman", |
| 298 "https://www.googleapis.com/auth/ndev.cloudman.readonly" |
| 299 ] |
| 300 }, |
| 301 "insert": { |
| 302 "description": "", |
| 303 "httpMethod": "POST", |
| 304 "id": "manager.templates.insert", |
| 305 "parameterOrder": [ |
| 306 "projectId" |
| 307 ], |
| 308 "parameters": { |
| 309 "projectId": { |
| 310 "location": "path", |
| 311 "required": true, |
| 312 "type": "string" |
| 313 } |
| 314 }, |
| 315 "path": "{projectId}/templates", |
| 316 "request": { |
| 317 "$ref": "Template" |
| 318 }, |
| 319 "response": { |
| 320 "$ref": "Template" |
| 321 }, |
| 322 "scopes": [ |
| 323 "https://www.googleapis.com/auth/cloud-platform", |
| 324 "https://www.googleapis.com/auth/ndev.cloudman" |
| 325 ] |
| 326 }, |
| 327 "list": { |
| 328 "description": "", |
| 329 "httpMethod": "GET", |
| 330 "id": "manager.templates.list", |
| 331 "parameterOrder": [ |
| 332 "projectId" |
| 333 ], |
| 334 "parameters": { |
| 335 "maxResults": { |
| 336 "default": "50", |
| 337 "description": "Maximum count of results to be retur
ned. Acceptable values are 0 to 100, inclusive. (Default: 50)", |
| 338 "format": "int32", |
| 339 "location": "query", |
| 340 "maximum": "100", |
| 341 "minimum": "0", |
| 342 "type": "integer" |
| 343 }, |
| 344 "pageToken": { |
| 345 "description": "Specifies a nextPageToken returned b
y a previous list request. This token can be used to request the next page of re
sults from a previous list request.", |
| 346 "location": "query", |
| 347 "type": "string" |
| 348 }, |
| 349 "projectId": { |
| 350 "location": "path", |
| 351 "required": true, |
| 352 "type": "string" |
| 353 } |
| 354 }, |
| 355 "path": "{projectId}/templates", |
| 356 "response": { |
| 357 "$ref": "TemplatesListResponse" |
| 358 }, |
| 359 "scopes": [ |
| 360 "https://www.googleapis.com/auth/cloud-platform", |
| 361 "https://www.googleapis.com/auth/ndev.cloudman", |
| 362 "https://www.googleapis.com/auth/ndev.cloudman.readonly" |
| 363 ] |
| 364 } |
| 365 } |
| 366 } |
| 367 }, |
| 368 "revision": "20140818", |
| 369 "rootUrl": "https://www.googleapis.com/", |
| 370 "schemas": { |
| 371 "AccessConfig": { |
| 372 "description": "A Compute Engine network accessConfig. Identical to
the accessConfig on corresponding Compute Engine resource.", |
| 373 "id": "AccessConfig", |
| 374 "properties": { |
| 375 "name": { |
| 376 "description": "Name of this access configuration.", |
| 377 "type": "string" |
| 378 }, |
| 379 "natIp": { |
| 380 "description": "An external IP address associated with this
instance.", |
| 381 "type": "string" |
| 382 }, |
| 383 "type": { |
| 384 "description": "Type of this access configuration file. (Cur
rently only ONE_TO_ONE_NAT is legal.)", |
| 385 "type": "string" |
| 386 } |
| 387 }, |
| 388 "type": "object" |
| 389 }, |
| 390 "Action": { |
| 391 "description": "An Action encapsulates a set of commands as a single
runnable module with additional information needed during run-time.", |
| 392 "id": "Action", |
| 393 "properties": { |
| 394 "commands": { |
| 395 "description": "A list of commands to run sequentially for t
his action.", |
| 396 "items": { |
| 397 "type": "string" |
| 398 }, |
| 399 "type": "array" |
| 400 }, |
| 401 "timeoutMs": { |
| 402 "description": "The timeout in milliseconds for this action
to run.", |
| 403 "format": "int32", |
| 404 "type": "integer" |
| 405 } |
| 406 }, |
| 407 "type": "object" |
| 408 }, |
| 409 "AllowedRule": { |
| 410 "description": "An allowed port resource.", |
| 411 "id": "AllowedRule", |
| 412 "properties": { |
| 413 "IPProtocol": { |
| 414 "description": "?tcp?, ?udp? or ?icmp?", |
| 415 "type": "string" |
| 416 }, |
| 417 "ports": { |
| 418 "description": "List of ports or port ranges (Example inputs
include: [\"22\"], [?33?, \"12345-12349\"].", |
| 419 "items": { |
| 420 "type": "string" |
| 421 }, |
| 422 "type": "array" |
| 423 } |
| 424 }, |
| 425 "type": "object" |
| 426 }, |
| 427 "AutoscalingModule": { |
| 428 "id": "AutoscalingModule", |
| 429 "properties": { |
| 430 "coolDownPeriodSec": { |
| 431 "format": "int32", |
| 432 "type": "integer" |
| 433 }, |
| 434 "description": { |
| 435 "type": "string" |
| 436 }, |
| 437 "maxNumReplicas": { |
| 438 "format": "int32", |
| 439 "type": "integer" |
| 440 }, |
| 441 "minNumReplicas": { |
| 442 "format": "int32", |
| 443 "type": "integer" |
| 444 }, |
| 445 "signalType": { |
| 446 "type": "string" |
| 447 }, |
| 448 "targetModule": { |
| 449 "type": "string" |
| 450 }, |
| 451 "targetUtilization": { |
| 452 "description": "target_utilization should be in range [0,1].
", |
| 453 "format": "double", |
| 454 "type": "number" |
| 455 } |
| 456 }, |
| 457 "type": "object" |
| 458 }, |
| 459 "AutoscalingModuleStatus": { |
| 460 "id": "AutoscalingModuleStatus", |
| 461 "properties": { |
| 462 "autoscalingConfigUrl": { |
| 463 "description": "[Output Only] The URL of the corresponding A
utoscaling configuration.", |
| 464 "type": "string" |
| 465 } |
| 466 }, |
| 467 "type": "object" |
| 468 }, |
| 469 "DeployState": { |
| 470 "description": "[Output Only] The current state of a replica or modu
le.", |
| 471 "id": "DeployState", |
| 472 "properties": { |
| 473 "details": { |
| 474 "description": "[Output Only] Human readable details about t
he current state.", |
| 475 "type": "string" |
| 476 }, |
| 477 "status": { |
| 478 "description": "[Output Only] The status of the deployment.
Possible values include: \n- UNKNOWN\n- DEPLOYING\n- DEPLOYED\n- DEPLOYMENT_FAIL
ED\n- DELETING\n- DELETED\n- DELETE_FAILED", |
| 479 "type": "string" |
| 480 } |
| 481 }, |
| 482 "type": "object" |
| 483 }, |
| 484 "Deployment": { |
| 485 "description": "A deployment represents a physical instantiation of
a Template.", |
| 486 "id": "Deployment", |
| 487 "properties": { |
| 488 "creationDate": { |
| 489 "description": "[Output Only] The time when this deployment
was created.", |
| 490 "type": "string" |
| 491 }, |
| 492 "description": { |
| 493 "description": "A user-supplied description of this Deployme
nt.", |
| 494 "type": "string" |
| 495 }, |
| 496 "modules": { |
| 497 "additionalProperties": { |
| 498 "$ref": "ModuleStatus", |
| 499 "description": "Name of the module." |
| 500 }, |
| 501 "description": "[Output Only] List of status for the modules
in this deployment.", |
| 502 "type": "object" |
| 503 }, |
| 504 "name": { |
| 505 "description": "Name of this deployment. The name must confo
rm to the following regular expression: [a-zA-Z0-9-_]{1,64}", |
| 506 "type": "string" |
| 507 }, |
| 508 "overrides": { |
| 509 "description": "The set of parameter overrides to apply to t
he corresponding Template before deploying.", |
| 510 "items": { |
| 511 "$ref": "ParamOverride" |
| 512 }, |
| 513 "type": "array" |
| 514 }, |
| 515 "state": { |
| 516 "$ref": "DeployState", |
| 517 "description": "[Output Only] Current status of this deploym
ent." |
| 518 }, |
| 519 "templateName": { |
| 520 "description": "The name of the Template on which this deplo
yment is based.", |
| 521 "type": "string" |
| 522 } |
| 523 }, |
| 524 "type": "object" |
| 525 }, |
| 526 "DeploymentsListResponse": { |
| 527 "id": "DeploymentsListResponse", |
| 528 "properties": { |
| 529 "nextPageToken": { |
| 530 "type": "string" |
| 531 }, |
| 532 "resources": { |
| 533 "items": { |
| 534 "$ref": "Deployment" |
| 535 }, |
| 536 "type": "array" |
| 537 } |
| 538 }, |
| 539 "type": "object" |
| 540 }, |
| 541 "DiskAttachment": { |
| 542 "description": "How to attach a disk to a Replica.", |
| 543 "id": "DiskAttachment", |
| 544 "properties": { |
| 545 "deviceName": { |
| 546 "description": "The device name of this disk.", |
| 547 "type": "string" |
| 548 }, |
| 549 "index": { |
| 550 "description": "A zero-based index to assign to this disk, w
here 0 is reserved for the boot disk. If not specified, this is assigned by the
server.", |
| 551 "format": "uint32", |
| 552 "type": "integer" |
| 553 } |
| 554 }, |
| 555 "type": "object" |
| 556 }, |
| 557 "EnvVariable": { |
| 558 "description": "An environment variable.", |
| 559 "id": "EnvVariable", |
| 560 "properties": { |
| 561 "hidden": { |
| 562 "description": "Whether this variable is hidden or visible."
, |
| 563 "type": "boolean" |
| 564 }, |
| 565 "value": { |
| 566 "description": "Value of the environment variable.", |
| 567 "type": "string" |
| 568 } |
| 569 }, |
| 570 "type": "object" |
| 571 }, |
| 572 "ExistingDisk": { |
| 573 "description": "A pre-existing persistent disk that will be attached
to every Replica in the Pool.", |
| 574 "id": "ExistingDisk", |
| 575 "properties": { |
| 576 "attachment": { |
| 577 "$ref": "DiskAttachment", |
| 578 "description": "Optional. How the disk will be attached to t
he Replica." |
| 579 }, |
| 580 "source": { |
| 581 "description": "The fully-qualified URL of the Persistent Di
sk resource. It must be in the same zone as the Pool.", |
| 582 "type": "string" |
| 583 } |
| 584 }, |
| 585 "type": "object" |
| 586 }, |
| 587 "FirewallModule": { |
| 588 "description": "A Firewall resource", |
| 589 "id": "FirewallModule", |
| 590 "properties": { |
| 591 "allowed": { |
| 592 "description": "The allowed ports or port ranges.", |
| 593 "items": { |
| 594 "$ref": "AllowedRule" |
| 595 }, |
| 596 "type": "array" |
| 597 }, |
| 598 "description": { |
| 599 "description": "The description of the firewall (optional)", |
| 600 "type": "string" |
| 601 }, |
| 602 "network": { |
| 603 "description": "The NetworkModule to which this firewall sho
uld apply. If not specified, or if specified as 'default', this firewall will be
applied to the 'default' network.", |
| 604 "type": "string" |
| 605 }, |
| 606 "sourceRanges": { |
| 607 "description": "Source IP ranges to apply this firewall to,
see the GCE Spec for details on syntax", |
| 608 "items": { |
| 609 "type": "string" |
| 610 }, |
| 611 "type": "array" |
| 612 }, |
| 613 "sourceTags": { |
| 614 "description": "Source Tags to apply this firewall to, see t
he GCE Spec for details on syntax", |
| 615 "items": { |
| 616 "type": "string" |
| 617 }, |
| 618 "type": "array" |
| 619 }, |
| 620 "targetTags": { |
| 621 "description": "Target Tags to apply this firewall to, see t
he GCE Spec for details on syntax", |
| 622 "items": { |
| 623 "type": "string" |
| 624 }, |
| 625 "type": "array" |
| 626 } |
| 627 }, |
| 628 "type": "object" |
| 629 }, |
| 630 "FirewallModuleStatus": { |
| 631 "id": "FirewallModuleStatus", |
| 632 "properties": { |
| 633 "firewallUrl": { |
| 634 "description": "[Output Only] The URL of the corresponding F
irewall resource.", |
| 635 "type": "string" |
| 636 } |
| 637 }, |
| 638 "type": "object" |
| 639 }, |
| 640 "HealthCheckModule": { |
| 641 "id": "HealthCheckModule", |
| 642 "properties": { |
| 643 "checkIntervalSec": { |
| 644 "format": "int32", |
| 645 "type": "integer" |
| 646 }, |
| 647 "description": { |
| 648 "type": "string" |
| 649 }, |
| 650 "healthyThreshold": { |
| 651 "format": "int32", |
| 652 "type": "integer" |
| 653 }, |
| 654 "host": { |
| 655 "type": "string" |
| 656 }, |
| 657 "path": { |
| 658 "type": "string" |
| 659 }, |
| 660 "port": { |
| 661 "format": "int32", |
| 662 "type": "integer" |
| 663 }, |
| 664 "timeoutSec": { |
| 665 "format": "int32", |
| 666 "type": "integer" |
| 667 }, |
| 668 "unhealthyThreshold": { |
| 669 "format": "int32", |
| 670 "type": "integer" |
| 671 } |
| 672 }, |
| 673 "type": "object" |
| 674 }, |
| 675 "HealthCheckModuleStatus": { |
| 676 "id": "HealthCheckModuleStatus", |
| 677 "properties": { |
| 678 "healthCheckUrl": { |
| 679 "description": "[Output Only] The HealthCheck URL.", |
| 680 "type": "string" |
| 681 } |
| 682 }, |
| 683 "type": "object" |
| 684 }, |
| 685 "LbModule": { |
| 686 "id": "LbModule", |
| 687 "properties": { |
| 688 "description": { |
| 689 "type": "string" |
| 690 }, |
| 691 "healthChecks": { |
| 692 "items": { |
| 693 "type": "string" |
| 694 }, |
| 695 "type": "array" |
| 696 }, |
| 697 "ipAddress": { |
| 698 "type": "string" |
| 699 }, |
| 700 "ipProtocol": { |
| 701 "type": "string" |
| 702 }, |
| 703 "portRange": { |
| 704 "type": "string" |
| 705 }, |
| 706 "sessionAffinity": { |
| 707 "type": "string" |
| 708 }, |
| 709 "targetModules": { |
| 710 "items": { |
| 711 "type": "string" |
| 712 }, |
| 713 "type": "array" |
| 714 } |
| 715 }, |
| 716 "type": "object" |
| 717 }, |
| 718 "LbModuleStatus": { |
| 719 "id": "LbModuleStatus", |
| 720 "properties": { |
| 721 "forwardingRuleUrl": { |
| 722 "description": "[Output Only] The URL of the corresponding F
orwardingRule in GCE.", |
| 723 "type": "string" |
| 724 }, |
| 725 "targetPoolUrl": { |
| 726 "description": "[Output Only] The URL of the corresponding T
argetPool resource in GCE.", |
| 727 "type": "string" |
| 728 } |
| 729 }, |
| 730 "type": "object" |
| 731 }, |
| 732 "Metadata": { |
| 733 "description": "A Compute Engine metadata entry. Identical to the me
tadata on the corresponding Compute Engine resource.", |
| 734 "id": "Metadata", |
| 735 "properties": { |
| 736 "fingerPrint": { |
| 737 "description": "The fingerprint of the metadata.", |
| 738 "type": "string" |
| 739 }, |
| 740 "items": { |
| 741 "description": "A list of metadata items.", |
| 742 "items": { |
| 743 "$ref": "MetadataItem" |
| 744 }, |
| 745 "type": "array" |
| 746 } |
| 747 }, |
| 748 "type": "object" |
| 749 }, |
| 750 "MetadataItem": { |
| 751 "description": "A Compute Engine metadata item, defined as a key:val
ue pair. Identical to the metadata on the corresponding Compute Engine resource.
", |
| 752 "id": "MetadataItem", |
| 753 "properties": { |
| 754 "key": { |
| 755 "description": "A metadata key.", |
| 756 "type": "string" |
| 757 }, |
| 758 "value": { |
| 759 "description": "A metadata value.", |
| 760 "type": "string" |
| 761 } |
| 762 }, |
| 763 "type": "object" |
| 764 }, |
| 765 "Module": { |
| 766 "description": "A module in a configuration. A module represents a s
ingle homogeneous, possibly replicated task.", |
| 767 "id": "Module", |
| 768 "properties": { |
| 769 "autoscalingModule": { |
| 770 "$ref": "AutoscalingModule" |
| 771 }, |
| 772 "firewallModule": { |
| 773 "$ref": "FirewallModule" |
| 774 }, |
| 775 "healthCheckModule": { |
| 776 "$ref": "HealthCheckModule" |
| 777 }, |
| 778 "lbModule": { |
| 779 "$ref": "LbModule" |
| 780 }, |
| 781 "networkModule": { |
| 782 "$ref": "NetworkModule" |
| 783 }, |
| 784 "replicaPoolModule": { |
| 785 "$ref": "ReplicaPoolModule" |
| 786 }, |
| 787 "type": { |
| 788 "description": "The type of this module. Valid values (\"AUT
OSCALING\", \"FIREWALL\", \"HEALTH_CHECK\", \"LOAD_BALANCING\", \"NETWORK\", \"R
EPLICA_POOL\")", |
| 789 "type": "string" |
| 790 } |
| 791 }, |
| 792 "type": "object" |
| 793 }, |
| 794 "ModuleStatus": { |
| 795 "description": "[Output Only] Aggregate status for a module.", |
| 796 "id": "ModuleStatus", |
| 797 "properties": { |
| 798 "autoscalingModuleStatus": { |
| 799 "$ref": "AutoscalingModuleStatus", |
| 800 "description": "[Output Only] The status of the AutoscalingM
odule, set for type AUTOSCALING." |
| 801 }, |
| 802 "firewallModuleStatus": { |
| 803 "$ref": "FirewallModuleStatus", |
| 804 "description": "[Output Only] The status of the FirewallModu
le, set for type FIREWALL." |
| 805 }, |
| 806 "healthCheckModuleStatus": { |
| 807 "$ref": "HealthCheckModuleStatus", |
| 808 "description": "[Output Only] The status of the HealthCheckM
odule, set for type HEALTH_CHECK." |
| 809 }, |
| 810 "lbModuleStatus": { |
| 811 "$ref": "LbModuleStatus", |
| 812 "description": "[Output Only] The status of the LbModule, se
t for type LOAD_BALANCING." |
| 813 }, |
| 814 "networkModuleStatus": { |
| 815 "$ref": "NetworkModuleStatus", |
| 816 "description": "[Output Only] The status of the NetworkModul
e, set for type NETWORK." |
| 817 }, |
| 818 "replicaPoolModuleStatus": { |
| 819 "$ref": "ReplicaPoolModuleStatus", |
| 820 "description": "[Output Only] The status of the ReplicaPoolM
odule, set for type VM." |
| 821 }, |
| 822 "state": { |
| 823 "$ref": "DeployState", |
| 824 "description": "[Output Only] The current state of the modul
e." |
| 825 }, |
| 826 "type": { |
| 827 "description": "[Output Only] The type of the module.", |
| 828 "type": "string" |
| 829 } |
| 830 }, |
| 831 "type": "object" |
| 832 }, |
| 833 "NetworkInterface": { |
| 834 "description": "A Compute Engine NetworkInterface resource. Identica
l to the NetworkInterface on the corresponding Compute Engine resource.", |
| 835 "id": "NetworkInterface", |
| 836 "properties": { |
| 837 "accessConfigs": { |
| 838 "description": "An array of configurations for this interfac
e. This specifies how this interface is configured to interact with other networ
k services", |
| 839 "items": { |
| 840 "$ref": "AccessConfig" |
| 841 }, |
| 842 "type": "array" |
| 843 }, |
| 844 "name": { |
| 845 "description": "Name of the interface.", |
| 846 "type": "string" |
| 847 }, |
| 848 "network": { |
| 849 "description": "The name of the NetworkModule to which this
interface applies. If not specified, or specified as 'default', this will use th
e 'default' network.", |
| 850 "type": "string" |
| 851 }, |
| 852 "networkIp": { |
| 853 "description": "An optional IPV4 internal network address to
assign to the instance for this network interface.", |
| 854 "type": "string" |
| 855 } |
| 856 }, |
| 857 "type": "object" |
| 858 }, |
| 859 "NetworkModule": { |
| 860 "id": "NetworkModule", |
| 861 "properties": { |
| 862 "IPv4Range": { |
| 863 "description": "Required; The range of internal addresses th
at are legal on this network. This range is a CIDR specification, for example: 1
92.168.0.0/16.", |
| 864 "type": "string" |
| 865 }, |
| 866 "description": { |
| 867 "description": "The description of the network.", |
| 868 "type": "string" |
| 869 }, |
| 870 "gatewayIPv4": { |
| 871 "description": "An optional address that is used for default
routing to other networks. This must be within the range specified by IPv4Range
, and is typicall the first usable address in that range. If not specified, the
default value is the first usable address in IPv4Range.", |
| 872 "type": "string" |
| 873 } |
| 874 }, |
| 875 "type": "object" |
| 876 }, |
| 877 "NetworkModuleStatus": { |
| 878 "id": "NetworkModuleStatus", |
| 879 "properties": { |
| 880 "networkUrl": { |
| 881 "description": "[Output Only] The URL of the corresponding N
etwork resource.", |
| 882 "type": "string" |
| 883 } |
| 884 }, |
| 885 "type": "object" |
| 886 }, |
| 887 "NewDisk": { |
| 888 "description": "A Persistent Disk resource that will be created and
attached to each Replica in the Pool. Each Replica will have a unique persistent
disk that is created and attached to that Replica.", |
| 889 "id": "NewDisk", |
| 890 "properties": { |
| 891 "attachment": { |
| 892 "$ref": "DiskAttachment", |
| 893 "description": "How the disk will be attached to the Replica
." |
| 894 }, |
| 895 "autoDelete": { |
| 896 "description": "If true, then this disk will be deleted when
the instance is deleted.", |
| 897 "type": "boolean" |
| 898 }, |
| 899 "boot": { |
| 900 "description": "If true, indicates that this is the root per
sistent disk.", |
| 901 "type": "boolean" |
| 902 }, |
| 903 "initializeParams": { |
| 904 "$ref": "NewDiskInitializeParams", |
| 905 "description": "Create the new disk using these parameters.
The name of the disk will be <instance_name>-<five_random_charactersgt;." |
| 906 } |
| 907 }, |
| 908 "type": "object" |
| 909 }, |
| 910 "NewDiskInitializeParams": { |
| 911 "description": "Initialization parameters for creating a new disk.", |
| 912 "id": "NewDiskInitializeParams", |
| 913 "properties": { |
| 914 "diskSizeGb": { |
| 915 "description": "The size of the created disk in gigabytes.", |
| 916 "format": "int64", |
| 917 "type": "string" |
| 918 }, |
| 919 "sourceImage": { |
| 920 "description": "The fully-qualified URL of a source image to
use to create this disk.", |
| 921 "type": "string" |
| 922 } |
| 923 }, |
| 924 "type": "object" |
| 925 }, |
| 926 "ParamOverride": { |
| 927 "description": "A specification for overriding parameters in a Templ
ate that corresponds to the Deployment.", |
| 928 "id": "ParamOverride", |
| 929 "properties": { |
| 930 "path": { |
| 931 "description": "A JSON Path expression that specifies which
parameter should be overridden.", |
| 932 "type": "string" |
| 933 }, |
| 934 "value": { |
| 935 "description": "The new value to assign to the overridden pa
rameter.", |
| 936 "type": "string" |
| 937 } |
| 938 }, |
| 939 "type": "object" |
| 940 }, |
| 941 "ReplicaPoolModule": { |
| 942 "id": "ReplicaPoolModule", |
| 943 "properties": { |
| 944 "envVariables": { |
| 945 "additionalProperties": { |
| 946 "$ref": "EnvVariable", |
| 947 "description": "Name of the environment variable. The na
me must conform to the following regular expression: [a-zA-Z_]+[a-zA-Z0-9_]+." |
| 948 }, |
| 949 "description": "A list of environment variables.", |
| 950 "type": "object" |
| 951 }, |
| 952 "healthChecks": { |
| 953 "description": "The Health Checks to configure for the Repli
caPoolModule", |
| 954 "items": { |
| 955 "type": "string" |
| 956 }, |
| 957 "type": "array" |
| 958 }, |
| 959 "numReplicas": { |
| 960 "description": "Number of replicas in this module.", |
| 961 "format": "int32", |
| 962 "type": "integer" |
| 963 }, |
| 964 "replicaPoolParams": { |
| 965 "$ref": "ReplicaPoolParams", |
| 966 "description": "Information for a ReplicaPoolModule." |
| 967 }, |
| 968 "resourceView": { |
| 969 "description": "[Output Only] The name of the Resource View
associated with a ReplicaPoolModule. This field will be generated by the service
.", |
| 970 "type": "string" |
| 971 } |
| 972 }, |
| 973 "type": "object" |
| 974 }, |
| 975 "ReplicaPoolModuleStatus": { |
| 976 "id": "ReplicaPoolModuleStatus", |
| 977 "properties": { |
| 978 "replicaPoolUrl": { |
| 979 "description": "[Output Only] The URL of the associated Repl
icaPool resource.", |
| 980 "type": "string" |
| 981 }, |
| 982 "resourceViewUrl": { |
| 983 "description": "[Output Only] The URL of the Resource Group
associated with this ReplicaPool.", |
| 984 "type": "string" |
| 985 } |
| 986 }, |
| 987 "type": "object" |
| 988 }, |
| 989 "ReplicaPoolParams": { |
| 990 "description": "Configuration information for a ReplicaPools resourc
e. Specifying an item within will determine the ReplicaPools API version used fo
r a ReplicaPoolModule. Only one may be specified.", |
| 991 "id": "ReplicaPoolParams", |
| 992 "properties": { |
| 993 "v1beta1": { |
| 994 "$ref": "ReplicaPoolParamsV1Beta1", |
| 995 "description": "ReplicaPoolParams specifications for use wit
h ReplicaPools v1beta1." |
| 996 } |
| 997 }, |
| 998 "type": "object" |
| 999 }, |
| 1000 "ReplicaPoolParamsV1Beta1": { |
| 1001 "description": "Configuration information for a ReplicaPools v1beta1
API resource. Directly maps to ReplicaPool InitTemplate.", |
| 1002 "id": "ReplicaPoolParamsV1Beta1", |
| 1003 "properties": { |
| 1004 "autoRestart": { |
| 1005 "description": "Whether these replicas should be restarted i
f they experience a failure. The default value is true.", |
| 1006 "type": "boolean" |
| 1007 }, |
| 1008 "baseInstanceName": { |
| 1009 "description": "The base name for instances within this Repl
icaPool.", |
| 1010 "type": "string" |
| 1011 }, |
| 1012 "canIpForward": { |
| 1013 "description": "Enables IP Forwarding", |
| 1014 "type": "boolean" |
| 1015 }, |
| 1016 "description": { |
| 1017 "description": "An optional textual description of the resou
rce.", |
| 1018 "type": "string" |
| 1019 }, |
| 1020 "disksToAttach": { |
| 1021 "description": "A list of existing Persistent Disk resources
to attach to each replica in the pool. Each disk will be attached in read-only
mode to every replica.", |
| 1022 "items": { |
| 1023 "$ref": "ExistingDisk" |
| 1024 }, |
| 1025 "type": "array" |
| 1026 }, |
| 1027 "disksToCreate": { |
| 1028 "description": "A list of Disk resources to create and attac
h to each Replica in the Pool. Currently, you can only define one disk and it mu
st be a root persistent disk. Note that Replica Pool will create a root persiste
nt disk for each replica.", |
| 1029 "items": { |
| 1030 "$ref": "NewDisk" |
| 1031 }, |
| 1032 "type": "array" |
| 1033 }, |
| 1034 "initAction": { |
| 1035 "description": "Name of the Action to be run during initiali
zation of a ReplicaPoolModule.", |
| 1036 "type": "string" |
| 1037 }, |
| 1038 "machineType": { |
| 1039 "description": "The machine type for this instance. Either a
complete URL, or the resource name (e.g. n1-standard-1).", |
| 1040 "type": "string" |
| 1041 }, |
| 1042 "metadata": { |
| 1043 "$ref": "Metadata", |
| 1044 "description": "The metadata key/value pairs assigned to thi
s instance." |
| 1045 }, |
| 1046 "networkInterfaces": { |
| 1047 "description": "A list of network interfaces for the instanc
e. Currently only one interface is supported by Google Compute Engine.", |
| 1048 "items": { |
| 1049 "$ref": "NetworkInterface" |
| 1050 }, |
| 1051 "type": "array" |
| 1052 }, |
| 1053 "onHostMaintenance": { |
| 1054 "type": "string" |
| 1055 }, |
| 1056 "serviceAccounts": { |
| 1057 "description": "A list of Service Accounts to enable for thi
s instance.", |
| 1058 "items": { |
| 1059 "$ref": "ServiceAccount" |
| 1060 }, |
| 1061 "type": "array" |
| 1062 }, |
| 1063 "tags": { |
| 1064 "$ref": "Tag", |
| 1065 "description": "A list of tags to apply to the Google Comput
e Engine instance to identify resources." |
| 1066 }, |
| 1067 "zone": { |
| 1068 "description": "The zone for this ReplicaPool.", |
| 1069 "type": "string" |
| 1070 } |
| 1071 }, |
| 1072 "type": "object" |
| 1073 }, |
| 1074 "ServiceAccount": { |
| 1075 "description": "A Compute Engine service account, identical to the C
ompute Engine resource.", |
| 1076 "id": "ServiceAccount", |
| 1077 "properties": { |
| 1078 "email": { |
| 1079 "description": "Service account email address.", |
| 1080 "type": "string" |
| 1081 }, |
| 1082 "scopes": { |
| 1083 "description": "List of OAuth2 scopes to obtain for the serv
ice account.", |
| 1084 "items": { |
| 1085 "type": "string" |
| 1086 }, |
| 1087 "type": "array" |
| 1088 } |
| 1089 }, |
| 1090 "type": "object" |
| 1091 }, |
| 1092 "Tag": { |
| 1093 "description": "A Compute Engine Instance tag, identical to the tags
on the corresponding Compute Engine Instance resource.", |
| 1094 "id": "Tag", |
| 1095 "properties": { |
| 1096 "fingerPrint": { |
| 1097 "description": "The fingerprint of the tag.", |
| 1098 "type": "string" |
| 1099 }, |
| 1100 "items": { |
| 1101 "description": "Items contained in this tag.", |
| 1102 "items": { |
| 1103 "type": "string" |
| 1104 }, |
| 1105 "type": "array" |
| 1106 } |
| 1107 }, |
| 1108 "type": "object" |
| 1109 }, |
| 1110 "Template": { |
| 1111 "description": "A Template represents a complete configuration for a
Deployment.", |
| 1112 "id": "Template", |
| 1113 "properties": { |
| 1114 "actions": { |
| 1115 "additionalProperties": { |
| 1116 "$ref": "Action", |
| 1117 "description": "The name of this action, used when speci
fying Actions in Module definitions." |
| 1118 }, |
| 1119 "description": "Action definitions for use in Module intents
in this Template.", |
| 1120 "type": "object" |
| 1121 }, |
| 1122 "description": { |
| 1123 "description": "A user-supplied description of this Template
.", |
| 1124 "type": "string" |
| 1125 }, |
| 1126 "modules": { |
| 1127 "additionalProperties": { |
| 1128 "$ref": "Module", |
| 1129 "description": "Name of the module. The name must confor
m to the following regular expression: [a-zA-Z0-9-_]{1,64}" |
| 1130 }, |
| 1131 "description": "A list of modules for this Template.", |
| 1132 "type": "object" |
| 1133 }, |
| 1134 "name": { |
| 1135 "description": "Name of this Template. The name must conform
to the expression: [a-zA-Z0-9-_]{1,64}", |
| 1136 "type": "string" |
| 1137 } |
| 1138 }, |
| 1139 "type": "object" |
| 1140 }, |
| 1141 "TemplatesListResponse": { |
| 1142 "id": "TemplatesListResponse", |
| 1143 "properties": { |
| 1144 "nextPageToken": { |
| 1145 "type": "string" |
| 1146 }, |
| 1147 "resources": { |
| 1148 "items": { |
| 1149 "$ref": "Template" |
| 1150 }, |
| 1151 "type": "array" |
| 1152 } |
| 1153 }, |
| 1154 "type": "object" |
| 1155 } |
| 1156 }, |
| 1157 "servicePath": "manager/v1beta2/projects/", |
| 1158 "title": "Deployment Manager API", |
| 1159 "version": "v1beta2" |
| 1160 } |
OLD | NEW |