Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(575)

Unified Diff: discovery/googleapis_beta/sqladmin__v1beta4.json

Issue 2649893002: Api-roll 44: 2017-01-23 (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: discovery/googleapis_beta/sqladmin__v1beta4.json
diff --git a/discovery/googleapis_beta/sqladmin__v1beta4.json b/discovery/googleapis_beta/sqladmin__v1beta4.json
index 232db9ced22895e094b5b91f5835df1c59b40281..bde2246bfccf1383523bcc36c6769e5d3392a3a3 100644
--- a/discovery/googleapis_beta/sqladmin__v1beta4.json
+++ b/discovery/googleapis_beta/sqladmin__v1beta4.json
@@ -18,7 +18,7 @@
"description": "Creates and configures Cloud SQL instances, which provide fully-managed MySQL databases.",
"discoveryVersion": "v1",
"documentationLink": "https://cloud.google.com/sql/docs/reference/latest",
- "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/_SgIKPOObAEfzfmWstkaHktsaJo\"",
+ "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/t9edOSlewaa7VyZ4dauqNzzg4MU\"",
"icons": {
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
@@ -960,6 +960,40 @@
"https://www.googleapis.com/auth/sqlservice.admin"
]
},
+ "truncateLog": {
+ "description": "Truncate MySQL general and slow query log tables",
+ "httpMethod": "POST",
+ "id": "sql.instances.truncateLog",
+ "parameterOrder": [
+ "project",
+ "instance"
+ ],
+ "parameters": {
+ "instance": {
+ "description": "Cloud SQL instance ID. This does not include the project ID.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "project": {
+ "description": "Project ID of the Cloud SQL project.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "projects/{project}/instances/{instance}/truncateLog",
+ "request": {
+ "$ref": "InstancesTruncateLogRequest"
+ },
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/sqlservice.admin"
+ ]
+ },
"update": {
"description": "Updates settings of a Cloud SQL instance. Caution: This is not a partial update, so you must include values for all the settings that you want to retain. For partial updates, use patch.",
"etagRequired": true,
@@ -1444,7 +1478,7 @@
}
}
},
- "revision": "20161209",
+ "revision": "20161220",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"AclEntry": {
@@ -2103,6 +2137,17 @@
},
"type": "object"
},
+ "InstancesTruncateLogRequest": {
+ "description": "Instance truncate log request.",
+ "id": "InstancesTruncateLogRequest",
+ "properties": {
+ "truncateLogContext": {
+ "$ref": "TruncateLogContext",
+ "description": "Contains details about the truncate log operation."
+ }
+ },
+ "type": "object"
+ },
"IpConfiguration": {
"description": "IP Management configuration.",
"id": "IpConfiguration",
@@ -2712,6 +2757,22 @@
},
"type": "object"
},
+ "TruncateLogContext": {
+ "description": "Database Instance truncate log context.",
+ "id": "TruncateLogContext",
+ "properties": {
+ "kind": {
+ "default": "sql#truncateLogContext",
+ "description": "This is always sql#truncateLogContext.",
+ "type": "string"
+ },
+ "logType": {
+ "description": "The type of log to truncate. Valid values are MYSQL_GENERAL_TABLE and MYSQL_SLOW_TABLE.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"User": {
"description": "A Cloud SQL user resource.",
"id": "User",
« no previous file with comments | « discovery/googleapis_beta/sqladmin__v1beta3.json ('k') | discovery/googleapis_beta/toolresults__v1beta3.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698