@googleapis/sqladmin 3.1.0 → 3.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/v1.ts CHANGED
@@ -148,11 +148,11 @@ export namespace sqladmin_v1 {
148
148
  */
149
149
  export interface Schema$AclEntry {
150
150
  /**
151
- * The time when this access control entry expires in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example **2012-11-15T16:19:00.094Z**.
151
+ * The time when this access control entry expires in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`.
152
152
  */
153
153
  expirationTime?: string | null;
154
154
  /**
155
- * This is always **sql#aclEntry**.
155
+ * This is always `sql#aclEntry`.
156
156
  */
157
157
  kind?: string | null;
158
158
  /**
@@ -198,7 +198,7 @@ export namespace sqladmin_v1 {
198
198
  */
199
199
  enabled?: boolean | null;
200
200
  /**
201
- * This is always **sql#backupConfiguration**.
201
+ * This is always `sql#backupConfiguration`.
202
202
  */
203
203
  kind?: string | null;
204
204
  /**
@@ -214,7 +214,7 @@ export namespace sqladmin_v1 {
214
214
  */
215
215
  replicationLogArchivingEnabled?: boolean | null;
216
216
  /**
217
- * Start time for the daily backup configuration in UTC timezone in the 24 hour format - **HH:MM**.
217
+ * Start time for the daily backup configuration in UTC timezone in the 24 hour format - `HH:MM`.
218
218
  */
219
219
  startTime?: string | null;
220
220
  /**
@@ -231,7 +231,7 @@ export namespace sqladmin_v1 {
231
231
  */
232
232
  backupId?: string | null;
233
233
  /**
234
- * This is always **sql#backupContext**.
234
+ * This is always `sql#backupContext`.
235
235
  */
236
236
  kind?: string | null;
237
237
  }
@@ -269,11 +269,11 @@ export namespace sqladmin_v1 {
269
269
  */
270
270
  diskEncryptionStatus?: Schema$DiskEncryptionStatus;
271
271
  /**
272
- * The time the backup operation completed in UTC timezone in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example **2012-11-15T16:19:00.094Z**.
272
+ * The time the backup operation completed in UTC timezone in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`.
273
273
  */
274
274
  endTime?: string | null;
275
275
  /**
276
- * The time the run was enqueued in UTC timezone in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example **2012-11-15T16:19:00.094Z**.
276
+ * The time the run was enqueued in UTC timezone in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`.
277
277
  */
278
278
  enqueuedTime?: string | null;
279
279
  /**
@@ -289,7 +289,7 @@ export namespace sqladmin_v1 {
289
289
  */
290
290
  instance?: string | null;
291
291
  /**
292
- * This is always **sql#backupRun**.
292
+ * This is always `sql#backupRun`.
293
293
  */
294
294
  kind?: string | null;
295
295
  /**
@@ -301,7 +301,7 @@ export namespace sqladmin_v1 {
301
301
  */
302
302
  selfLink?: string | null;
303
303
  /**
304
- * The time the backup operation actually started in UTC timezone in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example **2012-11-15T16:19:00.094Z**.
304
+ * The time the backup operation actually started in UTC timezone in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`.
305
305
  */
306
306
  startTime?: string | null;
307
307
  /**
@@ -313,7 +313,7 @@ export namespace sqladmin_v1 {
313
313
  */
314
314
  type?: string | null;
315
315
  /**
316
- * The start time of the backup window during which this the backup was attempted in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example **2012-11-15T16:19:00.094Z**.
316
+ * The start time of the backup window during which this the backup was attempted in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`.
317
317
  */
318
318
  windowStartTime?: string | null;
319
319
  }
@@ -326,7 +326,7 @@ export namespace sqladmin_v1 {
326
326
  */
327
327
  items?: Schema$BackupRun[];
328
328
  /**
329
- * This is always **sql#backupRunsList**.
329
+ * This is always `sql#backupRunsList`.
330
330
  */
331
331
  kind?: string | null;
332
332
  /**
@@ -347,7 +347,7 @@ export namespace sqladmin_v1 {
347
347
  */
348
348
  binLogPosition?: string | null;
349
349
  /**
350
- * This is always **sql#binLogCoordinates**.
350
+ * This is always `sql#binLogCoordinates`.
351
351
  */
352
352
  kind?: string | null;
353
353
  }
@@ -355,6 +355,10 @@ export namespace sqladmin_v1 {
355
355
  * Database instance clone context.
356
356
  */
357
357
  export interface Schema$CloneContext {
358
+ /**
359
+ * The name of the allocated ip range for the private ip CloudSQL instance. For example: "google-managed-services-default". If set, the cloned instance ip will be created in the allocated range. The range name must comply with [RFC 1035](https://tools.ietf.org/html/rfc1035). Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?. Reserved for future use.
360
+ */
361
+ allocatedIpRange?: string | null;
358
362
  /**
359
363
  * Binary log coordinates, if specified, identify the position up to which the source instance is cloned. If not specified, the source instance is cloned up to the most recent binary log coordinates.
360
364
  */
@@ -364,7 +368,7 @@ export namespace sqladmin_v1 {
364
368
  */
365
369
  destinationInstanceName?: string | null;
366
370
  /**
367
- * This is always **sql#cloneContext**.
371
+ * This is always `sql#cloneContext`.
368
372
  */
369
373
  kind?: string | null;
370
374
  /**
@@ -381,11 +385,11 @@ export namespace sqladmin_v1 {
381
385
  */
382
386
  export interface Schema$ConnectSettings {
383
387
  /**
384
- * **SECOND_GEN**: Cloud SQL database instance. **EXTERNAL**: A database server that is not managed by Google. This property is read-only; use the **tier** property in the **settings** object to determine the database type.
388
+ * `SECOND_GEN`: Cloud SQL database instance. `EXTERNAL`: A database server that is not managed by Google. This property is read-only; use the `tier` property in the `settings` object to determine the database type.
385
389
  */
386
390
  backendType?: string | null;
387
391
  /**
388
- * The database engine type and version. The **databaseVersion** field cannot be changed after instance creation. MySQL instances: **MYSQL_8_0**, **MYSQL_5_7** (default), or **MYSQL_5_6**. PostgreSQL instances: **POSTGRES_9_6**, **POSTGRES_10**, **POSTGRES_11** or **POSTGRES_12** (default). SQL Server instances: **SQLSERVER_2017_STANDARD** (default), **SQLSERVER_2017_ENTERPRISE**, **SQLSERVER_2017_EXPRESS**, or **SQLSERVER_2017_WEB**.
392
+ * The database engine type and version. The `databaseVersion` field cannot be changed after instance creation. MySQL instances: `MYSQL_8_0`, `MYSQL_5_7` (default), or `MYSQL_5_6`. PostgreSQL instances: `POSTGRES_9_6`, `POSTGRES_10`, `POSTGRES_11`, `POSTGRES_12` (default), `POSTGRES_13`, or `POSTGRES_14`. SQL Server instances: `SQLSERVER_2017_STANDARD` (default), `SQLSERVER_2017_ENTERPRISE`, `SQLSERVER_2017_EXPRESS`, `SQLSERVER_2017_WEB`, `SQLSERVER_2019_STANDARD`, `SQLSERVER_2019_ENTERPRISE`, `SQLSERVER_2019_EXPRESS`, or `SQLSERVER_2019_WEB`.
389
393
  */
390
394
  databaseVersion?: string | null;
391
395
  /**
@@ -397,7 +401,7 @@ export namespace sqladmin_v1 {
397
401
  */
398
402
  kind?: string | null;
399
403
  /**
400
- * The cloud region for the instance. e.g. **us-central1**, **europe-west1**. The region cannot be changed after instance creation.
404
+ * The cloud region for the instance. For example, `us-central1`, `europe-west1`. The region cannot be changed after instance creation.
401
405
  */
402
406
  region?: string | null;
403
407
  /**
@@ -426,7 +430,7 @@ export namespace sqladmin_v1 {
426
430
  */
427
431
  instance?: string | null;
428
432
  /**
429
- * This is always **sql#database**.
433
+ * This is always `sql#database`.
430
434
  */
431
435
  kind?: string | null;
432
436
  /**
@@ -452,7 +456,7 @@ export namespace sqladmin_v1 {
452
456
  */
453
457
  name?: string | null;
454
458
  /**
455
- * The value of the flag. Booleans are set to **on** for true and **off** for false. This field must be omitted if the flag doesn't take a value.
459
+ * The value of the flag. Boolean flags are set to `on` for true and `off` for false. This field must be omitted if the flag doesn't take a value.
456
460
  */
457
461
  value?: string | null;
458
462
  }
@@ -461,7 +465,11 @@ export namespace sqladmin_v1 {
461
465
  */
462
466
  export interface Schema$DatabaseInstance {
463
467
  /**
464
- * The backend type. **SECOND_GEN**: Cloud SQL database instance. **EXTERNAL**: A database server that is not managed by Google. This property is read-only; use the **tier** property in the **settings** object to determine the database type.
468
+ * List all maintenance versions applicable on the instance
469
+ */
470
+ availableMaintenanceVersions?: string[] | null;
471
+ /**
472
+ * The backend type. `SECOND_GEN`: Cloud SQL database instance. `EXTERNAL`: A database server that is not managed by Google. This property is read-only; use the `tier` property in the `settings` object to determine the database type.
465
473
  */
466
474
  backendType?: string | null;
467
475
  /**
@@ -469,7 +477,7 @@ export namespace sqladmin_v1 {
469
477
  */
470
478
  connectionName?: string | null;
471
479
  /**
472
- * Output only. The time when the instance was created in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example **2012-11-15T16:19:00.094Z**.
480
+ * Output only. The time when the instance was created in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`.
473
481
  */
474
482
  createTime?: string | null;
475
483
  /**
@@ -477,7 +485,11 @@ export namespace sqladmin_v1 {
477
485
  */
478
486
  currentDiskSize?: string | null;
479
487
  /**
480
- * The database engine type and version. The **databaseVersion** field cannot be changed after instance creation. * **MySQL instances**: MYSQL_8_0, MYSQL_5_7 (default), or MYSQL_5_6. * **PostgreSQL instances**: POSTGRES_9_6, POSTGRES_10, POSTGRES_11, POSTGRES_12, POSTGRES_13 (default). * **SQL Server instances**: SQLSERVER_2019_STANDARD, SQLSERVER_2019_ENTERPRISE, SQLSERVER_2019_EXPRESS, or SQLSERVER_2019_WEB, SQLSERVER_2017_STANDARD (default), SQLSERVER_2017_ENTERPRISE, SQLSERVER_2017_EXPRESS, or SQLSERVER_2017_WEB.
488
+ * Output only. Stores the current database version running on the instance including minor version such as `MYSQL_8_0_18`.
489
+ */
490
+ databaseInstalledVersion?: string | null;
491
+ /**
492
+ * The database engine type and version. The `databaseVersion` field cannot be changed after instance creation.
481
493
  */
482
494
  databaseVersion?: string | null;
483
495
  /**
@@ -489,7 +501,7 @@ export namespace sqladmin_v1 {
489
501
  */
490
502
  diskEncryptionStatus?: Schema$DiskEncryptionStatus;
491
503
  /**
492
- * This field is deprecated and will be removed from a future version of the API. Use the **settings.settingsVersion** field instead.
504
+ * This field is deprecated and will be removed from a future version of the API. Use the `settings.settingsVersion` field instead.
493
505
  */
494
506
  etag?: string | null;
495
507
  /**
@@ -497,11 +509,11 @@ export namespace sqladmin_v1 {
497
509
  */
498
510
  failoverReplica?: {available?: boolean; name?: string} | null;
499
511
  /**
500
- * The Compute Engine zone that the instance is currently serving from. This value could be different from the zone that was specified when the instance was created if the instance has failed over to its secondary zone.
512
+ * The Compute Engine zone that the instance is currently serving from. This value could be different from the zone that was specified when the instance was created if the instance has failed over to its secondary zone. WARNING: Changing this might restart the instance.
501
513
  */
502
514
  gceZone?: string | null;
503
515
  /**
504
- * The instance type. This can be one of the following: * **CLOUD_SQL_INSTANCE**: A Cloud SQL instance that is not replicating from a primary instance. * **ON_PREMISES_INSTANCE**: An instance running on the customer's premises. * **READ_REPLICA_INSTANCE**: A Cloud SQL instance configured as a read-replica.
516
+ * The instance type.
505
517
  */
506
518
  instanceType?: string | null;
507
519
  /**
@@ -513,9 +525,13 @@ export namespace sqladmin_v1 {
513
525
  */
514
526
  ipv6Address?: string | null;
515
527
  /**
516
- * This is always **sql#instance**.
528
+ * This is always `sql#instance`.
517
529
  */
518
530
  kind?: string | null;
531
+ /**
532
+ * The current software version on the instance.
533
+ */
534
+ maintenanceVersion?: string | null;
519
535
  /**
520
536
  * The name of the instance which will act as primary in the replication setup.
521
537
  */
@@ -541,7 +557,7 @@ export namespace sqladmin_v1 {
541
557
  */
542
558
  project?: string | null;
543
559
  /**
544
- * The geographical region. Can be: * **us-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. The region cannot be changed after instance creation.
560
+ * The geographical region. Can be: * `us-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. The region cannot be changed after instance creation.
545
561
  */
546
562
  region?: string | null;
547
563
  /**
@@ -577,7 +593,7 @@ export namespace sqladmin_v1 {
577
593
  */
578
594
  serverCaCert?: Schema$SslCert;
579
595
  /**
580
- * The service account email address assigned to the instance. This property is read-only.
596
+ * The service account email address assigned to the instance.\This property is read-only.
581
597
  */
582
598
  serviceAccountEmailAddress?: string | null;
583
599
  /**
@@ -585,7 +601,7 @@ export namespace sqladmin_v1 {
585
601
  */
586
602
  settings?: Schema$Settings;
587
603
  /**
588
- * The current serving state of the Cloud SQL instance. This can be one of the following: * **SQL_INSTANCE_STATE_UNSPECIFIED**: The state of the instance is unknown. * **RUNNABLE**: The instance is running, or has been stopped by owner. * **SUSPENDED**: The instance is not available, for example due to problems with billing. * **PENDING_DELETE**: The instance is being deleted. * **PENDING_CREATE**: The instance is being created. * **MAINTENANCE**: The instance is down for maintenance. * **FAILED**: The instance creation failed.
604
+ * The current serving state of the Cloud SQL instance.
589
605
  */
590
606
  state?: string | null;
591
607
  /**
@@ -602,7 +618,7 @@ export namespace sqladmin_v1 {
602
618
  */
603
619
  items?: Schema$Database[];
604
620
  /**
605
- * This is always **sql#databasesList**.
621
+ * This is always `sql#databasesList`.
606
622
  */
607
623
  kind?: string | null;
608
624
  }
@@ -611,11 +627,11 @@ export namespace sqladmin_v1 {
611
627
  */
612
628
  export interface Schema$DemoteMasterConfiguration {
613
629
  /**
614
- * This is always **sql#demoteMasterConfiguration**.
630
+ * This is always `sql#demoteMasterConfiguration`.
615
631
  */
616
632
  kind?: string | null;
617
633
  /**
618
- * MySQL specific configuration when replicating from a MySQL on-premises primary instance. 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.
634
+ * MySQL specific configuration when replicating from a MySQL on-premises primary instance. 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.
619
635
  */
620
636
  mysqlReplicaConfiguration?: Schema$DemoteMasterMySqlReplicaConfiguration;
621
637
  }
@@ -624,7 +640,7 @@ export namespace sqladmin_v1 {
624
640
  */
625
641
  export interface Schema$DemoteMasterContext {
626
642
  /**
627
- * This is always **sql#demoteMasterContext**.
643
+ * This is always `sql#demoteMasterContext`.
628
644
  */
629
645
  kind?: string | null;
630
646
  /**
@@ -640,7 +656,7 @@ export namespace sqladmin_v1 {
640
656
  */
641
657
  skipReplicationSetup?: boolean | null;
642
658
  /**
643
- * Verify GTID consistency for demote operation. Default value: **True**. Setting this flag to false enables you to bypass GTID consistency check between on-premises primary instance 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.
659
+ * Verify the GTID consistency for demote operation. Default value: `True`. Setting this flag to `false` enables you to bypass the GTID consistency check between on-premises primary instance 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.
644
660
  */
645
661
  verifyGtidConsistency?: boolean | null;
646
662
  }
@@ -661,7 +677,7 @@ export namespace sqladmin_v1 {
661
677
  */
662
678
  clientKey?: string | null;
663
679
  /**
664
- * This is always **sql#demoteMasterMysqlReplicaConfiguration**.
680
+ * This is always `sql#demoteMasterMysqlReplicaConfiguration`.
665
681
  */
666
682
  kind?: string | null;
667
683
  /**
@@ -695,7 +711,7 @@ export namespace sqladmin_v1 {
695
711
  */
696
712
  export interface Schema$DiskEncryptionConfiguration {
697
713
  /**
698
- * This is always **sql#diskEncryptionConfiguration**.
714
+ * This is always `sql#diskEncryptionConfiguration`.
699
715
  */
700
716
  kind?: string | null;
701
717
  /**
@@ -708,7 +724,7 @@ export namespace sqladmin_v1 {
708
724
  */
709
725
  export interface Schema$DiskEncryptionStatus {
710
726
  /**
711
- * This is always **sql#diskEncryptionStatus**.
727
+ * This is always `sql#diskEncryptionStatus`.
712
728
  */
713
729
  kind?: string | null;
714
730
  /**
@@ -721,7 +737,7 @@ export namespace sqladmin_v1 {
721
737
  */
722
738
  export interface Schema$ExportContext {
723
739
  /**
724
- * Options for exporting data as CSV. **MySQL** and **PostgreSQL** instances only.
740
+ * Options for exporting data as CSV. `MySQL` and `PostgreSQL` instances only.
725
741
  */
726
742
  csvExportOptions?: {
727
743
  escapeCharacter?: string;
@@ -731,15 +747,15 @@ export namespace sqladmin_v1 {
731
747
  selectQuery?: string;
732
748
  } | null;
733
749
  /**
734
- * Databases to be exported. * **MySQL instances:** If **fileType** 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. * **PostgreSQL instances:** You must specify one database to be exported. If **fileType** is **CSV**, this database must match the one specified in the **csvExportOptions.selectQuery** property. * **SQL Server instances:** You must specify one database to be exported, and the **fileType** must be **BAK**.
750
+ * Databases to be exported. `MySQL instances:` If `fileType` 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. `PostgreSQL instances:` You must specify one database to be exported. If `fileType` is `CSV`, this database must match the one specified in the `csvExportOptions.selectQuery` property. `SQL Server instances:` You must specify one database to be exported, and the `fileType` must be `BAK`.
735
751
  */
736
752
  databases?: string[] | null;
737
753
  /**
738
- * The file type for the specified uri. * **SQL**: The file contains SQL statements. * **CSV**: The file contains CSV data. * **BAK**: The file contains backup data for a SQL Server instance.
754
+ * The file type for the specified uri.
739
755
  */
740
756
  fileType?: string | null;
741
757
  /**
742
- * This is always **sql#exportContext**.
758
+ * This is always `sql#exportContext`.
743
759
  */
744
760
  kind?: string | null;
745
761
  /**
@@ -755,7 +771,7 @@ export namespace sqladmin_v1 {
755
771
  tables?: string[];
756
772
  } | null;
757
773
  /**
758
- * 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 request succeeds, but the operation fails. If **fileType** is **SQL** and the filename ends with .gz, the contents are compressed.
774
+ * 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 request succeeds, but the operation fails. If `fileType` is `SQL` and the filename ends with .gz, the contents are compressed.
759
775
  */
760
776
  uri?: string | null;
761
777
  }
@@ -764,7 +780,7 @@ export namespace sqladmin_v1 {
764
780
  */
765
781
  export interface Schema$FailoverContext {
766
782
  /**
767
- * This is always **sql#failoverContext**.
783
+ * This is always `sql#failoverContext`.
768
784
  */
769
785
  kind?: string | null;
770
786
  /**
@@ -781,11 +797,11 @@ export namespace sqladmin_v1 {
781
797
  */
782
798
  allowedIntValues?: string[] | null;
783
799
  /**
784
- * For **STRING** flags, a list of strings that the value can be set to.
800
+ * For `STRING` flags, a list of strings that the value can be set to.
785
801
  */
786
802
  allowedStringValues?: string[] | null;
787
803
  /**
788
- * The database version this flag applies to. Can be **MYSQL_8_0**, **MYSQL_5_6**, or **MYSQL_5_7**.
804
+ * The database version this flag applies to. Can be MySQL instances: `MYSQL_8_0`, `MYSQL_8_0_18`, `MYSQL_8_0_26`, `MYSQL_5_7`, or `MYSQL_5_6`. PostgreSQL instances: `POSTGRES_9_6`, `POSTGRES_10`, `POSTGRES_11` or `POSTGRES_12`. SQL Server instances: `SQLSERVER_2017_STANDARD`, `SQLSERVER_2017_ENTERPRISE`, `SQLSERVER_2017_EXPRESS`, `SQLSERVER_2017_WEB`, `SQLSERVER_2019_STANDARD`, `SQLSERVER_2019_ENTERPRISE`, `SQLSERVER_2019_EXPRESS`, or `SQLSERVER_2019_WEB`. See [the complete list](/sql/docs/mysql/admin-api/rest/v1/SqlDatabaseVersion).
789
805
  */
790
806
  appliesTo?: string[] | null;
791
807
  /**
@@ -793,19 +809,19 @@ export namespace sqladmin_v1 {
793
809
  */
794
810
  inBeta?: boolean | null;
795
811
  /**
796
- * This is always **sql#flag**.
812
+ * This is always `sql#flag`.
797
813
  */
798
814
  kind?: string | null;
799
815
  /**
800
- * For **INTEGER** flags, the maximum allowed value.
816
+ * For `INTEGER` flags, the maximum allowed value.
801
817
  */
802
818
  maxValue?: string | null;
803
819
  /**
804
- * For **INTEGER** flags, the minimum allowed value.
820
+ * For `INTEGER` flags, the minimum allowed value.
805
821
  */
806
822
  minValue?: string | null;
807
823
  /**
808
- * This is the name of the flag. Flag names always use underscores, not hyphens, for example: **max_allowed_packet**
824
+ * This is the name of the flag. Flag names always use underscores, not hyphens, for example: `max_allowed_packet`
809
825
  */
810
826
  name?: string | null;
811
827
  /**
@@ -813,7 +829,7 @@ export namespace sqladmin_v1 {
813
829
  */
814
830
  requiresRestart?: boolean | null;
815
831
  /**
816
- * The type of the flag. Flags are typed to being **BOOLEAN**, **STRING**, **INTEGER** or **NONE**. **NONE** is used for flags which do not take a value, such as **skip_grant_tables**.
832
+ * The type of the flag. Flags are typed to being `BOOLEAN`, `STRING`, `INTEGER` or `NONE`. `NONE` is used for flags that do not take a value, such as `skip_grant_tables`.
817
833
  */
818
834
  type?: string | null;
819
835
  }
@@ -826,7 +842,7 @@ export namespace sqladmin_v1 {
826
842
  */
827
843
  items?: Schema$Flag[];
828
844
  /**
829
- * This is always **sql#flagsList**.
845
+ * This is always `sql#flagsList`.
830
846
  */
831
847
  kind?: string | null;
832
848
  }
@@ -886,11 +902,11 @@ export namespace sqladmin_v1 {
886
902
  table?: string;
887
903
  } | null;
888
904
  /**
889
- * The target database for the import. If **fileType** 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.
905
+ * The target database for the import. If `fileType` 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.
890
906
  */
891
907
  database?: string | null;
892
908
  /**
893
- * The file type for the specified uri. **SQL**: The file contains SQL statements. **CSV**: The file contains CSV data.
909
+ * The file type for the specified uri.\`SQL`: The file contains SQL statements. \`CSV`: The file contains CSV data.
894
910
  */
895
911
  fileType?: string | null;
896
912
  /**
@@ -898,11 +914,11 @@ export namespace sqladmin_v1 {
898
914
  */
899
915
  importUser?: string | null;
900
916
  /**
901
- * This is always **sql#importContext**.
917
+ * This is always `sql#importContext`.
902
918
  */
903
919
  kind?: string | null;
904
920
  /**
905
- * Path to the import file in Cloud Storage, in the form **gs://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.
921
+ * Path to the import file in Cloud Storage, in the form `gs://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.
906
922
  */
907
923
  uri?: string | null;
908
924
  }
@@ -1002,7 +1018,7 @@ export namespace sqladmin_v1 {
1002
1018
  */
1003
1019
  items?: Schema$DatabaseInstance[];
1004
1020
  /**
1005
- * This is always **sql#instancesList**.
1021
+ * This is always `sql#instancesList`.
1006
1022
  */
1007
1023
  kind?: string | null;
1008
1024
  /**
@@ -1024,7 +1040,7 @@ export namespace sqladmin_v1 {
1024
1040
  */
1025
1041
  certs?: Schema$SslCert[];
1026
1042
  /**
1027
- * This is always **sql#instancesListServerCas**.
1043
+ * This is always `sql#instancesListServerCas`.
1028
1044
  */
1029
1045
  kind?: string | null;
1030
1046
  }
@@ -1060,11 +1076,11 @@ export namespace sqladmin_v1 {
1060
1076
  */
1061
1077
  export interface Schema$IpConfiguration {
1062
1078
  /**
1063
- * The name of the allocated ip range for the private ip CloudSQL instance. For example: "google-managed-services-default". If set, the instance ip will be created in the allocated range. The range name must comply with [RFC 1035](https://tools.ietf.org/html/rfc1035). Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?.` Reserved for future use.
1079
+ * The name of the allocated ip range for the private ip CloudSQL instance. For example: "google-managed-services-default". If set, the instance ip will be created in the allocated range. The range name must comply with [RFC 1035](https://tools.ietf.org/html/rfc1035). Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?.`
1064
1080
  */
1065
1081
  allocatedIpRange?: string | null;
1066
1082
  /**
1067
- * The list of external networks that are allowed to connect to the instance using the IP. In 'CIDR' notation, also known as 'slash' notation (for example: **192.168.100.0/24**).
1083
+ * The list of external networks that are allowed to connect to the instance using the IP. In 'CIDR' notation, also known as 'slash' notation (for example: `157.197.200.0/24`).
1068
1084
  */
1069
1085
  authorizedNetworks?: Schema$AclEntry[];
1070
1086
  /**
@@ -1072,7 +1088,7 @@ export namespace sqladmin_v1 {
1072
1088
  */
1073
1089
  ipv4Enabled?: boolean | null;
1074
1090
  /**
1075
- * The resource link for the VPC network from which the Cloud SQL instance is accessible for private IP. For example, *x/projects/myProject/global/networks/default**. This setting can be updated, but it cannot be removed after it is set.
1091
+ * The resource link for the VPC network from which the Cloud SQL instance is accessible for private IP. For example, `/projects/myProject/global/networks/default`. This setting can be updated, but it cannot be removed after it is set.
1076
1092
  */
1077
1093
  privateNetwork?: string | null;
1078
1094
  /**
@@ -1089,11 +1105,11 @@ export namespace sqladmin_v1 {
1089
1105
  */
1090
1106
  ipAddress?: string | null;
1091
1107
  /**
1092
- * The due time for this IP to be retired in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example **2012-11-15T16:19:00.094Z**. This field is only available when the IP is scheduled to be retired.
1108
+ * The due time for this IP to be retired in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`. This field is only available when the IP is scheduled to be retired.
1093
1109
  */
1094
1110
  timeToRetire?: string | null;
1095
1111
  /**
1096
- * The type of this IP address. A **PRIMARY** 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.
1112
+ * The type of this IP address. A `PRIMARY` 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.
1097
1113
  */
1098
1114
  type?: string | null;
1099
1115
  }
@@ -1102,11 +1118,11 @@ export namespace sqladmin_v1 {
1102
1118
  */
1103
1119
  export interface Schema$LocationPreference {
1104
1120
  /**
1105
- * The App Engine application to follow, it must be in the same region as the Cloud SQL instance.
1121
+ * The App Engine application to follow, it must be in the same region as the Cloud SQL instance. WARNING: Changing this might restart the instance.
1106
1122
  */
1107
1123
  followGaeApplication?: string | null;
1108
1124
  /**
1109
- * This is always **sql#locationPreference**.
1125
+ * This is always `sql#locationPreference`.
1110
1126
  */
1111
1127
  kind?: string | null;
1112
1128
  /**
@@ -1114,7 +1130,7 @@ export namespace sqladmin_v1 {
1114
1130
  */
1115
1131
  secondaryZone?: string | null;
1116
1132
  /**
1117
- * The preferred Compute Engine zone (for example: us-central1-a, us-central1-b, etc.).
1133
+ * The preferred Compute Engine zone (for example: us-central1-a, us-central1-b, etc.). WARNING: Changing this might restart the instance.
1118
1134
  */
1119
1135
  zone?: string | null;
1120
1136
  }
@@ -1131,11 +1147,11 @@ export namespace sqladmin_v1 {
1131
1147
  */
1132
1148
  hour?: number | null;
1133
1149
  /**
1134
- * This is always **sql#maintenanceWindow**.
1150
+ * This is always `sql#maintenanceWindow`.
1135
1151
  */
1136
1152
  kind?: string | null;
1137
1153
  /**
1138
- * Maintenance timing setting: **canary** (Earlier) or **stable** (Later). [Learn more](https://cloud.google.com/sql/docs/mysql/instance-settings#maintenance-timing-2ndgen).
1154
+ * Maintenance timing setting: `canary` (Earlier) or `stable` (Later). [Learn more](https://cloud.google.com/sql/docs/mysql/instance-settings#maintenance-timing-2ndgen).
1139
1155
  */
1140
1156
  updateTrack?: string | null;
1141
1157
  }
@@ -1164,7 +1180,7 @@ export namespace sqladmin_v1 {
1164
1180
  */
1165
1181
  dumpFilePath?: string | null;
1166
1182
  /**
1167
- * This is always **sql#mysqlReplicaConfiguration**.
1183
+ * This is always `sql#mysqlReplicaConfiguration`.
1168
1184
  */
1169
1185
  kind?: string | null;
1170
1186
  /**
@@ -1222,7 +1238,7 @@ export namespace sqladmin_v1 {
1222
1238
  */
1223
1239
  hostPort?: string | null;
1224
1240
  /**
1225
- * This is always **sql#onPremisesConfiguration**.
1241
+ * This is always `sql#onPremisesConfiguration`.
1226
1242
  */
1227
1243
  kind?: string | null;
1228
1244
  /**
@@ -1247,7 +1263,7 @@ export namespace sqladmin_v1 {
1247
1263
  */
1248
1264
  backupContext?: Schema$BackupContext;
1249
1265
  /**
1250
- * The time this operation finished in UTC timezone in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example **2012-11-15T16:19:00.094Z**.
1266
+ * The time this operation finished in UTC timezone in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`.
1251
1267
  */
1252
1268
  endTime?: string | null;
1253
1269
  /**
@@ -1263,11 +1279,11 @@ export namespace sqladmin_v1 {
1263
1279
  */
1264
1280
  importContext?: Schema$ImportContext;
1265
1281
  /**
1266
- * The time this operation was enqueued in UTC timezone in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example **2012-11-15T16:19:00.094Z**.
1282
+ * The time this operation was enqueued in UTC timezone in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`.
1267
1283
  */
1268
1284
  insertTime?: string | null;
1269
1285
  /**
1270
- * This is always **sql#operation**.
1286
+ * This is always `sql#operation`.
1271
1287
  */
1272
1288
  kind?: string | null;
1273
1289
  /**
@@ -1275,7 +1291,7 @@ export namespace sqladmin_v1 {
1275
1291
  */
1276
1292
  name?: string | null;
1277
1293
  /**
1278
- * 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**
1294
+ * 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`
1279
1295
  */
1280
1296
  operationType?: string | null;
1281
1297
  /**
@@ -1283,11 +1299,11 @@ export namespace sqladmin_v1 {
1283
1299
  */
1284
1300
  selfLink?: string | null;
1285
1301
  /**
1286
- * The time this operation actually started in UTC timezone in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example **2012-11-15T16:19:00.094Z**.
1302
+ * The time this operation actually started in UTC timezone in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`.
1287
1303
  */
1288
1304
  startTime?: string | null;
1289
1305
  /**
1290
- * The status of an operation. Valid values are: * **PENDING** * **RUNNING** * **DONE** * **SQL_OPERATION_STATUS_UNSPECIFIED**
1306
+ * The status of an operation.
1291
1307
  */
1292
1308
  status?: string | null;
1293
1309
  /**
@@ -1313,7 +1329,7 @@ export namespace sqladmin_v1 {
1313
1329
  */
1314
1330
  code?: string | null;
1315
1331
  /**
1316
- * This is always **sql#operationError**.
1332
+ * This is always `sql#operationError`.
1317
1333
  */
1318
1334
  kind?: string | null;
1319
1335
  /**
@@ -1330,7 +1346,7 @@ export namespace sqladmin_v1 {
1330
1346
  */
1331
1347
  errors?: Schema$OperationError[];
1332
1348
  /**
1333
- * This is always **sql#operationErrors**.
1349
+ * This is always `sql#operationErrors`.
1334
1350
  */
1335
1351
  kind?: string | null;
1336
1352
  }
@@ -1343,7 +1359,7 @@ export namespace sqladmin_v1 {
1343
1359
  */
1344
1360
  items?: Schema$Operation[];
1345
1361
  /**
1346
- * This is always **sql#operationsList**.
1362
+ * This is always `sql#operationsList`.
1347
1363
  */
1348
1364
  kind?: string | null;
1349
1365
  /**
@@ -1351,20 +1367,58 @@ export namespace sqladmin_v1 {
1351
1367
  */
1352
1368
  nextPageToken?: string | null;
1353
1369
  }
1370
+ /**
1371
+ * Read-only password status.
1372
+ */
1373
+ export interface Schema$PasswordStatus {
1374
+ /**
1375
+ * If true, user does not have login privileges.
1376
+ */
1377
+ locked?: boolean | null;
1378
+ /**
1379
+ * The expiration time of the current password.
1380
+ */
1381
+ passwordExpirationTime?: string | null;
1382
+ }
1383
+ /**
1384
+ * Database instance local user password validation policy
1385
+ */
1386
+ export interface Schema$PasswordValidationPolicy {
1387
+ /**
1388
+ * The complexity of the password.
1389
+ */
1390
+ complexity?: string | null;
1391
+ /**
1392
+ * Disallow username as a part of the password.
1393
+ */
1394
+ disallowUsernameSubstring?: boolean | null;
1395
+ /**
1396
+ * Minimum number of characters allowed.
1397
+ */
1398
+ minLength?: number | null;
1399
+ /**
1400
+ * Minimum interval after which the password can be changed. This flag is only supported for PostgresSQL.
1401
+ */
1402
+ passwordChangeInterval?: string | null;
1403
+ /**
1404
+ * Number of previous passwords that cannot be reused.
1405
+ */
1406
+ reuseInterval?: number | null;
1407
+ }
1354
1408
  /**
1355
1409
  * Read-replica configuration for connecting to the primary instance.
1356
1410
  */
1357
1411
  export interface Schema$ReplicaConfiguration {
1358
1412
  /**
1359
- * 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 primary instance fails, the replica instance will be promoted as the new primary instance. Only one replica can be specified as failover target, and the replica has to be in different zone with the primary instance.
1413
+ * 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 primary instance fails, the replica instance will be promoted as the new primary instance. Only one replica can be specified as failover target, and the replica has to be in different zone with the primary instance.
1360
1414
  */
1361
1415
  failoverTarget?: boolean | null;
1362
1416
  /**
1363
- * This is always **sql#replicaConfiguration**.
1417
+ * This is always `sql#replicaConfiguration`.
1364
1418
  */
1365
1419
  kind?: string | null;
1366
1420
  /**
1367
- * MySQL specific configuration when replicating from a MySQL on-premises primary instance. 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.
1421
+ * MySQL specific configuration when replicating from a MySQL on-premises primary instance. 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.
1368
1422
  */
1369
1423
  mysqlReplicaConfiguration?: Schema$MySqlReplicaConfiguration;
1370
1424
  }
@@ -1374,7 +1428,7 @@ export namespace sqladmin_v1 {
1374
1428
  */
1375
1429
  rescheduleType?: string | null;
1376
1430
  /**
1377
- * Optional. Timestamp when the maintenance shall be rescheduled to if reschedule_type=SPECIFIC_TIME, in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example **2012-11-15T16:19:00.094Z**.
1431
+ * Optional. Timestamp when the maintenance shall be rescheduled to if reschedule_type=SPECIFIC_TIME, in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`.
1378
1432
  */
1379
1433
  scheduleTime?: string | null;
1380
1434
  }
@@ -1391,7 +1445,7 @@ export namespace sqladmin_v1 {
1391
1445
  */
1392
1446
  instanceId?: string | null;
1393
1447
  /**
1394
- * This is always **sql#restoreBackupContext**.
1448
+ * This is always `sql#restoreBackupContext`.
1395
1449
  */
1396
1450
  kind?: string | null;
1397
1451
  /**
@@ -1404,7 +1458,7 @@ export namespace sqladmin_v1 {
1404
1458
  */
1405
1459
  export interface Schema$RotateServerCaContext {
1406
1460
  /**
1407
- * This is always **sql#rotateServerCaContext**.
1461
+ * This is always `sql#rotateServerCaContext`.
1408
1462
  */
1409
1463
  kind?: string | null;
1410
1464
  /**
@@ -1417,7 +1471,7 @@ export namespace sqladmin_v1 {
1417
1471
  */
1418
1472
  export interface Schema$Settings {
1419
1473
  /**
1420
- * The activation policy specifies when the instance is activated; it is applicable only when the instance state is RUNNABLE. 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.
1474
+ * The activation policy specifies when the instance is activated; it is applicable only when the instance state is RUNNABLE. 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.
1421
1475
  */
1422
1476
  activationPolicy?: string | null;
1423
1477
  /**
@@ -1429,7 +1483,7 @@ export namespace sqladmin_v1 {
1429
1483
  */
1430
1484
  authorizedGaeApplications?: string[] | null;
1431
1485
  /**
1432
- * Availability type. Potential values: * **ZONAL**: 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](https://cloud.google.com/sql/docs/mysql/high-availability).
1486
+ * Availability type. Potential values: * `ZONAL`: 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](https://cloud.google.com/sql/docs/mysql/high-availability).
1433
1487
  */
1434
1488
  availabilityType?: string | null;
1435
1489
  /**
@@ -1449,7 +1503,7 @@ export namespace sqladmin_v1 {
1449
1503
  */
1450
1504
  databaseFlags?: Schema$DatabaseFlags[];
1451
1505
  /**
1452
- * Configuration specific to read replica instances. Indicates whether replication is enabled or not.
1506
+ * Configuration specific to read replica instances. Indicates whether replication is enabled or not. WARNING: Changing this restarts the instance.
1453
1507
  */
1454
1508
  databaseReplicationEnabled?: boolean | null;
1455
1509
  /**
@@ -1457,7 +1511,7 @@ export namespace sqladmin_v1 {
1457
1511
  */
1458
1512
  dataDiskSizeGb?: string | null;
1459
1513
  /**
1460
- * The type of data disk: **PD_SSD** (default) or **PD_HDD**. Not used for First Generation instances.
1514
+ * The type of data disk: `PD_SSD` (default) or `PD_HDD`. Not used for First Generation instances.
1461
1515
  */
1462
1516
  dataDiskType?: string | null;
1463
1517
  /**
@@ -1473,7 +1527,7 @@ export namespace sqladmin_v1 {
1473
1527
  */
1474
1528
  ipConfiguration?: Schema$IpConfiguration;
1475
1529
  /**
1476
- * This is always **sql#settings**.
1530
+ * This is always `sql#settings`.
1477
1531
  */
1478
1532
  kind?: string | null;
1479
1533
  /**
@@ -1485,11 +1539,15 @@ export namespace sqladmin_v1 {
1485
1539
  */
1486
1540
  maintenanceWindow?: Schema$MaintenanceWindow;
1487
1541
  /**
1488
- * The pricing plan for this instance. This can be either **PER_USE** or **PACKAGE**. Only **PER_USE** is supported for Second Generation instances.
1542
+ * The local user password validation policy of the instance.
1543
+ */
1544
+ passwordValidationPolicy?: Schema$PasswordValidationPolicy;
1545
+ /**
1546
+ * The pricing plan for this instance. This can be either `PER_USE` or `PACKAGE`. Only `PER_USE` is supported for Second Generation instances.
1489
1547
  */
1490
1548
  pricingPlan?: string | null;
1491
1549
  /**
1492
- * The type of replication this instance uses. This can be either **ASYNCHRONOUS** or **SYNCHRONOUS**. (Deprecated) This property was only applicable to First Generation instances.
1550
+ * The type of replication this instance uses. This can be either `ASYNCHRONOUS` or `SYNCHRONOUS`. (Deprecated) This property was only applicable to First Generation instances.
1493
1551
  */
1494
1552
  replicationType?: string | null;
1495
1553
  /**
@@ -1509,7 +1567,7 @@ export namespace sqladmin_v1 {
1509
1567
  */
1510
1568
  storageAutoResizeLimit?: string | null;
1511
1569
  /**
1512
- * The tier (or machine type) for this instance, for example **db-custom-1-3840**.
1570
+ * The tier (or machine type) for this instance, for example `db-custom-1-3840`. WARNING: Changing this restarts the instance.
1513
1571
  */
1514
1572
  tier?: string | null;
1515
1573
  /**
@@ -1539,7 +1597,7 @@ export namespace sqladmin_v1 {
1539
1597
  */
1540
1598
  detail?: string | null;
1541
1599
  /**
1542
- * Can be **sql#externalSyncSettingError** or **sql#externalSyncSettingWarning**.
1600
+ * Can be `sql#externalSyncSettingError` or `sql#externalSyncSettingWarning`.
1543
1601
  */
1544
1602
  kind?: string | null;
1545
1603
  /**
@@ -1603,7 +1661,7 @@ export namespace sqladmin_v1 {
1603
1661
  */
1604
1662
  errors?: Schema$SqlExternalSyncSettingError[];
1605
1663
  /**
1606
- * This is always **sql#migrationSettingErrorList**.
1664
+ * This is always `sql#migrationSettingErrorList`.
1607
1665
  */
1608
1666
  kind?: string | null;
1609
1667
  /**
@@ -1698,11 +1756,11 @@ export namespace sqladmin_v1 {
1698
1756
  */
1699
1757
  commonName?: string | null;
1700
1758
  /**
1701
- * The time when the certificate was created in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example **2012-11-15T16:19:00.094Z**
1759
+ * The time when the certificate was created in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`
1702
1760
  */
1703
1761
  createTime?: string | null;
1704
1762
  /**
1705
- * The time when the certificate expires in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example **2012-11-15T16:19:00.094Z**.
1763
+ * The time when the certificate expires in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`.
1706
1764
  */
1707
1765
  expirationTime?: string | null;
1708
1766
  /**
@@ -1710,7 +1768,7 @@ export namespace sqladmin_v1 {
1710
1768
  */
1711
1769
  instance?: string | null;
1712
1770
  /**
1713
- * This is always **sql#sslCert**.
1771
+ * This is always `sql#sslCert`.
1714
1772
  */
1715
1773
  kind?: string | null;
1716
1774
  /**
@@ -1766,7 +1824,7 @@ export namespace sqladmin_v1 {
1766
1824
  */
1767
1825
  clientCert?: Schema$SslCertDetail;
1768
1826
  /**
1769
- * This is always **sql#sslCertsInsert**.
1827
+ * This is always `sql#sslCertsInsert`.
1770
1828
  */
1771
1829
  kind?: string | null;
1772
1830
  /**
@@ -1787,7 +1845,7 @@ export namespace sqladmin_v1 {
1787
1845
  */
1788
1846
  items?: Schema$SslCert[];
1789
1847
  /**
1790
- * This is always **sql#sslCertsList**.
1848
+ * This is always `sql#sslCertsList`.
1791
1849
  */
1792
1850
  kind?: string | null;
1793
1851
  }
@@ -1813,7 +1871,7 @@ export namespace sqladmin_v1 {
1813
1871
  */
1814
1872
  DiskQuota?: string | null;
1815
1873
  /**
1816
- * This is always **sql#tier**.
1874
+ * This is always `sql#tier`.
1817
1875
  */
1818
1876
  kind?: string | null;
1819
1877
  /**
@@ -1825,7 +1883,7 @@ export namespace sqladmin_v1 {
1825
1883
  */
1826
1884
  region?: string[] | null;
1827
1885
  /**
1828
- * An identifier for the machine type, for example, db-custom-1-3840. For related information, see [Pricing](/sql/pricing).
1886
+ * An identifier for the machine type, for example, `db-custom-1-3840`. For related information, see [Pricing](/sql/pricing).
1829
1887
  */
1830
1888
  tier?: string | null;
1831
1889
  }
@@ -1838,7 +1896,7 @@ export namespace sqladmin_v1 {
1838
1896
  */
1839
1897
  items?: Schema$Tier[];
1840
1898
  /**
1841
- * This is always **sql#tiersList**.
1899
+ * This is always `sql#tiersList`.
1842
1900
  */
1843
1901
  kind?: string | null;
1844
1902
  }
@@ -1847,11 +1905,11 @@ export namespace sqladmin_v1 {
1847
1905
  */
1848
1906
  export interface Schema$TruncateLogContext {
1849
1907
  /**
1850
- * This is always **sql#truncateLogContext**.
1908
+ * This is always `sql#truncateLogContext`.
1851
1909
  */
1852
1910
  kind?: string | null;
1853
1911
  /**
1854
- * The type of log to truncate. Valid values are **MYSQL_GENERAL_TABLE** and **MYSQL_SLOW_TABLE**.
1912
+ * The type of log to truncate. Valid values are `MYSQL_GENERAL_TABLE` and `MYSQL_SLOW_TABLE`.
1855
1913
  */
1856
1914
  logType?: string | null;
1857
1915
  }
@@ -1864,19 +1922,19 @@ export namespace sqladmin_v1 {
1864
1922
  */
1865
1923
  etag?: string | null;
1866
1924
  /**
1867
- * 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 cannot be updated after insertion.
1925
+ * Optional. The host 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 cannot be updated after insertion. For a MySQL instance, it's required; for a PostgreSQL or SQL Server instance, it's optional.
1868
1926
  */
1869
1927
  host?: string | null;
1870
1928
  /**
1871
- * The name of the Cloud SQL instance. This does not include the project ID. Can be omitted for **update** since it is already specified on the URL.
1929
+ * The name of the Cloud SQL instance. This does not include the project ID. Can be omitted for `update` because it is already specified on the URL.
1872
1930
  */
1873
1931
  instance?: string | null;
1874
1932
  /**
1875
- * This is always **sql#user**.
1933
+ * This is always `sql#user`.
1876
1934
  */
1877
1935
  kind?: string | null;
1878
1936
  /**
1879
- * The name of the user in the Cloud SQL instance. Can be omitted for **update** since it is already specified in the URL.
1937
+ * The name of the user in the Cloud SQL instance. Can be omitted for `update` because it is already specified in the URL.
1880
1938
  */
1881
1939
  name?: string | null;
1882
1940
  /**
@@ -1884,7 +1942,11 @@ export namespace sqladmin_v1 {
1884
1942
  */
1885
1943
  password?: string | null;
1886
1944
  /**
1887
- * The project ID of the project containing the Cloud SQL database. The Google apps domain is prefixed if applicable. Can be omitted for **update** since it is already specified on the URL.
1945
+ * User level password validation policy.
1946
+ */
1947
+ passwordPolicy?: Schema$UserPasswordValidationPolicy;
1948
+ /**
1949
+ * The project ID of the project containing the Cloud SQL database. The Google apps domain is prefixed if applicable. Can be omitted for `update` because it is already specified on the URL.
1888
1950
  */
1889
1951
  project?: string | null;
1890
1952
  sqlserverUserDetails?: Schema$SqlServerUserDetails;
@@ -1893,6 +1955,27 @@ export namespace sqladmin_v1 {
1893
1955
  */
1894
1956
  type?: string | null;
1895
1957
  }
1958
+ /**
1959
+ * User level password validation policy.
1960
+ */
1961
+ export interface Schema$UserPasswordValidationPolicy {
1962
+ /**
1963
+ * Number of failed login attempts allowed before user get locked.
1964
+ */
1965
+ allowedFailedAttempts?: number | null;
1966
+ /**
1967
+ * If true, failed login attempts check will be enabled.
1968
+ */
1969
+ enableFailedAttemptsCheck?: boolean | null;
1970
+ /**
1971
+ * Expiration duration after password is updated.
1972
+ */
1973
+ passwordExpirationDuration?: string | null;
1974
+ /**
1975
+ * Output only. Read-only password status.
1976
+ */
1977
+ status?: Schema$PasswordStatus;
1978
+ }
1896
1979
  /**
1897
1980
  * User list response.
1898
1981
  */
@@ -1902,7 +1985,7 @@ export namespace sqladmin_v1 {
1902
1985
  */
1903
1986
  items?: Schema$User[];
1904
1987
  /**
1905
- * This is always **sql#usersList**.
1988
+ * This is always `sql#usersList`.
1906
1989
  */
1907
1990
  kind?: string | null;
1908
1991
  /**
@@ -5061,10 +5144,12 @@ export namespace sqladmin_v1 {
5061
5144
  *
5062
5145
  * // Example response
5063
5146
  * // {
5147
+ * // "availableMaintenanceVersions": [],
5064
5148
  * // "backendType": "my_backendType",
5065
5149
  * // "connectionName": "my_connectionName",
5066
5150
  * // "createTime": "my_createTime",
5067
5151
  * // "currentDiskSize": "my_currentDiskSize",
5152
+ * // "databaseInstalledVersion": "my_databaseInstalledVersion",
5068
5153
  * // "databaseVersion": "my_databaseVersion",
5069
5154
  * // "diskEncryptionConfiguration": {},
5070
5155
  * // "diskEncryptionStatus": {},
@@ -5075,6 +5160,7 @@ export namespace sqladmin_v1 {
5075
5160
  * // "ipAddresses": [],
5076
5161
  * // "ipv6Address": "my_ipv6Address",
5077
5162
  * // "kind": "my_kind",
5163
+ * // "maintenanceVersion": "my_maintenanceVersion",
5078
5164
  * // "masterInstanceName": "my_masterInstanceName",
5079
5165
  * // "maxDiskSize": "my_maxDiskSize",
5080
5166
  * // "name": "my_name",
@@ -5375,10 +5461,12 @@ export namespace sqladmin_v1 {
5375
5461
  * requestBody: {
5376
5462
  * // request body parameters
5377
5463
  * // {
5464
+ * // "availableMaintenanceVersions": [],
5378
5465
  * // "backendType": "my_backendType",
5379
5466
  * // "connectionName": "my_connectionName",
5380
5467
  * // "createTime": "my_createTime",
5381
5468
  * // "currentDiskSize": "my_currentDiskSize",
5469
+ * // "databaseInstalledVersion": "my_databaseInstalledVersion",
5382
5470
  * // "databaseVersion": "my_databaseVersion",
5383
5471
  * // "diskEncryptionConfiguration": {},
5384
5472
  * // "diskEncryptionStatus": {},
@@ -5389,6 +5477,7 @@ export namespace sqladmin_v1 {
5389
5477
  * // "ipAddresses": [],
5390
5478
  * // "ipv6Address": "my_ipv6Address",
5391
5479
  * // "kind": "my_kind",
5480
+ * // "maintenanceVersion": "my_maintenanceVersion",
5392
5481
  * // "masterInstanceName": "my_masterInstanceName",
5393
5482
  * // "maxDiskSize": "my_maxDiskSize",
5394
5483
  * // "name": "my_name",
@@ -5853,10 +5942,12 @@ export namespace sqladmin_v1 {
5853
5942
  * requestBody: {
5854
5943
  * // request body parameters
5855
5944
  * // {
5945
+ * // "availableMaintenanceVersions": [],
5856
5946
  * // "backendType": "my_backendType",
5857
5947
  * // "connectionName": "my_connectionName",
5858
5948
  * // "createTime": "my_createTime",
5859
5949
  * // "currentDiskSize": "my_currentDiskSize",
5950
+ * // "databaseInstalledVersion": "my_databaseInstalledVersion",
5860
5951
  * // "databaseVersion": "my_databaseVersion",
5861
5952
  * // "diskEncryptionConfiguration": {},
5862
5953
  * // "diskEncryptionStatus": {},
@@ -5867,6 +5958,7 @@ export namespace sqladmin_v1 {
5867
5958
  * // "ipAddresses": [],
5868
5959
  * // "ipv6Address": "my_ipv6Address",
5869
5960
  * // "kind": "my_kind",
5961
+ * // "maintenanceVersion": "my_maintenanceVersion",
5870
5962
  * // "masterInstanceName": "my_masterInstanceName",
5871
5963
  * // "maxDiskSize": "my_maxDiskSize",
5872
5964
  * // "name": "my_name",
@@ -7255,10 +7347,12 @@ export namespace sqladmin_v1 {
7255
7347
  * requestBody: {
7256
7348
  * // request body parameters
7257
7349
  * // {
7350
+ * // "availableMaintenanceVersions": [],
7258
7351
  * // "backendType": "my_backendType",
7259
7352
  * // "connectionName": "my_connectionName",
7260
7353
  * // "createTime": "my_createTime",
7261
7354
  * // "currentDiskSize": "my_currentDiskSize",
7355
+ * // "databaseInstalledVersion": "my_databaseInstalledVersion",
7262
7356
  * // "databaseVersion": "my_databaseVersion",
7263
7357
  * // "diskEncryptionConfiguration": {},
7264
7358
  * // "diskEncryptionStatus": {},
@@ -7269,6 +7363,7 @@ export namespace sqladmin_v1 {
7269
7363
  * // "ipAddresses": [],
7270
7364
  * // "ipv6Address": "my_ipv6Address",
7271
7365
  * // "kind": "my_kind",
7366
+ * // "maintenanceVersion": "my_maintenanceVersion",
7272
7367
  * // "masterInstanceName": "my_masterInstanceName",
7273
7368
  * // "maxDiskSize": "my_maxDiskSize",
7274
7369
  * // "name": "my_name",
@@ -9367,7 +9462,7 @@ export namespace sqladmin_v1 {
9367
9462
  }
9368
9463
 
9369
9464
  /**
9370
- * Lists all available machine types (tiers) for Cloud SQL, for example, db-custom-1-3840. For more information, see https://cloud.google.com/sql/pricing.
9465
+ * Lists all available machine types (tiers) for Cloud SQL, for example, `db-custom-1-3840`. For more information, see https://cloud.google.com/sql/pricing.
9371
9466
  * @example
9372
9467
  * ```js
9373
9468
  * // Before running the sample:
@@ -9711,6 +9806,7 @@ export namespace sqladmin_v1 {
9711
9806
  * // "kind": "my_kind",
9712
9807
  * // "name": "my_name",
9713
9808
  * // "password": "my_password",
9809
+ * // "passwordPolicy": {},
9714
9810
  * // "project": "my_project",
9715
9811
  * // "sqlserverUserDetails": {},
9716
9812
  * // "type": "my_type"
@@ -10015,6 +10111,7 @@ export namespace sqladmin_v1 {
10015
10111
  * // "kind": "my_kind",
10016
10112
  * // "name": "my_name",
10017
10113
  * // "password": "my_password",
10114
+ * // "passwordPolicy": {},
10018
10115
  * // "project": "my_project",
10019
10116
  * // "sqlserverUserDetails": {},
10020
10117
  * // "type": "my_type"