OLD | NEW |
1 { | 1 { |
2 "auth": { | 2 "auth": { |
3 "oauth2": { | 3 "oauth2": { |
4 "scopes": { | 4 "scopes": { |
5 "https://www.googleapis.com/auth/cloud-platform": { | 5 "https://www.googleapis.com/auth/cloud-platform": { |
6 "description": "View and manage your data across Google Clou
d Platform services" | 6 "description": "View and manage your data across Google Clou
d Platform services" |
7 }, | 7 }, |
8 "https://www.googleapis.com/auth/sqlservice.admin": { | 8 "https://www.googleapis.com/auth/sqlservice.admin": { |
9 "description": "Manage your Google SQL Service instances" | 9 "description": "Manage your Google SQL Service instances" |
10 } | 10 } |
11 } | 11 } |
12 } | 12 } |
13 }, | 13 }, |
14 "basePath": "/sql/v1beta4/", | 14 "basePath": "/sql/v1beta4/", |
15 "baseUrl": "https://www.googleapis.com/sql/v1beta4/", | 15 "baseUrl": "https://www.googleapis.com/sql/v1beta4/", |
16 "batchPath": "batch", | 16 "batchPath": "batch", |
17 "canonicalName": "SQL Admin", | 17 "canonicalName": "SQL Admin", |
18 "description": "Creates and configures Cloud SQL instances, which provide fu
lly-managed MySQL databases.", | 18 "description": "Creates and configures Cloud SQL instances, which provide fu
lly-managed MySQL databases.", |
19 "discoveryVersion": "v1", | 19 "discoveryVersion": "v1", |
20 "documentationLink": "https://cloud.google.com/sql/docs/reference/latest", | 20 "documentationLink": "https://cloud.google.com/sql/docs/reference/latest", |
21 "etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/XsY4JGYlYgyTyxbJioMS7bSip2s\"", | 21 "etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/odbYGRT1izLWfRhfVNwcTacV8sM\"", |
22 "icons": { | 22 "icons": { |
23 "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.
png", | 23 "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.
png", |
24 "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.
png" | 24 "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.
png" |
25 }, | 25 }, |
26 "id": "sqladmin:v1beta4", | 26 "id": "sqladmin:v1beta4", |
27 "kind": "discovery#restDescription", | 27 "kind": "discovery#restDescription", |
28 "name": "sqladmin", | 28 "name": "sqladmin", |
29 "ownerDomain": "google.com", | 29 "ownerDomain": "google.com", |
30 "ownerName": "Google", | 30 "ownerName": "Google", |
31 "parameters": { | 31 "parameters": { |
(...skipping 1451 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1483 "$ref": "Operation" | 1483 "$ref": "Operation" |
1484 }, | 1484 }, |
1485 "scopes": [ | 1485 "scopes": [ |
1486 "https://www.googleapis.com/auth/cloud-platform", | 1486 "https://www.googleapis.com/auth/cloud-platform", |
1487 "https://www.googleapis.com/auth/sqlservice.admin" | 1487 "https://www.googleapis.com/auth/sqlservice.admin" |
1488 ] | 1488 ] |
1489 } | 1489 } |
1490 } | 1490 } |
1491 } | 1491 } |
1492 }, | 1492 }, |
1493 "revision": "20170606", | 1493 "revision": "20170807", |
1494 "rootUrl": "https://www.googleapis.com/", | 1494 "rootUrl": "https://www.googleapis.com/", |
1495 "schemas": { | 1495 "schemas": { |
1496 "AclEntry": { | 1496 "AclEntry": { |
1497 "description": "An entry for an Access Control list.", | 1497 "description": "An entry for an Access Control list.", |
1498 "id": "AclEntry", | 1498 "id": "AclEntry", |
1499 "properties": { | 1499 "properties": { |
1500 "expirationTime": { | 1500 "expirationTime": { |
1501 "description": "The time when this access control entry expi
res in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.", | 1501 "description": "The time when this access control entry expi
res in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.", |
1502 "format": "date-time", | 1502 "format": "date-time", |
1503 "type": "string" | 1503 "type": "string" |
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1748 "connectionName": { | 1748 "connectionName": { |
1749 "description": "Connection name of the Cloud SQL instance us
ed in connection strings.", | 1749 "description": "Connection name of the Cloud SQL instance us
ed in connection strings.", |
1750 "type": "string" | 1750 "type": "string" |
1751 }, | 1751 }, |
1752 "currentDiskSize": { | 1752 "currentDiskSize": { |
1753 "description": "The current disk usage of the instance in by
tes. This property has been deprecated. Users should use the \"cloudsql.googleap
is.com/database/disk/bytes_used\" metric in Cloud Monitoring API instead. Please
see https://groups.google.com/d/msg/google-cloud-sql-announce/I_7-F9EBhT0/BtvFt
dFeAgAJ for details.", | 1753 "description": "The current disk usage of the instance in by
tes. This property has been deprecated. Users should use the \"cloudsql.googleap
is.com/database/disk/bytes_used\" metric in Cloud Monitoring API instead. Please
see https://groups.google.com/d/msg/google-cloud-sql-announce/I_7-F9EBhT0/BtvFt
dFeAgAJ for details.", |
1754 "format": "int64", | 1754 "format": "int64", |
1755 "type": "string" | 1755 "type": "string" |
1756 }, | 1756 }, |
1757 "databaseVersion": { | 1757 "databaseVersion": { |
1758 "description": "The database engine type and version. The da
tabaseVersion can not be changed after instance creation. Can be MYSQL_5_5, MYSQ
L_5_6 or MYSQL_5_7. Defaults to MYSQL_5_6. MYSQL_5_7 is applicable only to Secon
d Generation instances.", | 1758 "description": "The database engine type and version. The da
tabaseVersion field can not be changed after instance creation. MySQL Second Gen
eration instances: MYSQL_5_7 (default) or MYSQL_5_6. PostgreSQL instances: POSTG
RES_9_6 MySQL First Generation instances: MYSQL_5_6 (default) or MYSQL_5_5", |
1759 "type": "string" | 1759 "type": "string" |
1760 }, | 1760 }, |
1761 "etag": { | 1761 "etag": { |
1762 "description": "HTTP 1.1 Entity tag for the resource.", | 1762 "description": "HTTP 1.1 Entity tag for the resource.", |
1763 "type": "string" | 1763 "type": "string" |
1764 }, | 1764 }, |
1765 "failoverReplica": { | 1765 "failoverReplica": { |
1766 "description": "The name and status of the failover replica.
This property is applicable only to Second Generation instances.", | 1766 "description": "The name and status of the failover replica.
This property is applicable only to Second Generation instances.", |
1767 "properties": { | 1767 "properties": { |
1768 "available": { | 1768 "available": { |
1769 "description": "The availability status of the failo
ver replica. A false status indicates that the failover replica is out of sync.
The master can only failover to the falover replica when the status is true.", | 1769 "description": "The availability status of the failo
ver replica. A false status indicates that the failover replica is out of sync.
The master can only failover to the falover replica when the status is true.", |
1770 "type": "boolean" | 1770 "type": "boolean" |
1771 }, | 1771 }, |
1772 "name": { | 1772 "name": { |
1773 "description": "The name of the failover replica. If
specified at instance creation, a failover replica is created for the instance.
The name doesn't include the project ID. This property is applicable only to Se
cond Generation instances.", | 1773 "description": "The name of the failover replica. If
specified at instance creation, a failover replica is created for the instance.
The name doesn't include the project ID. This property is applicable only to Se
cond Generation instances.", |
1774 "type": "string" | 1774 "type": "string" |
1775 } | 1775 } |
1776 }, | 1776 }, |
1777 "type": "object" | 1777 "type": "object" |
1778 }, | 1778 }, |
| 1779 "gceZone": { |
| 1780 "description": "The GCE zone that the instance is serving fr
om. In case when the instance is failed over to standby zone, this value may be
different with what user specified in the settings.", |
| 1781 "type": "string" |
| 1782 }, |
1779 "instanceType": { | 1783 "instanceType": { |
1780 "description": "The instance type. This can be one of the fo
llowing.\nCLOUD_SQL_INSTANCE: A Cloud SQL instance that is not replicating from
a master.\nON_PREMISES_INSTANCE: An instance running on the customer's premises.
\nREAD_REPLICA_INSTANCE: A Cloud SQL instance configured as a read-replica.", | 1784 "description": "The instance type. This can be one of the fo
llowing.\nCLOUD_SQL_INSTANCE: A Cloud SQL instance that is not replicating from
a master.\nON_PREMISES_INSTANCE: An instance running on the customer's premises.
\nREAD_REPLICA_INSTANCE: A Cloud SQL instance configured as a read-replica.", |
1781 "type": "string" | 1785 "type": "string" |
1782 }, | 1786 }, |
1783 "ipAddresses": { | 1787 "ipAddresses": { |
1784 "description": "The assigned IP addresses for the instance."
, | 1788 "description": "The assigned IP addresses for the instance."
, |
1785 "items": { | 1789 "items": { |
1786 "$ref": "IpMapping" | 1790 "$ref": "IpMapping" |
1787 }, | 1791 }, |
1788 "type": "array" | 1792 "type": "array" |
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2053 }, | 2057 }, |
2054 "database": { | 2058 "database": { |
2055 "description": "The database (for example, guestbook) to whi
ch the import is made. If fileType is SQL and no database is specified, it is as
sumed that the database is specified in the file to be imported. If fileType is
CSV, it must be specified.", | 2059 "description": "The database (for example, guestbook) to whi
ch the import is made. If fileType is SQL and no database is specified, it is as
sumed that the database is specified in the file to be imported. If fileType is
CSV, it must be specified.", |
2056 "type": "string" | 2060 "type": "string" |
2057 }, | 2061 }, |
2058 "fileType": { | 2062 "fileType": { |
2059 "description": "The file type for the specified uri.\nSQL: T
he file contains SQL statements.\nCSV: The file contains CSV data.", | 2063 "description": "The file type for the specified uri.\nSQL: T
he file contains SQL statements.\nCSV: The file contains CSV data.", |
2060 "type": "string" | 2064 "type": "string" |
2061 }, | 2065 }, |
2062 "importUser": { | 2066 "importUser": { |
2063 "description": "The PostgreSQL user to use for this import o
peration. Defaults to cloudsqlsuperuser. Does not apply to MySQL instances.", | 2067 "description": "The PostgreSQL user for this import operatio
n. Defaults to cloudsqlsuperuser. Used only for PostgreSQL instances.", |
2064 "type": "string" | 2068 "type": "string" |
2065 }, | 2069 }, |
2066 "kind": { | 2070 "kind": { |
2067 "default": "sql#importContext", | 2071 "default": "sql#importContext", |
2068 "description": "This is always sql#importContext.", | 2072 "description": "This is always sql#importContext.", |
2069 "type": "string" | 2073 "type": "string" |
2070 }, | 2074 }, |
2071 "uri": { | 2075 "uri": { |
2072 "description": "A path to the file in Google Cloud Storage f
rom which the import is made. The URI is in the form gs://bucketName/fileName. C
ompressed gzip files (.gz) are supported when fileType is SQL.", | 2076 "description": "A path to the file in Google Cloud Storage f
rom which the import is made. The URI is in the form gs://bucketName/fileName. C
ompressed gzip files (.gz) are supported when fileType is SQL.", |
2073 "type": "string" | 2077 "type": "string" |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2173 "items": { | 2177 "items": { |
2174 "$ref": "AclEntry" | 2178 "$ref": "AclEntry" |
2175 }, | 2179 }, |
2176 "type": "array" | 2180 "type": "array" |
2177 }, | 2181 }, |
2178 "ipv4Enabled": { | 2182 "ipv4Enabled": { |
2179 "description": "Whether the instance should be assigned an I
P address or not.", | 2183 "description": "Whether the instance should be assigned an I
P address or not.", |
2180 "type": "boolean" | 2184 "type": "boolean" |
2181 }, | 2185 }, |
2182 "requireSsl": { | 2186 "requireSsl": { |
2183 "description": "Whether the mysqld should default to 'REQUIR
E X509' for users connecting over IP.", | 2187 "description": "Whether SSL connections over IP should be en
forced or not.", |
2184 "type": "boolean" | 2188 "type": "boolean" |
2185 } | 2189 } |
2186 }, | 2190 }, |
2187 "type": "object" | 2191 "type": "object" |
2188 }, | 2192 }, |
2189 "IpMapping": { | 2193 "IpMapping": { |
2190 "description": "Database instance IP Mapping.", | 2194 "description": "Database instance IP Mapping.", |
2191 "id": "IpMapping", | 2195 "id": "IpMapping", |
2192 "properties": { | 2196 "properties": { |
2193 "ipAddress": { | 2197 "ipAddress": { |
(...skipping 668 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2862 "type": "string" | 2866 "type": "string" |
2863 } | 2867 } |
2864 }, | 2868 }, |
2865 "type": "object" | 2869 "type": "object" |
2866 } | 2870 } |
2867 }, | 2871 }, |
2868 "servicePath": "sql/v1beta4/", | 2872 "servicePath": "sql/v1beta4/", |
2869 "title": "Cloud SQL Administration API", | 2873 "title": "Cloud SQL Administration API", |
2870 "version": "v1beta4" | 2874 "version": "v1beta4" |
2871 } | 2875 } |
OLD | NEW |