Updated docs
diff --git a/docs/dyn/sqladmin_v1beta4.instances.html b/docs/dyn/sqladmin_v1beta4.instances.html
index 68c71fa..0ddfa3c 100644
--- a/docs/dyn/sqladmin_v1beta4.instances.html
+++ b/docs/dyn/sqladmin_v1beta4.instances.html
@@ -84,6 +84,9 @@
<code><a href="#export">export(project, instance, body)</a></code></p>
<p class="firstline">Exports data from a Cloud SQL instance to a Google Cloud Storage bucket as a MySQL dump file.</p>
<p class="toc_element">
+ <code><a href="#failover">failover(project, instance, body)</a></code></p>
+<p class="firstline">Failover the instance to its failover replica instance.</p>
+<p class="toc_element">
<code><a href="#get">get(project, instance)</a></code></p>
<p class="firstline">Retrieves a resource containing information about a Cloud SQL instance.</p>
<p class="toc_element">
@@ -183,7 +186,7 @@
"tables": [ # Tables to export, or that were exported, from the specified database. If you specify tables, specify one and only one database.
"A String",
],
- "schemaOnly": True or False, # Export only schema.
+ "schemaOnly": True or False, # Export only schemas.
},
},
"startTime": "A String", # The time this operation actually started in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.
@@ -253,7 +256,7 @@
"tables": [ # Tables to export, or that were exported, from the specified database. If you specify tables, specify one and only one database.
"A String",
],
- "schemaOnly": True or False, # Export only schema.
+ "schemaOnly": True or False, # Export only schemas.
},
},
"startTime": "A String", # The time this operation actually started in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.
@@ -305,7 +308,7 @@
"tables": [ # Tables to export, or that were exported, from the specified database. If you specify tables, specify one and only one database.
"A String",
],
- "schemaOnly": True or False, # Export only schema.
+ "schemaOnly": True or False, # Export only schemas.
},
},
}
@@ -348,7 +351,87 @@
"tables": [ # Tables to export, or that were exported, from the specified database. If you specify tables, specify one and only one database.
"A String",
],
- "schemaOnly": True or False, # Export only schema.
+ "schemaOnly": True or False, # Export only schemas.
+ },
+ },
+ "startTime": "A String", # The time this operation actually started in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.
+ "targetProject": "A String", # The project ID of the target instance related to this operation.
+ "targetId": "A String", # Name of the database instance related to this operation.
+ "operationType": "A String", # 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 .
+ "targetLink": "A String", # The URI of the instance related to the operation.
+ "insertTime": "A String", # The time this operation was enqueued in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.
+ "error": { # Database instance operation errors list wrapper. # If errors occurred during processing of this operation, this field will be populated.
+ "kind": "sql#operationErrors", # This is always sql#operationErrors.
+ "errors": [ # The list of errors encountered while processing this operation.
+ { # Database instance operation error.
+ "kind": "sql#operationError", # This is always sql#operationError.
+ "code": "A String", # Identifies the specific error that occurred.
+ "message": "A String", # Additional information about the error encountered.
+ },
+ ],
+ },
+ "endTime": "A String", # The time this operation finished in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.
+ "selfLink": "A String", # The URI of this resource.
+ "user": "A String", # The email address of the user who initiated this operation.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="failover">failover(project, instance, body)</code>
+ <pre>Failover the instance to its failover replica instance.
+
+Args:
+ project: string, ID of the project that contains the read replica. (required)
+ instance: string, Cloud SQL instance ID. This does not include the project ID. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # Instance failover request.
+ "failoverContext": { # Database instance failover context. # Failover Context.
+ "kind": "sql#failoverContext", # This is always sql#failoverContext.
+ "settingsVersion": "A String", # The current settings version of this instance. Request will be rejected if this version doesn't match the current settings version.
+ },
+ }
+
+
+Returns:
+ An object of the form:
+
+ { # 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.
+ "status": "A String", # The status of an operation. Valid values are PENDING, RUNNING, DONE, UNKNOWN.
+ "importContext": { # Database instance import context. # The context for import operation, if applicable.
+ "fileType": "A String", # The file type for the specified uri.
+ # SQL: The file contains SQL statements.
+ # CSV: The file contains CSV data.
+ "database": "A String", # The database (for example, guestbook) to which the import is made. If fileType is SQL and no database is specified, it is assumed that the database is specified in the file to be imported. If fileType is CSV, it must be specified.
+ "kind": "sql#importContext", # This is always sql#importContext.
+ "uri": "A String", # A path to the file in Google Cloud Storage from which the import is made. The URI is in the form gs://bucketName/fileName. Compressed gzip files (.gz) are supported when fileType is SQL.
+ "csvImportOptions": { # Options for importing data as CSV.
+ "table": "A String", # The table to which CSV data is imported.
+ "columns": [ # The columns to which CSV data is imported. If not specified, all columns of the database table are loaded with CSV data.
+ "A String",
+ ],
+ },
+ },
+ "kind": "sql#operation", # This is always sql#operation.
+ "name": "A String", # An identifier that uniquely identifies the operation. You can use this identifier to retrieve the Operations resource that has information about the operation.
+ "exportContext": { # Database instance export context. # The context for export operation, if applicable.
+ "kind": "sql#exportContext", # This is always sql#exportContext.
+ "fileType": "A String", # The file type for the specified uri.
+ # SQL: The file contains SQL statements.
+ # CSV: The file contains CSV data.
+ "uri": "A String", # The path to the file in Google Cloud Storage where the export will be stored. The URI is in the form gs://bucketName/fileName. If the file already exists, the operation fails. If fileType is SQL and the filename ends with .gz, the contents are compressed.
+ "csvExportOptions": { # Options for exporting data as CSV.
+ "selectQuery": "A String", # The select query used to extract the data.
+ },
+ "databases": [ # Databases (for example, guestbook) from which the export is made. If fileType is SQL and no database is specified, all databases are exported. If fileType is CSV, you can optionally specify at most one database to export. If csvExportOptions.selectQuery also specifies the database, this field will be ignored.
+ "A String",
+ ],
+ "sqlExportOptions": { # Options for exporting data as SQL statements.
+ "tables": [ # Tables to export, or that were exported, from the specified database. If you specify tables, specify one and only one database.
+ "A String",
+ ],
+ "schemaOnly": True or False, # Export only schemas.
},
},
"startTime": "A String", # The time this operation actually started in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.
@@ -390,10 +473,15 @@
"hostPort": "A String", # The host and port of the on-premises instance in host:port format
},
"kind": "sql#instance", # This is always sql#instance.
- "maxDiskSize": "A String", # The maximum disk size of the instance in bytes.
+ "failoverReplica": { # The name and status of the failover replica. Only applies to Second Generation instances.
+ "available": True or False,
+ "name": "A String",
+ },
"ipv6Address": "A String", # The IPv6 address assigned to the instance.
"replicaConfiguration": { # Read-replica configuration for connecting to the master. # Configuration specific to read-replicas replicating from on-premises masters.
"kind": "sql#replicaConfiguration", # This is always sql#replicaConfiguration.
+ "failoverTarget": True or False, # Specifies if the replica is the failover target. If the field is set to true the replica will be designated as a failover replica. In case the master instance fails, the replica instance will be promoted as the new master instance.
+ # Only one replica can be specified as failover target, and the replica has to be in different zone with the master instance.
"mysqlReplicaConfiguration": { # Read-replica configuration specific to MySQL databases. # MySQL specific configuration when replicating from a MySQL on-premises master. Replication configuration information such as the username, password, certificates, and keys are not stored in the instance metadata. The configuration information is used only to set up the replication connection and is stored by MySQL in a file named master.info in the data directory.
"username": "A String", # The username for the replication connection.
"kind": "sql#mysqlReplicaConfiguration", # This is always sql#mysqlReplicaConfiguration.
@@ -425,6 +513,7 @@
"selfLink": "A String", # The URI of this resource.
},
"masterInstanceName": "A String", # The name of the instance which will act as master in the replication setup.
+ "name": "A String", # Name of the Cloud SQL instance. This does not include the project ID.
"currentDiskSize": "A String", # The current disk usage of the instance in bytes.
"state": "A String", # The current serving state of the Cloud SQL instance. This can be one of the following.
# RUNNABLE: The instance is running, or is ready to run when accessed.
@@ -450,6 +539,13 @@
},
],
"kind": "sql#settings", # This is always sql#settings.
+ "dataDiskType": "A String", # The type of data disk. Only supported for 2nd Generation instances. The default type is SSD.
+ "maintenanceWindow": { # Maintenance window. This specifies when a v2 Cloud SQL instance should preferably be restarted for system maintenance puruposes. # The maintenance window for this instance. This specifies when the instance may be restarted for maintenance purposes.
+ "kind": "sql#maintenanceWindow", # This is always sql#maintenanceWindow.
+ "updateTrack": "A String",
+ "day": 42, # day of week (1-7), starting on Monday.
+ "hour": 42, # hour of day - 0 to 23.
+ },
"authorizedGaeApplications": [ # The App Engine app IDs that can access this instance.
"A String",
],
@@ -486,13 +582,14 @@
"zone": "A String", # The preferred Compute Engine zone (e.g. us-centra1-a, us-central1-b, etc.).
"followGaeApplication": "A String", # The AppEngine application to follow, it must be in the same region as the Cloud SQL instance.
},
+ "dataDiskSizeGb": "A String", # The size of data disk, in GB. Only supported for 2nd Generation instances. The data disk size minimum is 10GB.
},
"instanceType": "A String", # The instance type. This can be one of the following.
# CLOUD_SQL_INSTANCE: A Cloud SQL instance that is not replicating from a master.
# ON_PREMISES_INSTANCE: An instance running on the customer's premises.
# READ_REPLICA_INSTANCE: A Cloud SQL instance configured as a read-replica.
"selfLink": "A String", # The URI of this resource.
- "name": "A String", # Name of the Cloud SQL instance. This does not include the project ID.
+ "maxDiskSize": "A String", # The maximum disk size of the instance in bytes.
}</pre>
</div>
@@ -561,7 +658,7 @@
"tables": [ # Tables to export, or that were exported, from the specified database. If you specify tables, specify one and only one database.
"A String",
],
- "schemaOnly": True or False, # Export only schema.
+ "schemaOnly": True or False, # Export only schemas.
},
},
"startTime": "A String", # The time this operation actually started in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.
@@ -601,10 +698,15 @@
"hostPort": "A String", # The host and port of the on-premises instance in host:port format
},
"kind": "sql#instance", # This is always sql#instance.
- "maxDiskSize": "A String", # The maximum disk size of the instance in bytes.
+ "failoverReplica": { # The name and status of the failover replica. Only applies to Second Generation instances.
+ "available": True or False,
+ "name": "A String",
+ },
"ipv6Address": "A String", # The IPv6 address assigned to the instance.
"replicaConfiguration": { # Read-replica configuration for connecting to the master. # Configuration specific to read-replicas replicating from on-premises masters.
"kind": "sql#replicaConfiguration", # This is always sql#replicaConfiguration.
+ "failoverTarget": True or False, # Specifies if the replica is the failover target. If the field is set to true the replica will be designated as a failover replica. In case the master instance fails, the replica instance will be promoted as the new master instance.
+ # Only one replica can be specified as failover target, and the replica has to be in different zone with the master instance.
"mysqlReplicaConfiguration": { # Read-replica configuration specific to MySQL databases. # MySQL specific configuration when replicating from a MySQL on-premises master. Replication configuration information such as the username, password, certificates, and keys are not stored in the instance metadata. The configuration information is used only to set up the replication connection and is stored by MySQL in a file named master.info in the data directory.
"username": "A String", # The username for the replication connection.
"kind": "sql#mysqlReplicaConfiguration", # This is always sql#mysqlReplicaConfiguration.
@@ -636,6 +738,7 @@
"selfLink": "A String", # The URI of this resource.
},
"masterInstanceName": "A String", # The name of the instance which will act as master in the replication setup.
+ "name": "A String", # Name of the Cloud SQL instance. This does not include the project ID.
"currentDiskSize": "A String", # The current disk usage of the instance in bytes.
"state": "A String", # The current serving state of the Cloud SQL instance. This can be one of the following.
# RUNNABLE: The instance is running, or is ready to run when accessed.
@@ -661,6 +764,13 @@
},
],
"kind": "sql#settings", # This is always sql#settings.
+ "dataDiskType": "A String", # The type of data disk. Only supported for 2nd Generation instances. The default type is SSD.
+ "maintenanceWindow": { # Maintenance window. This specifies when a v2 Cloud SQL instance should preferably be restarted for system maintenance puruposes. # The maintenance window for this instance. This specifies when the instance may be restarted for maintenance purposes.
+ "kind": "sql#maintenanceWindow", # This is always sql#maintenanceWindow.
+ "updateTrack": "A String",
+ "day": 42, # day of week (1-7), starting on Monday.
+ "hour": 42, # hour of day - 0 to 23.
+ },
"authorizedGaeApplications": [ # The App Engine app IDs that can access this instance.
"A String",
],
@@ -697,13 +807,14 @@
"zone": "A String", # The preferred Compute Engine zone (e.g. us-centra1-a, us-central1-b, etc.).
"followGaeApplication": "A String", # The AppEngine application to follow, it must be in the same region as the Cloud SQL instance.
},
+ "dataDiskSizeGb": "A String", # The size of data disk, in GB. Only supported for 2nd Generation instances. The data disk size minimum is 10GB.
},
"instanceType": "A String", # The instance type. This can be one of the following.
# CLOUD_SQL_INSTANCE: A Cloud SQL instance that is not replicating from a master.
# ON_PREMISES_INSTANCE: An instance running on the customer's premises.
# READ_REPLICA_INSTANCE: A Cloud SQL instance configured as a read-replica.
"selfLink": "A String", # The URI of this resource.
- "name": "A String", # Name of the Cloud SQL instance. This does not include the project ID.
+ "maxDiskSize": "A String", # The maximum disk size of the instance in bytes.
}
@@ -744,7 +855,7 @@
"tables": [ # Tables to export, or that were exported, from the specified database. If you specify tables, specify one and only one database.
"A String",
],
- "schemaOnly": True or False, # Export only schema.
+ "schemaOnly": True or False, # Export only schemas.
},
},
"startTime": "A String", # The time this operation actually started in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.
@@ -790,10 +901,15 @@
"hostPort": "A String", # The host and port of the on-premises instance in host:port format
},
"kind": "sql#instance", # This is always sql#instance.
- "maxDiskSize": "A String", # The maximum disk size of the instance in bytes.
+ "failoverReplica": { # The name and status of the failover replica. Only applies to Second Generation instances.
+ "available": True or False,
+ "name": "A String",
+ },
"ipv6Address": "A String", # The IPv6 address assigned to the instance.
"replicaConfiguration": { # Read-replica configuration for connecting to the master. # Configuration specific to read-replicas replicating from on-premises masters.
"kind": "sql#replicaConfiguration", # This is always sql#replicaConfiguration.
+ "failoverTarget": True or False, # Specifies if the replica is the failover target. If the field is set to true the replica will be designated as a failover replica. In case the master instance fails, the replica instance will be promoted as the new master instance.
+ # Only one replica can be specified as failover target, and the replica has to be in different zone with the master instance.
"mysqlReplicaConfiguration": { # Read-replica configuration specific to MySQL databases. # MySQL specific configuration when replicating from a MySQL on-premises master. Replication configuration information such as the username, password, certificates, and keys are not stored in the instance metadata. The configuration information is used only to set up the replication connection and is stored by MySQL in a file named master.info in the data directory.
"username": "A String", # The username for the replication connection.
"kind": "sql#mysqlReplicaConfiguration", # This is always sql#mysqlReplicaConfiguration.
@@ -825,6 +941,7 @@
"selfLink": "A String", # The URI of this resource.
},
"masterInstanceName": "A String", # The name of the instance which will act as master in the replication setup.
+ "name": "A String", # Name of the Cloud SQL instance. This does not include the project ID.
"currentDiskSize": "A String", # The current disk usage of the instance in bytes.
"state": "A String", # The current serving state of the Cloud SQL instance. This can be one of the following.
# RUNNABLE: The instance is running, or is ready to run when accessed.
@@ -850,6 +967,13 @@
},
],
"kind": "sql#settings", # This is always sql#settings.
+ "dataDiskType": "A String", # The type of data disk. Only supported for 2nd Generation instances. The default type is SSD.
+ "maintenanceWindow": { # Maintenance window. This specifies when a v2 Cloud SQL instance should preferably be restarted for system maintenance puruposes. # The maintenance window for this instance. This specifies when the instance may be restarted for maintenance purposes.
+ "kind": "sql#maintenanceWindow", # This is always sql#maintenanceWindow.
+ "updateTrack": "A String",
+ "day": 42, # day of week (1-7), starting on Monday.
+ "hour": 42, # hour of day - 0 to 23.
+ },
"authorizedGaeApplications": [ # The App Engine app IDs that can access this instance.
"A String",
],
@@ -886,13 +1010,14 @@
"zone": "A String", # The preferred Compute Engine zone (e.g. us-centra1-a, us-central1-b, etc.).
"followGaeApplication": "A String", # The AppEngine application to follow, it must be in the same region as the Cloud SQL instance.
},
+ "dataDiskSizeGb": "A String", # The size of data disk, in GB. Only supported for 2nd Generation instances. The data disk size minimum is 10GB.
},
"instanceType": "A String", # The instance type. This can be one of the following.
# CLOUD_SQL_INSTANCE: A Cloud SQL instance that is not replicating from a master.
# ON_PREMISES_INSTANCE: An instance running on the customer's premises.
# READ_REPLICA_INSTANCE: A Cloud SQL instance configured as a read-replica.
"selfLink": "A String", # The URI of this resource.
- "name": "A String", # Name of the Cloud SQL instance. This does not include the project ID.
+ "maxDiskSize": "A String", # The maximum disk size of the instance in bytes.
},
],
"kind": "sql#instancesList", # This is always sql#instancesList.
@@ -929,10 +1054,15 @@
"hostPort": "A String", # The host and port of the on-premises instance in host:port format
},
"kind": "sql#instance", # This is always sql#instance.
- "maxDiskSize": "A String", # The maximum disk size of the instance in bytes.
+ "failoverReplica": { # The name and status of the failover replica. Only applies to Second Generation instances.
+ "available": True or False,
+ "name": "A String",
+ },
"ipv6Address": "A String", # The IPv6 address assigned to the instance.
"replicaConfiguration": { # Read-replica configuration for connecting to the master. # Configuration specific to read-replicas replicating from on-premises masters.
"kind": "sql#replicaConfiguration", # This is always sql#replicaConfiguration.
+ "failoverTarget": True or False, # Specifies if the replica is the failover target. If the field is set to true the replica will be designated as a failover replica. In case the master instance fails, the replica instance will be promoted as the new master instance.
+ # Only one replica can be specified as failover target, and the replica has to be in different zone with the master instance.
"mysqlReplicaConfiguration": { # Read-replica configuration specific to MySQL databases. # MySQL specific configuration when replicating from a MySQL on-premises master. Replication configuration information such as the username, password, certificates, and keys are not stored in the instance metadata. The configuration information is used only to set up the replication connection and is stored by MySQL in a file named master.info in the data directory.
"username": "A String", # The username for the replication connection.
"kind": "sql#mysqlReplicaConfiguration", # This is always sql#mysqlReplicaConfiguration.
@@ -964,6 +1094,7 @@
"selfLink": "A String", # The URI of this resource.
},
"masterInstanceName": "A String", # The name of the instance which will act as master in the replication setup.
+ "name": "A String", # Name of the Cloud SQL instance. This does not include the project ID.
"currentDiskSize": "A String", # The current disk usage of the instance in bytes.
"state": "A String", # The current serving state of the Cloud SQL instance. This can be one of the following.
# RUNNABLE: The instance is running, or is ready to run when accessed.
@@ -989,6 +1120,13 @@
},
],
"kind": "sql#settings", # This is always sql#settings.
+ "dataDiskType": "A String", # The type of data disk. Only supported for 2nd Generation instances. The default type is SSD.
+ "maintenanceWindow": { # Maintenance window. This specifies when a v2 Cloud SQL instance should preferably be restarted for system maintenance puruposes. # The maintenance window for this instance. This specifies when the instance may be restarted for maintenance purposes.
+ "kind": "sql#maintenanceWindow", # This is always sql#maintenanceWindow.
+ "updateTrack": "A String",
+ "day": 42, # day of week (1-7), starting on Monday.
+ "hour": 42, # hour of day - 0 to 23.
+ },
"authorizedGaeApplications": [ # The App Engine app IDs that can access this instance.
"A String",
],
@@ -1025,13 +1163,14 @@
"zone": "A String", # The preferred Compute Engine zone (e.g. us-centra1-a, us-central1-b, etc.).
"followGaeApplication": "A String", # The AppEngine application to follow, it must be in the same region as the Cloud SQL instance.
},
+ "dataDiskSizeGb": "A String", # The size of data disk, in GB. Only supported for 2nd Generation instances. The data disk size minimum is 10GB.
},
"instanceType": "A String", # The instance type. This can be one of the following.
# CLOUD_SQL_INSTANCE: A Cloud SQL instance that is not replicating from a master.
# ON_PREMISES_INSTANCE: An instance running on the customer's premises.
# READ_REPLICA_INSTANCE: A Cloud SQL instance configured as a read-replica.
"selfLink": "A String", # The URI of this resource.
- "name": "A String", # Name of the Cloud SQL instance. This does not include the project ID.
+ "maxDiskSize": "A String", # The maximum disk size of the instance in bytes.
}
@@ -1072,7 +1211,7 @@
"tables": [ # Tables to export, or that were exported, from the specified database. If you specify tables, specify one and only one database.
"A String",
],
- "schemaOnly": True or False, # Export only schema.
+ "schemaOnly": True or False, # Export only schemas.
},
},
"startTime": "A String", # The time this operation actually started in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.
@@ -1142,7 +1281,7 @@
"tables": [ # Tables to export, or that were exported, from the specified database. If you specify tables, specify one and only one database.
"A String",
],
- "schemaOnly": True or False, # Export only schema.
+ "schemaOnly": True or False, # Export only schemas.
},
},
"startTime": "A String", # The time this operation actually started in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.
@@ -1212,7 +1351,7 @@
"tables": [ # Tables to export, or that were exported, from the specified database. If you specify tables, specify one and only one database.
"A String",
],
- "schemaOnly": True or False, # Export only schema.
+ "schemaOnly": True or False, # Export only schemas.
},
},
"startTime": "A String", # The time this operation actually started in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.
@@ -1282,7 +1421,7 @@
"tables": [ # Tables to export, or that were exported, from the specified database. If you specify tables, specify one and only one database.
"A String",
],
- "schemaOnly": True or False, # Export only schema.
+ "schemaOnly": True or False, # Export only schemas.
},
},
"startTime": "A String", # The time this operation actually started in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.
@@ -1363,7 +1502,7 @@
"tables": [ # Tables to export, or that were exported, from the specified database. If you specify tables, specify one and only one database.
"A String",
],
- "schemaOnly": True or False, # Export only schema.
+ "schemaOnly": True or False, # Export only schemas.
},
},
"startTime": "A String", # The time this operation actually started in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.
@@ -1433,7 +1572,7 @@
"tables": [ # Tables to export, or that were exported, from the specified database. If you specify tables, specify one and only one database.
"A String",
],
- "schemaOnly": True or False, # Export only schema.
+ "schemaOnly": True or False, # Export only schemas.
},
},
"startTime": "A String", # The time this operation actually started in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.
@@ -1503,7 +1642,7 @@
"tables": [ # Tables to export, or that were exported, from the specified database. If you specify tables, specify one and only one database.
"A String",
],
- "schemaOnly": True or False, # Export only schema.
+ "schemaOnly": True or False, # Export only schemas.
},
},
"startTime": "A String", # The time this operation actually started in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.
@@ -1544,10 +1683,15 @@
"hostPort": "A String", # The host and port of the on-premises instance in host:port format
},
"kind": "sql#instance", # This is always sql#instance.
- "maxDiskSize": "A String", # The maximum disk size of the instance in bytes.
+ "failoverReplica": { # The name and status of the failover replica. Only applies to Second Generation instances.
+ "available": True or False,
+ "name": "A String",
+ },
"ipv6Address": "A String", # The IPv6 address assigned to the instance.
"replicaConfiguration": { # Read-replica configuration for connecting to the master. # Configuration specific to read-replicas replicating from on-premises masters.
"kind": "sql#replicaConfiguration", # This is always sql#replicaConfiguration.
+ "failoverTarget": True or False, # Specifies if the replica is the failover target. If the field is set to true the replica will be designated as a failover replica. In case the master instance fails, the replica instance will be promoted as the new master instance.
+ # Only one replica can be specified as failover target, and the replica has to be in different zone with the master instance.
"mysqlReplicaConfiguration": { # Read-replica configuration specific to MySQL databases. # MySQL specific configuration when replicating from a MySQL on-premises master. Replication configuration information such as the username, password, certificates, and keys are not stored in the instance metadata. The configuration information is used only to set up the replication connection and is stored by MySQL in a file named master.info in the data directory.
"username": "A String", # The username for the replication connection.
"kind": "sql#mysqlReplicaConfiguration", # This is always sql#mysqlReplicaConfiguration.
@@ -1579,6 +1723,7 @@
"selfLink": "A String", # The URI of this resource.
},
"masterInstanceName": "A String", # The name of the instance which will act as master in the replication setup.
+ "name": "A String", # Name of the Cloud SQL instance. This does not include the project ID.
"currentDiskSize": "A String", # The current disk usage of the instance in bytes.
"state": "A String", # The current serving state of the Cloud SQL instance. This can be one of the following.
# RUNNABLE: The instance is running, or is ready to run when accessed.
@@ -1604,6 +1749,13 @@
},
],
"kind": "sql#settings", # This is always sql#settings.
+ "dataDiskType": "A String", # The type of data disk. Only supported for 2nd Generation instances. The default type is SSD.
+ "maintenanceWindow": { # Maintenance window. This specifies when a v2 Cloud SQL instance should preferably be restarted for system maintenance puruposes. # The maintenance window for this instance. This specifies when the instance may be restarted for maintenance purposes.
+ "kind": "sql#maintenanceWindow", # This is always sql#maintenanceWindow.
+ "updateTrack": "A String",
+ "day": 42, # day of week (1-7), starting on Monday.
+ "hour": 42, # hour of day - 0 to 23.
+ },
"authorizedGaeApplications": [ # The App Engine app IDs that can access this instance.
"A String",
],
@@ -1640,13 +1792,14 @@
"zone": "A String", # The preferred Compute Engine zone (e.g. us-centra1-a, us-central1-b, etc.).
"followGaeApplication": "A String", # The AppEngine application to follow, it must be in the same region as the Cloud SQL instance.
},
+ "dataDiskSizeGb": "A String", # The size of data disk, in GB. Only supported for 2nd Generation instances. The data disk size minimum is 10GB.
},
"instanceType": "A String", # The instance type. This can be one of the following.
# CLOUD_SQL_INSTANCE: A Cloud SQL instance that is not replicating from a master.
# ON_PREMISES_INSTANCE: An instance running on the customer's premises.
# READ_REPLICA_INSTANCE: A Cloud SQL instance configured as a read-replica.
"selfLink": "A String", # The URI of this resource.
- "name": "A String", # Name of the Cloud SQL instance. This does not include the project ID.
+ "maxDiskSize": "A String", # The maximum disk size of the instance in bytes.
}
@@ -1687,7 +1840,7 @@
"tables": [ # Tables to export, or that were exported, from the specified database. If you specify tables, specify one and only one database.
"A String",
],
- "schemaOnly": True or False, # Export only schema.
+ "schemaOnly": True or False, # Export only schemas.
},
},
"startTime": "A String", # The time this operation actually started in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.