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": "API for Cloud SQL database instance management.", | 18 "description": "API for Cloud SQL database instance management.", |
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": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/tWiKG-tAYUfQIEzSxsK_muuAjks\"", | 21 "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/PiWRyQxPs-4Ktfq_grOnClEFQ5M\"", |
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 1070 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1102 } | 1102 } |
1103 }, | 1103 }, |
1104 "path": "projects/{project}/instances/{instance}/sslCerts", | 1104 "path": "projects/{project}/instances/{instance}/sslCerts", |
1105 "response": { | 1105 "response": { |
1106 "$ref": "SslCertsListResponse" | 1106 "$ref": "SslCertsListResponse" |
1107 }, | 1107 }, |
1108 "scopes": [ | 1108 "scopes": [ |
1109 "https://www.googleapis.com/auth/cloud-platform", | 1109 "https://www.googleapis.com/auth/cloud-platform", |
1110 "https://www.googleapis.com/auth/sqlservice.admin" | 1110 "https://www.googleapis.com/auth/sqlservice.admin" |
1111 ] | 1111 ] |
| 1112 }, |
| 1113 "sign": { |
| 1114 "description": "Generates a short-lived X509 certificate con
taining the provided public key and signed by a private key specific to the targ
et instance. Users may use the certificate to authenticate as themselves when co
nnecting to the database.", |
| 1115 "httpMethod": "POST", |
| 1116 "id": "sql.sslCerts.sign", |
| 1117 "parameterOrder": [ |
| 1118 "project", |
| 1119 "instance" |
| 1120 ], |
| 1121 "parameters": { |
| 1122 "instance": { |
| 1123 "description": "Cloud SQL instance ID. This does not
include the project ID.", |
| 1124 "location": "path", |
| 1125 "required": true, |
| 1126 "type": "string" |
| 1127 }, |
| 1128 "project": { |
| 1129 "description": "Project ID of the Cloud SQL project.
", |
| 1130 "location": "path", |
| 1131 "required": true, |
| 1132 "type": "string" |
| 1133 } |
| 1134 }, |
| 1135 "path": "projects/{project}/instances/{instance}/certSign", |
| 1136 "request": { |
| 1137 "$ref": "SslCertsSignRequest" |
| 1138 }, |
| 1139 "response": { |
| 1140 "$ref": "SslCert" |
| 1141 }, |
| 1142 "scopes": [ |
| 1143 "https://www.googleapis.com/auth/cloud-platform", |
| 1144 "https://www.googleapis.com/auth/sqlservice.admin" |
| 1145 ] |
1112 } | 1146 } |
1113 } | 1147 } |
1114 }, | 1148 }, |
1115 "tiers": { | 1149 "tiers": { |
1116 "methods": { | 1150 "methods": { |
1117 "list": { | 1151 "list": { |
1118 "description": "Lists all available service tiers for Google
Cloud SQL, for example D1, D2. For related information, see Pricing.", | 1152 "description": "Lists all available service tiers for Google
Cloud SQL, for example D1, D2. For related information, see Pricing.", |
1119 "httpMethod": "GET", | 1153 "httpMethod": "GET", |
1120 "id": "sql.tiers.list", | 1154 "id": "sql.tiers.list", |
1121 "parameterOrder": [ | 1155 "parameterOrder": [ |
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1296 "$ref": "Operation" | 1330 "$ref": "Operation" |
1297 }, | 1331 }, |
1298 "scopes": [ | 1332 "scopes": [ |
1299 "https://www.googleapis.com/auth/cloud-platform", | 1333 "https://www.googleapis.com/auth/cloud-platform", |
1300 "https://www.googleapis.com/auth/sqlservice.admin" | 1334 "https://www.googleapis.com/auth/sqlservice.admin" |
1301 ] | 1335 ] |
1302 } | 1336 } |
1303 } | 1337 } |
1304 } | 1338 } |
1305 }, | 1339 }, |
1306 "revision": "20150305", | 1340 "revision": "20150806", |
1307 "rootUrl": "https://www.googleapis.com/", | 1341 "rootUrl": "https://www.googleapis.com/", |
1308 "schemas": { | 1342 "schemas": { |
1309 "AclEntry": { | 1343 "AclEntry": { |
1310 "description": "An entry for an Access Control list.", | 1344 "description": "An entry for an Access Control list.", |
1311 "id": "AclEntry", | 1345 "id": "AclEntry", |
1312 "properties": { | 1346 "properties": { |
1313 "expirationTime": { | 1347 "expirationTime": { |
1314 "description": "The time when this access control entry expi
res in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.", | 1348 "description": "The time when this access control entry expi
res in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.", |
1315 "format": "date-time", | 1349 "format": "date-time", |
1316 "type": "string" | 1350 "type": "string" |
(...skipping 1057 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2374 "type": "array" | 2408 "type": "array" |
2375 }, | 2409 }, |
2376 "kind": { | 2410 "kind": { |
2377 "default": "sql#sslCertsList", | 2411 "default": "sql#sslCertsList", |
2378 "description": "This is always sql#sslCertsList.", | 2412 "description": "This is always sql#sslCertsList.", |
2379 "type": "string" | 2413 "type": "string" |
2380 } | 2414 } |
2381 }, | 2415 }, |
2382 "type": "object" | 2416 "type": "object" |
2383 }, | 2417 }, |
| 2418 "SslCertsSignRequest": { |
| 2419 "description": "SslCerts sign request.", |
| 2420 "id": "SslCertsSignRequest", |
| 2421 "properties": { |
| 2422 "public_key": { |
| 2423 "description": "PEM encoded public key to include in the sig
ned certificate.", |
| 2424 "type": "string" |
| 2425 } |
| 2426 }, |
| 2427 "type": "object" |
| 2428 }, |
2384 "Tier": { | 2429 "Tier": { |
2385 "description": "A Google Cloud SQL service tier resource.", | 2430 "description": "A Google Cloud SQL service tier resource.", |
2386 "id": "Tier", | 2431 "id": "Tier", |
2387 "properties": { | 2432 "properties": { |
2388 "DiskQuota": { | 2433 "DiskQuota": { |
2389 "description": "The maximum disk size of this tier in bytes.
", | 2434 "description": "The maximum disk size of this tier in bytes.
", |
2390 "format": "int64", | 2435 "format": "int64", |
2391 "type": "string" | 2436 "type": "string" |
2392 }, | 2437 }, |
2393 "RAM": { | 2438 "RAM": { |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2490 "type": "string" | 2535 "type": "string" |
2491 } | 2536 } |
2492 }, | 2537 }, |
2493 "type": "object" | 2538 "type": "object" |
2494 } | 2539 } |
2495 }, | 2540 }, |
2496 "servicePath": "sql/v1beta4/", | 2541 "servicePath": "sql/v1beta4/", |
2497 "title": "Cloud SQL Administration API", | 2542 "title": "Cloud SQL Administration API", |
2498 "version": "v1beta4" | 2543 "version": "v1beta4" |
2499 } | 2544 } |
OLD | NEW |