| 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": "\"tbys6C40o18GZwyMen5GMkdK-3s/_SgIKPOObAEfzfmWstkaHktsaJo\"", | 21 "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/t9edOSlewaa7VyZ4dauqNzzg4MU\"", |
| 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 921 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 953 }, | 953 }, |
| 954 "path": "projects/{project}/instances/{instance}/stopReplica
", | 954 "path": "projects/{project}/instances/{instance}/stopReplica
", |
| 955 "response": { | 955 "response": { |
| 956 "$ref": "Operation" | 956 "$ref": "Operation" |
| 957 }, | 957 }, |
| 958 "scopes": [ | 958 "scopes": [ |
| 959 "https://www.googleapis.com/auth/cloud-platform", | 959 "https://www.googleapis.com/auth/cloud-platform", |
| 960 "https://www.googleapis.com/auth/sqlservice.admin" | 960 "https://www.googleapis.com/auth/sqlservice.admin" |
| 961 ] | 961 ] |
| 962 }, | 962 }, |
| 963 "truncateLog": { |
| 964 "description": "Truncate MySQL general and slow query log ta
bles", |
| 965 "httpMethod": "POST", |
| 966 "id": "sql.instances.truncateLog", |
| 967 "parameterOrder": [ |
| 968 "project", |
| 969 "instance" |
| 970 ], |
| 971 "parameters": { |
| 972 "instance": { |
| 973 "description": "Cloud SQL instance ID. This does not
include the project ID.", |
| 974 "location": "path", |
| 975 "required": true, |
| 976 "type": "string" |
| 977 }, |
| 978 "project": { |
| 979 "description": "Project ID of the Cloud SQL project.
", |
| 980 "location": "path", |
| 981 "required": true, |
| 982 "type": "string" |
| 983 } |
| 984 }, |
| 985 "path": "projects/{project}/instances/{instance}/truncateLog
", |
| 986 "request": { |
| 987 "$ref": "InstancesTruncateLogRequest" |
| 988 }, |
| 989 "response": { |
| 990 "$ref": "Operation" |
| 991 }, |
| 992 "scopes": [ |
| 993 "https://www.googleapis.com/auth/cloud-platform", |
| 994 "https://www.googleapis.com/auth/sqlservice.admin" |
| 995 ] |
| 996 }, |
| 963 "update": { | 997 "update": { |
| 964 "description": "Updates settings of a Cloud SQL instance. Ca
ution: This is not a partial update, so you must include values for all the sett
ings that you want to retain. For partial updates, use patch.", | 998 "description": "Updates settings of a Cloud SQL instance. Ca
ution: This is not a partial update, so you must include values for all the sett
ings that you want to retain. For partial updates, use patch.", |
| 965 "etagRequired": true, | 999 "etagRequired": true, |
| 966 "httpMethod": "PUT", | 1000 "httpMethod": "PUT", |
| 967 "id": "sql.instances.update", | 1001 "id": "sql.instances.update", |
| 968 "parameterOrder": [ | 1002 "parameterOrder": [ |
| 969 "project", | 1003 "project", |
| 970 "instance" | 1004 "instance" |
| 971 ], | 1005 ], |
| 972 "parameters": { | 1006 "parameters": { |
| (...skipping 464 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1437 "$ref": "Operation" | 1471 "$ref": "Operation" |
| 1438 }, | 1472 }, |
| 1439 "scopes": [ | 1473 "scopes": [ |
| 1440 "https://www.googleapis.com/auth/cloud-platform", | 1474 "https://www.googleapis.com/auth/cloud-platform", |
| 1441 "https://www.googleapis.com/auth/sqlservice.admin" | 1475 "https://www.googleapis.com/auth/sqlservice.admin" |
| 1442 ] | 1476 ] |
| 1443 } | 1477 } |
| 1444 } | 1478 } |
| 1445 } | 1479 } |
| 1446 }, | 1480 }, |
| 1447 "revision": "20161209", | 1481 "revision": "20161220", |
| 1448 "rootUrl": "https://www.googleapis.com/", | 1482 "rootUrl": "https://www.googleapis.com/", |
| 1449 "schemas": { | 1483 "schemas": { |
| 1450 "AclEntry": { | 1484 "AclEntry": { |
| 1451 "description": "An entry for an Access Control list.", | 1485 "description": "An entry for an Access Control list.", |
| 1452 "id": "AclEntry", | 1486 "id": "AclEntry", |
| 1453 "properties": { | 1487 "properties": { |
| 1454 "expirationTime": { | 1488 "expirationTime": { |
| 1455 "description": "The time when this access control entry expi
res in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.", | 1489 "description": "The time when this access control entry expi
res in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.", |
| 1456 "format": "date-time", | 1490 "format": "date-time", |
| 1457 "type": "string" | 1491 "type": "string" |
| (...skipping 638 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2096 "description": "Database instance restore backup request.", | 2130 "description": "Database instance restore backup request.", |
| 2097 "id": "InstancesRestoreBackupRequest", | 2131 "id": "InstancesRestoreBackupRequest", |
| 2098 "properties": { | 2132 "properties": { |
| 2099 "restoreBackupContext": { | 2133 "restoreBackupContext": { |
| 2100 "$ref": "RestoreBackupContext", | 2134 "$ref": "RestoreBackupContext", |
| 2101 "description": "Parameters required to perform the restore b
ackup operation." | 2135 "description": "Parameters required to perform the restore b
ackup operation." |
| 2102 } | 2136 } |
| 2103 }, | 2137 }, |
| 2104 "type": "object" | 2138 "type": "object" |
| 2105 }, | 2139 }, |
| 2140 "InstancesTruncateLogRequest": { |
| 2141 "description": "Instance truncate log request.", |
| 2142 "id": "InstancesTruncateLogRequest", |
| 2143 "properties": { |
| 2144 "truncateLogContext": { |
| 2145 "$ref": "TruncateLogContext", |
| 2146 "description": "Contains details about the truncate log oper
ation." |
| 2147 } |
| 2148 }, |
| 2149 "type": "object" |
| 2150 }, |
| 2106 "IpConfiguration": { | 2151 "IpConfiguration": { |
| 2107 "description": "IP Management configuration.", | 2152 "description": "IP Management configuration.", |
| 2108 "id": "IpConfiguration", | 2153 "id": "IpConfiguration", |
| 2109 "properties": { | 2154 "properties": { |
| 2110 "authorizedNetworks": { | 2155 "authorizedNetworks": { |
| 2111 "description": "The list of external networks that are allow
ed to connect to the instance using the IP. In CIDR notation, also known as 'sla
sh' notation (e.g. 192.168.100.0/24).", | 2156 "description": "The list of external networks that are allow
ed to connect to the instance using the IP. In CIDR notation, also known as 'sla
sh' notation (e.g. 192.168.100.0/24).", |
| 2112 "items": { | 2157 "items": { |
| 2113 "$ref": "AclEntry" | 2158 "$ref": "AclEntry" |
| 2114 }, | 2159 }, |
| 2115 "type": "array" | 2160 "type": "array" |
| (...skipping 589 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2705 "type": "array" | 2750 "type": "array" |
| 2706 }, | 2751 }, |
| 2707 "kind": { | 2752 "kind": { |
| 2708 "default": "sql#tiersList", | 2753 "default": "sql#tiersList", |
| 2709 "description": "This is always sql#tiersList.", | 2754 "description": "This is always sql#tiersList.", |
| 2710 "type": "string" | 2755 "type": "string" |
| 2711 } | 2756 } |
| 2712 }, | 2757 }, |
| 2713 "type": "object" | 2758 "type": "object" |
| 2714 }, | 2759 }, |
| 2760 "TruncateLogContext": { |
| 2761 "description": "Database Instance truncate log context.", |
| 2762 "id": "TruncateLogContext", |
| 2763 "properties": { |
| 2764 "kind": { |
| 2765 "default": "sql#truncateLogContext", |
| 2766 "description": "This is always sql#truncateLogContext.", |
| 2767 "type": "string" |
| 2768 }, |
| 2769 "logType": { |
| 2770 "description": "The type of log to truncate. Valid values ar
e MYSQL_GENERAL_TABLE and MYSQL_SLOW_TABLE.", |
| 2771 "type": "string" |
| 2772 } |
| 2773 }, |
| 2774 "type": "object" |
| 2775 }, |
| 2715 "User": { | 2776 "User": { |
| 2716 "description": "A Cloud SQL user resource.", | 2777 "description": "A Cloud SQL user resource.", |
| 2717 "id": "User", | 2778 "id": "User", |
| 2718 "properties": { | 2779 "properties": { |
| 2719 "etag": { | 2780 "etag": { |
| 2720 "description": "HTTP 1.1 Entity tag for the resource.", | 2781 "description": "HTTP 1.1 Entity tag for the resource.", |
| 2721 "type": "string" | 2782 "type": "string" |
| 2722 }, | 2783 }, |
| 2723 "host": { | 2784 "host": { |
| 2724 "description": "The host name from which the user can connec
t. For insert operations, host defaults to an empty string. For update operation
s, host is specified as part of the request URL. The host name cannot be updated
after insertion.", | 2785 "description": "The host name from which the user can connec
t. For insert operations, host defaults to an empty string. For update operation
s, host is specified as part of the request URL. The host name cannot be updated
after insertion.", |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2769 "type": "string" | 2830 "type": "string" |
| 2770 } | 2831 } |
| 2771 }, | 2832 }, |
| 2772 "type": "object" | 2833 "type": "object" |
| 2773 } | 2834 } |
| 2774 }, | 2835 }, |
| 2775 "servicePath": "sql/v1beta4/", | 2836 "servicePath": "sql/v1beta4/", |
| 2776 "title": "Cloud SQL Administration API", | 2837 "title": "Cloud SQL Administration API", |
| 2777 "version": "v1beta4" | 2838 "version": "v1beta4" |
| 2778 } | 2839 } |
| OLD | NEW |