@@ -1,19 +1,19 @@
2 "kind": "discovery#restDescription",
2 "kind": "discovery#restDescription",
3− "etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/3N67oP6YvKEGZVsm61m3h9547Qo\"",
3+ "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/t9edOSlewaa7VyZ4dauqNzzg4MU\"",
4 "discoveryVersion": "v1",
4 "discoveryVersion": "v1",
5 "id": "sqladmin:v1beta4",
5 "id": "sqladmin:v1beta4",
6 "name": "sqladmin",
6 "name": "sqladmin",
7 "canonicalName": "SQL Admin",
7 "canonicalName": "SQL Admin",
8 "version": "v1beta4",
8 "version": "v1beta4",
9− "revision": "20161005",
9+ "revision": "20161220",
10 "title": "Cloud SQL Administration API",
10 "title": "Cloud SQL Administration API",
11 "description": "Creates and configures Cloud SQL instances, which provide fully-managed MySQL databases.",
11 "description": "Creates and configures Cloud SQL instances, which provide fully-managed MySQL databases.",
12 "ownerDomain": "google.com",
12 "ownerDomain": "google.com",
13 "ownerName": "Google",
13 "ownerName": "Google",
14 "icons": {
14 "icons": {
15− "x16": "http://www.google.com/images/icons/product/search-16.gif",
15+ "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
16− "x32": "http://www.google.com/images/icons/product/search-32.gif"
16+ "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
18 "documentationLink": "https://cloud.google.com/sql/docs/reference/latest",
18 "documentationLink": "https://cloud.google.com/sql/docs/reference/latest",
19 "protocol": "rest",
19 "protocol": "rest",
@@ -736,6 +736,17 @@
739+ "InstancesTruncateLogRequest": {
740+ "id": "InstancesTruncateLogRequest",
742+ "description": "Instance truncate log request.",
744+ "truncateLogContext": {
745+ "$ref": "TruncateLogContext",
746+ "description": "Contains details about the truncate log operation."
739 "IpConfiguration": {
750 "IpConfiguration": {
740 "id": "IpConfiguration",
751 "id": "IpConfiguration",
741 "type": "object",
752 "type": "object",
@@ -771,6 +782,10 @@
771 "type": "string",
782 "type": "string",
772 "description": "The due time for this IP to be retired in RFC 3339 format, for example 2012-11-15T16:19:00.094Z. This field is only available when the IP is scheduled to be retired.",
783 "description": "The due time for this IP to be retired in RFC 3339 format, for example 2012-11-15T16:19:00.094Z. This field is only available when the IP is scheduled to be retired.",
773 "format": "date-time"
784 "format": "date-time"
788+ "description": "The type of this IP address. A PRIMARY address is an address that can accept incoming connections. An OUTGOING address is the source address of connections originating from the instance, if supported."
@@ -1311,7 +1326,7 @@
1312 "region": {
1327 "region": {
1313 "type": "array",
1328 "type": "array",
1314− "description": "The applicable regions for this tier. Can be us-east1, europe-west1 or asia-east1.",
1329+ "description": "The applicable regions for this tier.",
1315 "items": {
1330 "items": {
1316 "type": "string"
1331 "type": "string"
@@ -1341,6 +1356,22 @@
1359+ "TruncateLogContext": {
1360+ "id": "TruncateLogContext",
1362+ "description": "Database Instance truncate log context.",
1366+ "description": "This is always sql#truncateLogContext.",
1367+ "default": "sql#truncateLogContext"
1371+ "description": "The type of log to truncate. Valid values are MYSQL_GENERAL_TABLE and MYSQL_SLOW_TABLE."
1344 "User": {
1375 "User": {
1345 "id": "User",
1376 "id": "User",
1346 "type": "object",
1377 "type": "object",
@@ -2287,6 +2318,40 @@
2287 "https://www.googleapis.com/auth/sqlservice.admin"
2318 "https://www.googleapis.com/auth/sqlservice.admin"
2322+ "id": "sql.instances.truncateLog",
2323+ "path": "projects/{project}/instances/{instance}/truncateLog",
2324+ "httpMethod": "POST",
2325+ "description": "Truncate MySQL general and slow query log tables",
2329+ "description": "Cloud SQL instance ID. This does not include the project ID.",
2335+ "description": "Project ID of the Cloud SQL project.",
2340+ "parameterOrder": [
2345+ "$ref": "InstancesTruncateLogRequest"
2348+ "$ref": "Operation"
2351+ "https://www.googleapis.com/auth/cloud-platform",
2352+ "https://www.googleapis.com/auth/sqlservice.admin"
2290 "update": {
2355 "update": {
2291 "id": "sql.instances.update",
2356 "id": "sql.instances.update",
2292 "path": "projects/{project}/instances/{instance}",
2357 "path": "projects/{project}/instances/{instance}",