2012-11-15T16:19:00.094Z.
#[serde(rename="expirationTime")]
pub expiration_time: Optionsql#aclEntry.
pub kind: Optionsql#backupConfiguration.
pub kind: OptionHH:MM.
#[serde(rename="startTime")]
pub start_time: Option2012-11-15T16:19:00.094Z.
#[serde(rename="endTime")]
pub end_time: Option2012-11-15T16:19:00.094Z.
#[serde(rename="enqueuedTime")]
pub enqueued_time: Optionsql#backupRun.
pub kind: Option2012-11-15T16:19:00.094Z.
#[serde(rename="startTime")]
pub start_time: Option2012-11-15T16:19:00.094Z.
#[serde(rename="windowStartTime")]
pub window_start_time: Optionsql#backupRunsList.
pub kind: Optionsql#binLogCoordinates.
pub kind: Optionsql#cloneContext.
pub kind: Optionsql#database.
pub kind: Optionon for true
/// and off for false. This field must be omitted if the flag
/// doesn't take a value.
pub value: OptionFIRST_GEN: First Generation instance. MySQL only. SECOND_GEN: Second Generation instance or PostgreSQL
/// instance. EXTERNAL: A database server that is not
/// managed by Google. tier property in the settings object to determine
/// the database type and Second or First Generation.
#[serde(rename="backendType")]
pub backend_type: OptiondatabaseVersion
/// field can not be changed after instance creation. MySQL Second Generation
/// instances: MYSQL_5_7 (default) or MYSQL_5_6.
/// PostgreSQL instances: POSTGRES_9_6 (default) or
/// POSTGRES_11 Beta MySQL First Generation
/// instances: MYSQL_5_6 (default) or MYSQL_5_5
#[serde(rename="databaseVersion")]
pub database_version: Optionsettings.settingsVersion field instead.
pub etag: OptionCLOUD_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.
#[serde(rename="instanceType")]
pub instance_type: Optionsql#instance.
pub kind: Optionus-central
/// (FIRST_GEN instances only), us-central1
/// (SECOND_GEN instances only), asia-east1 or
/// europe-west1. Defaults to us-central or
/// us-central1 depending on the instance type (First Generation
/// or Second Generation). The region can not be changed after instance
/// creation.
pub region: OptionRUNNABLE: The instance is running, or is ready
/// to run when accessed. SUSPENDED: The instance is not
/// available, for example due to problems with billing.
/// PENDING_CREATE: The instance is being created.
/// MAINTENANCE: The instance is down for maintenance.
/// FAILED: The instance creation failed.
/// UNKNOWN_STATE: The state of the instance is unknown.
pub state: Optionsql#databasesList.
pub kind: Optionsql#demoteMasterConfiguration.
pub kind: Optionmaster.info
/// in the data directory.
#[serde(rename="mysqlReplicaConfiguration")]
pub mysql_replica_configuration: Optionsql#demoteMasterContext.
pub kind: OptionTrue. Second Generation instances only. Setting this flag to
/// false enables you to bypass GTID consistency check between on-premises
/// master and Cloud SQL instance during the demotion operation but also
/// exposes you to the risk of future replication failures. Change the value
/// only if you know the reason for the GTID divergence and are confident that
/// doing so will not cause any replication issues.
#[serde(rename="verifyGtidConsistency")]
pub verify_gtid_consistency: Optionsql#demoteMasterMysqlReplicaConfiguration.
pub kind: Optionsql#diskEncryptionConfiguration.
pub kind: Optionsql#diskEncryptionStatus.
pub kind: OptionfileType is SQL and no database is specified, all
/// databases are exported, except for the mysql system database.
/// If fileType is CSV, you can specify one database,
/// either by using this property or by using the
/// csvExportOptions.selectQuery property, which takes precedence
/// over this property. fileType is CSV,
/// this database must match the one specified in the
/// csvExportOptions.selectQuery property.
pub databases: OptionSQL: The file
/// contains SQL statements. CSV: The file contains CSV data.
#[serde(rename="fileType")]
pub file_type: Optionsql#exportContext.
pub kind: Optiongs:
/// //bucketName/fileName. If the file already exists, the requests
/// // succeeds, but the operation fails. If fileType is
/// // SQL and the filename ends with .gz, the contents are
/// // compressed.
pub uri: Optionsql#failoverContext.
pub kind: OptionSTRING flags, a list of strings that the value can be set
/// to.
#[serde(rename="allowedStringValues")]
pub allowed_string_values: OptionMYSQL_5_5,
/// MYSQL_5_6, or MYSQL_5_7. MYSQL_5_7
/// is applicable only to Second Generation instances.
#[serde(rename="appliesTo")]
pub applies_to: Optionsql#flag.
pub kind: OptionINTEGER flags, the maximum allowed value.
#[serde(rename="maxValue")]
#[serde_as(as = "Option<::client::serde_with::DisplayFromStr>")]
pub max_value: OptionINTEGER flags, the minimum allowed value.
#[serde(rename="minValue")]
#[serde_as(as = "Option<::client::serde_with::DisplayFromStr>")]
pub min_value: Optionmax_allowed_packet
pub name: OptionBOOLEAN,
/// STRING, INTEGER or NONE.
/// NONE is used for flags which do not take a value, such as
/// skip_grant_tables.
#[serde(rename="type")]
pub type_: Optionsql#flagsList.
pub kind: OptionfileType is
/// SQL, this field is required only if the import file does not
/// specify a database, and is overridden by any database specification in the
/// import file. If fileType is CSV, one database
/// must be specified.
pub database: OptionSQL: The file
/// contains SQL statements. CSV: The file contains CSV data.
#[serde(rename="fileType")]
pub file_type: Optionsql#importContext.
pub kind: Optiongs:
/// //bucketName/fileName. Compressed gzip files (.gz) are supported
/// // when fileType is SQL. The instance must have
/// // write permissions to the bucket and read access to the file.
pub uri: Optionsql#instancesList.
pub kind: Optionsql#instancesListServerCas.
pub kind: Option192.168.100.0/24).
#[serde(rename="authorizedNetworks")]
pub authorized_networks: Option/projects/myProject/global/networks/default. This setting can
/// be updated, but it cannot be removed after it is set.
#[serde(rename="privateNetwork")]
pub private_network: Option2012-11-15T16:19:00.094Z. This field is only available when
/// the IP is scheduled to be retired.
#[serde(rename="timeToRetire")]
pub time_to_retire: OptionPRIMARY address is a public
/// address that can accept incoming connections. A PRIVATE
/// address is a private address that can accept incoming connections. An
/// OUTGOING address is the source address of connections
/// originating from the instance, if supported.
#[serde(rename="type")]
pub type_: Optionsql#locationPreference.
pub kind: Optionsql#maintenanceWindow.
pub kind: Optioncanary (Earlier) or
/// stable (Later). sql#mysqlReplicaConfiguration.
pub kind: Optionsql#onPremisesConfiguration.
pub kind: Option2012-11-15T16:19:00.094Z.
#[serde(rename="endTime")]
pub end_time: Option2012-11-15T16:19:00.094Z.
#[serde(rename="insertTime")]
pub insert_time: Optionsql#operation.
pub kind: OptionCREATE,
/// DELETE, UPDATE, RESTART,
/// IMPORT, EXPORT, BACKUP_VOLUME,
/// RESTORE_VOLUME, CREATE_USER,
/// DELETE_USER, CREATE_DATABASE,
/// DELETE_DATABASE .
#[serde(rename="operationType")]
pub operation_type: Option2012-11-15T16:19:00.094Z.
#[serde(rename="startTime")]
pub start_time: OptionPENDING,
/// RUNNING, DONE,
/// SQL_OPERATION_STATUS_UNSPECIFIED.
pub status: Optionsql#operationError.
pub kind: Optionsql#operationErrors.
pub kind: Optionsql#operationsList.
pub kind: Optiontrue 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.
#[serde(rename="failoverTarget")]
pub failover_target: Optionsql#replicaConfiguration.
pub kind: Optionmaster.info
/// in the data directory.
#[serde(rename="mysqlReplicaConfiguration")]
pub mysql_replica_configuration: Option2012-11-15T16:19:00.094Z.
#[serde(rename="scheduleTime")]
pub schedule_time: Optionsql#restoreBackupContext.
pub kind: Optionsql#rotateServerCaContext.
pub kind: OptionRUNNABLE. Valid
/// values: ALWAYS: The instance is on, and remains so even in
/// the absence of connection requests. NEVER: The instance is
/// off; it is not activated, even if a connection request arrives.
/// ON_DEMAND: First Generation instances only. The instance
/// responds to incoming requests, and turns itself off when not in use.
/// Instances with PER_USE pricing turn off after 15 minutes of
/// inactivity. Instances with PER_PACKAGE pricing turn off after
/// 12 hours of inactivity.
#[serde(rename="activationPolicy")]
pub activation_policy: OptionZONAL: The instance serves data from only one zone.
/// Outages in that zone affect data accessibility. REGIONAL:
/// The instance can serve data from more than one zone in a region (it is
/// highly available).
For more information, see Overview
/// of the High Availability Configuration.
#[serde(rename="availabilityType")]
pub availability_type: OptionPD_SSD (default) or
/// PD_HDD. Not used for First Generation instances.
#[serde(rename="dataDiskType")]
pub data_disk_type: Optionsql#settings.
pub kind: OptionPER_USE
/// or PACKAGE. Only PER_USE is supported for Second
/// Generation instances.
#[serde(rename="pricingPlan")]
pub pricing_plan: OptionASYNCHRONOUS or SYNCHRONOUS. This property is
/// only applicable to First Generation instances.
#[serde(rename="replicationType")]
pub replication_type: Optiondb-n1-standard-1 (MySQL instances) or
/// db-custom-1-3840 (PostgreSQL instances). For MySQL instances,
/// this property determines whether the instance is First or Second
/// Generation. For more information, see Instance Settings.
pub tier: Optionsql#migrationSettingError.
pub kind: Optionsql#migrationSettingErrorList.
pub kind: Option2012-11-15T16:19:00.094Z
#[serde(rename="createTime")]
pub create_time: Option2012-11-15T16:19:00.094Z.
#[serde(rename="expirationTime")]
pub expiration_time: Optionsql#sslCert.
pub kind: Option