on develop help sign in
Updating sqladmin service definition
commitab76c7ccd5f750e4eaafe21017be0defebdebafd authorBrendan Hay <brendan.g.hay@gmail.com> dateSat 11 Feb 2017, 11:26 (10 years ago) parent2d24b1f
2 files changed+75−10
gen/model/sqladmin/v1beta3/sqladmin-api.json+5−5 gen/model/sqladmin/v1beta4/sqladmin-api.json+70−5
gen/model/sqladmin/v1beta3/sqladmin-api.json+5−5
@@ -1,19 +1,19 @@
11{
22 "kind": "discovery#restDescription",
3− "etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/rs_DQWHim90IDXEvdyPL84OX8xI\"",
3+ "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/hio_YKqxpICjgrIvvAJqH_YueMs\"",
44 "discoveryVersion": "v1",
55 "id": "sqladmin:v1beta3",
66 "name": "sqladmin",
77 "canonicalName": "SQL Admin",
88 "version": "v1beta3",
9− "revision": "20161005",
9+ "revision": "20161110",
1010 "title": "Cloud SQL Administration API",
1111 "description": "Creates and configures Cloud SQL instances, which provide fully-managed MySQL databases.",
1212 "ownerDomain": "google.com",
1313 "ownerName": "Google",
1414 "icons": {
15− "x16": "http://www.google.com/images/icons/product/search-16.gif",
16− "x32": "http://www.google.com/images/icons/product/search-32.gif"
15+ "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
16+ "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
1717 },
1818 "documentationLink": "https://cloud.google.com/sql/docs/reference/latest",
1919 "protocol": "rest",
@@ -1100,7 +1100,7 @@
11001100 },
11011101 "region": {
11021102 "type": "array",
1103− "description": "The applicable regions for this tier. Can be us-east1, europe-west1, or asia-east1.",
1103+ "description": "The applicable regions for this tier.",
11041104 "items": {
11051105 "type": "string"
11061106 }
gen/model/sqladmin/v1beta4/sqladmin-api.json+70−5
@@ -1,19 +1,19 @@
11{
22 "kind": "discovery#restDescription",
3− "etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/3N67oP6YvKEGZVsm61m3h9547Qo\"",
3+ "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/t9edOSlewaa7VyZ4dauqNzzg4MU\"",
44 "discoveryVersion": "v1",
55 "id": "sqladmin:v1beta4",
66 "name": "sqladmin",
77 "canonicalName": "SQL Admin",
88 "version": "v1beta4",
9− "revision": "20161005",
9+ "revision": "20161220",
1010 "title": "Cloud SQL Administration API",
1111 "description": "Creates and configures Cloud SQL instances, which provide fully-managed MySQL databases.",
1212 "ownerDomain": "google.com",
1313 "ownerName": "Google",
1414 "icons": {
15− "x16": "http://www.google.com/images/icons/product/search-16.gif",
16− "x32": "http://www.google.com/images/icons/product/search-32.gif"
15+ "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
16+ "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
1717 },
1818 "documentationLink": "https://cloud.google.com/sql/docs/reference/latest",
1919 "protocol": "rest",
@@ -736,6 +736,17 @@
736736 }
737737 }
738738 },
739+ "InstancesTruncateLogRequest": {
740+ "id": "InstancesTruncateLogRequest",
741+ "type": "object",
742+ "description": "Instance truncate log request.",
743+ "properties": {
744+ "truncateLogContext": {
745+ "$ref": "TruncateLogContext",
746+ "description": "Contains details about the truncate log operation."
747+ }
748+ }
749+ },
739750 "IpConfiguration": {
740751 "id": "IpConfiguration",
741752 "type": "object",
@@ -771,6 +782,10 @@
771782 "type": "string",
772783 "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.",
773784 "format": "date-time"
785+ },
786+ "type": {
787+ "type": "string",
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."
774789 }
775790 }
776791 },
@@ -1311,7 +1326,7 @@
13111326 },
13121327 "region": {
13131328 "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.",
13151330 "items": {
13161331 "type": "string"
13171332 }
@@ -1341,6 +1356,22 @@
13411356 }
13421357 }
13431358 },
1359+ "TruncateLogContext": {
1360+ "id": "TruncateLogContext",
1361+ "type": "object",
1362+ "description": "Database Instance truncate log context.",
1363+ "properties": {
1364+ "kind": {
1365+ "type": "string",
1366+ "description": "This is always sql#truncateLogContext.",
1367+ "default": "sql#truncateLogContext"
1368+ },
1369+ "logType": {
1370+ "type": "string",
1371+ "description": "The type of log to truncate. Valid values are MYSQL_GENERAL_TABLE and MYSQL_SLOW_TABLE."
1372+ }
1373+ }
1374+ },
13441375 "User": {
13451376 "id": "User",
13461377 "type": "object",
@@ -2287,6 +2318,40 @@
22872318 "https://www.googleapis.com/auth/sqlservice.admin"
22882319 ]
22892320 },
2321+ "truncateLog": {
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",
2326+ "parameters": {
2327+ "instance": {
2328+ "type": "string",
2329+ "description": "Cloud SQL instance ID. This does not include the project ID.",
2330+ "required": true,
2331+ "location": "path"
2332+ },
2333+ "project": {
2334+ "type": "string",
2335+ "description": "Project ID of the Cloud SQL project.",
2336+ "required": true,
2337+ "location": "path"
2338+ }
2339+ },
2340+ "parameterOrder": [
2341+ "project",
2342+ "instance"
2343+ ],
2344+ "request": {
2345+ "$ref": "InstancesTruncateLogRequest"
2346+ },
2347+ "response": {
2348+ "$ref": "Operation"
2349+ },
2350+ "scopes": [
2351+ "https://www.googleapis.com/auth/cloud-platform",
2352+ "https://www.googleapis.com/auth/sqlservice.admin"
2353+ ]
2354+ },
22902355 "update": {
22912356 "id": "sql.instances.update",
22922357 "path": "projects/{project}/instances/{instance}",