Index: discovery/googleapis_beta/sqladmin__v1beta4.json |
diff --git a/discovery/googleapis_beta/sqladmin__v1beta4.json b/discovery/googleapis_beta/sqladmin__v1beta4.json |
index 44be35e1e17cab40067a2333258dc2d00aa3bfa0..448be02038882ab8b76166949addf2cd48df2690 100644 |
--- a/discovery/googleapis_beta/sqladmin__v1beta4.json |
+++ b/discovery/googleapis_beta/sqladmin__v1beta4.json |
@@ -18,7 +18,7 @@ |
"description": "API for Cloud SQL database instance management.", |
"discoveryVersion": "v1", |
"documentationLink": "https://developers.google.com/cloud-sql/docs/admin-api/", |
- "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/qCpGAuaU6FEaGvdP2C_Ovqo7mfY\"", |
+ "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/VRpa8Bw34Om-F9MZNGivJ1l0EOs\"", |
"icons": { |
"x16": "http://www.google.com/images/icons/product/search-16.gif", |
"x32": "http://www.google.com/images/icons/product/search-32.gif" |
@@ -1303,7 +1303,7 @@ |
} |
} |
}, |
- "revision": "20150109", |
+ "revision": "20150305", |
"rootUrl": "https://www.googleapis.com/", |
"schemas": { |
"AclEntry": { |
@@ -1491,9 +1491,7 @@ |
"instance": { |
"annotations": { |
"required": [ |
- "sql.databases.delete", |
- "sql.databases.insert", |
- "sql.databases.update" |
+ "sql.databases.insert" |
] |
}, |
"description": "The name of the Cloud SQL instance. This does not include the project ID.", |
@@ -1507,9 +1505,7 @@ |
"name": { |
"annotations": { |
"required": [ |
- "sql.databases.delete", |
- "sql.databases.insert", |
- "sql.databases.update" |
+ "sql.databases.insert" |
] |
}, |
"description": "The name of the database in the Cloud SQL instance. This does not include the project ID or instance name.", |
@@ -1518,9 +1514,7 @@ |
"project": { |
"annotations": { |
"required": [ |
- "sql.databases.delete", |
- "sql.databases.insert", |
- "sql.databases.update" |
+ "sql.databases.insert" |
] |
}, |
"description": "The project ID of the project containing the Cloud SQL database. The Google apps domain is prefixed if applicable.", |
@@ -1538,11 +1532,11 @@ |
"id": "DatabaseFlags", |
"properties": { |
"name": { |
- "description": "The name of the flag. These flags are passed at instance startup, so include both MySQL server options and MySQL system variables. Flags should be specified with underscores, not hyphens. Refer to the official MySQL documentation on server options and system variables for descriptions of what these flags do. Acceptable values are: character_set_server utf8 or utf8mb4 event_scheduler on or off (Note: The event scheduler will only work reliably if the instance activationPolicy is set to ALWAYS) general_log on or off group_concat_max_len 4..17179869184 innodb_flush_log_at_trx_commit 0..2 innodb_lock_wait_timeout 1..1073741824 log_bin_trust_function_creators on or off log_output Can be either TABLE or NONE, FILE is not supported log_queries_not_using_indexes on or off long_query_time 0..30000000 lower_case_table_names 0..2 max_allowed_packet 16384..1073741824 read_only on or off skip_show_database on or off slow_query_log on or off. If set to on, you must also set the log_output flag to TABLE to receive logs. wait_timeout 1..31536000", |
+ "description": "The name of the flag. These flags are passed at instance startup, so include both MySQL server options and MySQL system variables. Flags should be specified with underscores, not hyphens. For more information, see Configuring MySQL Flags in the Google Cloud SQL documentation, as well as the official MySQL documentation for server options and system variables.", |
"type": "string" |
}, |
"value": { |
- "description": "The value of the flag. Booleans should be set using 1 for true, and 0 for false. This field must be omitted if the flag doesn't take a value.", |
+ "description": "The value of the flag. Booleans should be set to on for true and off for false. This field must be omitted if the flag doesn't take a value.", |
"type": "string" |
} |
}, |
@@ -1566,7 +1560,7 @@ |
"type": "string" |
}, |
"instanceType": { |
- "description": "The instance type. This can be one of the following.\nCLOUD_SQL_INSTANCE: A Cloud SQL instance that is not replicating from a master.\nREAD_REPLICA_INSTANCE: A Cloud SQL instance configured as a read-replica.", |
+ "description": "The instance type. This can be one of the following.\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.", |
"type": "string" |
}, |
"ipAddresses": { |
@@ -1603,6 +1597,10 @@ |
"description": "Name of the Cloud SQL instance. This does not include the project ID.", |
"type": "string" |
}, |
+ "onPremisesConfiguration": { |
+ "$ref": "OnPremisesConfiguration", |
+ "description": "Configuration specific to on-premises instances." |
+ }, |
"project": { |
"description": "The project ID of the project containing the Cloud SQL instance. The Google apps domain is prefixed if applicable.", |
"type": "string" |
@@ -1611,6 +1609,10 @@ |
"description": "The geographical region. Can be us-central, asia-east1 or europe-west1. Defaults to us-central. The region can not be changed after instance creation.", |
"type": "string" |
}, |
+ "replicaConfiguration": { |
+ "$ref": "ReplicaConfiguration", |
+ "description": "Configuration specific to read-replicas replicating from on-premises masters." |
+ }, |
"replicaNames": { |
"description": "The replicas of the instance.", |
"items": { |
@@ -1945,6 +1947,76 @@ |
}, |
"type": "object" |
}, |
+ "MySqlReplicaConfiguration": { |
+ "description": "Read-replica configuration specific to MySQL databases.", |
+ "id": "MySqlReplicaConfiguration", |
+ "properties": { |
+ "caCertificate": { |
+ "description": "PEM representation of the trusted CA's x509 certificate.", |
+ "type": "string" |
+ }, |
+ "clientCertificate": { |
+ "description": "PEM representation of the slave's x509 certificate.", |
+ "type": "string" |
+ }, |
+ "clientKey": { |
+ "description": "PEM representation of the slave's private key. The corresponsing public key is encoded in the client's certificate.", |
+ "type": "string" |
+ }, |
+ "connectRetryInterval": { |
+ "description": "Seconds to wait between connect retries. MySQL's default is 60 seconds.", |
+ "format": "int32", |
+ "type": "integer" |
+ }, |
+ "dumpFilePath": { |
+ "description": "Path to a SQL dump file in Google Cloud Storage from which the slave instance is to be created. The URI is in the form gs://bucketName/fileName. Compressed gzip files (.gz) are also supported. Dumps should have the binlog co-ordinates from which replication should begin. This can be accomplished by setting --master-data to 1 when using mysqldump.", |
+ "type": "string" |
+ }, |
+ "kind": { |
+ "default": "sql#mysqlReplicaConfiguration", |
+ "description": "This is always sql#mysqlReplicaConfiguration.", |
+ "type": "string" |
+ }, |
+ "masterHeartbeatPeriod": { |
+ "description": "Interval in milliseconds between replication heartbeats.", |
+ "format": "int64", |
+ "type": "string" |
+ }, |
+ "password": { |
+ "description": "The password for the replication connection.", |
+ "type": "string" |
+ }, |
+ "sslCipher": { |
+ "description": "A list of permissible ciphers to use for SSL encryption.", |
+ "type": "string" |
+ }, |
+ "username": { |
+ "description": "The username for the replication connection.", |
+ "type": "string" |
+ }, |
+ "verifyServerCertificate": { |
+ "description": "Whether or not to check the master's Common Name value in the certificate that it sends during the SSL handshake.", |
+ "type": "boolean" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "OnPremisesConfiguration": { |
+ "description": "On-premises instance configuration.", |
+ "id": "OnPremisesConfiguration", |
+ "properties": { |
+ "hostPort": { |
+ "description": "The host and port of the on-premises instance in host:port format", |
+ "type": "string" |
+ }, |
+ "kind": { |
+ "default": "sql#onPremisesConfiguration", |
+ "description": "This is always sql#onPremisesConfiguration.", |
+ "type": "string" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
"Operation": { |
"description": "An Operations resource contains information about database instance operations such as create, delete, and restart. Operations resources are created in response to operations that were initiated; you never create them directly.", |
"id": "Operation", |
@@ -1982,7 +2054,7 @@ |
}, |
"kind": { |
"default": "sql#operation", |
- "description": "This is always sql#instanceOperation.", |
+ "description": "This is always sql#operation.", |
"type": "string" |
}, |
"name": { |
@@ -1990,7 +2062,7 @@ |
"type": "string" |
}, |
"operationType": { |
- "description": "TODO(b/18431310): update this list to reflect current values. The type of the operation. Valid values are CREATE, DELETE, UPDATE, RESTART, IMPORT, EXPORT, BACKUP_VOLUME, RESTORE_VOLUME.", |
+ "description": "The type of the operation. Valid values are CREATE, DELETE, UPDATE, RESTART, IMPORT, EXPORT, BACKUP_VOLUME, RESTORE_VOLUME, CREATE_USER, DELETE_USER, CREATE_DATABASE, DELETE_DATABASE .", |
"type": "string" |
}, |
"selfLink": { |
@@ -2068,11 +2140,32 @@ |
}, |
"type": "object" |
}, |
+ "ReplicaConfiguration": { |
+ "description": "Read-replica configuration for connecting to the master.", |
+ "id": "ReplicaConfiguration", |
+ "properties": { |
+ "kind": { |
+ "default": "sql#replicaConfiguration", |
+ "description": "This is always sql#replicaConfiguration.", |
+ "type": "string" |
+ }, |
+ "mysqlReplicaConfiguration": { |
+ "$ref": "MySqlReplicaConfiguration", |
+ "description": "MySQL specific configuration when replicating from a MySQL on-premises master." |
+ } |
+ }, |
+ "type": "object" |
+ }, |
"RestoreBackupContext": { |
"description": "Database instance restore from backup context.", |
"id": "RestoreBackupContext", |
"properties": { |
"backupRunId": { |
+ "annotations": { |
+ "required": [ |
+ "sql.instances.restoreBackup" |
+ ] |
+ }, |
"description": "The ID of the backup run to restore from.", |
"format": "int64", |
"type": "string" |
@@ -2104,6 +2197,9 @@ |
"$ref": "BackupConfiguration", |
"description": "The daily backup configuration for the instance." |
}, |
+ "crashSafeReplicationEnabled": { |
+ "type": "boolean" |
+ }, |
"databaseFlags": { |
"description": "The database flags passed to the instance at startup.", |
"items": { |
@@ -2330,7 +2426,7 @@ |
"type": "string" |
}, |
"host": { |
- "description": "The host name from which the user can connect. For insert operations, host is set to '%'. For update operations, host is specified as part of the request URL. The host name is not mutable with this API.", |
+ "description": "The host name from which the user can connect. For insert operations, host defaults to an empty string. For update operations, host is specified as part of the request URL. The host name is not mutable with this API.", |
"type": "string" |
}, |
"instance": { |