| OLD | NEW |
| 1 library googleapis_beta.sqladmin.v1beta3; | 1 library googleapis_beta.sqladmin.v1beta3; |
| 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 13 matching lines...) Expand all Loading... |
| 24 | 24 |
| 25 final common_internal.ApiRequester _requester; | 25 final common_internal.ApiRequester _requester; |
| 26 | 26 |
| 27 BackupRunsResourceApi get backupRuns => new BackupRunsResourceApi(_requester); | 27 BackupRunsResourceApi get backupRuns => new BackupRunsResourceApi(_requester); |
| 28 FlagsResourceApi get flags => new FlagsResourceApi(_requester); | 28 FlagsResourceApi get flags => new FlagsResourceApi(_requester); |
| 29 InstancesResourceApi get instances => new InstancesResourceApi(_requester); | 29 InstancesResourceApi get instances => new InstancesResourceApi(_requester); |
| 30 OperationsResourceApi get operations => new OperationsResourceApi(_requester); | 30 OperationsResourceApi get operations => new OperationsResourceApi(_requester); |
| 31 SslCertsResourceApi get sslCerts => new SslCertsResourceApi(_requester); | 31 SslCertsResourceApi get sslCerts => new SslCertsResourceApi(_requester); |
| 32 TiersResourceApi get tiers => new TiersResourceApi(_requester); | 32 TiersResourceApi get tiers => new TiersResourceApi(_requester); |
| 33 | 33 |
| 34 SqladminApi(http.Client client) : | 34 SqladminApi(http.Client client, {core.String rootUrl: "https://www.googleapis.
com/", core.String servicePath: "sql/v1beta3/"}) : |
| 35 _requester = new common_internal.ApiRequester(client, "https://www.googlea
pis.com/", "sql/v1beta3/"); | 35 _requester = new common_internal.ApiRequester(client, rootUrl, servicePath
); |
| 36 } | 36 } |
| 37 | 37 |
| 38 | 38 |
| 39 /** Not documented yet. */ | 39 /** Not documented yet. */ |
| 40 class BackupRunsResourceApi { | 40 class BackupRunsResourceApi { |
| 41 final common_internal.ApiRequester _requester; | 41 final common_internal.ApiRequester _requester; |
| 42 | 42 |
| 43 BackupRunsResourceApi(common_internal.ApiRequester client) : | 43 BackupRunsResourceApi(common_internal.ApiRequester client) : |
| 44 _requester = client; | 44 _requester = client; |
| 45 | 45 |
| (...skipping 1660 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1706 /** The maximum disk size of the instance in bytes. */ | 1706 /** The maximum disk size of the instance in bytes. */ |
| 1707 core.String maxDiskSize; | 1707 core.String maxDiskSize; |
| 1708 | 1708 |
| 1709 /** | 1709 /** |
| 1710 * The project ID of the project containing the Cloud SQL instance. The Google | 1710 * The project ID of the project containing the Cloud SQL instance. The Google |
| 1711 * apps domain is prefixed if applicable. | 1711 * apps domain is prefixed if applicable. |
| 1712 */ | 1712 */ |
| 1713 core.String project; | 1713 core.String project; |
| 1714 | 1714 |
| 1715 /** | 1715 /** |
| 1716 * The geographical region. Can be us-east1, us-central, asia-east1 or | 1716 * The geographical region. Can be us-central, asia-east1 or europe-west1. |
| 1717 * europe-west1. Defaults to us-central. The region can not be changed after | 1717 * Defaults to us-central. The region can not be changed after instance |
| 1718 * instance creation. | 1718 * creation. |
| 1719 */ | 1719 */ |
| 1720 core.String region; | 1720 core.String region; |
| 1721 | 1721 |
| 1722 /** The replicas of the instance. */ | 1722 /** The replicas of the instance. */ |
| 1723 core.List<core.String> replicaNames; | 1723 core.List<core.String> replicaNames; |
| 1724 | 1724 |
| 1725 /** SSL configuration. */ | 1725 /** SSL configuration. */ |
| 1726 SslCert serverCaCert; | 1726 SslCert serverCaCert; |
| 1727 | 1727 |
| 1728 /** The service account email address assigned to the instance. */ |
| 1729 core.String serviceAccountEmailAddress; |
| 1730 |
| 1728 /** The user settings. */ | 1731 /** The user settings. */ |
| 1729 Settings settings; | 1732 Settings settings; |
| 1730 | 1733 |
| 1731 /** | 1734 /** |
| 1732 * The current serving state of the Cloud SQL instance. This can be one of the | 1735 * The current serving state of the Cloud SQL instance. This can be one of the |
| 1733 * following. | 1736 * following. |
| 1734 * RUNNABLE: The instance is running, or is ready to run when accessed. | 1737 * RUNNABLE: The instance is running, or is ready to run when accessed. |
| 1735 * SUSPENDED: The instance is not available, for example due to problems with | 1738 * SUSPENDED: The instance is not available, for example due to problems with |
| 1736 * billing. | 1739 * billing. |
| 1737 * PENDING_CREATE: The instance is being created. | 1740 * PENDING_CREATE: The instance is being created. |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1779 } | 1782 } |
| 1780 if (_json.containsKey("region")) { | 1783 if (_json.containsKey("region")) { |
| 1781 region = _json["region"]; | 1784 region = _json["region"]; |
| 1782 } | 1785 } |
| 1783 if (_json.containsKey("replicaNames")) { | 1786 if (_json.containsKey("replicaNames")) { |
| 1784 replicaNames = _json["replicaNames"]; | 1787 replicaNames = _json["replicaNames"]; |
| 1785 } | 1788 } |
| 1786 if (_json.containsKey("serverCaCert")) { | 1789 if (_json.containsKey("serverCaCert")) { |
| 1787 serverCaCert = new SslCert.fromJson(_json["serverCaCert"]); | 1790 serverCaCert = new SslCert.fromJson(_json["serverCaCert"]); |
| 1788 } | 1791 } |
| 1792 if (_json.containsKey("serviceAccountEmailAddress")) { |
| 1793 serviceAccountEmailAddress = _json["serviceAccountEmailAddress"]; |
| 1794 } |
| 1789 if (_json.containsKey("settings")) { | 1795 if (_json.containsKey("settings")) { |
| 1790 settings = new Settings.fromJson(_json["settings"]); | 1796 settings = new Settings.fromJson(_json["settings"]); |
| 1791 } | 1797 } |
| 1792 if (_json.containsKey("state")) { | 1798 if (_json.containsKey("state")) { |
| 1793 state = _json["state"]; | 1799 state = _json["state"]; |
| 1794 } | 1800 } |
| 1795 } | 1801 } |
| 1796 | 1802 |
| 1797 core.Map toJson() { | 1803 core.Map toJson() { |
| 1798 var _json = new core.Map(); | 1804 var _json = new core.Map(); |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1831 } | 1837 } |
| 1832 if (region != null) { | 1838 if (region != null) { |
| 1833 _json["region"] = region; | 1839 _json["region"] = region; |
| 1834 } | 1840 } |
| 1835 if (replicaNames != null) { | 1841 if (replicaNames != null) { |
| 1836 _json["replicaNames"] = replicaNames; | 1842 _json["replicaNames"] = replicaNames; |
| 1837 } | 1843 } |
| 1838 if (serverCaCert != null) { | 1844 if (serverCaCert != null) { |
| 1839 _json["serverCaCert"] = (serverCaCert).toJson(); | 1845 _json["serverCaCert"] = (serverCaCert).toJson(); |
| 1840 } | 1846 } |
| 1847 if (serviceAccountEmailAddress != null) { |
| 1848 _json["serviceAccountEmailAddress"] = serviceAccountEmailAddress; |
| 1849 } |
| 1841 if (settings != null) { | 1850 if (settings != null) { |
| 1842 _json["settings"] = (settings).toJson(); | 1851 _json["settings"] = (settings).toJson(); |
| 1843 } | 1852 } |
| 1844 if (state != null) { | 1853 if (state != null) { |
| 1845 _json["state"] = state; | 1854 _json["state"] = state; |
| 1846 } | 1855 } |
| 1847 return _json; | 1856 return _json; |
| 1848 } | 1857 } |
| 1849 } | 1858 } |
| 1850 | 1859 |
| (...skipping 1704 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3555 _json["items"] = items.map((value) => (value).toJson()).toList(); | 3564 _json["items"] = items.map((value) => (value).toJson()).toList(); |
| 3556 } | 3565 } |
| 3557 if (kind != null) { | 3566 if (kind != null) { |
| 3558 _json["kind"] = kind; | 3567 _json["kind"] = kind; |
| 3559 } | 3568 } |
| 3560 return _json; | 3569 return _json; |
| 3561 } | 3570 } |
| 3562 } | 3571 } |
| 3563 | 3572 |
| 3564 | 3573 |
| OLD | NEW |