| OLD | NEW |
| 1 library googleapis_beta.container.v1beta1; | 1 library googleapis_beta.container.v1beta1; |
| 2 | 2 |
| 3 import "dart:core" as core; | 3 import "dart:core" as core; |
| 4 import "dart:collection" as collection; | 4 import "dart:collection" as collection; |
| 5 import "dart:async" as async; | 5 import "dart:async" as async; |
| 6 import "dart:convert" as convert; | 6 import "dart:convert" as convert; |
| 7 | 7 |
| 8 import "package:crypto/crypto.dart" as crypto; | 8 import "package:crypto/crypto.dart" as crypto; |
| 9 import 'package:http/http.dart' as http; | 9 import 'package:http/http.dart' as http; |
| 10 import '../src/common_internal.dart' as common_internal; | 10 import '../src/common_internal.dart' as common_internal; |
| (...skipping 520 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 531 /** | 531 /** |
| 532 * The name of this cluster. The name must be unique within this project and | 532 * The name of this cluster. The name must be unique within this project and |
| 533 * zone, and can be up to 40 characters with the following restrictions: | 533 * zone, and can be up to 40 characters with the following restrictions: |
| 534 * - Lowercase letters, numbers, and hyphens only. | 534 * - Lowercase letters, numbers, and hyphens only. |
| 535 * - Must start with a letter. | 535 * - Must start with a letter. |
| 536 * - Must end with a number or a letter. | 536 * - Must end with a number or a letter. |
| 537 */ | 537 */ |
| 538 core.String name; | 538 core.String name; |
| 539 | 539 |
| 540 /** | 540 /** |
| 541 * The name of the Google Compute Engine network to which the cluster is |
| 542 * connected. |
| 543 */ |
| 544 core.String network; |
| 545 |
| 546 /** |
| 541 * The machine type and image to use for all nodes in this cluster. See the | 547 * The machine type and image to use for all nodes in this cluster. See the |
| 542 * descriptions of the child properties of nodeConfig. | 548 * descriptions of the child properties of nodeConfig. |
| 543 */ | 549 */ |
| 544 NodeConfig nodeConfig; | 550 NodeConfig nodeConfig; |
| 545 | 551 |
| 546 /** | 552 /** |
| 547 * [Output only] The size of the address space on each node for hosting | 553 * [Output only] The size of the address space on each node for hosting |
| 548 * containers. | 554 * containers. |
| 549 */ | 555 */ |
| 550 core.int nodeRoutingPrefixSize; | 556 core.int nodeRoutingPrefixSize; |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 604 } | 610 } |
| 605 if (_json.containsKey("endpoint")) { | 611 if (_json.containsKey("endpoint")) { |
| 606 endpoint = _json["endpoint"]; | 612 endpoint = _json["endpoint"]; |
| 607 } | 613 } |
| 608 if (_json.containsKey("masterAuth")) { | 614 if (_json.containsKey("masterAuth")) { |
| 609 masterAuth = new MasterAuth.fromJson(_json["masterAuth"]); | 615 masterAuth = new MasterAuth.fromJson(_json["masterAuth"]); |
| 610 } | 616 } |
| 611 if (_json.containsKey("name")) { | 617 if (_json.containsKey("name")) { |
| 612 name = _json["name"]; | 618 name = _json["name"]; |
| 613 } | 619 } |
| 620 if (_json.containsKey("network")) { |
| 621 network = _json["network"]; |
| 622 } |
| 614 if (_json.containsKey("nodeConfig")) { | 623 if (_json.containsKey("nodeConfig")) { |
| 615 nodeConfig = new NodeConfig.fromJson(_json["nodeConfig"]); | 624 nodeConfig = new NodeConfig.fromJson(_json["nodeConfig"]); |
| 616 } | 625 } |
| 617 if (_json.containsKey("nodeRoutingPrefixSize")) { | 626 if (_json.containsKey("nodeRoutingPrefixSize")) { |
| 618 nodeRoutingPrefixSize = _json["nodeRoutingPrefixSize"]; | 627 nodeRoutingPrefixSize = _json["nodeRoutingPrefixSize"]; |
| 619 } | 628 } |
| 620 if (_json.containsKey("numNodes")) { | 629 if (_json.containsKey("numNodes")) { |
| 621 numNodes = _json["numNodes"]; | 630 numNodes = _json["numNodes"]; |
| 622 } | 631 } |
| 623 if (_json.containsKey("servicesIpv4Cidr")) { | 632 if (_json.containsKey("servicesIpv4Cidr")) { |
| (...skipping 26 matching lines...) Expand all Loading... |
| 650 } | 659 } |
| 651 if (endpoint != null) { | 660 if (endpoint != null) { |
| 652 _json["endpoint"] = endpoint; | 661 _json["endpoint"] = endpoint; |
| 653 } | 662 } |
| 654 if (masterAuth != null) { | 663 if (masterAuth != null) { |
| 655 _json["masterAuth"] = (masterAuth).toJson(); | 664 _json["masterAuth"] = (masterAuth).toJson(); |
| 656 } | 665 } |
| 657 if (name != null) { | 666 if (name != null) { |
| 658 _json["name"] = name; | 667 _json["name"] = name; |
| 659 } | 668 } |
| 669 if (network != null) { |
| 670 _json["network"] = network; |
| 671 } |
| 660 if (nodeConfig != null) { | 672 if (nodeConfig != null) { |
| 661 _json["nodeConfig"] = (nodeConfig).toJson(); | 673 _json["nodeConfig"] = (nodeConfig).toJson(); |
| 662 } | 674 } |
| 663 if (nodeRoutingPrefixSize != null) { | 675 if (nodeRoutingPrefixSize != null) { |
| 664 _json["nodeRoutingPrefixSize"] = nodeRoutingPrefixSize; | 676 _json["nodeRoutingPrefixSize"] = nodeRoutingPrefixSize; |
| 665 } | 677 } |
| 666 if (numNodes != null) { | 678 if (numNodes != null) { |
| 667 _json["numNodes"] = numNodes; | 679 _json["numNodes"] = numNodes; |
| 668 } | 680 } |
| 669 if (servicesIpv4Cidr != null) { | 681 if (servicesIpv4Cidr != null) { |
| (...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 893 core.String name; | 905 core.String name; |
| 894 | 906 |
| 895 /** | 907 /** |
| 896 * The operation type. | 908 * The operation type. |
| 897 * Possible string values are: | 909 * Possible string values are: |
| 898 * - "createCluster" | 910 * - "createCluster" |
| 899 * - "deleteCluster" | 911 * - "deleteCluster" |
| 900 */ | 912 */ |
| 901 core.String operationType; | 913 core.String operationType; |
| 902 | 914 |
| 915 /** Server-defined URL for the resource. */ |
| 916 core.String selfLink; |
| 917 |
| 903 /** | 918 /** |
| 904 * The current status of the operation. | 919 * The current status of the operation. |
| 905 * Possible string values are: | 920 * Possible string values are: |
| 906 * - "done" | 921 * - "done" |
| 907 * - "pending" | 922 * - "pending" |
| 908 * - "running" | 923 * - "running" |
| 909 */ | 924 */ |
| 910 core.String status; | 925 core.String status; |
| 911 | 926 |
| 912 /** | 927 /** |
| (...skipping 14 matching lines...) Expand all Loading... |
| 927 Operation.fromJson(core.Map _json) { | 942 Operation.fromJson(core.Map _json) { |
| 928 if (_json.containsKey("errorMessage")) { | 943 if (_json.containsKey("errorMessage")) { |
| 929 errorMessage = _json["errorMessage"]; | 944 errorMessage = _json["errorMessage"]; |
| 930 } | 945 } |
| 931 if (_json.containsKey("name")) { | 946 if (_json.containsKey("name")) { |
| 932 name = _json["name"]; | 947 name = _json["name"]; |
| 933 } | 948 } |
| 934 if (_json.containsKey("operationType")) { | 949 if (_json.containsKey("operationType")) { |
| 935 operationType = _json["operationType"]; | 950 operationType = _json["operationType"]; |
| 936 } | 951 } |
| 952 if (_json.containsKey("selfLink")) { |
| 953 selfLink = _json["selfLink"]; |
| 954 } |
| 937 if (_json.containsKey("status")) { | 955 if (_json.containsKey("status")) { |
| 938 status = _json["status"]; | 956 status = _json["status"]; |
| 939 } | 957 } |
| 940 if (_json.containsKey("target")) { | 958 if (_json.containsKey("target")) { |
| 941 target = _json["target"]; | 959 target = _json["target"]; |
| 942 } | 960 } |
| 943 if (_json.containsKey("zone")) { | 961 if (_json.containsKey("zone")) { |
| 944 zone = _json["zone"]; | 962 zone = _json["zone"]; |
| 945 } | 963 } |
| 946 } | 964 } |
| 947 | 965 |
| 948 core.Map toJson() { | 966 core.Map toJson() { |
| 949 var _json = new core.Map(); | 967 var _json = new core.Map(); |
| 950 if (errorMessage != null) { | 968 if (errorMessage != null) { |
| 951 _json["errorMessage"] = errorMessage; | 969 _json["errorMessage"] = errorMessage; |
| 952 } | 970 } |
| 953 if (name != null) { | 971 if (name != null) { |
| 954 _json["name"] = name; | 972 _json["name"] = name; |
| 955 } | 973 } |
| 956 if (operationType != null) { | 974 if (operationType != null) { |
| 957 _json["operationType"] = operationType; | 975 _json["operationType"] = operationType; |
| 958 } | 976 } |
| 977 if (selfLink != null) { |
| 978 _json["selfLink"] = selfLink; |
| 979 } |
| 959 if (status != null) { | 980 if (status != null) { |
| 960 _json["status"] = status; | 981 _json["status"] = status; |
| 961 } | 982 } |
| 962 if (target != null) { | 983 if (target != null) { |
| 963 _json["target"] = target; | 984 _json["target"] = target; |
| 964 } | 985 } |
| 965 if (zone != null) { | 986 if (zone != null) { |
| 966 _json["zone"] = zone; | 987 _json["zone"] = zone; |
| 967 } | 988 } |
| 968 return _json; | 989 return _json; |
| 969 } | 990 } |
| 970 } | 991 } |
| 971 | 992 |
| 972 | 993 |
| OLD | NEW |