| 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_beta.sqladmin.v1beta3; | 3 library googleapis_beta.sqladmin.v1beta3; |
| 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:http/http.dart' as http; | 10 import 'package:http/http.dart' as http; |
| (...skipping 2628 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2639 /** | 2639 /** |
| 2640 * The list of external networks that are allowed to connect to the instance | 2640 * The list of external networks that are allowed to connect to the instance |
| 2641 * using the IP. In CIDR notation, also known as 'slash' notation (e.g. | 2641 * using the IP. In CIDR notation, also known as 'slash' notation (e.g. |
| 2642 * 192.168.100.0/24). | 2642 * 192.168.100.0/24). |
| 2643 */ | 2643 */ |
| 2644 core.List<core.String> authorizedNetworks; | 2644 core.List<core.String> authorizedNetworks; |
| 2645 /** Whether the instance should be assigned an IP address or not. */ | 2645 /** Whether the instance should be assigned an IP address or not. */ |
| 2646 core.bool enabled; | 2646 core.bool enabled; |
| 2647 /** This is always sql#ipConfiguration. */ | 2647 /** This is always sql#ipConfiguration. */ |
| 2648 core.String kind; | 2648 core.String kind; |
| 2649 /** | 2649 /** Whether SSL connections over IP should be enforced or not. */ |
| 2650 * Whether the mysqld should default to 'REQUIRE X509' for users connecting | |
| 2651 * over IP. | |
| 2652 */ | |
| 2653 core.bool requireSsl; | 2650 core.bool requireSsl; |
| 2654 | 2651 |
| 2655 IpConfiguration(); | 2652 IpConfiguration(); |
| 2656 | 2653 |
| 2657 IpConfiguration.fromJson(core.Map _json) { | 2654 IpConfiguration.fromJson(core.Map _json) { |
| 2658 if (_json.containsKey("authorizedNetworks")) { | 2655 if (_json.containsKey("authorizedNetworks")) { |
| 2659 authorizedNetworks = _json["authorizedNetworks"]; | 2656 authorizedNetworks = _json["authorizedNetworks"]; |
| 2660 } | 2657 } |
| 2661 if (_json.containsKey("enabled")) { | 2658 if (_json.containsKey("enabled")) { |
| 2662 enabled = _json["enabled"]; | 2659 enabled = _json["enabled"]; |
| (...skipping 673 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3336 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 3333 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 3337 if (items != null) { | 3334 if (items != null) { |
| 3338 _json["items"] = items.map((value) => (value).toJson()).toList(); | 3335 _json["items"] = items.map((value) => (value).toJson()).toList(); |
| 3339 } | 3336 } |
| 3340 if (kind != null) { | 3337 if (kind != null) { |
| 3341 _json["kind"] = kind; | 3338 _json["kind"] = kind; |
| 3342 } | 3339 } |
| 3343 return _json; | 3340 return _json; |
| 3344 } | 3341 } |
| 3345 } | 3342 } |
| OLD | NEW |