| OLD | NEW |
| 1 // This is a generated file (see the discoveryapis_generator project). | 1 // This is a generated file (see the discoveryapis_generator project). |
| 2 | 2 |
| 3 library googleapis.compute.v1; | 3 library googleapis.compute.v1; |
| 4 | 4 |
| 5 import 'dart:core' as core; | 5 import 'dart:core' as core; |
| 6 import 'dart:async' as async; | 6 import 'dart:async' as async; |
| 7 import 'dart:convert' as convert; | 7 import 'dart:convert' as convert; |
| 8 | 8 |
| 9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; | 9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; |
| 10 import 'package:crypto/crypto.dart' as crypto; | 10 import 'package:crypto/crypto.dart' as crypto; |
| (...skipping 10518 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10529 * be a lowercase letter, and all following characters must be a dash, | 10529 * be a lowercase letter, and all following characters must be a dash, |
| 10530 * lowercase letter, or digit, except the last character, which cannot be a | 10530 * lowercase letter, or digit, except the last character, which cannot be a |
| 10531 * dash. | 10531 * dash. |
| 10532 */ | 10532 */ |
| 10533 core.String name; | 10533 core.String name; |
| 10534 /** | 10534 /** |
| 10535 * [Output Only] URL of the region where the regional address resides. This | 10535 * [Output Only] URL of the region where the regional address resides. This |
| 10536 * field is not applicable to global addresses. | 10536 * field is not applicable to global addresses. |
| 10537 */ | 10537 */ |
| 10538 core.String region; | 10538 core.String region; |
| 10539 /** [Output Only] Server defined URL for the resource. */ | 10539 /** [Output Only] Server-defined URL for the resource. */ |
| 10540 core.String selfLink; | 10540 core.String selfLink; |
| 10541 /** | 10541 /** |
| 10542 * [Output Only] The status of the address, which can be either IN_USE or | 10542 * [Output Only] The status of the address, which can be either IN_USE or |
| 10543 * RESERVED. An address that is RESERVED is currently reserved and available | 10543 * RESERVED. An address that is RESERVED is currently reserved and available |
| 10544 * to use. An IN_USE address is currently being used by another resource and | 10544 * to use. An IN_USE address is currently being used by another resource and |
| 10545 * is not available. | 10545 * is not available. |
| 10546 * Possible string values are: | 10546 * Possible string values are: |
| 10547 * - "IN_USE" | 10547 * - "IN_USE" |
| 10548 * - "RESERVED" | 10548 * - "RESERVED" |
| 10549 */ | 10549 */ |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10629 core.String id; | 10629 core.String id; |
| 10630 /** [Output Only] A map of scoped address lists. */ | 10630 /** [Output Only] A map of scoped address lists. */ |
| 10631 core.Map<core.String, AddressesScopedList> items; | 10631 core.Map<core.String, AddressesScopedList> items; |
| 10632 /** | 10632 /** |
| 10633 * [Output Only] Type of resource. Always compute#addressAggregatedList for | 10633 * [Output Only] Type of resource. Always compute#addressAggregatedList for |
| 10634 * aggregated lists of addresses. | 10634 * aggregated lists of addresses. |
| 10635 */ | 10635 */ |
| 10636 core.String kind; | 10636 core.String kind; |
| 10637 /** [Output Only] A token used to continue a truncated list request. */ | 10637 /** [Output Only] A token used to continue a truncated list request. */ |
| 10638 core.String nextPageToken; | 10638 core.String nextPageToken; |
| 10639 /** [Output Only] Server defined URL for this resource. */ | 10639 /** [Output Only] Server-defined URL for this resource. */ |
| 10640 core.String selfLink; | 10640 core.String selfLink; |
| 10641 | 10641 |
| 10642 AddressAggregatedList(); | 10642 AddressAggregatedList(); |
| 10643 | 10643 |
| 10644 AddressAggregatedList.fromJson(core.Map _json) { | 10644 AddressAggregatedList.fromJson(core.Map _json) { |
| 10645 if (_json.containsKey("id")) { | 10645 if (_json.containsKey("id")) { |
| 10646 id = _json["id"]; | 10646 id = _json["id"]; |
| 10647 } | 10647 } |
| 10648 if (_json.containsKey("items")) { | 10648 if (_json.containsKey("items")) { |
| 10649 items = commons.mapMap(_json["items"], (item) => new AddressesScopedList.f
romJson(item)); | 10649 items = commons.mapMap(_json["items"], (item) => new AddressesScopedList.f
romJson(item)); |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10688 core.String id; | 10688 core.String id; |
| 10689 /** [Output Only] A list of Address resources. */ | 10689 /** [Output Only] A list of Address resources. */ |
| 10690 core.List<Address> items; | 10690 core.List<Address> items; |
| 10691 /** | 10691 /** |
| 10692 * [Output Only] Type of resource. Always compute#addressList for lists of | 10692 * [Output Only] Type of resource. Always compute#addressList for lists of |
| 10693 * addresses. | 10693 * addresses. |
| 10694 */ | 10694 */ |
| 10695 core.String kind; | 10695 core.String kind; |
| 10696 /** [Output Only] A token used to continue a truncated list request. */ | 10696 /** [Output Only] A token used to continue a truncated list request. */ |
| 10697 core.String nextPageToken; | 10697 core.String nextPageToken; |
| 10698 /** [Output Only] Server defined URL for the resource. */ | 10698 /** [Output Only] Server-defined URL for the resource. */ |
| 10699 core.String selfLink; | 10699 core.String selfLink; |
| 10700 | 10700 |
| 10701 AddressList(); | 10701 AddressList(); |
| 10702 | 10702 |
| 10703 AddressList.fromJson(core.Map _json) { | 10703 AddressList.fromJson(core.Map _json) { |
| 10704 if (_json.containsKey("id")) { | 10704 if (_json.containsKey("id")) { |
| 10705 id = _json["id"]; | 10705 id = _json["id"]; |
| 10706 } | 10706 } |
| 10707 if (_json.containsKey("items")) { | 10707 if (_json.containsKey("items")) { |
| 10708 items = _json["items"].map((value) => new Address.fromJson(value)).toList(
); | 10708 items = _json["items"].map((value) => new Address.fromJson(value)).toList(
); |
| (...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10865 * deleted (but not when the disk is detached from the instance). | 10865 * deleted (but not when the disk is detached from the instance). |
| 10866 */ | 10866 */ |
| 10867 core.bool autoDelete; | 10867 core.bool autoDelete; |
| 10868 /** | 10868 /** |
| 10869 * Indicates that this is a boot disk. The virtual machine will use the first | 10869 * Indicates that this is a boot disk. The virtual machine will use the first |
| 10870 * partition of the disk for its root filesystem. | 10870 * partition of the disk for its root filesystem. |
| 10871 */ | 10871 */ |
| 10872 core.bool boot; | 10872 core.bool boot; |
| 10873 /** | 10873 /** |
| 10874 * Specifies a unique device name of your choice that is reflected into the | 10874 * Specifies a unique device name of your choice that is reflected into the |
| 10875 * /dev/ tree of a Linux operating system running within the instance. This | 10875 * /dev/disk/by-id/google-* tree of a Linux operating system running within |
| 10876 * name can be used to reference the device for mounting, resizing, and so on, | 10876 * the instance. This name can be used to reference the device for mounting, |
| 10877 * from within the instance. | 10877 * resizing, and so on, from within the instance. |
| 10878 * | 10878 * |
| 10879 * If not specified, the server chooses a default device name to apply to this | 10879 * If not specified, the server chooses a default device name to apply to this |
| 10880 * disk, in the form persistent-disks-x, where x is a number assigned by | 10880 * disk, in the form persistent-disks-x, where x is a number assigned by |
| 10881 * Google Compute Engine. This field is only applicable for persistent disks. | 10881 * Google Compute Engine. This field is only applicable for persistent disks. |
| 10882 */ | 10882 */ |
| 10883 core.String deviceName; | 10883 core.String deviceName; |
| 10884 /** | 10884 /** |
| 10885 * Assigns a zero-based index to this disk, where 0 is reserved for the boot | 10885 * Assigns a zero-based index to this disk, where 0 is reserved for the boot |
| 10886 * disk. For example, if you have many disks attached to an instance, each | 10886 * disk. For example, if you have many disks attached to an instance, each |
| 10887 * disk would have a unique index number. If not specified, the server will | 10887 * disk would have a unique index number. If not specified, the server will |
| (...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11090 if (sourceImage != null) { | 11090 if (sourceImage != null) { |
| 11091 _json["sourceImage"] = sourceImage; | 11091 _json["sourceImage"] = sourceImage; |
| 11092 } | 11092 } |
| 11093 return _json; | 11093 return _json; |
| 11094 } | 11094 } |
| 11095 } | 11095 } |
| 11096 | 11096 |
| 11097 class Autoscaler { | 11097 class Autoscaler { |
| 11098 /** Autoscaling configuration. */ | 11098 /** Autoscaling configuration. */ |
| 11099 AutoscalingPolicy autoscalingPolicy; | 11099 AutoscalingPolicy autoscalingPolicy; |
| 11100 /** Creation timestamp in RFC3339 text format (output only). */ | 11100 /** [Output Only] Creation timestamp in RFC3339 text format. */ |
| 11101 core.String creationTimestamp; | 11101 core.String creationTimestamp; |
| 11102 /** | 11102 /** |
| 11103 * An optional textual description of the resource; provided by the client | 11103 * An optional textual description of the resource; provided by the client |
| 11104 * when the resource is created. | 11104 * when the resource is created. |
| 11105 */ | 11105 */ |
| 11106 core.String description; | 11106 core.String description; |
| 11107 /** | 11107 /** |
| 11108 * Unique identifier for the resource; defined by the server (output only). | 11108 * [Output Only] Unique identifier for the resource; defined by the server. |
| 11109 */ | 11109 */ |
| 11110 core.String id; | 11110 core.String id; |
| 11111 /** Type of the resource. */ | 11111 /** Type of the resource. */ |
| 11112 core.String kind; | 11112 core.String kind; |
| 11113 /** | 11113 /** |
| 11114 * Name of the resource; provided by the client when the resource is created. | 11114 * Name of the resource. Provided by the client when the resource is created. |
| 11115 * The name must be 1-63 characters long, and comply with RFC1035. | 11115 * The name must be 1-63 characters long, and comply with RFC1035. |
| 11116 * Specifically, the name must be 1-63 characters long and match the regular |
| 11117 * expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must |
| 11118 * be a lowercase letter, and all following characters must be a dash, |
| 11119 * lowercase letter, or digit, except the last character, which cannot be a |
| 11120 * dash. |
| 11116 */ | 11121 */ |
| 11117 core.String name; | 11122 core.String name; |
| 11118 /** Server defined URL for the resource (output only). */ | 11123 /** [Output Only] Server-defined URL for the resource. */ |
| 11119 core.String selfLink; | 11124 core.String selfLink; |
| 11120 /** | 11125 /** |
| 11121 * URL of Instance Group Manager or Replica Pool which will be controlled by | 11126 * URL of Instance Group Manager or Replica Pool which will be controlled by |
| 11122 * Autoscaler. | 11127 * Autoscaler. |
| 11123 */ | 11128 */ |
| 11124 core.String target; | 11129 core.String target; |
| 11125 /** URL of the zone where the instance group resides (output only). */ | 11130 /** [Output Only] URL of the zone where the instance group resides. */ |
| 11126 core.String zone; | 11131 core.String zone; |
| 11127 | 11132 |
| 11128 Autoscaler(); | 11133 Autoscaler(); |
| 11129 | 11134 |
| 11130 Autoscaler.fromJson(core.Map _json) { | 11135 Autoscaler.fromJson(core.Map _json) { |
| 11131 if (_json.containsKey("autoscalingPolicy")) { | 11136 if (_json.containsKey("autoscalingPolicy")) { |
| 11132 autoscalingPolicy = new AutoscalingPolicy.fromJson(_json["autoscalingPolic
y"]); | 11137 autoscalingPolicy = new AutoscalingPolicy.fromJson(_json["autoscalingPolic
y"]); |
| 11133 } | 11138 } |
| 11134 if (_json.containsKey("creationTimestamp")) { | 11139 if (_json.containsKey("creationTimestamp")) { |
| 11135 creationTimestamp = _json["creationTimestamp"]; | 11140 creationTimestamp = _json["creationTimestamp"]; |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11185 } | 11190 } |
| 11186 if (zone != null) { | 11191 if (zone != null) { |
| 11187 _json["zone"] = zone; | 11192 _json["zone"] = zone; |
| 11188 } | 11193 } |
| 11189 return _json; | 11194 return _json; |
| 11190 } | 11195 } |
| 11191 } | 11196 } |
| 11192 | 11197 |
| 11193 class AutoscalerAggregatedList { | 11198 class AutoscalerAggregatedList { |
| 11194 /** | 11199 /** |
| 11195 * Unique identifier for the resource; defined by the server (output only). | 11200 * [Output Only] Unique identifier for the resource; defined by the server. |
| 11196 */ | 11201 */ |
| 11197 core.String id; | 11202 core.String id; |
| 11198 /** A map of scoped autoscaler lists. */ | 11203 /** A map of scoped autoscaler lists. */ |
| 11199 core.Map<core.String, AutoscalersScopedList> items; | 11204 core.Map<core.String, AutoscalersScopedList> items; |
| 11200 /** Type of resource. */ | 11205 /** Type of resource. */ |
| 11201 core.String kind; | 11206 core.String kind; |
| 11202 /** A token used to continue a truncated list request (output only). */ | 11207 /** [Output Only] A token used to continue a truncated list request. */ |
| 11203 core.String nextPageToken; | 11208 core.String nextPageToken; |
| 11204 /** Server defined URL for this resource (output only). */ | 11209 /** [Output Only] Server-defined URL for this resource. */ |
| 11205 core.String selfLink; | 11210 core.String selfLink; |
| 11206 | 11211 |
| 11207 AutoscalerAggregatedList(); | 11212 AutoscalerAggregatedList(); |
| 11208 | 11213 |
| 11209 AutoscalerAggregatedList.fromJson(core.Map _json) { | 11214 AutoscalerAggregatedList.fromJson(core.Map _json) { |
| 11210 if (_json.containsKey("id")) { | 11215 if (_json.containsKey("id")) { |
| 11211 id = _json["id"]; | 11216 id = _json["id"]; |
| 11212 } | 11217 } |
| 11213 if (_json.containsKey("items")) { | 11218 if (_json.containsKey("items")) { |
| 11214 items = commons.mapMap(_json["items"], (item) => new AutoscalersScopedList
.fromJson(item)); | 11219 items = commons.mapMap(_json["items"], (item) => new AutoscalersScopedList
.fromJson(item)); |
| (...skipping 26 matching lines...) Expand all Loading... |
| 11241 if (selfLink != null) { | 11246 if (selfLink != null) { |
| 11242 _json["selfLink"] = selfLink; | 11247 _json["selfLink"] = selfLink; |
| 11243 } | 11248 } |
| 11244 return _json; | 11249 return _json; |
| 11245 } | 11250 } |
| 11246 } | 11251 } |
| 11247 | 11252 |
| 11248 /** Contains a list of persistent autoscaler resources. */ | 11253 /** Contains a list of persistent autoscaler resources. */ |
| 11249 class AutoscalerList { | 11254 class AutoscalerList { |
| 11250 /** | 11255 /** |
| 11251 * Unique identifier for the resource; defined by the server (output only). | 11256 * [Output Only] Unique identifier for the resource; defined by the server. |
| 11252 */ | 11257 */ |
| 11253 core.String id; | 11258 core.String id; |
| 11254 /** A list of Autoscaler resources. */ | 11259 /** A list of Autoscaler resources. */ |
| 11255 core.List<Autoscaler> items; | 11260 core.List<Autoscaler> items; |
| 11256 /** Type of resource. */ | 11261 /** Type of resource. */ |
| 11257 core.String kind; | 11262 core.String kind; |
| 11258 /** A token used to continue a truncated list request (output only). */ | 11263 /** [Output Only] A token used to continue a truncated list request. */ |
| 11259 core.String nextPageToken; | 11264 core.String nextPageToken; |
| 11260 /** Server defined URL for this resource (output only). */ | 11265 /** [Output Only] Server-defined URL for this resource. */ |
| 11261 core.String selfLink; | 11266 core.String selfLink; |
| 11262 | 11267 |
| 11263 AutoscalerList(); | 11268 AutoscalerList(); |
| 11264 | 11269 |
| 11265 AutoscalerList.fromJson(core.Map _json) { | 11270 AutoscalerList.fromJson(core.Map _json) { |
| 11266 if (_json.containsKey("id")) { | 11271 if (_json.containsKey("id")) { |
| 11267 id = _json["id"]; | 11272 id = _json["id"]; |
| 11268 } | 11273 } |
| 11269 if (_json.containsKey("items")) { | 11274 if (_json.containsKey("items")) { |
| 11270 items = _json["items"].map((value) => new Autoscaler.fromJson(value)).toLi
st(); | 11275 items = _json["items"].map((value) => new Autoscaler.fromJson(value)).toLi
st(); |
| (...skipping 439 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11710 _json["maxRatePerInstance"] = maxRatePerInstance; | 11715 _json["maxRatePerInstance"] = maxRatePerInstance; |
| 11711 } | 11716 } |
| 11712 if (maxUtilization != null) { | 11717 if (maxUtilization != null) { |
| 11713 _json["maxUtilization"] = maxUtilization; | 11718 _json["maxUtilization"] = maxUtilization; |
| 11714 } | 11719 } |
| 11715 return _json; | 11720 return _json; |
| 11716 } | 11721 } |
| 11717 } | 11722 } |
| 11718 | 11723 |
| 11719 /** | 11724 /** |
| 11720 * A BackendService resource. This resource defines a group of backend VMs | 11725 * A BackendService resource. This resource defines a group of backend virtual |
| 11721 * together with their serving capacity. | 11726 * machines together with their serving capacity. |
| 11722 */ | 11727 */ |
| 11723 class BackendService { | 11728 class BackendService { |
| 11724 /** The list of backends that serve this BackendService. */ | 11729 /** The list of backends that serve this BackendService. */ |
| 11725 core.List<Backend> backends; | 11730 core.List<Backend> backends; |
| 11726 /** [Output Only] Creation timestamp in RFC3339 text format. */ | 11731 /** [Output Only] Creation timestamp in RFC3339 text format. */ |
| 11727 core.String creationTimestamp; | 11732 core.String creationTimestamp; |
| 11728 /** | 11733 /** |
| 11729 * An optional textual description of the resource. Provided by the client | 11734 * An optional textual description of the resource. Provided by the client |
| 11730 * when the resource is created. | 11735 * when the resource is created. |
| 11731 */ | 11736 */ |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11778 * Name of backend port. The same name should appear in the resource views | 11783 * Name of backend port. The same name should appear in the resource views |
| 11779 * referenced by this service. Required. | 11784 * referenced by this service. Required. |
| 11780 */ | 11785 */ |
| 11781 core.String portName; | 11786 core.String portName; |
| 11782 /** | 11787 /** |
| 11783 * | 11788 * |
| 11784 * Possible string values are: | 11789 * Possible string values are: |
| 11785 * - "HTTP" | 11790 * - "HTTP" |
| 11786 */ | 11791 */ |
| 11787 core.String protocol; | 11792 core.String protocol; |
| 11788 /** [Output Only] Server defined URL for the resource. */ | 11793 /** [Output Only] Server-defined URL for the resource. */ |
| 11789 core.String selfLink; | 11794 core.String selfLink; |
| 11790 /** | 11795 /** |
| 11791 * How many seconds to wait for the backend before considering it a failed | 11796 * How many seconds to wait for the backend before considering it a failed |
| 11792 * request. Default is 30 seconds. | 11797 * request. Default is 30 seconds. |
| 11793 */ | 11798 */ |
| 11794 core.int timeoutSec; | 11799 core.int timeoutSec; |
| 11795 | 11800 |
| 11796 BackendService(); | 11801 BackendService(); |
| 11797 | 11802 |
| 11798 BackendService.fromJson(core.Map _json) { | 11803 BackendService.fromJson(core.Map _json) { |
| (...skipping 497 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12296 core.String id; | 12301 core.String id; |
| 12297 /** [Output Only] A map of scoped disk lists. */ | 12302 /** [Output Only] A map of scoped disk lists. */ |
| 12298 core.Map<core.String, DisksScopedList> items; | 12303 core.Map<core.String, DisksScopedList> items; |
| 12299 /** | 12304 /** |
| 12300 * [Output Only] Type of resource. Always compute#diskAggregatedList for | 12305 * [Output Only] Type of resource. Always compute#diskAggregatedList for |
| 12301 * aggregated lists of persistent disks. | 12306 * aggregated lists of persistent disks. |
| 12302 */ | 12307 */ |
| 12303 core.String kind; | 12308 core.String kind; |
| 12304 /** [Output Only] A token used to continue a truncated list request. */ | 12309 /** [Output Only] A token used to continue a truncated list request. */ |
| 12305 core.String nextPageToken; | 12310 core.String nextPageToken; |
| 12306 /** [Output Only] Server defined URL for this resource. */ | 12311 /** [Output Only] Server-defined URL for this resource. */ |
| 12307 core.String selfLink; | 12312 core.String selfLink; |
| 12308 | 12313 |
| 12309 DiskAggregatedList(); | 12314 DiskAggregatedList(); |
| 12310 | 12315 |
| 12311 DiskAggregatedList.fromJson(core.Map _json) { | 12316 DiskAggregatedList.fromJson(core.Map _json) { |
| 12312 if (_json.containsKey("id")) { | 12317 if (_json.containsKey("id")) { |
| 12313 id = _json["id"]; | 12318 id = _json["id"]; |
| 12314 } | 12319 } |
| 12315 if (_json.containsKey("items")) { | 12320 if (_json.containsKey("items")) { |
| 12316 items = commons.mapMap(_json["items"], (item) => new DisksScopedList.fromJ
son(item)); | 12321 items = commons.mapMap(_json["items"], (item) => new DisksScopedList.fromJ
son(item)); |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12354 */ | 12359 */ |
| 12355 core.String id; | 12360 core.String id; |
| 12356 /** [Output Only] A list of persistent disks. */ | 12361 /** [Output Only] A list of persistent disks. */ |
| 12357 core.List<Disk> items; | 12362 core.List<Disk> items; |
| 12358 /** | 12363 /** |
| 12359 * [Output Only] Type of resource. Always compute#diskList for lists of disks. | 12364 * [Output Only] Type of resource. Always compute#diskList for lists of disks. |
| 12360 */ | 12365 */ |
| 12361 core.String kind; | 12366 core.String kind; |
| 12362 /** [Output Only] A token used to continue a truncated list request. */ | 12367 /** [Output Only] A token used to continue a truncated list request. */ |
| 12363 core.String nextPageToken; | 12368 core.String nextPageToken; |
| 12364 /** [Output Only] Server defined URL for this resource. */ | 12369 /** [Output Only] Server-defined URL for this resource. */ |
| 12365 core.String selfLink; | 12370 core.String selfLink; |
| 12366 | 12371 |
| 12367 DiskList(); | 12372 DiskList(); |
| 12368 | 12373 |
| 12369 DiskList.fromJson(core.Map _json) { | 12374 DiskList.fromJson(core.Map _json) { |
| 12370 if (_json.containsKey("id")) { | 12375 if (_json.containsKey("id")) { |
| 12371 id = _json["id"]; | 12376 id = _json["id"]; |
| 12372 } | 12377 } |
| 12373 if (_json.containsKey("items")) { | 12378 if (_json.containsKey("items")) { |
| 12374 items = _json["items"].map((value) => new Disk.fromJson(value)).toList(); | 12379 items = _json["items"].map((value) => new Disk.fromJson(value)).toList(); |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12444 _json["targetDisk"] = targetDisk; | 12449 _json["targetDisk"] = targetDisk; |
| 12445 } | 12450 } |
| 12446 return _json; | 12451 return _json; |
| 12447 } | 12452 } |
| 12448 } | 12453 } |
| 12449 | 12454 |
| 12450 /** A disk type resource. */ | 12455 /** A disk type resource. */ |
| 12451 class DiskType { | 12456 class DiskType { |
| 12452 /** [Output Only] Creation timestamp in RFC3339 text format. */ | 12457 /** [Output Only] Creation timestamp in RFC3339 text format. */ |
| 12453 core.String creationTimestamp; | 12458 core.String creationTimestamp; |
| 12454 /** [Output Only] Server defined default disk size in GB. */ | 12459 /** [Output Only] Server-defined default disk size in GB. */ |
| 12455 core.String defaultDiskSizeGb; | 12460 core.String defaultDiskSizeGb; |
| 12456 /** [Output Only] The deprecation status associated with this disk type. */ | 12461 /** [Output Only] The deprecation status associated with this disk type. */ |
| 12457 DeprecationStatus deprecated; | 12462 DeprecationStatus deprecated; |
| 12458 /** [Output Only] An optional textual description of the resource. */ | 12463 /** [Output Only] An optional textual description of the resource. */ |
| 12459 core.String description; | 12464 core.String description; |
| 12460 /** | 12465 /** |
| 12461 * [Output Only] Unique identifier for the resource; defined by the server. | 12466 * [Output Only] Unique identifier for the resource; defined by the server. |
| 12462 */ | 12467 */ |
| 12463 core.String id; | 12468 core.String id; |
| 12464 /** | 12469 /** |
| 12465 * [Output Only] Type of the resource. Always compute#diskType for disk types. | 12470 * [Output Only] Type of the resource. Always compute#diskType for disk types. |
| 12466 */ | 12471 */ |
| 12467 core.String kind; | 12472 core.String kind; |
| 12468 /** [Output Only] Name of the resource. */ | 12473 /** [Output Only] Name of the resource. */ |
| 12469 core.String name; | 12474 core.String name; |
| 12470 /** [Output Only] Server defined URL for the resource. */ | 12475 /** [Output Only] Server-defined URL for the resource. */ |
| 12471 core.String selfLink; | 12476 core.String selfLink; |
| 12472 /** | 12477 /** |
| 12473 * [Output Only] An optional textual description of the valid disk size, such | 12478 * [Output Only] An optional textual description of the valid disk size, such |
| 12474 * as "10GB-10TB". | 12479 * as "10GB-10TB". |
| 12475 */ | 12480 */ |
| 12476 core.String validDiskSize; | 12481 core.String validDiskSize; |
| 12477 /** [Output Only] URL of the zone where the disk type resides. */ | 12482 /** [Output Only] URL of the zone where the disk type resides. */ |
| 12478 core.String zone; | 12483 core.String zone; |
| 12479 | 12484 |
| 12480 DiskType(); | 12485 DiskType(); |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12552 /** | 12557 /** |
| 12553 * [Output Only] Unique identifier for the resource; defined by the server. | 12558 * [Output Only] Unique identifier for the resource; defined by the server. |
| 12554 */ | 12559 */ |
| 12555 core.String id; | 12560 core.String id; |
| 12556 /** [Output Only] A map of scoped disk type lists. */ | 12561 /** [Output Only] A map of scoped disk type lists. */ |
| 12557 core.Map<core.String, DiskTypesScopedList> items; | 12562 core.Map<core.String, DiskTypesScopedList> items; |
| 12558 /** [Output Only] Type of resource. Always compute#diskTypeAggregatedList. */ | 12563 /** [Output Only] Type of resource. Always compute#diskTypeAggregatedList. */ |
| 12559 core.String kind; | 12564 core.String kind; |
| 12560 /** [Output Only] A token used to continue a truncated list request. */ | 12565 /** [Output Only] A token used to continue a truncated list request. */ |
| 12561 core.String nextPageToken; | 12566 core.String nextPageToken; |
| 12562 /** [Output Only] Server defined URL for this resource. */ | 12567 /** [Output Only] Server-defined URL for this resource. */ |
| 12563 core.String selfLink; | 12568 core.String selfLink; |
| 12564 | 12569 |
| 12565 DiskTypeAggregatedList(); | 12570 DiskTypeAggregatedList(); |
| 12566 | 12571 |
| 12567 DiskTypeAggregatedList.fromJson(core.Map _json) { | 12572 DiskTypeAggregatedList.fromJson(core.Map _json) { |
| 12568 if (_json.containsKey("id")) { | 12573 if (_json.containsKey("id")) { |
| 12569 id = _json["id"]; | 12574 id = _json["id"]; |
| 12570 } | 12575 } |
| 12571 if (_json.containsKey("items")) { | 12576 if (_json.containsKey("items")) { |
| 12572 items = commons.mapMap(_json["items"], (item) => new DiskTypesScopedList.f
romJson(item)); | 12577 items = commons.mapMap(_json["items"], (item) => new DiskTypesScopedList.f
romJson(item)); |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12610 */ | 12615 */ |
| 12611 core.String id; | 12616 core.String id; |
| 12612 /** [Output Only] A list of Disk Type resources. */ | 12617 /** [Output Only] A list of Disk Type resources. */ |
| 12613 core.List<DiskType> items; | 12618 core.List<DiskType> items; |
| 12614 /** | 12619 /** |
| 12615 * [Output Only] Type of resource. Always compute#diskTypeList for disk types. | 12620 * [Output Only] Type of resource. Always compute#diskTypeList for disk types. |
| 12616 */ | 12621 */ |
| 12617 core.String kind; | 12622 core.String kind; |
| 12618 /** [Output Only] A token used to continue a truncated list request. */ | 12623 /** [Output Only] A token used to continue a truncated list request. */ |
| 12619 core.String nextPageToken; | 12624 core.String nextPageToken; |
| 12620 /** [Output Only] Server defined URL for this resource. */ | 12625 /** [Output Only] Server-defined URL for this resource. */ |
| 12621 core.String selfLink; | 12626 core.String selfLink; |
| 12622 | 12627 |
| 12623 DiskTypeList(); | 12628 DiskTypeList(); |
| 12624 | 12629 |
| 12625 DiskTypeList.fromJson(core.Map _json) { | 12630 DiskTypeList.fromJson(core.Map _json) { |
| 12626 if (_json.containsKey("id")) { | 12631 if (_json.containsKey("id")) { |
| 12627 id = _json["id"]; | 12632 id = _json["id"]; |
| 12628 } | 12633 } |
| 12629 if (_json.containsKey("items")) { | 12634 if (_json.containsKey("items")) { |
| 12630 items = _json["items"].map((value) => new DiskType.fromJson(value)).toList
(); | 12635 items = _json["items"].map((value) => new DiskType.fromJson(value)).toList
(); |
| (...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12978 * specified when creating a firewall rule, the default network is used: | 12983 * specified when creating a firewall rule, the default network is used: |
| 12979 * global/networks/default | 12984 * global/networks/default |
| 12980 * If you choose to specify this property, you can specify the network as a | 12985 * If you choose to specify this property, you can specify the network as a |
| 12981 * full or partial URL. For example, the following are all valid URLs: | 12986 * full or partial URL. For example, the following are all valid URLs: |
| 12982 * - | 12987 * - |
| 12983 * https://www.googleapis.com/compute/v1/projects/myproject/global/networks/my
-network | 12988 * https://www.googleapis.com/compute/v1/projects/myproject/global/networks/my
-network |
| 12984 * - projects/myproject/global/networks/my-network | 12989 * - projects/myproject/global/networks/my-network |
| 12985 * - global/networks/default | 12990 * - global/networks/default |
| 12986 */ | 12991 */ |
| 12987 core.String network; | 12992 core.String network; |
| 12988 /** [Output Only] Server defined URL for the resource. */ | 12993 /** [Output Only] Server-defined URL for the resource. */ |
| 12989 core.String selfLink; | 12994 core.String selfLink; |
| 12990 /** | 12995 /** |
| 12991 * The IP address blocks that this rule applies to, expressed in CIDR format. | 12996 * The IP address blocks that this rule applies to, expressed in CIDR format. |
| 12992 * One or both of sourceRanges and sourceTags may be set. | 12997 * One or both of sourceRanges and sourceTags may be set. |
| 12993 * | 12998 * |
| 12994 * If both properties are set, an inbound connection is allowed if the range | 12999 * If both properties are set, an inbound connection is allowed if the range |
| 12995 * matches the sourceRanges OR the tag of the source matches the sourceTags | 13000 * matches the sourceRanges OR the tag of the source matches the sourceTags |
| 12996 * property. The connection does not need to match both properties. | 13001 * property. The connection does not need to match both properties. |
| 12997 */ | 13002 */ |
| 12998 core.List<core.String> sourceRanges; | 13003 core.List<core.String> sourceRanges; |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13098 core.String id; | 13103 core.String id; |
| 13099 /** [Output Only] A list of Firewall resources. */ | 13104 /** [Output Only] A list of Firewall resources. */ |
| 13100 core.List<Firewall> items; | 13105 core.List<Firewall> items; |
| 13101 /** | 13106 /** |
| 13102 * [Output Only] Type of resource. Always compute#firewallList for lists of | 13107 * [Output Only] Type of resource. Always compute#firewallList for lists of |
| 13103 * firewalls. | 13108 * firewalls. |
| 13104 */ | 13109 */ |
| 13105 core.String kind; | 13110 core.String kind; |
| 13106 /** [Output Only] A token used to continue a truncated list request. */ | 13111 /** [Output Only] A token used to continue a truncated list request. */ |
| 13107 core.String nextPageToken; | 13112 core.String nextPageToken; |
| 13108 /** [Output Only] Server defined URL for this resource. */ | 13113 /** [Output Only] Server-defined URL for this resource. */ |
| 13109 core.String selfLink; | 13114 core.String selfLink; |
| 13110 | 13115 |
| 13111 FirewallList(); | 13116 FirewallList(); |
| 13112 | 13117 |
| 13113 FirewallList.fromJson(core.Map _json) { | 13118 FirewallList.fromJson(core.Map _json) { |
| 13114 if (_json.containsKey("id")) { | 13119 if (_json.containsKey("id")) { |
| 13115 id = _json["id"]; | 13120 id = _json["id"]; |
| 13116 } | 13121 } |
| 13117 if (_json.containsKey("items")) { | 13122 if (_json.containsKey("items")) { |
| 13118 items = _json["items"].map((value) => new Firewall.fromJson(value)).toList
(); | 13123 items = _json["items"].map((value) => new Firewall.fromJson(value)).toList
(); |
| (...skipping 25 matching lines...) Expand all Loading... |
| 13144 } | 13149 } |
| 13145 if (selfLink != null) { | 13150 if (selfLink != null) { |
| 13146 _json["selfLink"] = selfLink; | 13151 _json["selfLink"] = selfLink; |
| 13147 } | 13152 } |
| 13148 return _json; | 13153 return _json; |
| 13149 } | 13154 } |
| 13150 } | 13155 } |
| 13151 | 13156 |
| 13152 /** | 13157 /** |
| 13153 * A ForwardingRule resource. A ForwardingRule resource specifies which pool of | 13158 * A ForwardingRule resource. A ForwardingRule resource specifies which pool of |
| 13154 * target VMs to forward a packet to if it matches the given [IPAddress, | 13159 * target virtual machines to forward a packet to if it matches the given |
| 13155 * IPProtocol, portRange] tuple. | 13160 * [IPAddress, IPProtocol, portRange] tuple. |
| 13156 */ | 13161 */ |
| 13157 class ForwardingRule { | 13162 class ForwardingRule { |
| 13158 /** | 13163 /** |
| 13159 * Value of the reserved IP address that this forwarding rule is serving on | 13164 * Value of the reserved IP address that this forwarding rule is serving on |
| 13160 * behalf of. For global forwarding rules, the address must be a global IP; | 13165 * behalf of. For global forwarding rules, the address must be a global IP; |
| 13161 * for regional forwarding rules, the address must live in the same region as | 13166 * for regional forwarding rules, the address must live in the same region as |
| 13162 * the forwarding rule. If left empty (default value), an ephemeral IP from | 13167 * the forwarding rule. If left empty (default value), an ephemeral IP from |
| 13163 * the same scope (global or regional) will be assigned. | 13168 * the same scope (global or regional) will be assigned. |
| 13164 */ | 13169 */ |
| 13165 core.String IPAddress; | 13170 core.String IPAddress; |
| 13166 /** | 13171 /** |
| 13167 * The IP protocol to which this rule applies, valid options are TCP, UDP, | 13172 * The IP protocol to which this rule applies. Valid options are TCP, UDP, |
| 13168 * ESP, AH or SCTP. | 13173 * ESP, AH or SCTP. |
| 13169 * Possible string values are: | 13174 * Possible string values are: |
| 13170 * - "AH" | 13175 * - "AH" |
| 13171 * - "ESP" | 13176 * - "ESP" |
| 13172 * - "SCTP" | 13177 * - "SCTP" |
| 13173 * - "TCP" | 13178 * - "TCP" |
| 13174 * - "UDP" | 13179 * - "UDP" |
| 13175 */ | 13180 */ |
| 13176 core.String IPProtocol; | 13181 core.String IPProtocol; |
| 13177 /** [Output Only] Creation timestamp in RFC3339 text format. */ | 13182 /** [Output Only] Creation timestamp in RFC3339 text format. */ |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13301 /** | 13306 /** |
| 13302 * [Output Only] Unique identifier for the resource; defined by the server. | 13307 * [Output Only] Unique identifier for the resource; defined by the server. |
| 13303 */ | 13308 */ |
| 13304 core.String id; | 13309 core.String id; |
| 13305 /** A map of scoped forwarding rule lists. */ | 13310 /** A map of scoped forwarding rule lists. */ |
| 13306 core.Map<core.String, ForwardingRulesScopedList> items; | 13311 core.Map<core.String, ForwardingRulesScopedList> items; |
| 13307 /** Type of resource. */ | 13312 /** Type of resource. */ |
| 13308 core.String kind; | 13313 core.String kind; |
| 13309 /** [Output Only] A token used to continue a truncated list request. */ | 13314 /** [Output Only] A token used to continue a truncated list request. */ |
| 13310 core.String nextPageToken; | 13315 core.String nextPageToken; |
| 13311 /** [Output Only] Server defined URL for this resource. */ | 13316 /** [Output Only] Server-defined URL for this resource. */ |
| 13312 core.String selfLink; | 13317 core.String selfLink; |
| 13313 | 13318 |
| 13314 ForwardingRuleAggregatedList(); | 13319 ForwardingRuleAggregatedList(); |
| 13315 | 13320 |
| 13316 ForwardingRuleAggregatedList.fromJson(core.Map _json) { | 13321 ForwardingRuleAggregatedList.fromJson(core.Map _json) { |
| 13317 if (_json.containsKey("id")) { | 13322 if (_json.containsKey("id")) { |
| 13318 id = _json["id"]; | 13323 id = _json["id"]; |
| 13319 } | 13324 } |
| 13320 if (_json.containsKey("items")) { | 13325 if (_json.containsKey("items")) { |
| 13321 items = commons.mapMap(_json["items"], (item) => new ForwardingRulesScoped
List.fromJson(item)); | 13326 items = commons.mapMap(_json["items"], (item) => new ForwardingRulesScoped
List.fromJson(item)); |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13355 /** Contains a list of ForwardingRule resources. */ | 13360 /** Contains a list of ForwardingRule resources. */ |
| 13356 class ForwardingRuleList { | 13361 class ForwardingRuleList { |
| 13357 /** [Output Only] Unique identifier for the resource. Set by the server. */ | 13362 /** [Output Only] Unique identifier for the resource. Set by the server. */ |
| 13358 core.String id; | 13363 core.String id; |
| 13359 /** A list of ForwardingRule resources. */ | 13364 /** A list of ForwardingRule resources. */ |
| 13360 core.List<ForwardingRule> items; | 13365 core.List<ForwardingRule> items; |
| 13361 /** Type of resource. */ | 13366 /** Type of resource. */ |
| 13362 core.String kind; | 13367 core.String kind; |
| 13363 /** [Output Only] A token used to continue a truncated list request. */ | 13368 /** [Output Only] A token used to continue a truncated list request. */ |
| 13364 core.String nextPageToken; | 13369 core.String nextPageToken; |
| 13365 /** [Output Only] Server defined URL for this resource. */ | 13370 /** [Output Only] Server-defined URL for this resource. */ |
| 13366 core.String selfLink; | 13371 core.String selfLink; |
| 13367 | 13372 |
| 13368 ForwardingRuleList(); | 13373 ForwardingRuleList(); |
| 13369 | 13374 |
| 13370 ForwardingRuleList.fromJson(core.Map _json) { | 13375 ForwardingRuleList.fromJson(core.Map _json) { |
| 13371 if (_json.containsKey("id")) { | 13376 if (_json.containsKey("id")) { |
| 13372 id = _json["id"]; | 13377 id = _json["id"]; |
| 13373 } | 13378 } |
| 13374 if (_json.containsKey("items")) { | 13379 if (_json.containsKey("items")) { |
| 13375 items = _json["items"].map((value) => new ForwardingRule.fromJson(value)).
toList(); | 13380 items = _json["items"].map((value) => new ForwardingRule.fromJson(value)).
toList(); |
| (...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13638 } | 13643 } |
| 13639 if (pathMatcher != null) { | 13644 if (pathMatcher != null) { |
| 13640 _json["pathMatcher"] = pathMatcher; | 13645 _json["pathMatcher"] = pathMatcher; |
| 13641 } | 13646 } |
| 13642 return _json; | 13647 return _json; |
| 13643 } | 13648 } |
| 13644 } | 13649 } |
| 13645 | 13650 |
| 13646 /** | 13651 /** |
| 13647 * An HttpHealthCheck resource. This resource defines a template for how | 13652 * An HttpHealthCheck resource. This resource defines a template for how |
| 13648 * individual VMs should be checked for health, via HTTP. | 13653 * individual instances should be checked for health, via HTTP. |
| 13649 */ | 13654 */ |
| 13650 class HttpHealthCheck { | 13655 class HttpHealthCheck { |
| 13651 /** | 13656 /** |
| 13652 * How often (in seconds) to send a health check. The default value is 5 | 13657 * How often (in seconds) to send a health check. The default value is 5 |
| 13653 * seconds. | 13658 * seconds. |
| 13654 */ | 13659 */ |
| 13655 core.int checkIntervalSec; | 13660 core.int checkIntervalSec; |
| 13656 /** Creation timestamp in RFC3339 text format (output only). */ | 13661 /** [Output Only] Creation timestamp in RFC3339 text format. */ |
| 13657 core.String creationTimestamp; | 13662 core.String creationTimestamp; |
| 13658 /** | 13663 /** |
| 13659 * An optional textual description of the resource; provided by the client | 13664 * An optional textual description of the resource; provided by the client |
| 13660 * when the resource is created. | 13665 * when the resource is created. |
| 13661 */ | 13666 */ |
| 13662 core.String description; | 13667 core.String description; |
| 13663 /** | 13668 /** |
| 13664 * A so-far unhealthy VM will be marked healthy after this many consecutive | 13669 * A so-far unhealthy instance will be marked healthy after this many |
| 13665 * successes. The default value is 2. | 13670 * consecutive successes. The default value is 2. |
| 13666 */ | 13671 */ |
| 13667 core.int healthyThreshold; | 13672 core.int healthyThreshold; |
| 13668 /** | 13673 /** |
| 13669 * The value of the host header in the HTTP health check request. If left | 13674 * The value of the host header in the HTTP health check request. If left |
| 13670 * empty (default value), the public IP on behalf of which this health check | 13675 * empty (default value), the public IP on behalf of which this health check |
| 13671 * is performed will be used. | 13676 * is performed will be used. |
| 13672 */ | 13677 */ |
| 13673 core.String host; | 13678 core.String host; |
| 13674 /** | 13679 /** |
| 13675 * Unique identifier for the resource; defined by the server (output only). | 13680 * [Output Only] Unique identifier for the resource. Defined by the server. |
| 13676 */ | 13681 */ |
| 13677 core.String id; | 13682 core.String id; |
| 13678 /** Type of the resource. */ | 13683 /** Type of the resource. */ |
| 13679 core.String kind; | 13684 core.String kind; |
| 13680 /** | 13685 /** |
| 13681 * Name of the resource; provided by the client when the resource is created. | 13686 * Name of the resource. Provided by the client when the resource is created. |
| 13682 * The name must be 1-63 characters long, and comply with RFC1035. | 13687 * The name must be 1-63 characters long, and comply with RFC1035. |
| 13688 * Specifically, the name must be 1-63 characters long and match the regular |
| 13689 * expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must |
| 13690 * be a lowercase letter, and all following characters must be a dash, |
| 13691 * lowercase letter, or digit, except the last character, which cannot be a |
| 13692 * dash. |
| 13683 */ | 13693 */ |
| 13684 core.String name; | 13694 core.String name; |
| 13685 /** | 13695 /** |
| 13686 * The TCP port number for the HTTP health check request. The default value is | 13696 * The TCP port number for the HTTP health check request. The default value is |
| 13687 * 80. | 13697 * 80. |
| 13688 */ | 13698 */ |
| 13689 core.int port; | 13699 core.int port; |
| 13690 /** | 13700 /** |
| 13691 * The request path of the HTTP health check request. The default value is | 13701 * The request path of the HTTP health check request. The default value is |
| 13692 * "/". | 13702 * "/". |
| 13693 */ | 13703 */ |
| 13694 core.String requestPath; | 13704 core.String requestPath; |
| 13695 /** Server defined URL for the resource (output only). */ | 13705 /** [Output Only] Server-defined URL for the resource. */ |
| 13696 core.String selfLink; | 13706 core.String selfLink; |
| 13697 /** | 13707 /** |
| 13698 * How long (in seconds) to wait before claiming failure. The default value is | 13708 * How long (in seconds) to wait before claiming failure. The default value is |
| 13699 * 5 seconds. It is invalid for timeoutSec to have greater value than | 13709 * 5 seconds. It is invalid for timeoutSec to have greater value than |
| 13700 * checkIntervalSec. | 13710 * checkIntervalSec. |
| 13701 */ | 13711 */ |
| 13702 core.int timeoutSec; | 13712 core.int timeoutSec; |
| 13703 /** | 13713 /** |
| 13704 * A so-far healthy VM will be marked unhealthy after this many consecutive | 13714 * A so-far healthy instance will be marked unhealthy after this many |
| 13705 * failures. The default value is 2. | 13715 * consecutive failures. The default value is 2. |
| 13706 */ | 13716 */ |
| 13707 core.int unhealthyThreshold; | 13717 core.int unhealthyThreshold; |
| 13708 | 13718 |
| 13709 HttpHealthCheck(); | 13719 HttpHealthCheck(); |
| 13710 | 13720 |
| 13711 HttpHealthCheck.fromJson(core.Map _json) { | 13721 HttpHealthCheck.fromJson(core.Map _json) { |
| 13712 if (_json.containsKey("checkIntervalSec")) { | 13722 if (_json.containsKey("checkIntervalSec")) { |
| 13713 checkIntervalSec = _json["checkIntervalSec"]; | 13723 checkIntervalSec = _json["checkIntervalSec"]; |
| 13714 } | 13724 } |
| 13715 if (_json.containsKey("creationTimestamp")) { | 13725 if (_json.containsKey("creationTimestamp")) { |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13791 if (unhealthyThreshold != null) { | 13801 if (unhealthyThreshold != null) { |
| 13792 _json["unhealthyThreshold"] = unhealthyThreshold; | 13802 _json["unhealthyThreshold"] = unhealthyThreshold; |
| 13793 } | 13803 } |
| 13794 return _json; | 13804 return _json; |
| 13795 } | 13805 } |
| 13796 } | 13806 } |
| 13797 | 13807 |
| 13798 /** Contains a list of HttpHealthCheck resources. */ | 13808 /** Contains a list of HttpHealthCheck resources. */ |
| 13799 class HttpHealthCheckList { | 13809 class HttpHealthCheckList { |
| 13800 /** | 13810 /** |
| 13801 * Unique identifier for the resource; defined by the server (output only). | 13811 * [Output Only] Unique identifier for the resource. Defined by the server. |
| 13802 */ | 13812 */ |
| 13803 core.String id; | 13813 core.String id; |
| 13804 /** A list of HttpHealthCheck resources. */ | 13814 /** A list of HttpHealthCheck resources. */ |
| 13805 core.List<HttpHealthCheck> items; | 13815 core.List<HttpHealthCheck> items; |
| 13806 /** Type of resource. */ | 13816 /** Type of resource. */ |
| 13807 core.String kind; | 13817 core.String kind; |
| 13808 /** A token used to continue a truncated list request (output only). */ | 13818 /** [Output Only] A token used to continue a truncated list request. */ |
| 13809 core.String nextPageToken; | 13819 core.String nextPageToken; |
| 13810 /** Server defined URL for this resource (output only). */ | 13820 /** [Output Only] Server-defined URL for this resource. */ |
| 13811 core.String selfLink; | 13821 core.String selfLink; |
| 13812 | 13822 |
| 13813 HttpHealthCheckList(); | 13823 HttpHealthCheckList(); |
| 13814 | 13824 |
| 13815 HttpHealthCheckList.fromJson(core.Map _json) { | 13825 HttpHealthCheckList.fromJson(core.Map _json) { |
| 13816 if (_json.containsKey("id")) { | 13826 if (_json.containsKey("id")) { |
| 13817 id = _json["id"]; | 13827 id = _json["id"]; |
| 13818 } | 13828 } |
| 13819 if (_json.containsKey("items")) { | 13829 if (_json.containsKey("items")) { |
| 13820 items = _json["items"].map((value) => new HttpHealthCheck.fromJson(value))
.toList(); | 13830 items = _json["items"].map((value) => new HttpHealthCheck.fromJson(value))
.toList(); |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13931 * The name must be 1-63 characters long, and comply with RFC1035. | 13941 * The name must be 1-63 characters long, and comply with RFC1035. |
| 13932 * Specifically, the name must be 1-63 characters long and match the regular | 13942 * Specifically, the name must be 1-63 characters long and match the regular |
| 13933 * expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must | 13943 * expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must |
| 13934 * be a lowercase letter, and all following characters must be a dash, | 13944 * be a lowercase letter, and all following characters must be a dash, |
| 13935 * lowercase letter, or digit, except the last character, which cannot be a | 13945 * lowercase letter, or digit, except the last character, which cannot be a |
| 13936 * dash. | 13946 * dash. |
| 13937 */ | 13947 */ |
| 13938 core.String name; | 13948 core.String name; |
| 13939 /** The parameters of the raw disk image. */ | 13949 /** The parameters of the raw disk image. */ |
| 13940 ImageRawDisk rawDisk; | 13950 ImageRawDisk rawDisk; |
| 13941 /** [Output Only] Server defined URL for the resource. */ | 13951 /** [Output Only] Server-defined URL for the resource. */ |
| 13942 core.String selfLink; | 13952 core.String selfLink; |
| 13943 /** | 13953 /** |
| 13944 * URL of the The source disk used to create this image. This can be a full or | 13954 * URL of the The source disk used to create this image. This can be a full or |
| 13945 * valid partial URL. You must provide either this property or the | 13955 * valid partial URL. You must provide either this property or the |
| 13946 * rawDisk.source property but not both to create an image. For example, the | 13956 * rawDisk.source property but not both to create an image. For example, the |
| 13947 * following are valid values: | 13957 * following are valid values: |
| 13948 * - | 13958 * - |
| 13949 * https://www.googleapis.com/compute/v1/projects/project/zones/zone/disk/disk | 13959 * https://www.googleapis.com/compute/v1/projects/project/zones/zone/disk/disk |
| 13950 * - projects/project/zones/zone/disk/disk | 13960 * - projects/project/zones/zone/disk/disk |
| 13951 * - zones/zone/disks/disk | 13961 * - zones/zone/disks/disk |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 14073 if (status != null) { | 14083 if (status != null) { |
| 14074 _json["status"] = status; | 14084 _json["status"] = status; |
| 14075 } | 14085 } |
| 14076 return _json; | 14086 return _json; |
| 14077 } | 14087 } |
| 14078 } | 14088 } |
| 14079 | 14089 |
| 14080 /** Contains a list of Image resources. */ | 14090 /** Contains a list of Image resources. */ |
| 14081 class ImageList { | 14091 class ImageList { |
| 14082 /** | 14092 /** |
| 14083 * Unique identifier for the resource; defined by the server (output only). | 14093 * [Output Only] Unique identifier for the resource; defined by the server. |
| 14084 */ | 14094 */ |
| 14085 core.String id; | 14095 core.String id; |
| 14086 /** A list of Image resources. */ | 14096 /** A list of Image resources. */ |
| 14087 core.List<Image> items; | 14097 core.List<Image> items; |
| 14088 /** Type of resource. */ | 14098 /** Type of resource. */ |
| 14089 core.String kind; | 14099 core.String kind; |
| 14090 /** A token used to continue a truncated list request (output only). */ | 14100 /** [Output Only] A token used to continue a truncated list request. */ |
| 14091 core.String nextPageToken; | 14101 core.String nextPageToken; |
| 14092 /** Server defined URL for this resource (output only). */ | 14102 /** [Output Only] Server-defined URL for this resource. */ |
| 14093 core.String selfLink; | 14103 core.String selfLink; |
| 14094 | 14104 |
| 14095 ImageList(); | 14105 ImageList(); |
| 14096 | 14106 |
| 14097 ImageList.fromJson(core.Map _json) { | 14107 ImageList.fromJson(core.Map _json) { |
| 14098 if (_json.containsKey("id")) { | 14108 if (_json.containsKey("id")) { |
| 14099 id = _json["id"]; | 14109 id = _json["id"]; |
| 14100 } | 14110 } |
| 14101 if (_json.containsKey("items")) { | 14111 if (_json.containsKey("items")) { |
| 14102 items = _json["items"].map((value) => new Image.fromJson(value)).toList(); | 14112 items = _json["items"].map((value) => new Image.fromJson(value)).toList(); |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 14188 */ | 14198 */ |
| 14189 core.String name; | 14199 core.String name; |
| 14190 /** | 14200 /** |
| 14191 * An array of configurations for this interface. This specifies how this | 14201 * An array of configurations for this interface. This specifies how this |
| 14192 * interface is configured to interact with other network services, such as | 14202 * interface is configured to interact with other network services, such as |
| 14193 * connecting to the internet. | 14203 * connecting to the internet. |
| 14194 */ | 14204 */ |
| 14195 core.List<NetworkInterface> networkInterfaces; | 14205 core.List<NetworkInterface> networkInterfaces; |
| 14196 /** Scheduling options for this instance. */ | 14206 /** Scheduling options for this instance. */ |
| 14197 Scheduling scheduling; | 14207 Scheduling scheduling; |
| 14198 /** [Output Only] Server defined URL for this resource. */ | 14208 /** [Output Only] Server-defined URL for this resource. */ |
| 14199 core.String selfLink; | 14209 core.String selfLink; |
| 14200 /** | 14210 /** |
| 14201 * A list of service accounts, with their specified scopes, authorized for | 14211 * A list of service accounts, with their specified scopes, authorized for |
| 14202 * this instance. Service accounts generate access tokens that can be accessed | 14212 * this instance. Service accounts generate access tokens that can be accessed |
| 14203 * through the metadata server and used to authenticate applications on the | 14213 * through the metadata server and used to authenticate applications on the |
| 14204 * instance. See Authenticating from Google Compute Engine for more | 14214 * instance. See Authenticating from Google Compute Engine for more |
| 14205 * information. | 14215 * information. |
| 14206 */ | 14216 */ |
| 14207 core.List<ServiceAccount> serviceAccounts; | 14217 core.List<ServiceAccount> serviceAccounts; |
| 14208 /** | 14218 /** |
| (...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 14357 core.String id; | 14367 core.String id; |
| 14358 /** [Output Only] A map of scoped instance lists. */ | 14368 /** [Output Only] A map of scoped instance lists. */ |
| 14359 core.Map<core.String, InstancesScopedList> items; | 14369 core.Map<core.String, InstancesScopedList> items; |
| 14360 /** | 14370 /** |
| 14361 * [Output Only] Type of resource. Always compute#instanceAggregatedList for | 14371 * [Output Only] Type of resource. Always compute#instanceAggregatedList for |
| 14362 * aggregated lists of Instance resources. | 14372 * aggregated lists of Instance resources. |
| 14363 */ | 14373 */ |
| 14364 core.String kind; | 14374 core.String kind; |
| 14365 /** [Output Only] A token used to continue a truncated list request. */ | 14375 /** [Output Only] A token used to continue a truncated list request. */ |
| 14366 core.String nextPageToken; | 14376 core.String nextPageToken; |
| 14367 /** [Output Only] Server defined URL for this resource. */ | 14377 /** [Output Only] Server-defined URL for this resource. */ |
| 14368 core.String selfLink; | 14378 core.String selfLink; |
| 14369 | 14379 |
| 14370 InstanceAggregatedList(); | 14380 InstanceAggregatedList(); |
| 14371 | 14381 |
| 14372 InstanceAggregatedList.fromJson(core.Map _json) { | 14382 InstanceAggregatedList.fromJson(core.Map _json) { |
| 14373 if (_json.containsKey("id")) { | 14383 if (_json.containsKey("id")) { |
| 14374 id = _json["id"]; | 14384 id = _json["id"]; |
| 14375 } | 14385 } |
| 14376 if (_json.containsKey("items")) { | 14386 if (_json.containsKey("items")) { |
| 14377 items = commons.mapMap(_json["items"], (item) => new InstancesScopedList.f
romJson(item)); | 14387 items = commons.mapMap(_json["items"], (item) => new InstancesScopedList.f
romJson(item)); |
| (...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 14730 /** | 14740 /** |
| 14731 * [Output Only] The resource type, which is always | 14741 * [Output Only] The resource type, which is always |
| 14732 * compute#instanceGroupManager for managed instance groups. | 14742 * compute#instanceGroupManager for managed instance groups. |
| 14733 */ | 14743 */ |
| 14734 core.String kind; | 14744 core.String kind; |
| 14735 /** | 14745 /** |
| 14736 * The name of the managed instance group. The name must be 1-63 characters | 14746 * The name of the managed instance group. The name must be 1-63 characters |
| 14737 * long, and comply with RFC1035. | 14747 * long, and comply with RFC1035. |
| 14738 */ | 14748 */ |
| 14739 core.String name; | 14749 core.String name; |
| 14740 /** [Output Only] Server defined URL for this managed instance group. */ | 14750 /** [Output Only] Server-defined URL for this managed instance group. */ |
| 14741 core.String selfLink; | 14751 core.String selfLink; |
| 14742 /** | 14752 /** |
| 14743 * The URLs of all TargetPool resources to which new instances in the | 14753 * The URLs of all TargetPool resources to which new instances in the |
| 14744 * instanceGroup field are added. Updating the target pool values does not | 14754 * instanceGroup field are added. Updating the target pool values does not |
| 14745 * affect existing instances. | 14755 * affect existing instances. |
| 14746 */ | 14756 */ |
| 14747 core.List<core.String> targetPools; | 14757 core.List<core.String> targetPools; |
| 14748 /** | 14758 /** |
| 14749 * The target number of running instances for this managed instance group. | 14759 * The target number of running instances for this managed instance group. |
| 14750 * Deleting or abandoning instances reduces this number. Resizing the group | 14760 * Deleting or abandoning instances reduces this number. Resizing the group |
| (...skipping 735 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 15486 class InstanceGroupsListInstancesRequest { | 15496 class InstanceGroupsListInstancesRequest { |
| 15487 /** | 15497 /** |
| 15488 * A filter for the state of the instances in the instance group. Valid | 15498 * A filter for the state of the instances in the instance group. Valid |
| 15489 * options are ALL or RUNNING. If you do not specify this parameter the list | 15499 * options are ALL or RUNNING. If you do not specify this parameter the list |
| 15490 * includes all instances regardless of their state. | 15500 * includes all instances regardless of their state. |
| 15491 * Possible string values are: | 15501 * Possible string values are: |
| 15492 * - "ALL" | 15502 * - "ALL" |
| 15493 * - "RUNNING" | 15503 * - "RUNNING" |
| 15494 */ | 15504 */ |
| 15495 core.String instanceState; | 15505 core.String instanceState; |
| 15496 /** | |
| 15497 * A filter for the named ports that are associated with instances in the | |
| 15498 * instance group. If you specify this parameter, the generated list includes | |
| 15499 * only instances that are associated with the specified named ports. If you | |
| 15500 * do not specify this parameter, the generated list includes all instances | |
| 15501 * regardless of their named ports. | |
| 15502 */ | |
| 15503 core.String portName; | |
| 15504 | 15506 |
| 15505 InstanceGroupsListInstancesRequest(); | 15507 InstanceGroupsListInstancesRequest(); |
| 15506 | 15508 |
| 15507 InstanceGroupsListInstancesRequest.fromJson(core.Map _json) { | 15509 InstanceGroupsListInstancesRequest.fromJson(core.Map _json) { |
| 15508 if (_json.containsKey("instanceState")) { | 15510 if (_json.containsKey("instanceState")) { |
| 15509 instanceState = _json["instanceState"]; | 15511 instanceState = _json["instanceState"]; |
| 15510 } | 15512 } |
| 15511 if (_json.containsKey("portName")) { | |
| 15512 portName = _json["portName"]; | |
| 15513 } | |
| 15514 } | 15513 } |
| 15515 | 15514 |
| 15516 core.Map toJson() { | 15515 core.Map toJson() { |
| 15517 var _json = new core.Map(); | 15516 var _json = new core.Map(); |
| 15518 if (instanceState != null) { | 15517 if (instanceState != null) { |
| 15519 _json["instanceState"] = instanceState; | 15518 _json["instanceState"] = instanceState; |
| 15520 } | 15519 } |
| 15521 if (portName != null) { | |
| 15522 _json["portName"] = portName; | |
| 15523 } | |
| 15524 return _json; | 15520 return _json; |
| 15525 } | 15521 } |
| 15526 } | 15522 } |
| 15527 | 15523 |
| 15528 class InstanceGroupsRemoveInstancesRequest { | 15524 class InstanceGroupsRemoveInstancesRequest { |
| 15529 /** The instances to remove from the instance group. */ | 15525 /** The instances to remove from the instance group. */ |
| 15530 core.List<InstanceReference> instances; | 15526 core.List<InstanceReference> instances; |
| 15531 | 15527 |
| 15532 InstanceGroupsRemoveInstancesRequest(); | 15528 InstanceGroupsRemoveInstancesRequest(); |
| 15533 | 15529 |
| (...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 15715 core.String id; | 15711 core.String id; |
| 15716 /** [Output Only] A list of Instance resources. */ | 15712 /** [Output Only] A list of Instance resources. */ |
| 15717 core.List<Instance> items; | 15713 core.List<Instance> items; |
| 15718 /** | 15714 /** |
| 15719 * [Output Only] Type of resource. Always compute#instanceList for lists of | 15715 * [Output Only] Type of resource. Always compute#instanceList for lists of |
| 15720 * Instance resources. | 15716 * Instance resources. |
| 15721 */ | 15717 */ |
| 15722 core.String kind; | 15718 core.String kind; |
| 15723 /** [Output Only] A token used to continue a truncated list request. */ | 15719 /** [Output Only] A token used to continue a truncated list request. */ |
| 15724 core.String nextPageToken; | 15720 core.String nextPageToken; |
| 15725 /** [Output Only] Server defined URL for this resource. */ | 15721 /** [Output Only] Server-defined URL for this resource. */ |
| 15726 core.String selfLink; | 15722 core.String selfLink; |
| 15727 | 15723 |
| 15728 InstanceList(); | 15724 InstanceList(); |
| 15729 | 15725 |
| 15730 InstanceList.fromJson(core.Map _json) { | 15726 InstanceList.fromJson(core.Map _json) { |
| 15731 if (_json.containsKey("id")) { | 15727 if (_json.containsKey("id")) { |
| 15732 id = _json["id"]; | 15728 id = _json["id"]; |
| 15733 } | 15729 } |
| 15734 if (_json.containsKey("items")) { | 15730 if (_json.containsKey("items")) { |
| 15735 items = _json["items"].map((value) => new Instance.fromJson(value)).toList
(); | 15731 items = _json["items"].map((value) => new Instance.fromJson(value)).toList
(); |
| (...skipping 536 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16272 class License { | 16268 class License { |
| 16273 /** | 16269 /** |
| 16274 * If true, the customer will be charged license fee for running software that | 16270 * If true, the customer will be charged license fee for running software that |
| 16275 * contains this license on an instance. | 16271 * contains this license on an instance. |
| 16276 */ | 16272 */ |
| 16277 core.bool chargesUseFee; | 16273 core.bool chargesUseFee; |
| 16278 /** [Output Only] Type of resource. Always compute#license for licenses. */ | 16274 /** [Output Only] Type of resource. Always compute#license for licenses. */ |
| 16279 core.String kind; | 16275 core.String kind; |
| 16280 /** | 16276 /** |
| 16281 * Name of the resource. The name must be 1-63 characters long, and comply | 16277 * Name of the resource. The name must be 1-63 characters long, and comply |
| 16282 * with RCF1035. | 16278 * with RFC1035. |
| 16283 */ | 16279 */ |
| 16284 core.String name; | 16280 core.String name; |
| 16285 /** [Output Only] Server defined URL for the resource. */ | 16281 /** [Output Only] Server-defined URL for the resource. */ |
| 16286 core.String selfLink; | 16282 core.String selfLink; |
| 16287 | 16283 |
| 16288 License(); | 16284 License(); |
| 16289 | 16285 |
| 16290 License.fromJson(core.Map _json) { | 16286 License.fromJson(core.Map _json) { |
| 16291 if (_json.containsKey("chargesUseFee")) { | 16287 if (_json.containsKey("chargesUseFee")) { |
| 16292 chargesUseFee = _json["chargesUseFee"]; | 16288 chargesUseFee = _json["chargesUseFee"]; |
| 16293 } | 16289 } |
| 16294 if (_json.containsKey("kind")) { | 16290 if (_json.containsKey("kind")) { |
| 16295 kind = _json["kind"]; | 16291 kind = _json["kind"]; |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16370 core.String maximumPersistentDisksSizeGb; | 16366 core.String maximumPersistentDisksSizeGb; |
| 16371 /** | 16367 /** |
| 16372 * [Output Only] The amount of physical memory available to the instance, | 16368 * [Output Only] The amount of physical memory available to the instance, |
| 16373 * defined in MB. | 16369 * defined in MB. |
| 16374 */ | 16370 */ |
| 16375 core.int memoryMb; | 16371 core.int memoryMb; |
| 16376 /** [Output Only] Name of the resource. */ | 16372 /** [Output Only] Name of the resource. */ |
| 16377 core.String name; | 16373 core.String name; |
| 16378 /** [Output Only] List of extended scratch disks assigned to the instance. */ | 16374 /** [Output Only] List of extended scratch disks assigned to the instance. */ |
| 16379 core.List<MachineTypeScratchDisks> scratchDisks; | 16375 core.List<MachineTypeScratchDisks> scratchDisks; |
| 16380 /** [Output Only] Server defined URL for the resource. */ | 16376 /** [Output Only] Server-defined URL for the resource. */ |
| 16381 core.String selfLink; | 16377 core.String selfLink; |
| 16382 /** | 16378 /** |
| 16383 * [Output Only] The name of the zone where the machine type resides, such as | 16379 * [Output Only] The name of the zone where the machine type resides, such as |
| 16384 * us-central1-a. | 16380 * us-central1-a. |
| 16385 */ | 16381 */ |
| 16386 core.String zone; | 16382 core.String zone; |
| 16387 | 16383 |
| 16388 MachineType(); | 16384 MachineType(); |
| 16389 | 16385 |
| 16390 MachineType.fromJson(core.Map _json) { | 16386 MachineType.fromJson(core.Map _json) { |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16487 core.String id; | 16483 core.String id; |
| 16488 /** [Output Only] A map of scoped machine type lists. */ | 16484 /** [Output Only] A map of scoped machine type lists. */ |
| 16489 core.Map<core.String, MachineTypesScopedList> items; | 16485 core.Map<core.String, MachineTypesScopedList> items; |
| 16490 /** | 16486 /** |
| 16491 * [Output Only] Type of resource. Always compute#machineTypeAggregatedList | 16487 * [Output Only] Type of resource. Always compute#machineTypeAggregatedList |
| 16492 * for aggregated lists of machine types. | 16488 * for aggregated lists of machine types. |
| 16493 */ | 16489 */ |
| 16494 core.String kind; | 16490 core.String kind; |
| 16495 /** [Output Only] A token used to continue a truncated list request. */ | 16491 /** [Output Only] A token used to continue a truncated list request. */ |
| 16496 core.String nextPageToken; | 16492 core.String nextPageToken; |
| 16497 /** [Output Only] Server defined URL for this resource. */ | 16493 /** [Output Only] Server-defined URL for this resource. */ |
| 16498 core.String selfLink; | 16494 core.String selfLink; |
| 16499 | 16495 |
| 16500 MachineTypeAggregatedList(); | 16496 MachineTypeAggregatedList(); |
| 16501 | 16497 |
| 16502 MachineTypeAggregatedList.fromJson(core.Map _json) { | 16498 MachineTypeAggregatedList.fromJson(core.Map _json) { |
| 16503 if (_json.containsKey("id")) { | 16499 if (_json.containsKey("id")) { |
| 16504 id = _json["id"]; | 16500 id = _json["id"]; |
| 16505 } | 16501 } |
| 16506 if (_json.containsKey("items")) { | 16502 if (_json.containsKey("items")) { |
| 16507 items = commons.mapMap(_json["items"], (item) => new MachineTypesScopedLis
t.fromJson(item)); | 16503 items = commons.mapMap(_json["items"], (item) => new MachineTypesScopedLis
t.fromJson(item)); |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16546 core.String id; | 16542 core.String id; |
| 16547 /** [Output Only] A list of Machine Type resources. */ | 16543 /** [Output Only] A list of Machine Type resources. */ |
| 16548 core.List<MachineType> items; | 16544 core.List<MachineType> items; |
| 16549 /** | 16545 /** |
| 16550 * [Output Only] Type of resource. Always compute#machineTypeList for lists of | 16546 * [Output Only] Type of resource. Always compute#machineTypeList for lists of |
| 16551 * machine types. | 16547 * machine types. |
| 16552 */ | 16548 */ |
| 16553 core.String kind; | 16549 core.String kind; |
| 16554 /** [Output Only] A token used to continue a truncated list request. */ | 16550 /** [Output Only] A token used to continue a truncated list request. */ |
| 16555 core.String nextPageToken; | 16551 core.String nextPageToken; |
| 16556 /** [Output Only] Server defined URL for this resource. */ | 16552 /** [Output Only] Server-defined URL for this resource. */ |
| 16557 core.String selfLink; | 16553 core.String selfLink; |
| 16558 | 16554 |
| 16559 MachineTypeList(); | 16555 MachineTypeList(); |
| 16560 | 16556 |
| 16561 MachineTypeList.fromJson(core.Map _json) { | 16557 MachineTypeList.fromJson(core.Map _json) { |
| 16562 if (_json.containsKey("id")) { | 16558 if (_json.containsKey("id")) { |
| 16563 id = _json["id"]; | 16559 id = _json["id"]; |
| 16564 } | 16560 } |
| 16565 if (_json.containsKey("items")) { | 16561 if (_json.containsKey("items")) { |
| 16566 items = _json["items"].map((value) => new MachineType.fromJson(value)).toL
ist(); | 16562 items = _json["items"].map((value) => new MachineType.fromJson(value)).toL
ist(); |
| (...skipping 475 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17042 /** | 17038 /** |
| 17043 * Name of the resource. Provided by the client when the resource is created. | 17039 * Name of the resource. Provided by the client when the resource is created. |
| 17044 * The name must be 1-63 characters long, and comply with RFC1035. | 17040 * The name must be 1-63 characters long, and comply with RFC1035. |
| 17045 * Specifically, the name must be 1-63 characters long and match the regular | 17041 * Specifically, the name must be 1-63 characters long and match the regular |
| 17046 * expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must | 17042 * expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must |
| 17047 * be a lowercase letter, and all following characters must be a dash, | 17043 * be a lowercase letter, and all following characters must be a dash, |
| 17048 * lowercase letter, or digit, except the last character, which cannot be a | 17044 * lowercase letter, or digit, except the last character, which cannot be a |
| 17049 * dash. | 17045 * dash. |
| 17050 */ | 17046 */ |
| 17051 core.String name; | 17047 core.String name; |
| 17052 /** [Output Only] Server defined URL for the resource. */ | 17048 /** [Output Only] Server-defined URL for the resource. */ |
| 17053 core.String selfLink; | 17049 core.String selfLink; |
| 17054 | 17050 |
| 17055 Network(); | 17051 Network(); |
| 17056 | 17052 |
| 17057 Network.fromJson(core.Map _json) { | 17053 Network.fromJson(core.Map _json) { |
| 17058 if (_json.containsKey("IPv4Range")) { | 17054 if (_json.containsKey("IPv4Range")) { |
| 17059 IPv4Range = _json["IPv4Range"]; | 17055 IPv4Range = _json["IPv4Range"]; |
| 17060 } | 17056 } |
| 17061 if (_json.containsKey("creationTimestamp")) { | 17057 if (_json.containsKey("creationTimestamp")) { |
| 17062 creationTimestamp = _json["creationTimestamp"]; | 17058 creationTimestamp = _json["creationTimestamp"]; |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17188 core.String id; | 17184 core.String id; |
| 17189 /** [Output Only] A list of Network resources. */ | 17185 /** [Output Only] A list of Network resources. */ |
| 17190 core.List<Network> items; | 17186 core.List<Network> items; |
| 17191 /** | 17187 /** |
| 17192 * [Output Only] Type of resource. Always compute#networkList for lists of | 17188 * [Output Only] Type of resource. Always compute#networkList for lists of |
| 17193 * networks. | 17189 * networks. |
| 17194 */ | 17190 */ |
| 17195 core.String kind; | 17191 core.String kind; |
| 17196 /** [Output Only] A token used to continue a truncated list request. */ | 17192 /** [Output Only] A token used to continue a truncated list request. */ |
| 17197 core.String nextPageToken; | 17193 core.String nextPageToken; |
| 17198 /** [Output Only] Server defined URL for this resource . */ | 17194 /** [Output Only] Server-defined URL for this resource . */ |
| 17199 core.String selfLink; | 17195 core.String selfLink; |
| 17200 | 17196 |
| 17201 NetworkList(); | 17197 NetworkList(); |
| 17202 | 17198 |
| 17203 NetworkList.fromJson(core.Map _json) { | 17199 NetworkList.fromJson(core.Map _json) { |
| 17204 if (_json.containsKey("id")) { | 17200 if (_json.containsKey("id")) { |
| 17205 id = _json["id"]; | 17201 id = _json["id"]; |
| 17206 } | 17202 } |
| 17207 if (_json.containsKey("items")) { | 17203 if (_json.containsKey("items")) { |
| 17208 items = _json["items"].map((value) => new Network.fromJson(value)).toList(
); | 17204 items = _json["items"].map((value) => new Network.fromJson(value)).toList(
); |
| (...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17446 * operations. This should not be used to guess at when the operation will be | 17442 * operations. This should not be used to guess at when the operation will be |
| 17447 * complete. This number should monotonically increase as the operation | 17443 * complete. This number should monotonically increase as the operation |
| 17448 * progresses. | 17444 * progresses. |
| 17449 */ | 17445 */ |
| 17450 core.int progress; | 17446 core.int progress; |
| 17451 /** | 17447 /** |
| 17452 * [Output Only] URL of the region where the operation resides. Only | 17448 * [Output Only] URL of the region where the operation resides. Only |
| 17453 * applicable for regional resources. | 17449 * applicable for regional resources. |
| 17454 */ | 17450 */ |
| 17455 core.String region; | 17451 core.String region; |
| 17456 /** [Output Only] Server defined URL for the resource. */ | 17452 /** [Output Only] Server-defined URL for the resource. */ |
| 17457 core.String selfLink; | 17453 core.String selfLink; |
| 17458 /** | 17454 /** |
| 17459 * [Output Only] The time that this operation was started by the server. This | 17455 * [Output Only] The time that this operation was started by the server. This |
| 17460 * is in RFC3339 text format. | 17456 * is in RFC3339 text format. |
| 17461 */ | 17457 */ |
| 17462 core.String startTime; | 17458 core.String startTime; |
| 17463 /** | 17459 /** |
| 17464 * [Output Only] Status of the operation. Can be one of the following: | 17460 * [Output Only] Status of the operation. Can be one of the following: |
| 17465 * PENDING, RUNNING, or DONE. | 17461 * PENDING, RUNNING, or DONE. |
| 17466 * Possible string values are: | 17462 * Possible string values are: |
| (...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17644 core.String id; | 17640 core.String id; |
| 17645 /** [Output Only] A map of scoped operation lists. */ | 17641 /** [Output Only] A map of scoped operation lists. */ |
| 17646 core.Map<core.String, OperationsScopedList> items; | 17642 core.Map<core.String, OperationsScopedList> items; |
| 17647 /** | 17643 /** |
| 17648 * [Output Only] Type of resource. Always compute#operationAggregatedList for | 17644 * [Output Only] Type of resource. Always compute#operationAggregatedList for |
| 17649 * aggregated lists of operations. | 17645 * aggregated lists of operations. |
| 17650 */ | 17646 */ |
| 17651 core.String kind; | 17647 core.String kind; |
| 17652 /** [Output Only] A token used to continue a truncated list request. */ | 17648 /** [Output Only] A token used to continue a truncated list request. */ |
| 17653 core.String nextPageToken; | 17649 core.String nextPageToken; |
| 17654 /** [Output Only] Server defined URL for this resource. */ | 17650 /** [Output Only] Server-defined URL for this resource. */ |
| 17655 core.String selfLink; | 17651 core.String selfLink; |
| 17656 | 17652 |
| 17657 OperationAggregatedList(); | 17653 OperationAggregatedList(); |
| 17658 | 17654 |
| 17659 OperationAggregatedList.fromJson(core.Map _json) { | 17655 OperationAggregatedList.fromJson(core.Map _json) { |
| 17660 if (_json.containsKey("id")) { | 17656 if (_json.containsKey("id")) { |
| 17661 id = _json["id"]; | 17657 id = _json["id"]; |
| 17662 } | 17658 } |
| 17663 if (_json.containsKey("items")) { | 17659 if (_json.containsKey("items")) { |
| 17664 items = commons.mapMap(_json["items"], (item) => new OperationsScopedList.
fromJson(item)); | 17660 items = commons.mapMap(_json["items"], (item) => new OperationsScopedList.
fromJson(item)); |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17703 core.String id; | 17699 core.String id; |
| 17704 /** [Output Only] The Operation resources. */ | 17700 /** [Output Only] The Operation resources. */ |
| 17705 core.List<Operation> items; | 17701 core.List<Operation> items; |
| 17706 /** | 17702 /** |
| 17707 * [Output Only] Type of resource. Always compute#operations for Operations | 17703 * [Output Only] Type of resource. Always compute#operations for Operations |
| 17708 * resource. | 17704 * resource. |
| 17709 */ | 17705 */ |
| 17710 core.String kind; | 17706 core.String kind; |
| 17711 /** [Output Only] A token used to continue a truncate. */ | 17707 /** [Output Only] A token used to continue a truncate. */ |
| 17712 core.String nextPageToken; | 17708 core.String nextPageToken; |
| 17713 /** [Output Only] Server defined URL for this resource. */ | 17709 /** [Output Only] Server-defined URL for this resource. */ |
| 17714 core.String selfLink; | 17710 core.String selfLink; |
| 17715 | 17711 |
| 17716 OperationList(); | 17712 OperationList(); |
| 17717 | 17713 |
| 17718 OperationList.fromJson(core.Map _json) { | 17714 OperationList.fromJson(core.Map _json) { |
| 17719 if (_json.containsKey("id")) { | 17715 if (_json.containsKey("id")) { |
| 17720 id = _json["id"]; | 17716 id = _json["id"]; |
| 17721 } | 17717 } |
| 17722 if (_json.containsKey("items")) { | 17718 if (_json.containsKey("items")) { |
| 17723 items = _json["items"].map((value) => new Operation.fromJson(value)).toLis
t(); | 17719 items = _json["items"].map((value) => new Operation.fromJson(value)).toLis
t(); |
| (...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17971 class Project { | 17967 class Project { |
| 17972 /** | 17968 /** |
| 17973 * Metadata key/value pairs available to all instances contained in this | 17969 * Metadata key/value pairs available to all instances contained in this |
| 17974 * project. See Custom metadata for more information. | 17970 * project. See Custom metadata for more information. |
| 17975 */ | 17971 */ |
| 17976 Metadata commonInstanceMetadata; | 17972 Metadata commonInstanceMetadata; |
| 17977 /** [Output Only] Creation timestamp in RFC3339 text format. */ | 17973 /** [Output Only] Creation timestamp in RFC3339 text format. */ |
| 17978 core.String creationTimestamp; | 17974 core.String creationTimestamp; |
| 17979 /** An optional textual description of the resource. */ | 17975 /** An optional textual description of the resource. */ |
| 17980 core.String description; | 17976 core.String description; |
| 17977 /** Restricted features enabled for use on this project. */ |
| 17978 core.List<core.String> enabledFeatures; |
| 17981 /** | 17979 /** |
| 17982 * [Output Only] Unique identifier for the resource; defined by the server. | 17980 * [Output Only] Unique identifier for the resource; defined by the server. |
| 17983 */ | 17981 */ |
| 17984 core.String id; | 17982 core.String id; |
| 17985 /** | 17983 /** |
| 17986 * [Output Only] Type of the resource. Always compute#project for projects. | 17984 * [Output Only] Type of the resource. Always compute#project for projects. |
| 17987 */ | 17985 */ |
| 17988 core.String kind; | 17986 core.String kind; |
| 17989 /** Name of the resource. */ | 17987 /** Name of the resource. */ |
| 17990 core.String name; | 17988 core.String name; |
| 17991 /** [Output Only] Quotas assigned to this project. */ | 17989 /** [Output Only] Quotas assigned to this project. */ |
| 17992 core.List<Quota> quotas; | 17990 core.List<Quota> quotas; |
| 17993 /** [Output Only] Server defined URL for the resource. */ | 17991 /** [Output Only] Server-defined URL for the resource. */ |
| 17994 core.String selfLink; | 17992 core.String selfLink; |
| 17995 /** | 17993 /** |
| 17996 * The location in Cloud Storage and naming method of the daily usage report. | 17994 * The location in Cloud Storage and naming method of the daily usage report. |
| 17997 */ | 17995 */ |
| 17998 UsageExportLocation usageExportLocation; | 17996 UsageExportLocation usageExportLocation; |
| 17999 | 17997 |
| 18000 Project(); | 17998 Project(); |
| 18001 | 17999 |
| 18002 Project.fromJson(core.Map _json) { | 18000 Project.fromJson(core.Map _json) { |
| 18003 if (_json.containsKey("commonInstanceMetadata")) { | 18001 if (_json.containsKey("commonInstanceMetadata")) { |
| 18004 commonInstanceMetadata = new Metadata.fromJson(_json["commonInstanceMetada
ta"]); | 18002 commonInstanceMetadata = new Metadata.fromJson(_json["commonInstanceMetada
ta"]); |
| 18005 } | 18003 } |
| 18006 if (_json.containsKey("creationTimestamp")) { | 18004 if (_json.containsKey("creationTimestamp")) { |
| 18007 creationTimestamp = _json["creationTimestamp"]; | 18005 creationTimestamp = _json["creationTimestamp"]; |
| 18008 } | 18006 } |
| 18009 if (_json.containsKey("description")) { | 18007 if (_json.containsKey("description")) { |
| 18010 description = _json["description"]; | 18008 description = _json["description"]; |
| 18011 } | 18009 } |
| 18010 if (_json.containsKey("enabledFeatures")) { |
| 18011 enabledFeatures = _json["enabledFeatures"]; |
| 18012 } |
| 18012 if (_json.containsKey("id")) { | 18013 if (_json.containsKey("id")) { |
| 18013 id = _json["id"]; | 18014 id = _json["id"]; |
| 18014 } | 18015 } |
| 18015 if (_json.containsKey("kind")) { | 18016 if (_json.containsKey("kind")) { |
| 18016 kind = _json["kind"]; | 18017 kind = _json["kind"]; |
| 18017 } | 18018 } |
| 18018 if (_json.containsKey("name")) { | 18019 if (_json.containsKey("name")) { |
| 18019 name = _json["name"]; | 18020 name = _json["name"]; |
| 18020 } | 18021 } |
| 18021 if (_json.containsKey("quotas")) { | 18022 if (_json.containsKey("quotas")) { |
| (...skipping 11 matching lines...) Expand all Loading... |
| 18033 var _json = new core.Map(); | 18034 var _json = new core.Map(); |
| 18034 if (commonInstanceMetadata != null) { | 18035 if (commonInstanceMetadata != null) { |
| 18035 _json["commonInstanceMetadata"] = (commonInstanceMetadata).toJson(); | 18036 _json["commonInstanceMetadata"] = (commonInstanceMetadata).toJson(); |
| 18036 } | 18037 } |
| 18037 if (creationTimestamp != null) { | 18038 if (creationTimestamp != null) { |
| 18038 _json["creationTimestamp"] = creationTimestamp; | 18039 _json["creationTimestamp"] = creationTimestamp; |
| 18039 } | 18040 } |
| 18040 if (description != null) { | 18041 if (description != null) { |
| 18041 _json["description"] = description; | 18042 _json["description"] = description; |
| 18042 } | 18043 } |
| 18044 if (enabledFeatures != null) { |
| 18045 _json["enabledFeatures"] = enabledFeatures; |
| 18046 } |
| 18043 if (id != null) { | 18047 if (id != null) { |
| 18044 _json["id"] = id; | 18048 _json["id"] = id; |
| 18045 } | 18049 } |
| 18046 if (kind != null) { | 18050 if (kind != null) { |
| 18047 _json["kind"] = kind; | 18051 _json["kind"] = kind; |
| 18048 } | 18052 } |
| 18049 if (name != null) { | 18053 if (name != null) { |
| 18050 _json["name"] = name; | 18054 _json["name"] = name; |
| 18051 } | 18055 } |
| 18052 if (quotas != null) { | 18056 if (quotas != null) { |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 18138 /** | 18142 /** |
| 18139 * [Output Only] Unique identifier for the resource; defined by the server . | 18143 * [Output Only] Unique identifier for the resource; defined by the server . |
| 18140 */ | 18144 */ |
| 18141 core.String id; | 18145 core.String id; |
| 18142 /** [Output Only] Type of the resource. Always compute#region for regions. */ | 18146 /** [Output Only] Type of the resource. Always compute#region for regions. */ |
| 18143 core.String kind; | 18147 core.String kind; |
| 18144 /** [Output Only] Name of the resource. */ | 18148 /** [Output Only] Name of the resource. */ |
| 18145 core.String name; | 18149 core.String name; |
| 18146 /** [Output Only] Quotas assigned to this region. */ | 18150 /** [Output Only] Quotas assigned to this region. */ |
| 18147 core.List<Quota> quotas; | 18151 core.List<Quota> quotas; |
| 18148 /** [Output Only] Server defined URL for the resource. */ | 18152 /** [Output Only] Server-defined URL for the resource. */ |
| 18149 core.String selfLink; | 18153 core.String selfLink; |
| 18150 /** | 18154 /** |
| 18151 * [Output Only] Status of the region, either UP or DOWN. | 18155 * [Output Only] Status of the region, either UP or DOWN. |
| 18152 * Possible string values are: | 18156 * Possible string values are: |
| 18153 * - "DOWN" | 18157 * - "DOWN" |
| 18154 * - "UP" | 18158 * - "UP" |
| 18155 */ | 18159 */ |
| 18156 core.String status; | 18160 core.String status; |
| 18157 /** | 18161 /** |
| 18158 * [Output Only] A list of zones available in this region, in the form of | 18162 * [Output Only] A list of zones available in this region, in the form of |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 18239 core.String id; | 18243 core.String id; |
| 18240 /** [Output Only] A list of Region resources. */ | 18244 /** [Output Only] A list of Region resources. */ |
| 18241 core.List<Region> items; | 18245 core.List<Region> items; |
| 18242 /** | 18246 /** |
| 18243 * [Output Only] Type of resource. Always compute#regionList for lists of | 18247 * [Output Only] Type of resource. Always compute#regionList for lists of |
| 18244 * regions. | 18248 * regions. |
| 18245 */ | 18249 */ |
| 18246 core.String kind; | 18250 core.String kind; |
| 18247 /** [Output Only] A token used to continue a truncated list request. */ | 18251 /** [Output Only] A token used to continue a truncated list request. */ |
| 18248 core.String nextPageToken; | 18252 core.String nextPageToken; |
| 18249 /** [Output Only] Server defined URL for this resource. */ | 18253 /** [Output Only] Server-defined URL for this resource. */ |
| 18250 core.String selfLink; | 18254 core.String selfLink; |
| 18251 | 18255 |
| 18252 RegionList(); | 18256 RegionList(); |
| 18253 | 18257 |
| 18254 RegionList.fromJson(core.Map _json) { | 18258 RegionList.fromJson(core.Map _json) { |
| 18255 if (_json.containsKey("id")) { | 18259 if (_json.containsKey("id")) { |
| 18256 id = _json["id"]; | 18260 id = _json["id"]; |
| 18257 } | 18261 } |
| 18258 if (_json.containsKey("items")) { | 18262 if (_json.containsKey("items")) { |
| 18259 items = _json["items"].map((value) => new Region.fromJson(value)).toList()
; | 18263 items = _json["items"].map((value) => new Region.fromJson(value)).toList()
; |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 18391 } | 18395 } |
| 18392 if (message != null) { | 18396 if (message != null) { |
| 18393 _json["message"] = message; | 18397 _json["message"] = message; |
| 18394 } | 18398 } |
| 18395 return _json; | 18399 return _json; |
| 18396 } | 18400 } |
| 18397 } | 18401 } |
| 18398 | 18402 |
| 18399 /** | 18403 /** |
| 18400 * The route resource. A Route is a rule that specifies how certain packets | 18404 * The route resource. A Route is a rule that specifies how certain packets |
| 18401 * should be handled by the virtual network. Routes are associated with VMs by | 18405 * should be handled by the virtual network. Routes are associated with |
| 18402 * tag and the set of Routes for a particular VM is called its routing table. | 18406 * instances by tag and the set of Routes for a particular instance is called |
| 18403 * For each packet leaving a VM, the system searches that VM's routing table for | 18407 * its routing table. For each packet leaving a instance, the system searches |
| 18404 * a single best matching Route. Routes match packets by destination IP address, | 18408 * that instance's routing table for a single best matching Route. Routes match |
| 18405 * preferring smaller or more specific ranges over larger ones. If there is a | 18409 * packets by destination IP address, preferring smaller or more specific ranges |
| 18406 * tie, the system selects the Route with the smallest priority value. If there | 18410 * over larger ones. If there is a tie, the system selects the Route with the |
| 18407 * is still a tie, it uses the layer three and four packet headers to select | 18411 * smallest priority value. If there is still a tie, it uses the layer three and |
| 18408 * just one of the remaining matching Routes. The packet is then forwarded as | 18412 * four packet headers to select just one of the remaining matching Routes. The |
| 18409 * specified by the nextHop field of the winning Route -- either to another VM | 18413 * packet is then forwarded as specified by the nextHop field of the winning |
| 18410 * destination, a VM gateway or a GCE operated gateway. Packets that do not | 18414 * Route -- either to another instance destination, a instance gateway or a |
| 18411 * match any Route in the sending VM's routing table are dropped. | 18415 * Google Compute Engien-operated gateway. Packets that do not match any Route |
| 18416 * in the sending instance's routing table are dropped. |
| 18412 */ | 18417 */ |
| 18413 class Route { | 18418 class Route { |
| 18414 /** [Output Only] Creation timestamp in RFC3339 text format. */ | 18419 /** [Output Only] Creation timestamp in RFC3339 text format. */ |
| 18415 core.String creationTimestamp; | 18420 core.String creationTimestamp; |
| 18416 /** | 18421 /** |
| 18417 * An optional textual description of the resource. Provided by the client | 18422 * An optional textual description of the resource. Provided by the client |
| 18418 * when the resource is created. | 18423 * when the resource is created. |
| 18419 */ | 18424 */ |
| 18420 core.String description; | 18425 core.String description; |
| 18421 /** The destination range of outgoing packets that this route applies to. */ | 18426 /** The destination range of outgoing packets that this route applies to. */ |
| (...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 18589 /** | 18594 /** |
| 18590 * [Output Only] Unique identifier for the resource. Defined by the server. | 18595 * [Output Only] Unique identifier for the resource. Defined by the server. |
| 18591 */ | 18596 */ |
| 18592 core.String id; | 18597 core.String id; |
| 18593 /** A list of Route resources. */ | 18598 /** A list of Route resources. */ |
| 18594 core.List<Route> items; | 18599 core.List<Route> items; |
| 18595 /** Type of resource. */ | 18600 /** Type of resource. */ |
| 18596 core.String kind; | 18601 core.String kind; |
| 18597 /** [Output Only] A token used to continue a truncated list request. */ | 18602 /** [Output Only] A token used to continue a truncated list request. */ |
| 18598 core.String nextPageToken; | 18603 core.String nextPageToken; |
| 18599 /** [Output Only] Server defined URL for this resource. */ | 18604 /** [Output Only] Server-defined URL for this resource. */ |
| 18600 core.String selfLink; | 18605 core.String selfLink; |
| 18601 | 18606 |
| 18602 RouteList(); | 18607 RouteList(); |
| 18603 | 18608 |
| 18604 RouteList.fromJson(core.Map _json) { | 18609 RouteList.fromJson(core.Map _json) { |
| 18605 if (_json.containsKey("id")) { | 18610 if (_json.containsKey("id")) { |
| 18606 id = _json["id"]; | 18611 id = _json["id"]; |
| 18607 } | 18612 } |
| 18608 if (_json.containsKey("items")) { | 18613 if (_json.containsKey("items")) { |
| 18609 items = _json["items"].map((value) => new Route.fromJson(value)).toList(); | 18614 items = _json["items"].map((value) => new Route.fromJson(value)).toList(); |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 18689 | 18694 |
| 18690 /** An instance's serial console output. */ | 18695 /** An instance's serial console output. */ |
| 18691 class SerialPortOutput { | 18696 class SerialPortOutput { |
| 18692 /** [Output Only] The contents of the console output. */ | 18697 /** [Output Only] The contents of the console output. */ |
| 18693 core.String contents; | 18698 core.String contents; |
| 18694 /** | 18699 /** |
| 18695 * [Output Only] Type of the resource. Always compute#serialPortOutput for | 18700 * [Output Only] Type of the resource. Always compute#serialPortOutput for |
| 18696 * serial port output. | 18701 * serial port output. |
| 18697 */ | 18702 */ |
| 18698 core.String kind; | 18703 core.String kind; |
| 18699 /** [Output Only] Server defined URL for the resource. */ | 18704 /** [Output Only] Server-defined URL for the resource. */ |
| 18700 core.String selfLink; | 18705 core.String selfLink; |
| 18701 | 18706 |
| 18702 SerialPortOutput(); | 18707 SerialPortOutput(); |
| 18703 | 18708 |
| 18704 SerialPortOutput.fromJson(core.Map _json) { | 18709 SerialPortOutput.fromJson(core.Map _json) { |
| 18705 if (_json.containsKey("contents")) { | 18710 if (_json.containsKey("contents")) { |
| 18706 contents = _json["contents"]; | 18711 contents = _json["contents"]; |
| 18707 } | 18712 } |
| 18708 if (_json.containsKey("kind")) { | 18713 if (_json.containsKey("kind")) { |
| 18709 kind = _json["kind"]; | 18714 kind = _json["kind"]; |
| (...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 18910 if (storageBytesStatus != null) { | 18915 if (storageBytesStatus != null) { |
| 18911 _json["storageBytesStatus"] = storageBytesStatus; | 18916 _json["storageBytesStatus"] = storageBytesStatus; |
| 18912 } | 18917 } |
| 18913 return _json; | 18918 return _json; |
| 18914 } | 18919 } |
| 18915 } | 18920 } |
| 18916 | 18921 |
| 18917 /** Contains a list of Snapshot resources. */ | 18922 /** Contains a list of Snapshot resources. */ |
| 18918 class SnapshotList { | 18923 class SnapshotList { |
| 18919 /** | 18924 /** |
| 18920 * Unique identifier for the resource; defined by the server (output only). | 18925 * [Output Only] Unique identifier for the resource. Defined by the server. |
| 18921 */ | 18926 */ |
| 18922 core.String id; | 18927 core.String id; |
| 18923 /** A list of Snapshot resources. */ | 18928 /** A list of Snapshot resources. */ |
| 18924 core.List<Snapshot> items; | 18929 core.List<Snapshot> items; |
| 18925 /** Type of resource. */ | 18930 /** Type of resource. */ |
| 18926 core.String kind; | 18931 core.String kind; |
| 18927 /** A token used to continue a truncated list request (output only). */ | 18932 /** [Output Only] A token used to continue a truncated list request. */ |
| 18928 core.String nextPageToken; | 18933 core.String nextPageToken; |
| 18929 /** Server defined URL for this resource (output only). */ | 18934 /** [Output Only] Server-defined URL for this resource. */ |
| 18930 core.String selfLink; | 18935 core.String selfLink; |
| 18931 | 18936 |
| 18932 SnapshotList(); | 18937 SnapshotList(); |
| 18933 | 18938 |
| 18934 SnapshotList.fromJson(core.Map _json) { | 18939 SnapshotList.fromJson(core.Map _json) { |
| 18935 if (_json.containsKey("id")) { | 18940 if (_json.containsKey("id")) { |
| 18936 id = _json["id"]; | 18941 id = _json["id"]; |
| 18937 } | 18942 } |
| 18938 if (_json.containsKey("items")) { | 18943 if (_json.containsKey("items")) { |
| 18939 items = _json["items"].map((value) => new Snapshot.fromJson(value)).toList
(); | 18944 items = _json["items"].map((value) => new Snapshot.fromJson(value)).toList
(); |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 19039 /** | 19044 /** |
| 19040 * Name of the resource; provided by the client when the resource is created. | 19045 * Name of the resource; provided by the client when the resource is created. |
| 19041 * The name must be 1-63 characters long, and comply with RFC1035. | 19046 * The name must be 1-63 characters long, and comply with RFC1035. |
| 19042 * Specifically, the name must be 1-63 characters long and match the regular | 19047 * Specifically, the name must be 1-63 characters long and match the regular |
| 19043 * expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must | 19048 * expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must |
| 19044 * be a lowercase letter, and all following characters must be a dash, | 19049 * be a lowercase letter, and all following characters must be a dash, |
| 19045 * lowercase letter, or digit, except the last character, which cannot be a | 19050 * lowercase letter, or digit, except the last character, which cannot be a |
| 19046 * dash. | 19051 * dash. |
| 19047 */ | 19052 */ |
| 19048 core.String name; | 19053 core.String name; |
| 19049 /** [Output Only] Server defined URL for the resource. */ | 19054 /** [Output Only] Server-defined URL for the resource. */ |
| 19050 core.String selfLink; | 19055 core.String selfLink; |
| 19051 /** | 19056 /** |
| 19052 * URL to the UrlMap resource that defines the mapping from URL to the | 19057 * URL to the UrlMap resource that defines the mapping from URL to the |
| 19053 * BackendService. | 19058 * BackendService. |
| 19054 */ | 19059 */ |
| 19055 core.String urlMap; | 19060 core.String urlMap; |
| 19056 | 19061 |
| 19057 TargetHttpProxy(); | 19062 TargetHttpProxy(); |
| 19058 | 19063 |
| 19059 TargetHttpProxy.fromJson(core.Map _json) { | 19064 TargetHttpProxy.fromJson(core.Map _json) { |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 19160 _json["nextPageToken"] = nextPageToken; | 19165 _json["nextPageToken"] = nextPageToken; |
| 19161 } | 19166 } |
| 19162 if (selfLink != null) { | 19167 if (selfLink != null) { |
| 19163 _json["selfLink"] = selfLink; | 19168 _json["selfLink"] = selfLink; |
| 19164 } | 19169 } |
| 19165 return _json; | 19170 return _json; |
| 19166 } | 19171 } |
| 19167 } | 19172 } |
| 19168 | 19173 |
| 19169 /** | 19174 /** |
| 19170 * A TargetInstance resource. This resource defines an endpoint VM that | 19175 * A TargetInstance resource. This resource defines an endpoint instance that |
| 19171 * terminates traffic of certain protocols. | 19176 * terminates traffic of certain protocols. |
| 19172 */ | 19177 */ |
| 19173 class TargetInstance { | 19178 class TargetInstance { |
| 19174 /** Creation timestamp in RFC3339 text format (output only). */ | 19179 /** [Output Only] Creation timestamp in RFC3339 text format. */ |
| 19175 core.String creationTimestamp; | 19180 core.String creationTimestamp; |
| 19176 /** | 19181 /** |
| 19177 * An optional textual description of the resource; provided by the client | 19182 * An optional textual description of the resource; provided by the client |
| 19178 * when the resource is created. | 19183 * when the resource is created. |
| 19179 */ | 19184 */ |
| 19180 core.String description; | 19185 core.String description; |
| 19181 /** | 19186 /** |
| 19182 * Unique identifier for the resource; defined by the server (output only). | 19187 * [Output Only] Unique identifier for the resource; defined by the server. |
| 19183 */ | 19188 */ |
| 19184 core.String id; | 19189 core.String id; |
| 19185 /** The URL to the instance that terminates the relevant traffic. */ | 19190 /** The URL to the instance that terminates the relevant traffic. */ |
| 19186 core.String instance; | 19191 core.String instance; |
| 19187 /** Type of the resource. */ | 19192 /** Type of the resource. */ |
| 19188 core.String kind; | 19193 core.String kind; |
| 19189 /** | 19194 /** |
| 19190 * Name of the resource; provided by the client when the resource is created. | 19195 * Name of the resource. Provided by the client when the resource is created. |
| 19191 * The name must be 1-63 characters long, and comply with RFC1035. | 19196 * The name must be 1-63 characters long, and comply with RFC1035. |
| 19197 * Specifically, the name must be 1-63 characters long and match the regular |
| 19198 * expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must |
| 19199 * be a lowercase letter, and all following characters must be a dash, |
| 19200 * lowercase letter, or digit, except the last character, which cannot be a |
| 19201 * dash. |
| 19192 */ | 19202 */ |
| 19193 core.String name; | 19203 core.String name; |
| 19194 /** | 19204 /** |
| 19195 * NAT option controlling how IPs are NAT'ed to the VM. Currently only NO_NAT | 19205 * NAT option controlling how IPs are NAT'ed to the instance. Currently only |
| 19196 * (default value) is supported. | 19206 * NO_NAT (default value) is supported. |
| 19197 * Possible string values are: | 19207 * Possible string values are: |
| 19198 * - "NO_NAT" | 19208 * - "NO_NAT" |
| 19199 */ | 19209 */ |
| 19200 core.String natPolicy; | 19210 core.String natPolicy; |
| 19201 /** Server defined URL for the resource (output only). */ | 19211 /** [Output Only] Server-defined URL for the resource. */ |
| 19202 core.String selfLink; | 19212 core.String selfLink; |
| 19203 /** URL of the zone where the target instance resides (output only). */ | 19213 /** [Output Only] URL of the zone where the target instance resides. */ |
| 19204 core.String zone; | 19214 core.String zone; |
| 19205 | 19215 |
| 19206 TargetInstance(); | 19216 TargetInstance(); |
| 19207 | 19217 |
| 19208 TargetInstance.fromJson(core.Map _json) { | 19218 TargetInstance.fromJson(core.Map _json) { |
| 19209 if (_json.containsKey("creationTimestamp")) { | 19219 if (_json.containsKey("creationTimestamp")) { |
| 19210 creationTimestamp = _json["creationTimestamp"]; | 19220 creationTimestamp = _json["creationTimestamp"]; |
| 19211 } | 19221 } |
| 19212 if (_json.containsKey("description")) { | 19222 if (_json.containsKey("description")) { |
| 19213 description = _json["description"]; | 19223 description = _json["description"]; |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 19263 } | 19273 } |
| 19264 if (zone != null) { | 19274 if (zone != null) { |
| 19265 _json["zone"] = zone; | 19275 _json["zone"] = zone; |
| 19266 } | 19276 } |
| 19267 return _json; | 19277 return _json; |
| 19268 } | 19278 } |
| 19269 } | 19279 } |
| 19270 | 19280 |
| 19271 class TargetInstanceAggregatedList { | 19281 class TargetInstanceAggregatedList { |
| 19272 /** | 19282 /** |
| 19273 * Unique identifier for the resource; defined by the server (output only). | 19283 * [Output Only] Unique identifier for the resource; defined by the server. |
| 19274 */ | 19284 */ |
| 19275 core.String id; | 19285 core.String id; |
| 19276 /** A map of scoped target instance lists. */ | 19286 /** A map of scoped target instance lists. */ |
| 19277 core.Map<core.String, TargetInstancesScopedList> items; | 19287 core.Map<core.String, TargetInstancesScopedList> items; |
| 19278 /** Type of resource. */ | 19288 /** Type of resource. */ |
| 19279 core.String kind; | 19289 core.String kind; |
| 19280 /** A token used to continue a truncated list request (output only). */ | 19290 /** [Output Only] A token used to continue a truncated list request. */ |
| 19281 core.String nextPageToken; | 19291 core.String nextPageToken; |
| 19282 /** Server defined URL for this resource (output only). */ | 19292 /** [Output Only] Server-defined URL for this resource. */ |
| 19283 core.String selfLink; | 19293 core.String selfLink; |
| 19284 | 19294 |
| 19285 TargetInstanceAggregatedList(); | 19295 TargetInstanceAggregatedList(); |
| 19286 | 19296 |
| 19287 TargetInstanceAggregatedList.fromJson(core.Map _json) { | 19297 TargetInstanceAggregatedList.fromJson(core.Map _json) { |
| 19288 if (_json.containsKey("id")) { | 19298 if (_json.containsKey("id")) { |
| 19289 id = _json["id"]; | 19299 id = _json["id"]; |
| 19290 } | 19300 } |
| 19291 if (_json.containsKey("items")) { | 19301 if (_json.containsKey("items")) { |
| 19292 items = commons.mapMap(_json["items"], (item) => new TargetInstancesScoped
List.fromJson(item)); | 19302 items = commons.mapMap(_json["items"], (item) => new TargetInstancesScoped
List.fromJson(item)); |
| (...skipping 26 matching lines...) Expand all Loading... |
| 19319 if (selfLink != null) { | 19329 if (selfLink != null) { |
| 19320 _json["selfLink"] = selfLink; | 19330 _json["selfLink"] = selfLink; |
| 19321 } | 19331 } |
| 19322 return _json; | 19332 return _json; |
| 19323 } | 19333 } |
| 19324 } | 19334 } |
| 19325 | 19335 |
| 19326 /** Contains a list of TargetInstance resources. */ | 19336 /** Contains a list of TargetInstance resources. */ |
| 19327 class TargetInstanceList { | 19337 class TargetInstanceList { |
| 19328 /** | 19338 /** |
| 19329 * Unique identifier for the resource; defined by the server (output only). | 19339 * [Output Only] Unique identifier for the resource; defined by the server. |
| 19330 */ | 19340 */ |
| 19331 core.String id; | 19341 core.String id; |
| 19332 /** A list of TargetInstance resources. */ | 19342 /** A list of TargetInstance resources. */ |
| 19333 core.List<TargetInstance> items; | 19343 core.List<TargetInstance> items; |
| 19334 /** Type of resource. */ | 19344 /** Type of resource. */ |
| 19335 core.String kind; | 19345 core.String kind; |
| 19336 /** A token used to continue a truncated list request (output only). */ | 19346 /** [Output Only] A token used to continue a truncated list request. */ |
| 19337 core.String nextPageToken; | 19347 core.String nextPageToken; |
| 19338 /** Server defined URL for this resource (output only). */ | 19348 /** [Output Only] Server-defined URL for this resource. */ |
| 19339 core.String selfLink; | 19349 core.String selfLink; |
| 19340 | 19350 |
| 19341 TargetInstanceList(); | 19351 TargetInstanceList(); |
| 19342 | 19352 |
| 19343 TargetInstanceList.fromJson(core.Map _json) { | 19353 TargetInstanceList.fromJson(core.Map _json) { |
| 19344 if (_json.containsKey("id")) { | 19354 if (_json.containsKey("id")) { |
| 19345 id = _json["id"]; | 19355 id = _json["id"]; |
| 19346 } | 19356 } |
| 19347 if (_json.containsKey("items")) { | 19357 if (_json.containsKey("items")) { |
| 19348 items = _json["items"].map((value) => new TargetInstance.fromJson(value)).
toList(); | 19358 items = _json["items"].map((value) => new TargetInstance.fromJson(value)).
toList(); |
| (...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 19492 _json["targetInstances"] = targetInstances.map((value) => (value).toJson()
).toList(); | 19502 _json["targetInstances"] = targetInstances.map((value) => (value).toJson()
).toList(); |
| 19493 } | 19503 } |
| 19494 if (warning != null) { | 19504 if (warning != null) { |
| 19495 _json["warning"] = (warning).toJson(); | 19505 _json["warning"] = (warning).toJson(); |
| 19496 } | 19506 } |
| 19497 return _json; | 19507 return _json; |
| 19498 } | 19508 } |
| 19499 } | 19509 } |
| 19500 | 19510 |
| 19501 /** | 19511 /** |
| 19502 * A TargetPool resource. This resource defines a pool of VMs, associated | 19512 * A TargetPool resource. This resource defines a pool of instances, associated |
| 19503 * HttpHealthCheck resources, and the fallback TargetPool. | 19513 * HttpHealthCheck resources, and the fallback TargetPool. |
| 19504 */ | 19514 */ |
| 19505 class TargetPool { | 19515 class TargetPool { |
| 19506 /** | 19516 /** |
| 19507 * This field is applicable only when the containing target pool is serving a | 19517 * This field is applicable only when the containing target pool is serving a |
| 19508 * forwarding rule as the primary pool, and its 'failoverRatio' field is | 19518 * forwarding rule as the primary pool, and its failoverRatio field is |
| 19509 * properly set to a value between [0, 1]. | 19519 * properly set to a value between [0, 1]. |
| 19510 * | 19520 * |
| 19511 * 'backupPool' and 'failoverRatio' together define the fallback behavior of | 19521 * backupPool and failoverRatio together define the fallback behavior of the |
| 19512 * the primary target pool: if the ratio of the healthy VMs in the primary | 19522 * primary target pool: if the ratio of the healthy instances in the primary |
| 19513 * pool is at or below 'failoverRatio', traffic arriving at the load-balanced | 19523 * pool is at or below failoverRatio, traffic arriving at the load-balanced IP |
| 19514 * IP will be directed to the backup pool. | 19524 * will be directed to the backup pool. |
| 19515 * | 19525 * |
| 19516 * In case where 'failoverRatio' and 'backupPool' are not set, or all the VMs | 19526 * In case where failoverRatio and backupPool are not set, or all the |
| 19517 * in the backup pool are unhealthy, the traffic will be directed back to the | 19527 * instances in the backup pool are unhealthy, the traffic will be directed |
| 19518 * primary pool in the "force" mode, where traffic will be spread to the | 19528 * back to the primary pool in the "force" mode, where traffic will be spread |
| 19519 * healthy VMs with the best effort, or to all VMs when no VM is healthy. | 19529 * to the healthy instances with the best effort, or to all instances when no |
| 19530 * instance is healthy. |
| 19520 */ | 19531 */ |
| 19521 core.String backupPool; | 19532 core.String backupPool; |
| 19522 /** Creation timestamp in RFC3339 text format (output only). */ | 19533 /** [Output Only] Creation timestamp in RFC3339 text format. */ |
| 19523 core.String creationTimestamp; | 19534 core.String creationTimestamp; |
| 19524 /** | 19535 /** |
| 19525 * An optional textual description of the resource; provided by the client | 19536 * An optional textual description of the resource; provided by the client |
| 19526 * when the resource is created. | 19537 * when the resource is created. |
| 19527 */ | 19538 */ |
| 19528 core.String description; | 19539 core.String description; |
| 19529 /** | 19540 /** |
| 19530 * This field is applicable only when the containing target pool is serving a | 19541 * This field is applicable only when the containing target pool is serving a |
| 19531 * forwarding rule as the primary pool (i.e., not as a backup pool to some | 19542 * forwarding rule as the primary pool (i.e., not as a backup pool to some |
| 19532 * other target pool). The value of the field must be in [0, 1]. | 19543 * other target pool). The value of the field must be in [0, 1]. |
| 19533 * | 19544 * |
| 19534 * If set, 'backupPool' must also be set. They together define the fallback | 19545 * If set, backupPool must also be set. They together define the fallback |
| 19535 * behavior of the primary target pool: if the ratio of the healthy VMs in the | 19546 * behavior of the primary target pool: if the ratio of the healthy instances |
| 19536 * primary pool is at or below this number, traffic arriving at the | 19547 * in the primary pool is at or below this number, traffic arriving at the |
| 19537 * load-balanced IP will be directed to the backup pool. | 19548 * load-balanced IP will be directed to the backup pool. |
| 19538 * | 19549 * |
| 19539 * In case where 'failoverRatio' is not set or all the VMs in the backup pool | 19550 * In case where failoverRatio is not set or all the instances in the backup |
| 19540 * are unhealthy, the traffic will be directed back to the primary pool in the | 19551 * pool are unhealthy, the traffic will be directed back to the primary pool |
| 19541 * "force" mode, where traffic will be spread to the healthy VMs with the best | 19552 * in the "force" mode, where traffic will be spread to the healthy instances |
| 19542 * effort, or to all VMs when no VM is healthy. | 19553 * with the best effort, or to all instances when no instance is healthy. |
| 19543 */ | 19554 */ |
| 19544 core.double failoverRatio; | 19555 core.double failoverRatio; |
| 19545 /** | 19556 /** |
| 19546 * A list of URLs to the HttpHealthCheck resource. A member VM in this pool is | 19557 * A list of URLs to the HttpHealthCheck resource. A member instance in this |
| 19547 * considered healthy if and only if all specified health checks pass. An | 19558 * pool is considered healthy if and only if all specified health checks pass. |
| 19548 * empty list means all member VMs will be considered healthy at all times. | 19559 * An empty list means all member instances will be considered healthy at all |
| 19560 * times. |
| 19549 */ | 19561 */ |
| 19550 core.List<core.String> healthChecks; | 19562 core.List<core.String> healthChecks; |
| 19551 /** | 19563 /** |
| 19552 * Unique identifier for the resource; defined by the server (output only). | 19564 * [Output Only] Unique identifier for the resource; defined by the server. |
| 19553 */ | 19565 */ |
| 19554 core.String id; | 19566 core.String id; |
| 19555 /** | 19567 /** |
| 19556 * A list of resource URLs to the member VMs serving this pool. They must live | 19568 * A list of resource URLs to the member virtual machines serving this pool. |
| 19557 * in zones contained in the same region as this pool. | 19569 * They must live in zones contained in the same region as this pool. |
| 19558 */ | 19570 */ |
| 19559 core.List<core.String> instances; | 19571 core.List<core.String> instances; |
| 19560 /** Type of the resource. */ | 19572 /** Type of the resource. */ |
| 19561 core.String kind; | 19573 core.String kind; |
| 19562 /** | 19574 /** |
| 19563 * Name of the resource; provided by the client when the resource is created. | 19575 * Name of the resource. Provided by the client when the resource is created. |
| 19564 * The name must be 1-63 characters long, and comply with RFC1035. | 19576 * The name must be 1-63 characters long, and comply with RFC1035. |
| 19577 * Specifically, the name must be 1-63 characters long and match the regular |
| 19578 * expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must |
| 19579 * be a lowercase letter, and all following characters must be a dash, |
| 19580 * lowercase letter, or digit, except the last character, which cannot be a |
| 19581 * dash. |
| 19565 */ | 19582 */ |
| 19566 core.String name; | 19583 core.String name; |
| 19567 /** URL of the region where the target pool resides (output only). */ | 19584 /** [Output Only] URL of the region where the target pool resides. */ |
| 19568 core.String region; | 19585 core.String region; |
| 19569 /** Server defined URL for the resource (output only). */ | 19586 /** [Output Only] Server-defined URL for the resource. */ |
| 19570 core.String selfLink; | 19587 core.String selfLink; |
| 19571 /** | 19588 /** |
| 19572 * Sesssion affinity option, must be one of the following values: 'NONE': | 19589 * Sesssion affinity option, must be one of the following values: NONE: |
| 19573 * Connections from the same client IP may go to any VM in the pool; | 19590 * Connections from the same client IP may go to any instance in the pool; |
| 19574 * 'CLIENT_IP': Connections from the same client IP will go to the same VM in | 19591 * CLIENT_IP: Connections from the same client IP will go to the same instance |
| 19575 * the pool while that VM remains healthy. 'CLIENT_IP_PROTO': Connections from | 19592 * in the pool while that instance remains healthy. CLIENT_IP_PROTO: |
| 19576 * the same client IP with the same IP protocol will go to the same VM in the | 19593 * Connections from the same client IP with the same IP protocol will go to |
| 19577 * pool while that VM remains healthy. | 19594 * the same instance in the pool while that instance remains healthy. |
| 19578 * Possible string values are: | 19595 * Possible string values are: |
| 19579 * - "CLIENT_IP" | 19596 * - "CLIENT_IP" |
| 19580 * - "CLIENT_IP_PROTO" | 19597 * - "CLIENT_IP_PROTO" |
| 19581 * - "NONE" | 19598 * - "NONE" |
| 19582 */ | 19599 */ |
| 19583 core.String sessionAffinity; | 19600 core.String sessionAffinity; |
| 19584 | 19601 |
| 19585 TargetPool(); | 19602 TargetPool(); |
| 19586 | 19603 |
| 19587 TargetPool.fromJson(core.Map _json) { | 19604 TargetPool.fromJson(core.Map _json) { |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 19660 } | 19677 } |
| 19661 if (sessionAffinity != null) { | 19678 if (sessionAffinity != null) { |
| 19662 _json["sessionAffinity"] = sessionAffinity; | 19679 _json["sessionAffinity"] = sessionAffinity; |
| 19663 } | 19680 } |
| 19664 return _json; | 19681 return _json; |
| 19665 } | 19682 } |
| 19666 } | 19683 } |
| 19667 | 19684 |
| 19668 class TargetPoolAggregatedList { | 19685 class TargetPoolAggregatedList { |
| 19669 /** | 19686 /** |
| 19670 * Unique identifier for the resource; defined by the server (output only). | 19687 * [Output Only] Unique identifier for the resource. Defined by the server. |
| 19671 */ | 19688 */ |
| 19672 core.String id; | 19689 core.String id; |
| 19673 /** A map of scoped target pool lists. */ | 19690 /** A map of scoped target pool lists. */ |
| 19674 core.Map<core.String, TargetPoolsScopedList> items; | 19691 core.Map<core.String, TargetPoolsScopedList> items; |
| 19675 /** Type of resource. */ | 19692 /** Type of resource. */ |
| 19676 core.String kind; | 19693 core.String kind; |
| 19677 /** A token used to continue a truncated list request (output only). */ | 19694 /** [Output Only] A token used to continue a truncated list request. */ |
| 19678 core.String nextPageToken; | 19695 core.String nextPageToken; |
| 19679 /** Server defined URL for this resource (output only). */ | 19696 /** [Output Only] Server-defined URL for this resource. */ |
| 19680 core.String selfLink; | 19697 core.String selfLink; |
| 19681 | 19698 |
| 19682 TargetPoolAggregatedList(); | 19699 TargetPoolAggregatedList(); |
| 19683 | 19700 |
| 19684 TargetPoolAggregatedList.fromJson(core.Map _json) { | 19701 TargetPoolAggregatedList.fromJson(core.Map _json) { |
| 19685 if (_json.containsKey("id")) { | 19702 if (_json.containsKey("id")) { |
| 19686 id = _json["id"]; | 19703 id = _json["id"]; |
| 19687 } | 19704 } |
| 19688 if (_json.containsKey("items")) { | 19705 if (_json.containsKey("items")) { |
| 19689 items = commons.mapMap(_json["items"], (item) => new TargetPoolsScopedList
.fromJson(item)); | 19706 items = commons.mapMap(_json["items"], (item) => new TargetPoolsScopedList
.fromJson(item)); |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 19744 if (kind != null) { | 19761 if (kind != null) { |
| 19745 _json["kind"] = kind; | 19762 _json["kind"] = kind; |
| 19746 } | 19763 } |
| 19747 return _json; | 19764 return _json; |
| 19748 } | 19765 } |
| 19749 } | 19766 } |
| 19750 | 19767 |
| 19751 /** Contains a list of TargetPool resources. */ | 19768 /** Contains a list of TargetPool resources. */ |
| 19752 class TargetPoolList { | 19769 class TargetPoolList { |
| 19753 /** | 19770 /** |
| 19754 * Unique identifier for the resource; defined by the server (output only). | 19771 * [Output Only] Unique identifier for the resource. Defined by the server. |
| 19755 */ | 19772 */ |
| 19756 core.String id; | 19773 core.String id; |
| 19757 /** A list of TargetPool resources. */ | 19774 /** A list of TargetPool resources. */ |
| 19758 core.List<TargetPool> items; | 19775 core.List<TargetPool> items; |
| 19759 /** Type of resource. */ | 19776 /** Type of resource. */ |
| 19760 core.String kind; | 19777 core.String kind; |
| 19761 /** A token used to continue a truncated list request (output only). */ | 19778 /** [Output Only] A token used to continue a truncated list request. */ |
| 19762 core.String nextPageToken; | 19779 core.String nextPageToken; |
| 19763 /** Server defined URL for this resource (output only). */ | 19780 /** [Output Only] Server-defined URL for this resource. */ |
| 19764 core.String selfLink; | 19781 core.String selfLink; |
| 19765 | 19782 |
| 19766 TargetPoolList(); | 19783 TargetPoolList(); |
| 19767 | 19784 |
| 19768 TargetPoolList.fromJson(core.Map _json) { | 19785 TargetPoolList.fromJson(core.Map _json) { |
| 19769 if (_json.containsKey("id")) { | 19786 if (_json.containsKey("id")) { |
| 19770 id = _json["id"]; | 19787 id = _json["id"]; |
| 19771 } | 19788 } |
| 19772 if (_json.containsKey("items")) { | 19789 if (_json.containsKey("items")) { |
| 19773 items = _json["items"].map((value) => new TargetPool.fromJson(value)).toLi
st(); | 19790 items = _json["items"].map((value) => new TargetPool.fromJson(value)).toLi
st(); |
| (...skipping 704 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 20478 * The name must be 1-63 characters long, and comply with RFC1035. | 20495 * The name must be 1-63 characters long, and comply with RFC1035. |
| 20479 * Specifically, the name must be 1-63 characters long and match the regular | 20496 * Specifically, the name must be 1-63 characters long and match the regular |
| 20480 * expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must | 20497 * expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must |
| 20481 * be a lowercase letter, and all following characters must be a dash, | 20498 * be a lowercase letter, and all following characters must be a dash, |
| 20482 * lowercase letter, or digit, except the last character, which cannot be a | 20499 * lowercase letter, or digit, except the last character, which cannot be a |
| 20483 * dash. | 20500 * dash. |
| 20484 */ | 20501 */ |
| 20485 core.String name; | 20502 core.String name; |
| 20486 /** The list of named PathMatchers to use against the URL. */ | 20503 /** The list of named PathMatchers to use against the URL. */ |
| 20487 core.List<PathMatcher> pathMatchers; | 20504 core.List<PathMatcher> pathMatchers; |
| 20488 /** [Output Only] Server defined URL for the resource. */ | 20505 /** [Output Only] Server-defined URL for the resource. */ |
| 20489 core.String selfLink; | 20506 core.String selfLink; |
| 20490 /** | 20507 /** |
| 20491 * The list of expected URL mappings. Request to update this UrlMap will | 20508 * The list of expected URL mappings. Request to update this UrlMap will |
| 20492 * succeed only all of the test cases pass. | 20509 * succeed only all of the test cases pass. |
| 20493 */ | 20510 */ |
| 20494 core.List<UrlMapTest> tests; | 20511 core.List<UrlMapTest> tests; |
| 20495 | 20512 |
| 20496 UrlMap(); | 20513 UrlMap(); |
| 20497 | 20514 |
| 20498 UrlMap.fromJson(core.Map _json) { | 20515 UrlMap.fromJson(core.Map _json) { |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 20573 /** Contains a list of UrlMap resources. */ | 20590 /** Contains a list of UrlMap resources. */ |
| 20574 class UrlMapList { | 20591 class UrlMapList { |
| 20575 /** [Output Only] Unique identifier for the resource. Set by the server. */ | 20592 /** [Output Only] Unique identifier for the resource. Set by the server. */ |
| 20576 core.String id; | 20593 core.String id; |
| 20577 /** A list of UrlMap resources. */ | 20594 /** A list of UrlMap resources. */ |
| 20578 core.List<UrlMap> items; | 20595 core.List<UrlMap> items; |
| 20579 /** Type of resource. */ | 20596 /** Type of resource. */ |
| 20580 core.String kind; | 20597 core.String kind; |
| 20581 /** [Output Only] A token used to continue a truncated list request. */ | 20598 /** [Output Only] A token used to continue a truncated list request. */ |
| 20582 core.String nextPageToken; | 20599 core.String nextPageToken; |
| 20583 /** [Output Only] Server defined URL for this resource. */ | 20600 /** [Output Only] Server-defined URL for this resource. */ |
| 20584 core.String selfLink; | 20601 core.String selfLink; |
| 20585 | 20602 |
| 20586 UrlMapList(); | 20603 UrlMapList(); |
| 20587 | 20604 |
| 20588 UrlMapList.fromJson(core.Map _json) { | 20605 UrlMapList.fromJson(core.Map _json) { |
| 20589 if (_json.containsKey("id")) { | 20606 if (_json.containsKey("id")) { |
| 20590 id = _json["id"]; | 20607 id = _json["id"]; |
| 20591 } | 20608 } |
| 20592 if (_json.containsKey("items")) { | 20609 if (_json.containsKey("items")) { |
| 20593 items = _json["items"].map((value) => new UrlMap.fromJson(value)).toList()
; | 20610 items = _json["items"].map((value) => new UrlMap.fromJson(value)).toList()
; |
| (...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 20855 * expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must | 20872 * expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must |
| 20856 * be a lowercase letter, and all following characters must be a dash, | 20873 * be a lowercase letter, and all following characters must be a dash, |
| 20857 * lowercase letter, or digit, except the last character, which cannot be a | 20874 * lowercase letter, or digit, except the last character, which cannot be a |
| 20858 * dash. | 20875 * dash. |
| 20859 */ | 20876 */ |
| 20860 core.String name; | 20877 core.String name; |
| 20861 /** IP address of the peer VPN gateway. */ | 20878 /** IP address of the peer VPN gateway. */ |
| 20862 core.String peerIp; | 20879 core.String peerIp; |
| 20863 /** [Output Only] URL of the region where the VPN tunnel resides. */ | 20880 /** [Output Only] URL of the region where the VPN tunnel resides. */ |
| 20864 core.String region; | 20881 core.String region; |
| 20865 /** [Output Only] Server defined URL for the resource. */ | 20882 /** [Output Only] Server-defined URL for the resource. */ |
| 20866 core.String selfLink; | 20883 core.String selfLink; |
| 20867 /** | 20884 /** |
| 20868 * Shared secret used to set the secure session between the GCE VPN gateway | 20885 * Shared secret used to set the secure session between the GCE VPN gateway |
| 20869 * and the peer VPN gateway. | 20886 * and the peer VPN gateway. |
| 20870 */ | 20887 */ |
| 20871 core.String sharedSecret; | 20888 core.String sharedSecret; |
| 20872 /** Hash of the shared secret. */ | 20889 /** Hash of the shared secret. */ |
| 20873 core.String sharedSecretHash; | 20890 core.String sharedSecretHash; |
| 20874 /** | 20891 /** |
| 20875 * [Output Only] The status of the VPN tunnel. | 20892 * [Output Only] The status of the VPN tunnel. |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 20994 */ | 21011 */ |
| 20995 core.String id; | 21012 core.String id; |
| 20996 /** [Output Only] A map of scoped vpn tunnel lists. */ | 21013 /** [Output Only] A map of scoped vpn tunnel lists. */ |
| 20997 core.Map<core.String, VpnTunnelsScopedList> items; | 21014 core.Map<core.String, VpnTunnelsScopedList> items; |
| 20998 /** | 21015 /** |
| 20999 * [Output Only] Type of resource. Always compute#vpnTunnel for VPN tunnels. | 21016 * [Output Only] Type of resource. Always compute#vpnTunnel for VPN tunnels. |
| 21000 */ | 21017 */ |
| 21001 core.String kind; | 21018 core.String kind; |
| 21002 /** [Output Only] A token used to continue a truncated list request. */ | 21019 /** [Output Only] A token used to continue a truncated list request. */ |
| 21003 core.String nextPageToken; | 21020 core.String nextPageToken; |
| 21004 /** [Output Only] Server defined URL for this resource. */ | 21021 /** [Output Only] Server-defined URL for this resource. */ |
| 21005 core.String selfLink; | 21022 core.String selfLink; |
| 21006 | 21023 |
| 21007 VpnTunnelAggregatedList(); | 21024 VpnTunnelAggregatedList(); |
| 21008 | 21025 |
| 21009 VpnTunnelAggregatedList.fromJson(core.Map _json) { | 21026 VpnTunnelAggregatedList.fromJson(core.Map _json) { |
| 21010 if (_json.containsKey("id")) { | 21027 if (_json.containsKey("id")) { |
| 21011 id = _json["id"]; | 21028 id = _json["id"]; |
| 21012 } | 21029 } |
| 21013 if (_json.containsKey("items")) { | 21030 if (_json.containsKey("items")) { |
| 21014 items = commons.mapMap(_json["items"], (item) => new VpnTunnelsScopedList.
fromJson(item)); | 21031 items = commons.mapMap(_json["items"], (item) => new VpnTunnelsScopedList.
fromJson(item)); |
| (...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 21288 /** | 21305 /** |
| 21289 * [Output Only] Any scheduled maintenance windows for this zone. When the | 21306 * [Output Only] Any scheduled maintenance windows for this zone. When the |
| 21290 * zone is in a maintenance window, all resources which reside in the zone | 21307 * zone is in a maintenance window, all resources which reside in the zone |
| 21291 * will be unavailable. For more information, see Maintenance Windows | 21308 * will be unavailable. For more information, see Maintenance Windows |
| 21292 */ | 21309 */ |
| 21293 core.List<ZoneMaintenanceWindows> maintenanceWindows; | 21310 core.List<ZoneMaintenanceWindows> maintenanceWindows; |
| 21294 /** [Output Only] Name of the resource. */ | 21311 /** [Output Only] Name of the resource. */ |
| 21295 core.String name; | 21312 core.String name; |
| 21296 /** [Output Only] Full URL reference to the region which hosts the zone. */ | 21313 /** [Output Only] Full URL reference to the region which hosts the zone. */ |
| 21297 core.String region; | 21314 core.String region; |
| 21298 /** [Output Only] Server defined URL for the resource. */ | 21315 /** [Output Only] Server-defined URL for the resource. */ |
| 21299 core.String selfLink; | 21316 core.String selfLink; |
| 21300 /** | 21317 /** |
| 21301 * [Output Only] Status of the zone, either UP or DOWN. | 21318 * [Output Only] Status of the zone, either UP or DOWN. |
| 21302 * Possible string values are: | 21319 * Possible string values are: |
| 21303 * - "DOWN" | 21320 * - "DOWN" |
| 21304 * - "UP" | 21321 * - "UP" |
| 21305 */ | 21322 */ |
| 21306 core.String status; | 21323 core.String status; |
| 21307 | 21324 |
| 21308 Zone(); | 21325 Zone(); |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 21381 /** | 21398 /** |
| 21382 * [Output Only] Unique identifier for the resource; defined by the server. | 21399 * [Output Only] Unique identifier for the resource; defined by the server. |
| 21383 */ | 21400 */ |
| 21384 core.String id; | 21401 core.String id; |
| 21385 /** [Output Only] A list of Zone resources. */ | 21402 /** [Output Only] A list of Zone resources. */ |
| 21386 core.List<Zone> items; | 21403 core.List<Zone> items; |
| 21387 /** Type of resource. */ | 21404 /** Type of resource. */ |
| 21388 core.String kind; | 21405 core.String kind; |
| 21389 /** [Output Only] A token used to continue a truncated list request. */ | 21406 /** [Output Only] A token used to continue a truncated list request. */ |
| 21390 core.String nextPageToken; | 21407 core.String nextPageToken; |
| 21391 /** Server defined URL for this resource (output only). */ | 21408 /** [Output Only] Server-defined URL for this resource. */ |
| 21392 core.String selfLink; | 21409 core.String selfLink; |
| 21393 | 21410 |
| 21394 ZoneList(); | 21411 ZoneList(); |
| 21395 | 21412 |
| 21396 ZoneList.fromJson(core.Map _json) { | 21413 ZoneList.fromJson(core.Map _json) { |
| 21397 if (_json.containsKey("id")) { | 21414 if (_json.containsKey("id")) { |
| 21398 id = _json["id"]; | 21415 id = _json["id"]; |
| 21399 } | 21416 } |
| 21400 if (_json.containsKey("items")) { | 21417 if (_json.containsKey("items")) { |
| 21401 items = _json["items"].map((value) => new Zone.fromJson(value)).toList(); | 21418 items = _json["items"].map((value) => new Zone.fromJson(value)).toList(); |
| (...skipping 22 matching lines...) Expand all Loading... |
| 21424 } | 21441 } |
| 21425 if (nextPageToken != null) { | 21442 if (nextPageToken != null) { |
| 21426 _json["nextPageToken"] = nextPageToken; | 21443 _json["nextPageToken"] = nextPageToken; |
| 21427 } | 21444 } |
| 21428 if (selfLink != null) { | 21445 if (selfLink != null) { |
| 21429 _json["selfLink"] = selfLink; | 21446 _json["selfLink"] = selfLink; |
| 21430 } | 21447 } |
| 21431 return _json; | 21448 return _json; |
| 21432 } | 21449 } |
| 21433 } | 21450 } |
| OLD | NEW |