OLD | NEW |
1 { | 1 { |
2 "auth": { | 2 "auth": { |
3 "oauth2": { | 3 "oauth2": { |
4 "scopes": { | 4 "scopes": { |
5 "https://www.googleapis.com/auth/cloud-platform": { | 5 "https://www.googleapis.com/auth/cloud-platform": { |
6 "description": "View and manage your data across Google Clou
d Platform services" | 6 "description": "View and manage your data across Google Clou
d Platform services" |
7 } | 7 } |
8 } | 8 } |
9 } | 9 } |
10 }, | 10 }, |
11 "basePath": "", | 11 "basePath": "", |
12 "baseUrl": "https://container.googleapis.com/", | 12 "baseUrl": "https://container.googleapis.com/", |
13 "batchPath": "batch", | 13 "batchPath": "batch", |
14 "description": "Builds and manages clusters that run container-based applica
tions, powered by open source Kubernetes technology.", | 14 "description": "Builds and manages clusters that run container-based applica
tions, powered by open source Kubernetes technology.", |
15 "discoveryVersion": "v1", | 15 "discoveryVersion": "v1", |
16 "documentationLink": "https://cloud.google.com/container-engine/", | 16 "documentationLink": "https://cloud.google.com/container-engine/", |
17 "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/cpP4K9eaLrLwMGtsdl5oXjxb8rw\"", | 17 "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/aTs6tIgXySgjqhtr4EU6PD-kvdQ\"", |
18 "icons": { | 18 "icons": { |
19 "x16": "http://www.google.com/images/icons/product/search-16.gif", | 19 "x16": "http://www.google.com/images/icons/product/search-16.gif", |
20 "x32": "http://www.google.com/images/icons/product/search-32.gif" | 20 "x32": "http://www.google.com/images/icons/product/search-32.gif" |
21 }, | 21 }, |
22 "id": "container:v1", | 22 "id": "container:v1", |
23 "kind": "discovery#restDescription", | 23 "kind": "discovery#restDescription", |
24 "name": "container", | 24 "name": "container", |
25 "ownerDomain": "google.com", | 25 "ownerDomain": "google.com", |
26 "ownerName": "Google", | 26 "ownerName": "Google", |
27 "parameters": { | 27 "parameters": { |
(...skipping 453 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
481 "type": "string" | 481 "type": "string" |
482 } | 482 } |
483 }, | 483 }, |
484 "path": "v1/projects/{projectId}/zon
es/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}", | 484 "path": "v1/projects/{projectId}/zon
es/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}", |
485 "response": { | 485 "response": { |
486 "$ref": "Operation" | 486 "$ref": "Operation" |
487 }, | 487 }, |
488 "scopes": [ | 488 "scopes": [ |
489 "https://www.googleapis.com/auth
/cloud-platform" | 489 "https://www.googleapis.com/auth
/cloud-platform" |
490 ] | 490 ] |
| 491 }, |
| 492 "rollback": { |
| 493 "description": "Roll back the previo
usly Aborted or Failed NodePool upgrade. This will be an no-op if the last upgra
de successfully completed.", |
| 494 "httpMethod": "POST", |
| 495 "id": "container.projects.zones.clus
ters.nodePools.rollback", |
| 496 "parameterOrder": [ |
| 497 "projectId", |
| 498 "zone", |
| 499 "clusterId", |
| 500 "nodePoolId" |
| 501 ], |
| 502 "parameters": { |
| 503 "projectId": { |
| 504 "description": "The Google D
evelopers Console [project ID or project number](https://support.google.com/clou
d/answer/6158840).", |
| 505 "location": "path", |
| 506 "required": true, |
| 507 "type": "string" |
| 508 }, |
| 509 "zone": { |
| 510 "description": "The name of
the Google Compute Engine [zone](/compute/docs/zones#available) in which the clu
ster resides.", |
| 511 "location": "path", |
| 512 "required": true, |
| 513 "type": "string" |
| 514 }, |
| 515 "clusterId": { |
| 516 "description": "The name of
the cluster to rollback.", |
| 517 "location": "path", |
| 518 "required": true, |
| 519 "type": "string" |
| 520 }, |
| 521 "nodePoolId": { |
| 522 "description": "The name of
the node pool to rollback.", |
| 523 "location": "path", |
| 524 "required": true, |
| 525 "type": "string" |
| 526 } |
| 527 }, |
| 528 "path": "v1/projects/{projectId}/zon
es/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}:rollback", |
| 529 "request": { |
| 530 "$ref": "RollbackNodePoolUpgrade
Request" |
| 531 }, |
| 532 "response": { |
| 533 "$ref": "Operation" |
| 534 }, |
| 535 "scopes": [ |
| 536 "https://www.googleapis.com/auth
/cloud-platform" |
| 537 ] |
| 538 }, |
| 539 "setManagement": { |
| 540 "description": "Sets the NodeManagem
ent options for a node pool.", |
| 541 "httpMethod": "POST", |
| 542 "id": "container.projects.zones.clus
ters.nodePools.setManagement", |
| 543 "parameterOrder": [ |
| 544 "projectId", |
| 545 "zone", |
| 546 "clusterId", |
| 547 "nodePoolId" |
| 548 ], |
| 549 "parameters": { |
| 550 "projectId": { |
| 551 "description": "The Google D
evelopers Console [project ID or project number](https://support.google.com/clou
d/answer/6158840).", |
| 552 "location": "path", |
| 553 "required": true, |
| 554 "type": "string" |
| 555 }, |
| 556 "zone": { |
| 557 "description": "The name of
the Google Compute Engine [zone](/compute/docs/zones#available) in which the clu
ster resides.", |
| 558 "location": "path", |
| 559 "required": true, |
| 560 "type": "string" |
| 561 }, |
| 562 "clusterId": { |
| 563 "description": "The name of
the cluster to update.", |
| 564 "location": "path", |
| 565 "required": true, |
| 566 "type": "string" |
| 567 }, |
| 568 "nodePoolId": { |
| 569 "description": "The name of
the node pool to update.", |
| 570 "location": "path", |
| 571 "required": true, |
| 572 "type": "string" |
| 573 } |
| 574 }, |
| 575 "path": "v1/projects/{projectId}/zon
es/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/setManagement", |
| 576 "request": { |
| 577 "$ref": "SetNodePoolManagementRe
quest" |
| 578 }, |
| 579 "response": { |
| 580 "$ref": "Operation" |
| 581 }, |
| 582 "scopes": [ |
| 583 "https://www.googleapis.com/auth
/cloud-platform" |
| 584 ] |
491 } | 585 } |
492 } | 586 } |
493 } | 587 } |
494 } | 588 } |
495 }, | 589 }, |
496 "operations": { | 590 "operations": { |
497 "methods": { | 591 "methods": { |
498 "list": { | 592 "list": { |
499 "description": "Lists all operations in a pr
oject in a specific zone or all zones.", | 593 "description": "Lists all operations in a pr
oject in a specific zone or all zones.", |
500 "httpMethod": "GET", | 594 "httpMethod": "GET", |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
554 "type": "string" | 648 "type": "string" |
555 } | 649 } |
556 }, | 650 }, |
557 "path": "v1/projects/{projectId}/zones/{zone
}/operations/{operationId}", | 651 "path": "v1/projects/{projectId}/zones/{zone
}/operations/{operationId}", |
558 "response": { | 652 "response": { |
559 "$ref": "Operation" | 653 "$ref": "Operation" |
560 }, | 654 }, |
561 "scopes": [ | 655 "scopes": [ |
562 "https://www.googleapis.com/auth/cloud-p
latform" | 656 "https://www.googleapis.com/auth/cloud-p
latform" |
563 ] | 657 ] |
| 658 }, |
| 659 "cancel": { |
| 660 "description": "Cancels the specified operat
ion.", |
| 661 "httpMethod": "POST", |
| 662 "id": "container.projects.zones.operations.c
ancel", |
| 663 "parameterOrder": [ |
| 664 "projectId", |
| 665 "zone", |
| 666 "operationId" |
| 667 ], |
| 668 "parameters": { |
| 669 "projectId": { |
| 670 "description": "The Google Developer
s Console [project ID or project number](https://support.google.com/cloud/answer
/6158840).", |
| 671 "location": "path", |
| 672 "required": true, |
| 673 "type": "string" |
| 674 }, |
| 675 "zone": { |
| 676 "description": "The name of the Goog
le Compute Engine [zone](/compute/docs/zones#available) in which the operation r
esides.", |
| 677 "location": "path", |
| 678 "required": true, |
| 679 "type": "string" |
| 680 }, |
| 681 "operationId": { |
| 682 "description": "The server-assigned
`name` of the operation.", |
| 683 "location": "path", |
| 684 "required": true, |
| 685 "type": "string" |
| 686 } |
| 687 }, |
| 688 "path": "v1/projects/{projectId}/zones/{zone
}/operations/{operationId}:cancel", |
| 689 "request": { |
| 690 "$ref": "CancelOperationRequest" |
| 691 }, |
| 692 "response": { |
| 693 "$ref": "Empty" |
| 694 }, |
| 695 "scopes": [ |
| 696 "https://www.googleapis.com/auth/cloud-p
latform" |
| 697 ] |
564 } | 698 } |
565 } | 699 } |
566 } | 700 } |
567 } | 701 } |
568 } | 702 } |
569 } | 703 } |
570 } | 704 } |
571 }, | 705 }, |
572 "revision": "20160421", | 706 "revision": "20161024", |
573 "rootUrl": "https://container.googleapis.com/", | 707 "rootUrl": "https://container.googleapis.com/", |
574 "schemas": { | 708 "schemas": { |
575 "ListClustersResponse": { | 709 "ListClustersResponse": { |
576 "description": "ListClustersResponse is the result of ListClustersRe
quest.", | 710 "description": "ListClustersResponse is the result of ListClustersRe
quest.", |
577 "id": "ListClustersResponse", | 711 "id": "ListClustersResponse", |
578 "properties": { | 712 "properties": { |
579 "clusters": { | 713 "clusters": { |
580 "description": "A list of clusters in the project in the spe
cified zone, or across all ones.", | 714 "description": "A list of clusters in the project in the spe
cified zone, or across all ones.", |
581 "items": { | 715 "items": { |
582 "$ref": "Cluster" | 716 "$ref": "Cluster" |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
636 }, | 770 }, |
637 "addonsConfig": { | 771 "addonsConfig": { |
638 "$ref": "AddonsConfig", | 772 "$ref": "AddonsConfig", |
639 "description": "Configurations for the various addons availa
ble to run in the cluster." | 773 "description": "Configurations for the various addons availa
ble to run in the cluster." |
640 }, | 774 }, |
641 "subnetwork": { | 775 "subnetwork": { |
642 "description": "The name of the Google Compute Engine [subne
twork](/compute/docs/subnetworks) to which the cluster is connected.", | 776 "description": "The name of the Google Compute Engine [subne
twork](/compute/docs/subnetworks) to which the cluster is connected.", |
643 "type": "string" | 777 "type": "string" |
644 }, | 778 }, |
645 "nodePools": { | 779 "nodePools": { |
646 "description": "The node pools associated with this cluster.
When creating a new cluster, only a single node pool should be specified. This
field should not be set if \"node_config\" or \"initial_node_count\" are specifi
ed.", | 780 "description": "The node pools associated with this cluster.
This field should not be set if \"node_config\" or \"initial_node_count\" are s
pecified.", |
647 "items": { | 781 "items": { |
648 "$ref": "NodePool" | 782 "$ref": "NodePool" |
649 }, | 783 }, |
650 "type": "array" | 784 "type": "array" |
651 }, | 785 }, |
652 "locations": { | 786 "locations": { |
653 "description": "The list of Google Compute Engine [locations
](/compute/docs/zones#available) in which the cluster's nodes should be located.
", | 787 "description": "The list of Google Compute Engine [locations
](/compute/docs/zones#available) in which the cluster's nodes should be located.
", |
654 "items": { | 788 "items": { |
655 "type": "string" | 789 "type": "string" |
656 }, | 790 }, |
657 "type": "array" | 791 "type": "array" |
658 }, | 792 }, |
| 793 "enableKubernetesAlpha": { |
| 794 "description": "Kubernetes alpha features are enabled on thi
s cluster. This includes alpha API groups (e.g. v1alpha1) and features that may
not be production ready in the kubernetes version of the master and nodes. The c
luster has no SLA for uptime and master/node upgrades are disabled. Alpha enable
d clusters are automatically deleted thirty days after creation.", |
| 795 "type": "boolean" |
| 796 }, |
659 "selfLink": { | 797 "selfLink": { |
660 "description": "[Output only] Server-defined URL for the res
ource.", | 798 "description": "[Output only] Server-defined URL for the res
ource.", |
661 "type": "string" | 799 "type": "string" |
662 }, | 800 }, |
663 "zone": { | 801 "zone": { |
664 "description": "[Output only] The name of the Google Compute
Engine [zone](/compute/docs/zones#available) in which the cluster resides.", | 802 "description": "[Output only] The name of the Google Compute
Engine [zone](/compute/docs/zones#available) in which the cluster resides.", |
665 "type": "string" | 803 "type": "string" |
666 }, | 804 }, |
667 "endpoint": { | 805 "endpoint": { |
668 "description": "[Output only] The IP address of this cluster
's master endpoint. The endpoint can be accessed from the internet at `https://u
sername:password@endpoint/`. See the `masterAuth` property of this resource for
username and password information.", | 806 "description": "[Output only] The IP address of this cluster
's master endpoint. The endpoint can be accessed from the internet at `https://u
sername:password@endpoint/`. See the `masterAuth` property of this resource for
username and password information.", |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
713 "description": "[Output only] The resource URLs of [instance
groups](/compute/docs/instance-groups/) associated with this cluster.", | 851 "description": "[Output only] The resource URLs of [instance
groups](/compute/docs/instance-groups/) associated with this cluster.", |
714 "items": { | 852 "items": { |
715 "type": "string" | 853 "type": "string" |
716 }, | 854 }, |
717 "type": "array" | 855 "type": "array" |
718 }, | 856 }, |
719 "currentNodeCount": { | 857 "currentNodeCount": { |
720 "description": "[Output only] The number of nodes currently
in the cluster.", | 858 "description": "[Output only] The number of nodes currently
in the cluster.", |
721 "format": "int32", | 859 "format": "int32", |
722 "type": "integer" | 860 "type": "integer" |
| 861 }, |
| 862 "expireTime": { |
| 863 "description": "[Output only] The time the cluster will be a
utomatically deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text for
mat.", |
| 864 "type": "string" |
723 } | 865 } |
724 }, | 866 }, |
725 "type": "object" | 867 "type": "object" |
726 }, | 868 }, |
727 "NodeConfig": { | 869 "NodeConfig": { |
728 "description": "Parameters that describe the nodes in a cluster.", | 870 "description": "Parameters that describe the nodes in a cluster.", |
729 "id": "NodeConfig", | 871 "id": "NodeConfig", |
730 "properties": { | 872 "properties": { |
731 "machineType": { | 873 "machineType": { |
732 "description": "The name of a Google Compute Engine [machine
type](/compute/docs/machine-types) (e.g. `n1-standard-1`). If unspecified, the
default machine type is `n1-standard-1`.", | 874 "description": "The name of a Google Compute Engine [machine
type](/compute/docs/machine-types) (e.g. `n1-standard-1`). If unspecified, the
default machine type is `n1-standard-1`.", |
733 "type": "string" | 875 "type": "string" |
734 }, | 876 }, |
735 "diskSizeGb": { | 877 "diskSizeGb": { |
736 "description": "Size of the disk attached to each node, spec
ified in GB. The smallest allowed disk size is 10GB. If unspecified, the default
disk size is 100GB.", | 878 "description": "Size of the disk attached to each node, spec
ified in GB. The smallest allowed disk size is 10GB. If unspecified, the default
disk size is 100GB.", |
737 "format": "int32", | 879 "format": "int32", |
738 "type": "integer" | 880 "type": "integer" |
739 }, | 881 }, |
740 "oauthScopes": { | 882 "oauthScopes": { |
741 "description": "The set of Google API scopes to be made avai
lable on all of the node VMs under the \"default\" service account. The followin
g scopes are recommended, but not required, and by default are not included: * `
https://www.googleapis.com/auth/compute` is required for mounting persistent sto
rage on your nodes. * `https://www.googleapis.com/auth/devstorage.read_only` is
required for communicating with **gcr.io** (the [Google Container Registry](/con
tainer-registry/)). If unspecified, no scopes are added, unless Cloud Logging or
Cloud Monitoring are enabled, in which case their required scopes will be added
.", | 883 "description": "The set of Google API scopes to be made avai
lable on all of the node VMs under the \"default\" service account. The followin
g scopes are recommended, but not required, and by default are not included: * `
https://www.googleapis.com/auth/compute` is required for mounting persistent sto
rage on your nodes. * `https://www.googleapis.com/auth/devstorage.read_only` is
required for communicating with **gcr.io** (the [Google Container Registry](/con
tainer-registry/)). If unspecified, no scopes are added, unless Cloud Logging or
Cloud Monitoring are enabled, in which case their required scopes will be added
.", |
742 "items": { | 884 "items": { |
743 "type": "string" | 885 "type": "string" |
744 }, | 886 }, |
745 "type": "array" | 887 "type": "array" |
746 }, | 888 }, |
| 889 "serviceAccount": { |
| 890 "description": "The Google Cloud Platform Service Account to
be used by the node VMs. If no Service Account is specified, the \"default\" se
rvice account is used.", |
| 891 "type": "string" |
| 892 }, |
747 "metadata": { | 893 "metadata": { |
748 "additionalProperties": { | 894 "additionalProperties": { |
749 "type": "string" | 895 "type": "string" |
750 }, | 896 }, |
751 "description": "The metadata key/value pairs assigned to ins
tances in the cluster. Keys must conform to the regexp [a-zA-Z0-9-_]+ and be les
s than 128 bytes in length. These are reflected as part of a URL in the metadata
server. Additionally, to avoid ambiguity, keys must not conflict with any other
metadata keys for the project or be one of the four reserved keys: \"instance-t
emplate\", \"kube-env\", \"startup-script\", and \"user-data\" Values are free-f
orm strings, and only have meaning as interpreted by the image running in the in
stance. The only restriction placed on them is that each value's size must be le
ss than or equal to 32 KB. The total size of all keys and values must be less th
an 512 KB.", | 897 "description": "The metadata key/value pairs assigned to ins
tances in the cluster. Keys must conform to the regexp [a-zA-Z0-9-_]+ and be les
s than 128 bytes in length. These are reflected as part of a URL in the metadata
server. Additionally, to avoid ambiguity, keys must not conflict with any other
metadata keys for the project or be one of the four reserved keys: \"instance-t
emplate\", \"kube-env\", \"startup-script\", and \"user-data\" Values are free-f
orm strings, and only have meaning as interpreted by the image running in the in
stance. The only restriction placed on them is that each value's size must be le
ss than or equal to 32 KB. The total size of all keys and values must be less th
an 512 KB.", |
752 "type": "object" | 898 "type": "object" |
| 899 }, |
| 900 "imageType": { |
| 901 "description": "The image type to use for this node. Note th
at for a given image type, the latest version of it will be used.", |
| 902 "type": "string" |
| 903 }, |
| 904 "labels": { |
| 905 "additionalProperties": { |
| 906 "type": "string" |
| 907 }, |
| 908 "description": "The map of Kubernetes labels (key/value pair
s) to be applied to each node. These will added in addition to any default label
(s) that Kubernetes may apply to the node. In case of conflict in label keys, th
e applied set may differ depending on the Kubernetes version -- it's best to ass
ume the behavior is undefined and conflicts should be avoided. For more informat
ion, including usage and the valid values, see: http://kubernetes.io/v1.1/docs/u
ser-guide/labels.html", |
| 909 "type": "object" |
| 910 }, |
| 911 "localSsdCount": { |
| 912 "description": "The number of local SSD disks to be attached
to the node. The limit for this value is dependant upon the maximum number of d
isks available on a machine per zone. See: https://cloud.google.com/compute/docs
/disks/local-ssd#local_ssd_limits for more information.", |
| 913 "format": "int32", |
| 914 "type": "integer" |
| 915 }, |
| 916 "tags": { |
| 917 "description": "The list of instance tags applied to all nod
es. Tags are used to identify valid sources or targets for network firewalls and
are specified by the client during cluster or node pool creation. Each tag with
in the list must comply with RFC1035.", |
| 918 "items": { |
| 919 "type": "string" |
| 920 }, |
| 921 "type": "array" |
| 922 }, |
| 923 "preemptible": { |
| 924 "description": "Whether the nodes are created as preemptible
VM instances. See: https://cloud.google.com/compute/docs/instances/preemptible
for more inforamtion about preemptible VM instances.", |
| 925 "type": "boolean" |
753 } | 926 } |
754 }, | 927 }, |
755 "type": "object" | 928 "type": "object" |
756 }, | 929 }, |
757 "MasterAuth": { | 930 "MasterAuth": { |
758 "description": "The authentication information for accessing the mas
ter endpoint. Authentication can be done using HTTP basic auth or using client c
ertificates.", | 931 "description": "The authentication information for accessing the mas
ter endpoint. Authentication can be done using HTTP basic auth or using client c
ertificates.", |
759 "id": "MasterAuth", | 932 "id": "MasterAuth", |
760 "properties": { | 933 "properties": { |
761 "username": { | 934 "username": { |
762 "description": "The username to use for HTTP basic authentic
ation to the master endpoint.", | 935 "description": "The username to use for HTTP basic authentic
ation to the master endpoint.", |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
829 "config": { | 1002 "config": { |
830 "$ref": "NodeConfig", | 1003 "$ref": "NodeConfig", |
831 "description": "The node configuration of the pool." | 1004 "description": "The node configuration of the pool." |
832 }, | 1005 }, |
833 "initialNodeCount": { | 1006 "initialNodeCount": { |
834 "description": "The initial node count for the pool. You mus
t ensure that your Compute Engine resource quota is sufficient for this number o
f instances. You must also have available firewall and routes quota.", | 1007 "description": "The initial node count for the pool. You mus
t ensure that your Compute Engine resource quota is sufficient for this number o
f instances. You must also have available firewall and routes quota.", |
835 "format": "int32", | 1008 "format": "int32", |
836 "type": "integer" | 1009 "type": "integer" |
837 }, | 1010 }, |
838 "selfLink": { | 1011 "selfLink": { |
839 "description": "Server-defined URL for the resource.", | 1012 "description": "[Output only] Server-defined URL for the res
ource.", |
840 "type": "string" | 1013 "type": "string" |
841 }, | 1014 }, |
842 "version": { | 1015 "version": { |
843 "description": "The version of the Kubernetes of this node."
, | 1016 "description": "[Output only] The version of the Kubernetes
of this node.", |
844 "type": "string" | 1017 "type": "string" |
845 }, | 1018 }, |
846 "instanceGroupUrls": { | 1019 "instanceGroupUrls": { |
847 "description": "[Output only] The resource URLs of [instance
groups](/compute/docs/instance-groups/) associated with this node pool.", | 1020 "description": "[Output only] The resource URLs of [instance
groups](/compute/docs/instance-groups/) associated with this node pool.", |
848 "items": { | 1021 "items": { |
849 "type": "string" | 1022 "type": "string" |
850 }, | 1023 }, |
851 "type": "array" | 1024 "type": "array" |
852 }, | 1025 }, |
853 "status": { | 1026 "status": { |
854 "description": "The status of the nodes in this pool instanc
e.", | 1027 "description": "[Output only] The status of the nodes in thi
s pool instance.", |
855 "enum": [ | 1028 "enum": [ |
856 "STATUS_UNSPECIFIED", | 1029 "STATUS_UNSPECIFIED", |
857 "PROVISIONING", | 1030 "PROVISIONING", |
858 "RUNNING", | 1031 "RUNNING", |
859 "RUNNING_WITH_ERROR", | 1032 "RUNNING_WITH_ERROR", |
860 "RECONCILING", | 1033 "RECONCILING", |
861 "STOPPING", | 1034 "STOPPING", |
862 "ERROR" | 1035 "ERROR" |
863 ], | 1036 ], |
864 "type": "string" | 1037 "type": "string" |
865 }, | 1038 }, |
866 "statusMessage": { | 1039 "statusMessage": { |
867 "description": "[Output only] Additional information about t
he current status of this node pool instance, if available.", | 1040 "description": "[Output only] Additional information about t
he current status of this node pool instance, if available.", |
868 "type": "string" | 1041 "type": "string" |
| 1042 }, |
| 1043 "autoscaling": { |
| 1044 "$ref": "NodePoolAutoscaling", |
| 1045 "description": "Autoscaler configuration for this NodePool.
Autoscaler is enabled only if a valid configuration is present." |
| 1046 }, |
| 1047 "management": { |
| 1048 "$ref": "NodeManagement", |
| 1049 "description": "NodeManagement configuration for this NodePo
ol." |
| 1050 } |
| 1051 }, |
| 1052 "type": "object" |
| 1053 }, |
| 1054 "NodePoolAutoscaling": { |
| 1055 "description": "NodePoolAutoscaling contains information required by
cluster autoscaler to adjust the size of the node pool to the current cluster u
sage.", |
| 1056 "id": "NodePoolAutoscaling", |
| 1057 "properties": { |
| 1058 "enabled": { |
| 1059 "description": "Is autoscaling enabled for this node pool.", |
| 1060 "type": "boolean" |
| 1061 }, |
| 1062 "minNodeCount": { |
| 1063 "description": "Minimum number of nodes in the NodePool. Mus
t be >= 1 and <= max_node_count.", |
| 1064 "format": "int32", |
| 1065 "type": "integer" |
| 1066 }, |
| 1067 "maxNodeCount": { |
| 1068 "description": "Maximum number of nodes in the NodePool. Mus
t be >= min_node_count. There has to enough quota to scale up the cluster.", |
| 1069 "format": "int32", |
| 1070 "type": "integer" |
| 1071 } |
| 1072 }, |
| 1073 "type": "object" |
| 1074 }, |
| 1075 "NodeManagement": { |
| 1076 "description": "NodeManagement defines the set of node management se
rvices turned on for the node pool.", |
| 1077 "id": "NodeManagement", |
| 1078 "properties": { |
| 1079 "autoUpgrade": { |
| 1080 "description": "Whether the nodes will be automatically upgr
aded.", |
| 1081 "type": "boolean" |
| 1082 }, |
| 1083 "upgradeOptions": { |
| 1084 "$ref": "AutoUpgradeOptions", |
| 1085 "description": "Specifies the Auto Upgrade knobs for the nod
e pool." |
| 1086 } |
| 1087 }, |
| 1088 "type": "object" |
| 1089 }, |
| 1090 "AutoUpgradeOptions": { |
| 1091 "description": "AutoUpgradeOptions defines the set of options for th
e user to control how the Auto Upgrades will proceed.", |
| 1092 "id": "AutoUpgradeOptions", |
| 1093 "properties": { |
| 1094 "autoUpgradeStartTime": { |
| 1095 "description": "[Output only] This field is set when upgrade
s are about to commence with the approximate start time for the upgrades, in [RF
C3339](https://www.ietf.org/rfc/rfc3339.txt) text format.", |
| 1096 "type": "string" |
| 1097 }, |
| 1098 "description": { |
| 1099 "description": "[Output only] This field is set when upgrade
s are about to commence with the description of the upgrade.", |
| 1100 "type": "string" |
869 } | 1101 } |
870 }, | 1102 }, |
871 "type": "object" | 1103 "type": "object" |
872 }, | 1104 }, |
873 "CreateClusterRequest": { | 1105 "CreateClusterRequest": { |
874 "description": "CreateClusterRequest creates a cluster.", | 1106 "description": "CreateClusterRequest creates a cluster.", |
875 "id": "CreateClusterRequest", | 1107 "id": "CreateClusterRequest", |
876 "properties": { | 1108 "properties": { |
877 "cluster": { | 1109 "cluster": { |
878 "$ref": "Cluster", | 1110 "$ref": "Cluster", |
(...skipping 18 matching lines...) Expand all Loading... |
897 "description": "The operation type.", | 1129 "description": "The operation type.", |
898 "enum": [ | 1130 "enum": [ |
899 "TYPE_UNSPECIFIED", | 1131 "TYPE_UNSPECIFIED", |
900 "CREATE_CLUSTER", | 1132 "CREATE_CLUSTER", |
901 "DELETE_CLUSTER", | 1133 "DELETE_CLUSTER", |
902 "UPGRADE_MASTER", | 1134 "UPGRADE_MASTER", |
903 "UPGRADE_NODES", | 1135 "UPGRADE_NODES", |
904 "REPAIR_CLUSTER", | 1136 "REPAIR_CLUSTER", |
905 "UPDATE_CLUSTER", | 1137 "UPDATE_CLUSTER", |
906 "CREATE_NODE_POOL", | 1138 "CREATE_NODE_POOL", |
907 "DELETE_NODE_POOL" | 1139 "DELETE_NODE_POOL", |
| 1140 "SET_NODE_POOL_MANAGEMENT" |
908 ], | 1141 ], |
909 "type": "string" | 1142 "type": "string" |
910 }, | 1143 }, |
911 "status": { | 1144 "status": { |
912 "description": "The current status of the operation.", | 1145 "description": "The current status of the operation.", |
913 "enum": [ | 1146 "enum": [ |
914 "STATUS_UNSPECIFIED", | 1147 "STATUS_UNSPECIFIED", |
915 "PENDING", | 1148 "PENDING", |
916 "RUNNING", | 1149 "RUNNING", |
917 "DONE" | 1150 "DONE", |
| 1151 "ABORTING" |
918 ], | 1152 ], |
919 "type": "string" | 1153 "type": "string" |
920 }, | 1154 }, |
921 "detail": { | 1155 "detail": { |
922 "description": "Detailed operation progress, if available.", | 1156 "description": "Detailed operation progress, if available.", |
923 "type": "string" | 1157 "type": "string" |
924 }, | 1158 }, |
925 "statusMessage": { | 1159 "statusMessage": { |
926 "description": "If an error has occurred, a textual descript
ion of the error.", | 1160 "description": "If an error has occurred, a textual descript
ion of the error.", |
927 "type": "string" | 1161 "type": "string" |
(...skipping 30 matching lines...) Expand all Loading... |
958 }, | 1192 }, |
959 "desiredMonitoringService": { | 1193 "desiredMonitoringService": { |
960 "description": "The monitoring service the cluster should us
e to write metrics. Currently available options: * \"monitoring.googleapis.com\"
- the Google Cloud Monitoring service * \"none\" - no metrics will be exported
from the cluster", | 1194 "description": "The monitoring service the cluster should us
e to write metrics. Currently available options: * \"monitoring.googleapis.com\"
- the Google Cloud Monitoring service * \"none\" - no metrics will be exported
from the cluster", |
961 "type": "string" | 1195 "type": "string" |
962 }, | 1196 }, |
963 "desiredAddonsConfig": { | 1197 "desiredAddonsConfig": { |
964 "$ref": "AddonsConfig", | 1198 "$ref": "AddonsConfig", |
965 "description": "Configurations for the various addons availa
ble to run in the cluster." | 1199 "description": "Configurations for the various addons availa
ble to run in the cluster." |
966 }, | 1200 }, |
967 "desiredNodePoolId": { | 1201 "desiredNodePoolId": { |
968 "description": "The node pool to be upgraded. This field is
mandatory if the \"desired_node_version\" or \"desired_image_family\" is specifi
ed and there is more than one node pool on the cluster.", | 1202 "description": "The node pool to be upgraded. This field is
mandatory if \"desired_node_version\", \"desired_image_family\" or \"desired_nod
e_pool_autoscaling\" is specified and there is more than one node pool on the cl
uster.", |
969 "type": "string" | 1203 "type": "string" |
970 }, | 1204 }, |
| 1205 "desiredImageType": { |
| 1206 "description": "The desired image type for the node pool. NO
TE: Set the \"desired_node_pool\" field as well.", |
| 1207 "type": "string" |
| 1208 }, |
| 1209 "desiredNodePoolAutoscaling": { |
| 1210 "$ref": "NodePoolAutoscaling", |
| 1211 "description": "Autoscaler configuration for the node pool s
pecified in desired_node_pool_id. If there is only one pool in the cluster and d
esired_node_pool_id is not provided then the change applies to that single node
pool." |
| 1212 }, |
| 1213 "desiredLocations": { |
| 1214 "description": "The desired list of Google Compute Engine [l
ocations](/compute/docs/zones#available) in which the cluster's nodes should be
located. Changing the locations a cluster is in will result in nodes being eithe
r created or removed from the cluster, depending on whether locations are being
added or removed. This list must always include the cluster's primary zone.", |
| 1215 "items": { |
| 1216 "type": "string" |
| 1217 }, |
| 1218 "type": "array" |
| 1219 }, |
971 "desiredMasterVersion": { | 1220 "desiredMasterVersion": { |
972 "description": "The Kubernetes version to change the master
to. The only valid value is the latest supported version. Use \"-\" to have the
server automatically select the latest version.", | 1221 "description": "The Kubernetes version to change the master
to. The only valid value is the latest supported version. Use \"-\" to have the
server automatically select the latest version.", |
973 "type": "string" | 1222 "type": "string" |
974 } | 1223 } |
975 }, | 1224 }, |
976 "type": "object" | 1225 "type": "object" |
977 }, | 1226 }, |
978 "ListOperationsResponse": { | 1227 "ListOperationsResponse": { |
979 "description": "ListOperationsResponse is the result of ListOperatio
nsRequest.", | 1228 "description": "ListOperationsResponse is the result of ListOperatio
nsRequest.", |
980 "id": "ListOperationsResponse", | 1229 "id": "ListOperationsResponse", |
981 "properties": { | 1230 "properties": { |
982 "operations": { | 1231 "operations": { |
983 "description": "A list of operations in the project in the s
pecified zone.", | 1232 "description": "A list of operations in the project in the s
pecified zone.", |
984 "items": { | 1233 "items": { |
985 "$ref": "Operation" | 1234 "$ref": "Operation" |
986 }, | 1235 }, |
987 "type": "array" | 1236 "type": "array" |
988 }, | 1237 }, |
989 "missingZones": { | 1238 "missingZones": { |
990 "description": "If any zones are listed here, the list of op
erations returned may be missing the operations from those zones.", | 1239 "description": "If any zones are listed here, the list of op
erations returned may be missing the operations from those zones.", |
991 "items": { | 1240 "items": { |
992 "type": "string" | 1241 "type": "string" |
993 }, | 1242 }, |
994 "type": "array" | 1243 "type": "array" |
995 } | 1244 } |
996 }, | 1245 }, |
997 "type": "object" | 1246 "type": "object" |
998 }, | 1247 }, |
| 1248 "CancelOperationRequest": { |
| 1249 "description": "CancelOperationRequest cancels a single operation.", |
| 1250 "id": "CancelOperationRequest", |
| 1251 "type": "object" |
| 1252 }, |
| 1253 "Empty": { |
| 1254 "description": "A generic empty message that you can re-use to avoid
defining duplicated empty messages in your APIs. A typical example is to use it
as the request or the response type of an API method. For instance: service Foo
{ rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON re
presentation for `Empty` is empty JSON object `{}`.", |
| 1255 "id": "Empty", |
| 1256 "type": "object" |
| 1257 }, |
999 "ServerConfig": { | 1258 "ServerConfig": { |
1000 "description": "Container Engine service configuration.", | 1259 "description": "Container Engine service configuration.", |
1001 "id": "ServerConfig", | 1260 "id": "ServerConfig", |
1002 "properties": { | 1261 "properties": { |
1003 "defaultClusterVersion": { | 1262 "defaultClusterVersion": { |
1004 "description": "Version of Kubernetes the service deploys by
default.", | 1263 "description": "Version of Kubernetes the service deploys by
default.", |
1005 "type": "string" | 1264 "type": "string" |
1006 }, | 1265 }, |
1007 "validNodeVersions": { | 1266 "validNodeVersions": { |
1008 "description": "List of valid node upgrade target versions."
, | 1267 "description": "List of valid node upgrade target versions."
, |
1009 "items": { | 1268 "items": { |
1010 "type": "string" | 1269 "type": "string" |
1011 }, | 1270 }, |
1012 "type": "array" | 1271 "type": "array" |
1013 }, | 1272 }, |
1014 "defaultImageFamily": { | 1273 "defaultImageType": { |
1015 "description": "Default image family.", | 1274 "description": "Default image type.", |
1016 "type": "string" | 1275 "type": "string" |
1017 }, | 1276 }, |
1018 "validImageFamilies": { | 1277 "validImageTypes": { |
1019 "description": "List of valid image families.", | 1278 "description": "List of valid image types.", |
1020 "items": { | 1279 "items": { |
1021 "type": "string" | 1280 "type": "string" |
1022 }, | 1281 }, |
| 1282 "type": "array" |
| 1283 }, |
| 1284 "validMasterVersions": { |
| 1285 "description": "List of valid master versions.", |
| 1286 "items": { |
| 1287 "type": "string" |
| 1288 }, |
1023 "type": "array" | 1289 "type": "array" |
1024 } | 1290 } |
1025 }, | 1291 }, |
1026 "type": "object" | 1292 "type": "object" |
1027 }, | 1293 }, |
1028 "ListNodePoolsResponse": { | 1294 "ListNodePoolsResponse": { |
1029 "description": "ListNodePoolsResponse is the result of ListNodePools
Request.", | 1295 "description": "ListNodePoolsResponse is the result of ListNodePools
Request.", |
1030 "id": "ListNodePoolsResponse", | 1296 "id": "ListNodePoolsResponse", |
1031 "properties": { | 1297 "properties": { |
1032 "nodePools": { | 1298 "nodePools": { |
1033 "description": "A list of node pools for a cluster.", | 1299 "description": "A list of node pools for a cluster.", |
1034 "items": { | 1300 "items": { |
1035 "$ref": "NodePool" | 1301 "$ref": "NodePool" |
1036 }, | 1302 }, |
1037 "type": "array" | 1303 "type": "array" |
1038 } | 1304 } |
1039 }, | 1305 }, |
1040 "type": "object" | 1306 "type": "object" |
1041 }, | 1307 }, |
1042 "CreateNodePoolRequest": { | 1308 "CreateNodePoolRequest": { |
1043 "description": "CreateNodePoolRequest creates a node pool for a clus
ter.", | 1309 "description": "CreateNodePoolRequest creates a node pool for a clus
ter.", |
1044 "id": "CreateNodePoolRequest", | 1310 "id": "CreateNodePoolRequest", |
1045 "properties": { | 1311 "properties": { |
1046 "nodePool": { | 1312 "nodePool": { |
1047 "$ref": "NodePool", | 1313 "$ref": "NodePool", |
1048 "description": "The node pool to create." | 1314 "description": "The node pool to create." |
1049 } | 1315 } |
1050 }, | 1316 }, |
1051 "type": "object" | 1317 "type": "object" |
| 1318 }, |
| 1319 "RollbackNodePoolUpgradeRequest": { |
| 1320 "description": "RollbackNodePoolUpgradeRequest rollbacks the previou
sly Aborted or Failed NodePool upgrade. This will be an no-op if the last upgrad
e successfully completed.", |
| 1321 "id": "RollbackNodePoolUpgradeRequest", |
| 1322 "type": "object" |
| 1323 }, |
| 1324 "SetNodePoolManagementRequest": { |
| 1325 "description": "SetNodePoolManagementRequest sets the node managemen
t properties of a node pool.", |
| 1326 "id": "SetNodePoolManagementRequest", |
| 1327 "properties": { |
| 1328 "management": { |
| 1329 "$ref": "NodeManagement", |
| 1330 "description": "NodeManagement configuration for the node po
ol." |
| 1331 } |
| 1332 }, |
| 1333 "type": "object" |
1052 } | 1334 } |
1053 }, | 1335 }, |
1054 "servicePath": "", | 1336 "servicePath": "", |
1055 "title": "Google Container Engine API", | 1337 "title": "Google Container Engine API", |
1056 "version": "v1" | 1338 "version": "v1" |
1057 } | 1339 } |
OLD | NEW |