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": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/Bw6HlPfCUqTIhF647hFuWCHD0c8\"", | 21 "etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/H86xtwTxBcxWtPGnqvHTnSt-xyM\"", |
22 "icons": { | 22 "icons": { |
23 "x16": "http://www.google.com/images/icons/product/search-16.gif", | 23 "x16": "http://www.google.com/images/icons/product/search-16.gif", |
24 "x32": "http://www.google.com/images/icons/product/search-32.gif" | 24 "x32": "http://www.google.com/images/icons/product/search-32.gif" |
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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
149 "path": "projects/{project}/instances/{instance}/backupRuns/
{id}", | 149 "path": "projects/{project}/instances/{instance}/backupRuns/
{id}", |
150 "response": { | 150 "response": { |
151 "$ref": "BackupRun" | 151 "$ref": "BackupRun" |
152 }, | 152 }, |
153 "scopes": [ | 153 "scopes": [ |
154 "https://www.googleapis.com/auth/cloud-platform", | 154 "https://www.googleapis.com/auth/cloud-platform", |
155 "https://www.googleapis.com/auth/sqlservice.admin" | 155 "https://www.googleapis.com/auth/sqlservice.admin" |
156 ] | 156 ] |
157 }, | 157 }, |
158 "insert": { | 158 "insert": { |
159 "description": "Creates a new backup run on demand.", | 159 "description": "Creates a new backup run on demand. This met
hod is applicable only to Second Generation instances.", |
160 "httpMethod": "POST", | 160 "httpMethod": "POST", |
161 "id": "sql.backupRuns.insert", | 161 "id": "sql.backupRuns.insert", |
162 "parameterOrder": [ | 162 "parameterOrder": [ |
163 "project", | 163 "project", |
164 "instance" | 164 "instance" |
165 ], | 165 ], |
166 "parameters": { | 166 "parameters": { |
167 "instance": { | 167 "instance": { |
168 "description": "Cloud SQL instance ID. This does not
include the project ID.", | 168 "description": "Cloud SQL instance ID. This does not
include the project ID.", |
169 "location": "path", | 169 "location": "path", |
170 "required": true, | 170 "required": true, |
171 "type": "string" | 171 "type": "string" |
172 }, | 172 }, |
173 "project": { | 173 "project": { |
174 "description": "Project ID of the project that conta
ins the instance.", | 174 "description": "Project ID of the project that conta
ins the instance.", |
175 "location": "path", | 175 "location": "path", |
176 "required": true, | 176 "required": true, |
177 "type": "string" | 177 "type": "string" |
178 } | 178 } |
179 }, | 179 }, |
180 "path": "projects/{project}/instances/{instance}/backupRuns"
, | 180 "path": "projects/{project}/instances/{instance}/backupRuns"
, |
181 "request": { | 181 "request": { |
182 "$ref": "BackupRun" | 182 "$ref": "BackupRun" |
183 }, | 183 }, |
184 "response": { | 184 "response": { |
185 "$ref": "Operation" | 185 "$ref": "Operation" |
186 } | 186 }, |
| 187 "scopes": [ |
| 188 "https://www.googleapis.com/auth/cloud-platform", |
| 189 "https://www.googleapis.com/auth/sqlservice.admin" |
| 190 ] |
187 }, | 191 }, |
188 "list": { | 192 "list": { |
189 "description": "Lists all backup runs associated with a give
n instance and configuration in the reverse chronological order of the enqueued
time.", | 193 "description": "Lists all backup runs associated with a give
n instance and configuration in the reverse chronological order of the enqueued
time.", |
190 "httpMethod": "GET", | 194 "httpMethod": "GET", |
191 "id": "sql.backupRuns.list", | 195 "id": "sql.backupRuns.list", |
192 "parameterOrder": [ | 196 "parameterOrder": [ |
193 "project", | 197 "project", |
194 "instance" | 198 "instance" |
195 ], | 199 ], |
196 "parameters": { | 200 "parameters": { |
(...skipping 1236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1433 "$ref": "Operation" | 1437 "$ref": "Operation" |
1434 }, | 1438 }, |
1435 "scopes": [ | 1439 "scopes": [ |
1436 "https://www.googleapis.com/auth/cloud-platform", | 1440 "https://www.googleapis.com/auth/cloud-platform", |
1437 "https://www.googleapis.com/auth/sqlservice.admin" | 1441 "https://www.googleapis.com/auth/sqlservice.admin" |
1438 ] | 1442 ] |
1439 } | 1443 } |
1440 } | 1444 } |
1441 } | 1445 } |
1442 }, | 1446 }, |
1443 "revision": "20160712", | 1447 "revision": "20161028", |
1444 "rootUrl": "https://www.googleapis.com/", | 1448 "rootUrl": "https://www.googleapis.com/", |
1445 "schemas": { | 1449 "schemas": { |
1446 "AclEntry": { | 1450 "AclEntry": { |
1447 "description": "An entry for an Access Control list.", | 1451 "description": "An entry for an Access Control list.", |
1448 "id": "AclEntry", | 1452 "id": "AclEntry", |
1449 "properties": { | 1453 "properties": { |
1450 "expirationTime": { | 1454 "expirationTime": { |
1451 "description": "The time when this access control entry expi
res in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.", | 1455 "description": "The time when this access control entry expi
res in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.", |
1452 "format": "date-time", | 1456 "format": "date-time", |
1453 "type": "string" | 1457 "type": "string" |
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1688 "type": "object" | 1692 "type": "object" |
1689 }, | 1693 }, |
1690 "DatabaseInstance": { | 1694 "DatabaseInstance": { |
1691 "description": "A Cloud SQL instance resource.", | 1695 "description": "A Cloud SQL instance resource.", |
1692 "id": "DatabaseInstance", | 1696 "id": "DatabaseInstance", |
1693 "properties": { | 1697 "properties": { |
1694 "backendType": { | 1698 "backendType": { |
1695 "description": "FIRST_GEN: Basic Cloud SQL instance that run
s in a Google-managed container.\nSECOND_GEN: A newer Cloud SQL backend that run
s in a Compute Engine VM.\nEXTERNAL: A MySQL server that is not managed by Googl
e.", | 1699 "description": "FIRST_GEN: Basic Cloud SQL instance that run
s in a Google-managed container.\nSECOND_GEN: A newer Cloud SQL backend that run
s in a Compute Engine VM.\nEXTERNAL: A MySQL server that is not managed by Googl
e.", |
1696 "type": "string" | 1700 "type": "string" |
1697 }, | 1701 }, |
| 1702 "connectionName": { |
| 1703 "description": "Connection name of the Cloud SQL instance us
ed in connection strings.", |
| 1704 "type": "string" |
| 1705 }, |
1698 "currentDiskSize": { | 1706 "currentDiskSize": { |
1699 "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.", | 1707 "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.", |
1700 "format": "int64", | 1708 "format": "int64", |
1701 "type": "string" | 1709 "type": "string" |
1702 }, | 1710 }, |
1703 "databaseVersion": { | 1711 "databaseVersion": { |
1704 "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.", | 1712 "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.", |
1705 "type": "string" | 1713 "type": "string" |
1706 }, | 1714 }, |
1707 "etag": { | 1715 "etag": { |
(...skipping 1049 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2757 "type": "string" | 2765 "type": "string" |
2758 } | 2766 } |
2759 }, | 2767 }, |
2760 "type": "object" | 2768 "type": "object" |
2761 } | 2769 } |
2762 }, | 2770 }, |
2763 "servicePath": "sql/v1beta4/", | 2771 "servicePath": "sql/v1beta4/", |
2764 "title": "Cloud SQL Administration API", | 2772 "title": "Cloud SQL Administration API", |
2765 "version": "v1beta4" | 2773 "version": "v1beta4" |
2766 } | 2774 } |
OLD | NEW |