| OLD | NEW |
| 1 library googleapis.compute.v1; | 1 library googleapis.compute.v1; |
| 2 | 2 |
| 3 import "dart:core" as core; | 3 import "dart:core" as core; |
| 4 import "dart:collection" as collection; | 4 import "dart:collection" as collection; |
| 5 import "dart:async" as async; | 5 import "dart:async" as async; |
| 6 import "dart:convert" as convert; | 6 import "dart:convert" as convert; |
| 7 | 7 |
| 8 import "package:crypto/crypto.dart" as crypto; | 8 import "package:crypto/crypto.dart" as crypto; |
| 9 import 'package:http/http.dart' as http; | 9 import 'package:http/http.dart' as http; |
| 10 import '../src/common_internal.dart' as common_internal; | 10 import '../src/common_internal.dart' as common_internal; |
| (...skipping 8049 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8060 /** | 8060 /** |
| 8061 * A zero-based index to assign to this disk, where 0 is reserved for the boot | 8061 * A zero-based index to assign to this disk, where 0 is reserved for the boot |
| 8062 * disk. If not specified, the server will choose an appropriate value (output | 8062 * disk. If not specified, the server will choose an appropriate value (output |
| 8063 * only). | 8063 * only). |
| 8064 */ | 8064 */ |
| 8065 core.int index; | 8065 core.int index; |
| 8066 | 8066 |
| 8067 /** Initialization parameters. */ | 8067 /** Initialization parameters. */ |
| 8068 AttachedDiskInitializeParams initializeParams; | 8068 AttachedDiskInitializeParams initializeParams; |
| 8069 | 8069 |
| 8070 /** |
| 8071 * Not documented yet. |
| 8072 * Possible string values are: |
| 8073 * - "NVME" |
| 8074 * - "SCSI" |
| 8075 */ |
| 8076 core.String interface; |
| 8077 |
| 8070 /** Type of the resource. */ | 8078 /** Type of the resource. */ |
| 8071 core.String kind; | 8079 core.String kind; |
| 8072 | 8080 |
| 8073 /** Public visible licenses. */ | 8081 /** Public visible licenses. */ |
| 8074 core.List<core.String> licenses; | 8082 core.List<core.String> licenses; |
| 8075 | 8083 |
| 8076 /** | 8084 /** |
| 8077 * The mode in which to attach this disk, either "READ_WRITE" or "READ_ONLY". | 8085 * The mode in which to attach this disk, either "READ_WRITE" or "READ_ONLY". |
| 8078 * Possible string values are: | 8086 * Possible string values are: |
| 8079 * - "READ_ONLY" | 8087 * - "READ_ONLY" |
| (...skipping 25 matching lines...) Expand all Loading... |
| 8105 } | 8113 } |
| 8106 if (_json.containsKey("deviceName")) { | 8114 if (_json.containsKey("deviceName")) { |
| 8107 deviceName = _json["deviceName"]; | 8115 deviceName = _json["deviceName"]; |
| 8108 } | 8116 } |
| 8109 if (_json.containsKey("index")) { | 8117 if (_json.containsKey("index")) { |
| 8110 index = _json["index"]; | 8118 index = _json["index"]; |
| 8111 } | 8119 } |
| 8112 if (_json.containsKey("initializeParams")) { | 8120 if (_json.containsKey("initializeParams")) { |
| 8113 initializeParams = new AttachedDiskInitializeParams.fromJson(_json["initia
lizeParams"]); | 8121 initializeParams = new AttachedDiskInitializeParams.fromJson(_json["initia
lizeParams"]); |
| 8114 } | 8122 } |
| 8123 if (_json.containsKey("interface")) { |
| 8124 interface = _json["interface"]; |
| 8125 } |
| 8115 if (_json.containsKey("kind")) { | 8126 if (_json.containsKey("kind")) { |
| 8116 kind = _json["kind"]; | 8127 kind = _json["kind"]; |
| 8117 } | 8128 } |
| 8118 if (_json.containsKey("licenses")) { | 8129 if (_json.containsKey("licenses")) { |
| 8119 licenses = _json["licenses"]; | 8130 licenses = _json["licenses"]; |
| 8120 } | 8131 } |
| 8121 if (_json.containsKey("mode")) { | 8132 if (_json.containsKey("mode")) { |
| 8122 mode = _json["mode"]; | 8133 mode = _json["mode"]; |
| 8123 } | 8134 } |
| 8124 if (_json.containsKey("source")) { | 8135 if (_json.containsKey("source")) { |
| (...skipping 14 matching lines...) Expand all Loading... |
| 8139 } | 8150 } |
| 8140 if (deviceName != null) { | 8151 if (deviceName != null) { |
| 8141 _json["deviceName"] = deviceName; | 8152 _json["deviceName"] = deviceName; |
| 8142 } | 8153 } |
| 8143 if (index != null) { | 8154 if (index != null) { |
| 8144 _json["index"] = index; | 8155 _json["index"] = index; |
| 8145 } | 8156 } |
| 8146 if (initializeParams != null) { | 8157 if (initializeParams != null) { |
| 8147 _json["initializeParams"] = (initializeParams).toJson(); | 8158 _json["initializeParams"] = (initializeParams).toJson(); |
| 8148 } | 8159 } |
| 8160 if (interface != null) { |
| 8161 _json["interface"] = interface; |
| 8162 } |
| 8149 if (kind != null) { | 8163 if (kind != null) { |
| 8150 _json["kind"] = kind; | 8164 _json["kind"] = kind; |
| 8151 } | 8165 } |
| 8152 if (licenses != null) { | 8166 if (licenses != null) { |
| 8153 _json["licenses"] = licenses; | 8167 _json["licenses"] = licenses; |
| 8154 } | 8168 } |
| 8155 if (mode != null) { | 8169 if (mode != null) { |
| 8156 _json["mode"] = mode; | 8170 _json["mode"] = mode; |
| 8157 } | 8171 } |
| 8158 if (source != null) { | 8172 if (source != null) { |
| (...skipping 5118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13277 * - "EPHEMERAL_ADDRESSES" | 13291 * - "EPHEMERAL_ADDRESSES" |
| 13278 * - "FIREWALLS" | 13292 * - "FIREWALLS" |
| 13279 * - "FORWARDING_RULES" | 13293 * - "FORWARDING_RULES" |
| 13280 * - "HEALTH_CHECKS" | 13294 * - "HEALTH_CHECKS" |
| 13281 * - "IMAGES" | 13295 * - "IMAGES" |
| 13282 * - "IMAGES_TOTAL_GB" | 13296 * - "IMAGES_TOTAL_GB" |
| 13283 * - "INSTANCES" | 13297 * - "INSTANCES" |
| 13284 * - "IN_USE_ADDRESSES" | 13298 * - "IN_USE_ADDRESSES" |
| 13285 * - "KERNELS" | 13299 * - "KERNELS" |
| 13286 * - "KERNELS_TOTAL_GB" | 13300 * - "KERNELS_TOTAL_GB" |
| 13301 * - "LOCAL_SSD_TOTAL_GB" |
| 13287 * - "NETWORKS" | 13302 * - "NETWORKS" |
| 13288 * - "OPERATIONS" | 13303 * - "OPERATIONS" |
| 13289 * - "ROUTES" | 13304 * - "ROUTES" |
| 13290 * - "SNAPSHOTS" | 13305 * - "SNAPSHOTS" |
| 13291 * - "SSD_TOTAL_GB" | 13306 * - "SSD_TOTAL_GB" |
| 13292 * - "STATIC_ADDRESSES" | 13307 * - "STATIC_ADDRESSES" |
| 13293 * - "TARGET_HTTP_PROXIES" | 13308 * - "TARGET_HTTP_PROXIES" |
| 13294 * - "TARGET_INSTANCES" | 13309 * - "TARGET_INSTANCES" |
| 13295 * - "TARGET_POOLS" | 13310 * - "TARGET_POOLS" |
| 13296 * - "URL_MAPS" | 13311 * - "URL_MAPS" |
| (...skipping 2762 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16059 _json["nextPageToken"] = nextPageToken; | 16074 _json["nextPageToken"] = nextPageToken; |
| 16060 } | 16075 } |
| 16061 if (selfLink != null) { | 16076 if (selfLink != null) { |
| 16062 _json["selfLink"] = selfLink; | 16077 _json["selfLink"] = selfLink; |
| 16063 } | 16078 } |
| 16064 return _json; | 16079 return _json; |
| 16065 } | 16080 } |
| 16066 } | 16081 } |
| 16067 | 16082 |
| 16068 | 16083 |
| OLD | NEW |