| 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/o_-sS2PEVGnMkQqyJ497hboiLWw\"", | 21 "etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/Bw6HlPfCUqTIhF647hFuWCHD0c8\"", |
| 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 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 }, | 148 }, |
| 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": { |
| 159 "description": "Creates a new backup run on demand.", |
| 160 "httpMethod": "POST", |
| 161 "id": "sql.backupRuns.insert", |
| 162 "parameterOrder": [ |
| 163 "project", |
| 164 "instance" |
| 165 ], |
| 166 "parameters": { |
| 167 "instance": { |
| 168 "description": "Cloud SQL instance ID. This does not
include the project ID.", |
| 169 "location": "path", |
| 170 "required": true, |
| 171 "type": "string" |
| 172 }, |
| 173 "project": { |
| 174 "description": "Project ID of the project that conta
ins the instance.", |
| 175 "location": "path", |
| 176 "required": true, |
| 177 "type": "string" |
| 178 } |
| 179 }, |
| 180 "path": "projects/{project}/instances/{instance}/backupRuns"
, |
| 181 "request": { |
| 182 "$ref": "BackupRun" |
| 183 }, |
| 184 "response": { |
| 185 "$ref": "Operation" |
| 186 } |
| 187 }, |
| 158 "list": { | 188 "list": { |
| 159 "description": "Lists all backup runs associated with a give
n instance and configuration in the reverse chronological order of the enqueued
time.", | 189 "description": "Lists all backup runs associated with a give
n instance and configuration in the reverse chronological order of the enqueued
time.", |
| 160 "httpMethod": "GET", | 190 "httpMethod": "GET", |
| 161 "id": "sql.backupRuns.list", | 191 "id": "sql.backupRuns.list", |
| 162 "parameterOrder": [ | 192 "parameterOrder": [ |
| 163 "project", | 193 "project", |
| 164 "instance" | 194 "instance" |
| 165 ], | 195 ], |
| 166 "parameters": { | 196 "parameters": { |
| 167 "instance": { | 197 "instance": { |
| (...skipping 1235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1403 "$ref": "Operation" | 1433 "$ref": "Operation" |
| 1404 }, | 1434 }, |
| 1405 "scopes": [ | 1435 "scopes": [ |
| 1406 "https://www.googleapis.com/auth/cloud-platform", | 1436 "https://www.googleapis.com/auth/cloud-platform", |
| 1407 "https://www.googleapis.com/auth/sqlservice.admin" | 1437 "https://www.googleapis.com/auth/sqlservice.admin" |
| 1408 ] | 1438 ] |
| 1409 } | 1439 } |
| 1410 } | 1440 } |
| 1411 } | 1441 } |
| 1412 }, | 1442 }, |
| 1413 "revision": "20160509", | 1443 "revision": "20160712", |
| 1414 "rootUrl": "https://www.googleapis.com/", | 1444 "rootUrl": "https://www.googleapis.com/", |
| 1415 "schemas": { | 1445 "schemas": { |
| 1416 "AclEntry": { | 1446 "AclEntry": { |
| 1417 "description": "An entry for an Access Control list.", | 1447 "description": "An entry for an Access Control list.", |
| 1418 "id": "AclEntry", | 1448 "id": "AclEntry", |
| 1419 "properties": { | 1449 "properties": { |
| 1420 "expirationTime": { | 1450 "expirationTime": { |
| 1421 "description": "The time when this access control entry expi
res in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.", | 1451 "description": "The time when this access control entry expi
res in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.", |
| 1422 "format": "date-time", | 1452 "format": "date-time", |
| 1423 "type": "string" | 1453 "type": "string" |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1459 "description": "Start time for the daily backup configuratio
n in UTC timezone in the 24 hour format - HH:MM.", | 1489 "description": "Start time for the daily backup configuratio
n in UTC timezone in the 24 hour format - HH:MM.", |
| 1460 "type": "string" | 1490 "type": "string" |
| 1461 } | 1491 } |
| 1462 }, | 1492 }, |
| 1463 "type": "object" | 1493 "type": "object" |
| 1464 }, | 1494 }, |
| 1465 "BackupRun": { | 1495 "BackupRun": { |
| 1466 "description": "A database instance backup run resource.", | 1496 "description": "A database instance backup run resource.", |
| 1467 "id": "BackupRun", | 1497 "id": "BackupRun", |
| 1468 "properties": { | 1498 "properties": { |
| 1499 "description": { |
| 1500 "description": "The description of this run, only applicable
to on-demand backups.", |
| 1501 "type": "string" |
| 1502 }, |
| 1469 "endTime": { | 1503 "endTime": { |
| 1470 "description": "The time the backup operation completed in U
TC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.", | 1504 "description": "The time the backup operation completed in U
TC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.", |
| 1471 "format": "date-time", | 1505 "format": "date-time", |
| 1472 "type": "string" | 1506 "type": "string" |
| 1473 }, | 1507 }, |
| 1474 "enqueuedTime": { | 1508 "enqueuedTime": { |
| 1475 "description": "The time the run was enqueued in UTC timezon
e in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.", | 1509 "description": "The time the run was enqueued in UTC timezon
e in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.", |
| 1476 "format": "date-time", | 1510 "format": "date-time", |
| 1477 "type": "string" | 1511 "type": "string" |
| 1478 }, | 1512 }, |
| (...skipping 21 matching lines...) Expand all Loading... |
| 1500 }, | 1534 }, |
| 1501 "startTime": { | 1535 "startTime": { |
| 1502 "description": "The time the backup operation actually start
ed in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.", | 1536 "description": "The time the backup operation actually start
ed in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.", |
| 1503 "format": "date-time", | 1537 "format": "date-time", |
| 1504 "type": "string" | 1538 "type": "string" |
| 1505 }, | 1539 }, |
| 1506 "status": { | 1540 "status": { |
| 1507 "description": "The status of this run.", | 1541 "description": "The status of this run.", |
| 1508 "type": "string" | 1542 "type": "string" |
| 1509 }, | 1543 }, |
| 1544 "type": { |
| 1545 "description": "The type of this run; can be either \"AUTOMA
TED\" or \"ON_DEMAND\".", |
| 1546 "type": "string" |
| 1547 }, |
| 1510 "windowStartTime": { | 1548 "windowStartTime": { |
| 1511 "description": "The start time of the backup window during w
hich this the backup was attempted in RFC 3339 format, for example 2012-11-15T16
:19:00.094Z.", | 1549 "description": "The start time of the backup window during w
hich this the backup was attempted in RFC 3339 format, for example 2012-11-15T16
:19:00.094Z.", |
| 1512 "format": "date-time", | 1550 "format": "date-time", |
| 1513 "type": "string" | 1551 "type": "string" |
| 1514 } | 1552 } |
| 1515 }, | 1553 }, |
| 1516 "type": "object" | 1554 "type": "object" |
| 1517 }, | 1555 }, |
| 1518 "BackupRunsListResponse": { | 1556 "BackupRunsListResponse": { |
| 1519 "description": "Backup run list results.", | 1557 "description": "Backup run list results.", |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1671 "type": "string" | 1709 "type": "string" |
| 1672 }, | 1710 }, |
| 1673 "failoverReplica": { | 1711 "failoverReplica": { |
| 1674 "description": "The name and status of the failover replica.
This property is applicable only to Second Generation instances.", | 1712 "description": "The name and status of the failover replica.
This property is applicable only to Second Generation instances.", |
| 1675 "properties": { | 1713 "properties": { |
| 1676 "available": { | 1714 "available": { |
| 1677 "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.", | 1715 "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.", |
| 1678 "type": "boolean" | 1716 "type": "boolean" |
| 1679 }, | 1717 }, |
| 1680 "name": { | 1718 "name": { |
| 1681 "description": "The name of the failover replica.", | 1719 "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.", |
| 1682 "type": "string" | 1720 "type": "string" |
| 1683 } | 1721 } |
| 1684 }, | 1722 }, |
| 1685 "type": "object" | 1723 "type": "object" |
| 1686 }, | 1724 }, |
| 1687 "instanceType": { | 1725 "instanceType": { |
| 1688 "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.", | 1726 "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.", |
| 1689 "type": "string" | 1727 "type": "string" |
| 1690 }, | 1728 }, |
| 1691 "ipAddresses": { | 1729 "ipAddresses": { |
| (...skipping 695 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2387 "type": "string" | 2425 "type": "string" |
| 2388 } | 2426 } |
| 2389 }, | 2427 }, |
| 2390 "type": "object" | 2428 "type": "object" |
| 2391 }, | 2429 }, |
| 2392 "Settings": { | 2430 "Settings": { |
| 2393 "description": "Database instance settings.", | 2431 "description": "Database instance settings.", |
| 2394 "id": "Settings", | 2432 "id": "Settings", |
| 2395 "properties": { | 2433 "properties": { |
| 2396 "activationPolicy": { | 2434 "activationPolicy": { |
| 2397 "description": "The activation policy for this instance. Thi
s specifies when the instance should be activated and is applicable only when th
e instance state is RUNNABLE. This can be one of the following.\nALWAYS: The ins
tance should always be active.\nNEVER: The instance should never be activated.\n
ON_DEMAND: The instance is activated upon receiving requests; only applicable to
First Generation instances.", | 2435 "description": "The activation policy specifies when the ins
tance is activated; it is applicable only when the instance state is RUNNABLE. T
he activation policy cannot be updated together with other settings for Second G
eneration instances. Valid values:\nALWAYS: The instance is on; it is not deacti
vated by inactivity.\nNEVER: The instance is off; it is not activated, even if a
connection request arrives.\nON_DEMAND: The instance responds to incoming reque
sts, and turns itself off when not in use. Instances with PER_USE pricing turn o
ff after 15 minutes of inactivity. Instances with PER_PACKAGE pricing turn off a
fter 12 hours of inactivity.", |
| 2398 "type": "string" | 2436 "type": "string" |
| 2399 }, | 2437 }, |
| 2400 "authorizedGaeApplications": { | 2438 "authorizedGaeApplications": { |
| 2401 "description": "The App Engine app IDs that can access this
instance. This property is only applicable to First Generation instances.", | 2439 "description": "The App Engine app IDs that can access this
instance. This property is only applicable to First Generation instances.", |
| 2402 "items": { | 2440 "items": { |
| 2403 "type": "string" | 2441 "type": "string" |
| 2404 }, | 2442 }, |
| 2405 "type": "array" | 2443 "type": "array" |
| 2406 }, | 2444 }, |
| 2407 "backupConfiguration": { | 2445 "backupConfiguration": { |
| (...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2719 "type": "string" | 2757 "type": "string" |
| 2720 } | 2758 } |
| 2721 }, | 2759 }, |
| 2722 "type": "object" | 2760 "type": "object" |
| 2723 } | 2761 } |
| 2724 }, | 2762 }, |
| 2725 "servicePath": "sql/v1beta4/", | 2763 "servicePath": "sql/v1beta4/", |
| 2726 "title": "Cloud SQL Administration API", | 2764 "title": "Cloud SQL Administration API", |
| 2727 "version": "v1beta4" | 2765 "version": "v1beta4" |
| 2728 } | 2766 } |
| OLD | NEW |