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.v1beta4; | 3 library googleapis_beta.sqladmin.v1beta4; |
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 3409 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3420 /** Database instance IP Mapping. */ | 3420 /** Database instance IP Mapping. */ |
3421 class IpMapping { | 3421 class IpMapping { |
3422 /** The IP address assigned. */ | 3422 /** The IP address assigned. */ |
3423 core.String ipAddress; | 3423 core.String ipAddress; |
3424 /** | 3424 /** |
3425 * The due time for this IP to be retired in RFC 3339 format, for example | 3425 * The due time for this IP to be retired in RFC 3339 format, for example |
3426 * 2012-11-15T16:19:00.094Z. This field is only available when the IP is | 3426 * 2012-11-15T16:19:00.094Z. This field is only available when the IP is |
3427 * scheduled to be retired. | 3427 * scheduled to be retired. |
3428 */ | 3428 */ |
3429 core.DateTime timeToRetire; | 3429 core.DateTime timeToRetire; |
| 3430 /** |
| 3431 * The type of this IP address. A PRIMARY address is an address that can |
| 3432 * accept incoming connections. An OUTGOING address is the source address of |
| 3433 * connections originating from the instance, if supported. |
| 3434 */ |
| 3435 core.String type; |
3430 | 3436 |
3431 IpMapping(); | 3437 IpMapping(); |
3432 | 3438 |
3433 IpMapping.fromJson(core.Map _json) { | 3439 IpMapping.fromJson(core.Map _json) { |
3434 if (_json.containsKey("ipAddress")) { | 3440 if (_json.containsKey("ipAddress")) { |
3435 ipAddress = _json["ipAddress"]; | 3441 ipAddress = _json["ipAddress"]; |
3436 } | 3442 } |
3437 if (_json.containsKey("timeToRetire")) { | 3443 if (_json.containsKey("timeToRetire")) { |
3438 timeToRetire = core.DateTime.parse(_json["timeToRetire"]); | 3444 timeToRetire = core.DateTime.parse(_json["timeToRetire"]); |
3439 } | 3445 } |
| 3446 if (_json.containsKey("type")) { |
| 3447 type = _json["type"]; |
| 3448 } |
3440 } | 3449 } |
3441 | 3450 |
3442 core.Map toJson() { | 3451 core.Map toJson() { |
3443 var _json = new core.Map(); | 3452 var _json = new core.Map(); |
3444 if (ipAddress != null) { | 3453 if (ipAddress != null) { |
3445 _json["ipAddress"] = ipAddress; | 3454 _json["ipAddress"] = ipAddress; |
3446 } | 3455 } |
3447 if (timeToRetire != null) { | 3456 if (timeToRetire != null) { |
3448 _json["timeToRetire"] = (timeToRetire).toIso8601String(); | 3457 _json["timeToRetire"] = (timeToRetire).toIso8601String(); |
3449 } | 3458 } |
| 3459 if (type != null) { |
| 3460 _json["type"] = type; |
| 3461 } |
3450 return _json; | 3462 return _json; |
3451 } | 3463 } |
3452 } | 3464 } |
3453 | 3465 |
3454 /** | 3466 /** |
3455 * Preferred location. This specifies where a Cloud SQL instance should | 3467 * Preferred location. This specifies where a Cloud SQL instance should |
3456 * preferably be located, either in a specific Compute Engine zone, or | 3468 * preferably be located, either in a specific Compute Engine zone, or |
3457 * co-located with an App Engine application. Note that if the preferred | 3469 * co-located with an App Engine application. Note that if the preferred |
3458 * location is not available, the instance will be located as close as possible | 3470 * location is not available, the instance will be located as close as possible |
3459 * within the region. Only one location may be specified. | 3471 * within the region. Only one location may be specified. |
(...skipping 1061 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4521 } | 4533 } |
4522 | 4534 |
4523 /** A Google Cloud SQL service tier resource. */ | 4535 /** A Google Cloud SQL service tier resource. */ |
4524 class Tier { | 4536 class Tier { |
4525 /** The maximum disk size of this tier in bytes. */ | 4537 /** The maximum disk size of this tier in bytes. */ |
4526 core.String DiskQuota; | 4538 core.String DiskQuota; |
4527 /** The maximum RAM usage of this tier in bytes. */ | 4539 /** The maximum RAM usage of this tier in bytes. */ |
4528 core.String RAM; | 4540 core.String RAM; |
4529 /** This is always sql#tier. */ | 4541 /** This is always sql#tier. */ |
4530 core.String kind; | 4542 core.String kind; |
4531 /** | 4543 /** The applicable regions for this tier. */ |
4532 * The applicable regions for this tier. Can be us-east1, europe-west1 or | |
4533 * asia-east1. | |
4534 */ | |
4535 core.List<core.String> region; | 4544 core.List<core.String> region; |
4536 /** | 4545 /** |
4537 * An identifier for the service tier, for example D1, D2 etc. For related | 4546 * An identifier for the service tier, for example D1, D2 etc. For related |
4538 * information, see Pricing. | 4547 * information, see Pricing. |
4539 */ | 4548 */ |
4540 core.String tier; | 4549 core.String tier; |
4541 | 4550 |
4542 Tier(); | 4551 Tier(); |
4543 | 4552 |
4544 Tier.fromJson(core.Map _json) { | 4553 Tier.fromJson(core.Map _json) { |
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4728 } | 4737 } |
4729 if (kind != null) { | 4738 if (kind != null) { |
4730 _json["kind"] = kind; | 4739 _json["kind"] = kind; |
4731 } | 4740 } |
4732 if (nextPageToken != null) { | 4741 if (nextPageToken != null) { |
4733 _json["nextPageToken"] = nextPageToken; | 4742 _json["nextPageToken"] = nextPageToken; |
4734 } | 4743 } |
4735 return _json; | 4744 return _json; |
4736 } | 4745 } |
4737 } | 4746 } |
OLD | NEW |