@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/CHANGELOG.md +35 -0
- package/build/v1.d.ts +207 -110
- package/build/v1.js.map +1 -1
- package/build/v1beta4.d.ts +206 -109
- package/build/v1beta4.js.map +1 -1
- package/package.json +2 -2
- package/v1.ts +207 -110
- package/v1beta4.ts +206 -109
package/v1beta4.ts
CHANGED
|
@@ -148,11 +148,11 @@ export namespace sqladmin_v1beta4 {
|
|
|
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
|
|
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
|
|
155
|
+
* This is always `sql#aclEntry`.
|
|
156
156
|
*/
|
|
157
157
|
kind?: string | null;
|
|
158
158
|
/**
|
|
@@ -198,7 +198,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
198
198
|
*/
|
|
199
199
|
enabled?: boolean | null;
|
|
200
200
|
/**
|
|
201
|
-
* This is always
|
|
201
|
+
* This is always `sql#backupConfiguration`.
|
|
202
202
|
*/
|
|
203
203
|
kind?: string | null;
|
|
204
204
|
/**
|
|
@@ -214,7 +214,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
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 -
|
|
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_v1beta4 {
|
|
|
231
231
|
*/
|
|
232
232
|
backupId?: string | null;
|
|
233
233
|
/**
|
|
234
|
-
* This is always
|
|
234
|
+
* This is always `sql#backupContext`.
|
|
235
235
|
*/
|
|
236
236
|
kind?: string | null;
|
|
237
237
|
}
|
|
@@ -269,11 +269,11 @@ export namespace sqladmin_v1beta4 {
|
|
|
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
|
|
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
|
|
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_v1beta4 {
|
|
|
289
289
|
*/
|
|
290
290
|
instance?: string | null;
|
|
291
291
|
/**
|
|
292
|
-
* This is always
|
|
292
|
+
* This is always `sql#backupRun`.
|
|
293
293
|
*/
|
|
294
294
|
kind?: string | null;
|
|
295
295
|
/**
|
|
@@ -301,7 +301,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
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
|
|
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_v1beta4 {
|
|
|
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
|
|
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_v1beta4 {
|
|
|
326
326
|
*/
|
|
327
327
|
items?: Schema$BackupRun[];
|
|
328
328
|
/**
|
|
329
|
-
* This is always
|
|
329
|
+
* This is always `sql#backupRunsList`.
|
|
330
330
|
*/
|
|
331
331
|
kind?: string | null;
|
|
332
332
|
/**
|
|
@@ -347,7 +347,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
347
347
|
*/
|
|
348
348
|
binLogPosition?: string | null;
|
|
349
349
|
/**
|
|
350
|
-
* This is always
|
|
350
|
+
* This is always `sql#binLogCoordinates`.
|
|
351
351
|
*/
|
|
352
352
|
kind?: string | null;
|
|
353
353
|
}
|
|
@@ -355,6 +355,10 @@ export namespace sqladmin_v1beta4 {
|
|
|
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_v1beta4 {
|
|
|
364
368
|
*/
|
|
365
369
|
destinationInstanceName?: string | null;
|
|
366
370
|
/**
|
|
367
|
-
* This is always
|
|
371
|
+
* This is always `sql#cloneContext`.
|
|
368
372
|
*/
|
|
369
373
|
kind?: string | null;
|
|
370
374
|
/**
|
|
@@ -381,11 +385,11 @@ export namespace sqladmin_v1beta4 {
|
|
|
381
385
|
*/
|
|
382
386
|
export interface Schema$ConnectSettings {
|
|
383
387
|
/**
|
|
384
|
-
*
|
|
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
|
|
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` or `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_v1beta4 {
|
|
|
397
401
|
*/
|
|
398
402
|
kind?: string | null;
|
|
399
403
|
/**
|
|
400
|
-
* The cloud region for the instance. e.g.
|
|
404
|
+
* The cloud region for the instance. e.g. `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_v1beta4 {
|
|
|
426
430
|
*/
|
|
427
431
|
instance?: string | null;
|
|
428
432
|
/**
|
|
429
|
-
* This is always
|
|
433
|
+
* This is always `sql#database`.
|
|
430
434
|
*/
|
|
431
435
|
kind?: string | null;
|
|
432
436
|
/**
|
|
@@ -452,7 +456,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
452
456
|
*/
|
|
453
457
|
name?: string | null;
|
|
454
458
|
/**
|
|
455
|
-
* The value of the flag.
|
|
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_v1beta4 {
|
|
|
461
465
|
*/
|
|
462
466
|
export interface Schema$DatabaseInstance {
|
|
463
467
|
/**
|
|
464
|
-
*
|
|
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_v1beta4 {
|
|
|
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
|
|
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_v1beta4 {
|
|
|
477
485
|
*/
|
|
478
486
|
currentDiskSize?: string | null;
|
|
479
487
|
/**
|
|
480
|
-
*
|
|
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_v1beta4 {
|
|
|
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
|
|
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_v1beta4 {
|
|
|
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.
|
|
516
|
+
* The instance type.
|
|
505
517
|
*/
|
|
506
518
|
instanceType?: string | null;
|
|
507
519
|
/**
|
|
@@ -513,9 +525,13 @@ export namespace sqladmin_v1beta4 {
|
|
|
513
525
|
*/
|
|
514
526
|
ipv6Address?: string | null;
|
|
515
527
|
/**
|
|
516
|
-
* This is always
|
|
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_v1beta4 {
|
|
|
541
557
|
*/
|
|
542
558
|
project?: string | null;
|
|
543
559
|
/**
|
|
544
|
-
* The geographical region. Can be: *
|
|
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_v1beta4 {
|
|
|
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_v1beta4 {
|
|
|
585
601
|
*/
|
|
586
602
|
settings?: Schema$Settings;
|
|
587
603
|
/**
|
|
588
|
-
* The current serving state of the Cloud SQL instance.
|
|
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_v1beta4 {
|
|
|
602
618
|
*/
|
|
603
619
|
items?: Schema$Database[];
|
|
604
620
|
/**
|
|
605
|
-
* This is always
|
|
621
|
+
* This is always `sql#databasesList`.
|
|
606
622
|
*/
|
|
607
623
|
kind?: string | null;
|
|
608
624
|
}
|
|
@@ -611,11 +627,11 @@ export namespace sqladmin_v1beta4 {
|
|
|
611
627
|
*/
|
|
612
628
|
export interface Schema$DemoteMasterConfiguration {
|
|
613
629
|
/**
|
|
614
|
-
* This is always
|
|
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
|
|
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_v1beta4 {
|
|
|
624
640
|
*/
|
|
625
641
|
export interface Schema$DemoteMasterContext {
|
|
626
642
|
/**
|
|
627
|
-
* This is always
|
|
643
|
+
* This is always `sql#demoteMasterContext`.
|
|
628
644
|
*/
|
|
629
645
|
kind?: string | null;
|
|
630
646
|
/**
|
|
@@ -640,7 +656,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
640
656
|
*/
|
|
641
657
|
skipReplicationSetup?: boolean | null;
|
|
642
658
|
/**
|
|
643
|
-
* Verify GTID consistency for demote operation. Default value:
|
|
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_v1beta4 {
|
|
|
661
677
|
*/
|
|
662
678
|
clientKey?: string | null;
|
|
663
679
|
/**
|
|
664
|
-
* This is always
|
|
680
|
+
* This is always `sql#demoteMasterMysqlReplicaConfiguration`.
|
|
665
681
|
*/
|
|
666
682
|
kind?: string | null;
|
|
667
683
|
/**
|
|
@@ -695,7 +711,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
695
711
|
*/
|
|
696
712
|
export interface Schema$DiskEncryptionConfiguration {
|
|
697
713
|
/**
|
|
698
|
-
* This is always
|
|
714
|
+
* This is always `sql#diskEncryptionConfiguration`.
|
|
699
715
|
*/
|
|
700
716
|
kind?: string | null;
|
|
701
717
|
/**
|
|
@@ -708,7 +724,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
708
724
|
*/
|
|
709
725
|
export interface Schema$DiskEncryptionStatus {
|
|
710
726
|
/**
|
|
711
|
-
* This is always
|
|
727
|
+
* This is always `sql#diskEncryptionStatus`.
|
|
712
728
|
*/
|
|
713
729
|
kind?: string | null;
|
|
714
730
|
/**
|
|
@@ -721,7 +737,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
721
737
|
*/
|
|
722
738
|
export interface Schema$ExportContext {
|
|
723
739
|
/**
|
|
724
|
-
* Options for exporting data as CSV.
|
|
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_v1beta4 {
|
|
|
731
747
|
selectQuery?: string;
|
|
732
748
|
} | null;
|
|
733
749
|
/**
|
|
734
|
-
* Databases to be exported.
|
|
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.
|
|
754
|
+
* The file type for the specified uri.
|
|
739
755
|
*/
|
|
740
756
|
fileType?: string | null;
|
|
741
757
|
/**
|
|
742
|
-
* This is always
|
|
758
|
+
* This is always `sql#exportContext`.
|
|
743
759
|
*/
|
|
744
760
|
kind?: string | null;
|
|
745
761
|
/**
|
|
@@ -755,7 +771,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
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
|
|
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_v1beta4 {
|
|
|
764
780
|
*/
|
|
765
781
|
export interface Schema$FailoverContext {
|
|
766
782
|
/**
|
|
767
|
-
* This is always
|
|
783
|
+
* This is always `sql#failoverContext`.
|
|
768
784
|
*/
|
|
769
785
|
kind?: string | null;
|
|
770
786
|
/**
|
|
@@ -781,11 +797,11 @@ export namespace sqladmin_v1beta4 {
|
|
|
781
797
|
*/
|
|
782
798
|
allowedIntValues?: string[] | null;
|
|
783
799
|
/**
|
|
784
|
-
* For
|
|
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
|
|
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_v1beta4 {
|
|
|
793
809
|
*/
|
|
794
810
|
inBeta?: boolean | null;
|
|
795
811
|
/**
|
|
796
|
-
* This is always
|
|
812
|
+
* This is always `sql#flag`.
|
|
797
813
|
*/
|
|
798
814
|
kind?: string | null;
|
|
799
815
|
/**
|
|
800
|
-
* For
|
|
816
|
+
* For `INTEGER` flags, the maximum allowed value.
|
|
801
817
|
*/
|
|
802
818
|
maxValue?: string | null;
|
|
803
819
|
/**
|
|
804
|
-
* For
|
|
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:
|
|
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_v1beta4 {
|
|
|
813
829
|
*/
|
|
814
830
|
requiresRestart?: boolean | null;
|
|
815
831
|
/**
|
|
816
|
-
* The type of the flag. Flags are typed to being
|
|
832
|
+
* 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`.
|
|
817
833
|
*/
|
|
818
834
|
type?: string | null;
|
|
819
835
|
}
|
|
@@ -826,7 +842,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
826
842
|
*/
|
|
827
843
|
items?: Schema$Flag[];
|
|
828
844
|
/**
|
|
829
|
-
* This is always
|
|
845
|
+
* This is always `sql#flagsList`.
|
|
830
846
|
*/
|
|
831
847
|
kind?: string | null;
|
|
832
848
|
}
|
|
@@ -886,11 +902,11 @@ export namespace sqladmin_v1beta4 {
|
|
|
886
902
|
table?: string;
|
|
887
903
|
} | null;
|
|
888
904
|
/**
|
|
889
|
-
* The target database for the import. If
|
|
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. *
|
|
909
|
+
* 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.
|
|
894
910
|
*/
|
|
895
911
|
fileType?: string | null;
|
|
896
912
|
/**
|
|
@@ -898,11 +914,11 @@ export namespace sqladmin_v1beta4 {
|
|
|
898
914
|
*/
|
|
899
915
|
importUser?: string | null;
|
|
900
916
|
/**
|
|
901
|
-
* This is always
|
|
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
|
|
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_v1beta4 {
|
|
|
1002
1018
|
*/
|
|
1003
1019
|
items?: Schema$DatabaseInstance[];
|
|
1004
1020
|
/**
|
|
1005
|
-
* This is always
|
|
1021
|
+
* This is always `sql#instancesList`.
|
|
1006
1022
|
*/
|
|
1007
1023
|
kind?: string | null;
|
|
1008
1024
|
/**
|
|
@@ -1024,7 +1040,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
1024
1040
|
*/
|
|
1025
1041
|
certs?: Schema$SslCert[];
|
|
1026
1042
|
/**
|
|
1027
|
-
* This is always
|
|
1043
|
+
* This is always `sql#instancesListServerCas`.
|
|
1028
1044
|
*/
|
|
1029
1045
|
kind?: string | null;
|
|
1030
1046
|
}
|
|
@@ -1060,11 +1076,11 @@ export namespace sqladmin_v1beta4 {
|
|
|
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])?.`
|
|
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:
|
|
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_v1beta4 {
|
|
|
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,
|
|
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_v1beta4 {
|
|
|
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
|
|
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
|
|
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_v1beta4 {
|
|
|
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
|
|
1125
|
+
* This is always `sql#locationPreference`.
|
|
1110
1126
|
*/
|
|
1111
1127
|
kind?: string | null;
|
|
1112
1128
|
/**
|
|
@@ -1114,7 +1130,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
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_v1beta4 {
|
|
|
1131
1147
|
*/
|
|
1132
1148
|
hour?: number | null;
|
|
1133
1149
|
/**
|
|
1134
|
-
* This is always
|
|
1150
|
+
* This is always `sql#maintenanceWindow`.
|
|
1135
1151
|
*/
|
|
1136
1152
|
kind?: string | null;
|
|
1137
1153
|
/**
|
|
1138
|
-
* Maintenance timing setting:
|
|
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_v1beta4 {
|
|
|
1164
1180
|
*/
|
|
1165
1181
|
dumpFilePath?: string | null;
|
|
1166
1182
|
/**
|
|
1167
|
-
* This is always
|
|
1183
|
+
* This is always `sql#mysqlReplicaConfiguration`.
|
|
1168
1184
|
*/
|
|
1169
1185
|
kind?: string | null;
|
|
1170
1186
|
/**
|
|
@@ -1222,7 +1238,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
1222
1238
|
*/
|
|
1223
1239
|
hostPort?: string | null;
|
|
1224
1240
|
/**
|
|
1225
|
-
* This is always
|
|
1241
|
+
* This is always `sql#onPremisesConfiguration`.
|
|
1226
1242
|
*/
|
|
1227
1243
|
kind?: string | null;
|
|
1228
1244
|
/**
|
|
@@ -1247,7 +1263,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
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
|
|
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_v1beta4 {
|
|
|
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
|
|
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
|
|
1286
|
+
* This is always `sql#operation`.
|
|
1271
1287
|
*/
|
|
1272
1288
|
kind?: string | null;
|
|
1273
1289
|
/**
|
|
@@ -1275,7 +1291,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
1275
1291
|
*/
|
|
1276
1292
|
name?: string | null;
|
|
1277
1293
|
/**
|
|
1278
|
-
* The type of the operation. Valid values are: *
|
|
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_v1beta4 {
|
|
|
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
|
|
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.
|
|
1306
|
+
* The status of an operation.
|
|
1291
1307
|
*/
|
|
1292
1308
|
status?: string | null;
|
|
1293
1309
|
/**
|
|
@@ -1313,7 +1329,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
1313
1329
|
*/
|
|
1314
1330
|
code?: string | null;
|
|
1315
1331
|
/**
|
|
1316
|
-
* This is always
|
|
1332
|
+
* This is always `sql#operationError`.
|
|
1317
1333
|
*/
|
|
1318
1334
|
kind?: string | null;
|
|
1319
1335
|
/**
|
|
@@ -1330,7 +1346,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
1330
1346
|
*/
|
|
1331
1347
|
errors?: Schema$OperationError[];
|
|
1332
1348
|
/**
|
|
1333
|
-
* This is always
|
|
1349
|
+
* This is always `sql#operationErrors`.
|
|
1334
1350
|
*/
|
|
1335
1351
|
kind?: string | null;
|
|
1336
1352
|
}
|
|
@@ -1343,7 +1359,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
1343
1359
|
*/
|
|
1344
1360
|
items?: Schema$Operation[];
|
|
1345
1361
|
/**
|
|
1346
|
-
* This is always
|
|
1362
|
+
* This is always `sql#operationsList`.
|
|
1347
1363
|
*/
|
|
1348
1364
|
kind?: string | null;
|
|
1349
1365
|
/**
|
|
@@ -1351,20 +1367,58 @@ export namespace sqladmin_v1beta4 {
|
|
|
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
|
|
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
|
|
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
|
|
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_v1beta4 {
|
|
|
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
|
|
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_v1beta4 {
|
|
|
1391
1445
|
*/
|
|
1392
1446
|
instanceId?: string | null;
|
|
1393
1447
|
/**
|
|
1394
|
-
* This is always
|
|
1448
|
+
* This is always `sql#restoreBackupContext`.
|
|
1395
1449
|
*/
|
|
1396
1450
|
kind?: string | null;
|
|
1397
1451
|
/**
|
|
@@ -1404,7 +1458,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
1404
1458
|
*/
|
|
1405
1459
|
export interface Schema$RotateServerCaContext {
|
|
1406
1460
|
/**
|
|
1407
|
-
* This is always
|
|
1461
|
+
* This is always `sql#rotateServerCaContext`.
|
|
1408
1462
|
*/
|
|
1409
1463
|
kind?: string | null;
|
|
1410
1464
|
/**
|
|
@@ -1417,7 +1471,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
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: *
|
|
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_v1beta4 {
|
|
|
1429
1483
|
*/
|
|
1430
1484
|
authorizedGaeApplications?: string[] | null;
|
|
1431
1485
|
/**
|
|
1432
|
-
* Availability type. Potential values: *
|
|
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_v1beta4 {
|
|
|
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_v1beta4 {
|
|
|
1457
1511
|
*/
|
|
1458
1512
|
dataDiskSizeGb?: string | null;
|
|
1459
1513
|
/**
|
|
1460
|
-
* The type of data disk:
|
|
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_v1beta4 {
|
|
|
1473
1527
|
*/
|
|
1474
1528
|
ipConfiguration?: Schema$IpConfiguration;
|
|
1475
1529
|
/**
|
|
1476
|
-
* This is always
|
|
1530
|
+
* This is always `sql#settings`.
|
|
1477
1531
|
*/
|
|
1478
1532
|
kind?: string | null;
|
|
1479
1533
|
/**
|
|
@@ -1485,11 +1539,15 @@ export namespace sqladmin_v1beta4 {
|
|
|
1485
1539
|
*/
|
|
1486
1540
|
maintenanceWindow?: Schema$MaintenanceWindow;
|
|
1487
1541
|
/**
|
|
1488
|
-
* The
|
|
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
|
|
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_v1beta4 {
|
|
|
1509
1567
|
*/
|
|
1510
1568
|
storageAutoResizeLimit?: string | null;
|
|
1511
1569
|
/**
|
|
1512
|
-
* The tier (or machine type) for this instance, for example
|
|
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_v1beta4 {
|
|
|
1539
1597
|
*/
|
|
1540
1598
|
detail?: string | null;
|
|
1541
1599
|
/**
|
|
1542
|
-
* Can be
|
|
1600
|
+
* Can be `sql#externalSyncSettingError` or `sql#externalSyncSettingWarning`.
|
|
1543
1601
|
*/
|
|
1544
1602
|
kind?: string | null;
|
|
1545
1603
|
/**
|
|
@@ -1597,7 +1655,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
1597
1655
|
*/
|
|
1598
1656
|
errors?: Schema$SqlExternalSyncSettingError[];
|
|
1599
1657
|
/**
|
|
1600
|
-
* This is always
|
|
1658
|
+
* This is always `sql#migrationSettingErrorList`.
|
|
1601
1659
|
*/
|
|
1602
1660
|
kind?: string | null;
|
|
1603
1661
|
/**
|
|
@@ -1692,11 +1750,11 @@ export namespace sqladmin_v1beta4 {
|
|
|
1692
1750
|
*/
|
|
1693
1751
|
commonName?: string | null;
|
|
1694
1752
|
/**
|
|
1695
|
-
* The time when the certificate was created in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
|
|
1753
|
+
* 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`.
|
|
1696
1754
|
*/
|
|
1697
1755
|
createTime?: string | null;
|
|
1698
1756
|
/**
|
|
1699
|
-
* The time when the certificate expires in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
|
|
1757
|
+
* The time when the certificate expires in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`.
|
|
1700
1758
|
*/
|
|
1701
1759
|
expirationTime?: string | null;
|
|
1702
1760
|
/**
|
|
@@ -1704,7 +1762,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
1704
1762
|
*/
|
|
1705
1763
|
instance?: string | null;
|
|
1706
1764
|
/**
|
|
1707
|
-
* This is always
|
|
1765
|
+
* This is always `sql#sslCert`.
|
|
1708
1766
|
*/
|
|
1709
1767
|
kind?: string | null;
|
|
1710
1768
|
/**
|
|
@@ -1760,7 +1818,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
1760
1818
|
*/
|
|
1761
1819
|
clientCert?: Schema$SslCertDetail;
|
|
1762
1820
|
/**
|
|
1763
|
-
* This is always
|
|
1821
|
+
* This is always `sql#sslCertsInsert`.
|
|
1764
1822
|
*/
|
|
1765
1823
|
kind?: string | null;
|
|
1766
1824
|
/**
|
|
@@ -1781,7 +1839,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
1781
1839
|
*/
|
|
1782
1840
|
items?: Schema$SslCert[];
|
|
1783
1841
|
/**
|
|
1784
|
-
* This is always
|
|
1842
|
+
* This is always `sql#sslCertsList`.
|
|
1785
1843
|
*/
|
|
1786
1844
|
kind?: string | null;
|
|
1787
1845
|
}
|
|
@@ -1807,7 +1865,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
1807
1865
|
*/
|
|
1808
1866
|
DiskQuota?: string | null;
|
|
1809
1867
|
/**
|
|
1810
|
-
* This is always
|
|
1868
|
+
* This is always `sql#tier`.
|
|
1811
1869
|
*/
|
|
1812
1870
|
kind?: string | null;
|
|
1813
1871
|
/**
|
|
@@ -1819,7 +1877,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
1819
1877
|
*/
|
|
1820
1878
|
region?: string[] | null;
|
|
1821
1879
|
/**
|
|
1822
|
-
* An identifier for the machine type, for example, db-custom-1-3840
|
|
1880
|
+
* An identifier for the machine type, for example, `db-custom-1-3840`. For related information, see [Pricing](/sql/pricing).
|
|
1823
1881
|
*/
|
|
1824
1882
|
tier?: string | null;
|
|
1825
1883
|
}
|
|
@@ -1832,7 +1890,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
1832
1890
|
*/
|
|
1833
1891
|
items?: Schema$Tier[];
|
|
1834
1892
|
/**
|
|
1835
|
-
* This is always
|
|
1893
|
+
* This is always `sql#tiersList`.
|
|
1836
1894
|
*/
|
|
1837
1895
|
kind?: string | null;
|
|
1838
1896
|
}
|
|
@@ -1841,11 +1899,11 @@ export namespace sqladmin_v1beta4 {
|
|
|
1841
1899
|
*/
|
|
1842
1900
|
export interface Schema$TruncateLogContext {
|
|
1843
1901
|
/**
|
|
1844
|
-
* This is always
|
|
1902
|
+
* This is always `sql#truncateLogContext`.
|
|
1845
1903
|
*/
|
|
1846
1904
|
kind?: string | null;
|
|
1847
1905
|
/**
|
|
1848
|
-
* The type of log to truncate. Valid values are
|
|
1906
|
+
* The type of log to truncate. Valid values are `MYSQL_GENERAL_TABLE` and `MYSQL_SLOW_TABLE`.
|
|
1849
1907
|
*/
|
|
1850
1908
|
logType?: string | null;
|
|
1851
1909
|
}
|
|
@@ -1858,19 +1916,19 @@ export namespace sqladmin_v1beta4 {
|
|
|
1858
1916
|
*/
|
|
1859
1917
|
etag?: string | null;
|
|
1860
1918
|
/**
|
|
1861
|
-
* The host
|
|
1919
|
+
* 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.
|
|
1862
1920
|
*/
|
|
1863
1921
|
host?: string | null;
|
|
1864
1922
|
/**
|
|
1865
|
-
* The name of the Cloud SQL instance. This does not include the project ID. Can be omitted for *update*
|
|
1923
|
+
* 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.
|
|
1866
1924
|
*/
|
|
1867
1925
|
instance?: string | null;
|
|
1868
1926
|
/**
|
|
1869
|
-
* This is always
|
|
1927
|
+
* This is always `sql#user`.
|
|
1870
1928
|
*/
|
|
1871
1929
|
kind?: string | null;
|
|
1872
1930
|
/**
|
|
1873
|
-
* The name of the user in the Cloud SQL instance. Can be omitted for
|
|
1931
|
+
* The name of the user in the Cloud SQL instance. Can be omitted for `update` because it is already specified in the URL.
|
|
1874
1932
|
*/
|
|
1875
1933
|
name?: string | null;
|
|
1876
1934
|
/**
|
|
@@ -1878,7 +1936,11 @@ export namespace sqladmin_v1beta4 {
|
|
|
1878
1936
|
*/
|
|
1879
1937
|
password?: string | null;
|
|
1880
1938
|
/**
|
|
1881
|
-
*
|
|
1939
|
+
* User level password validation policy.
|
|
1940
|
+
*/
|
|
1941
|
+
passwordPolicy?: Schema$UserPasswordValidationPolicy;
|
|
1942
|
+
/**
|
|
1943
|
+
* 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.
|
|
1882
1944
|
*/
|
|
1883
1945
|
project?: string | null;
|
|
1884
1946
|
sqlserverUserDetails?: Schema$SqlServerUserDetails;
|
|
@@ -1887,6 +1949,27 @@ export namespace sqladmin_v1beta4 {
|
|
|
1887
1949
|
*/
|
|
1888
1950
|
type?: string | null;
|
|
1889
1951
|
}
|
|
1952
|
+
/**
|
|
1953
|
+
* User level password validation policy.
|
|
1954
|
+
*/
|
|
1955
|
+
export interface Schema$UserPasswordValidationPolicy {
|
|
1956
|
+
/**
|
|
1957
|
+
* Number of failed login attempts allowed before user get locked.
|
|
1958
|
+
*/
|
|
1959
|
+
allowedFailedAttempts?: number | null;
|
|
1960
|
+
/**
|
|
1961
|
+
* If true, failed login attempts check will be enabled.
|
|
1962
|
+
*/
|
|
1963
|
+
enableFailedAttemptsCheck?: boolean | null;
|
|
1964
|
+
/**
|
|
1965
|
+
* Expiration duration after password is updated.
|
|
1966
|
+
*/
|
|
1967
|
+
passwordExpirationDuration?: string | null;
|
|
1968
|
+
/**
|
|
1969
|
+
* Output only. Read-only password status.
|
|
1970
|
+
*/
|
|
1971
|
+
status?: Schema$PasswordStatus;
|
|
1972
|
+
}
|
|
1890
1973
|
/**
|
|
1891
1974
|
* User list response.
|
|
1892
1975
|
*/
|
|
@@ -5062,10 +5145,12 @@ export namespace sqladmin_v1beta4 {
|
|
|
5062
5145
|
*
|
|
5063
5146
|
* // Example response
|
|
5064
5147
|
* // {
|
|
5148
|
+
* // "availableMaintenanceVersions": [],
|
|
5065
5149
|
* // "backendType": "my_backendType",
|
|
5066
5150
|
* // "connectionName": "my_connectionName",
|
|
5067
5151
|
* // "createTime": "my_createTime",
|
|
5068
5152
|
* // "currentDiskSize": "my_currentDiskSize",
|
|
5153
|
+
* // "databaseInstalledVersion": "my_databaseInstalledVersion",
|
|
5069
5154
|
* // "databaseVersion": "my_databaseVersion",
|
|
5070
5155
|
* // "diskEncryptionConfiguration": {},
|
|
5071
5156
|
* // "diskEncryptionStatus": {},
|
|
@@ -5076,6 +5161,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
5076
5161
|
* // "ipAddresses": [],
|
|
5077
5162
|
* // "ipv6Address": "my_ipv6Address",
|
|
5078
5163
|
* // "kind": "my_kind",
|
|
5164
|
+
* // "maintenanceVersion": "my_maintenanceVersion",
|
|
5079
5165
|
* // "masterInstanceName": "my_masterInstanceName",
|
|
5080
5166
|
* // "maxDiskSize": "my_maxDiskSize",
|
|
5081
5167
|
* // "name": "my_name",
|
|
@@ -5377,10 +5463,12 @@ export namespace sqladmin_v1beta4 {
|
|
|
5377
5463
|
* requestBody: {
|
|
5378
5464
|
* // request body parameters
|
|
5379
5465
|
* // {
|
|
5466
|
+
* // "availableMaintenanceVersions": [],
|
|
5380
5467
|
* // "backendType": "my_backendType",
|
|
5381
5468
|
* // "connectionName": "my_connectionName",
|
|
5382
5469
|
* // "createTime": "my_createTime",
|
|
5383
5470
|
* // "currentDiskSize": "my_currentDiskSize",
|
|
5471
|
+
* // "databaseInstalledVersion": "my_databaseInstalledVersion",
|
|
5384
5472
|
* // "databaseVersion": "my_databaseVersion",
|
|
5385
5473
|
* // "diskEncryptionConfiguration": {},
|
|
5386
5474
|
* // "diskEncryptionStatus": {},
|
|
@@ -5391,6 +5479,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
5391
5479
|
* // "ipAddresses": [],
|
|
5392
5480
|
* // "ipv6Address": "my_ipv6Address",
|
|
5393
5481
|
* // "kind": "my_kind",
|
|
5482
|
+
* // "maintenanceVersion": "my_maintenanceVersion",
|
|
5394
5483
|
* // "masterInstanceName": "my_masterInstanceName",
|
|
5395
5484
|
* // "maxDiskSize": "my_maxDiskSize",
|
|
5396
5485
|
* // "name": "my_name",
|
|
@@ -5853,10 +5942,12 @@ export namespace sqladmin_v1beta4 {
|
|
|
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_v1beta4 {
|
|
|
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",
|
|
@@ -7256,10 +7348,12 @@ export namespace sqladmin_v1beta4 {
|
|
|
7256
7348
|
* requestBody: {
|
|
7257
7349
|
* // request body parameters
|
|
7258
7350
|
* // {
|
|
7351
|
+
* // "availableMaintenanceVersions": [],
|
|
7259
7352
|
* // "backendType": "my_backendType",
|
|
7260
7353
|
* // "connectionName": "my_connectionName",
|
|
7261
7354
|
* // "createTime": "my_createTime",
|
|
7262
7355
|
* // "currentDiskSize": "my_currentDiskSize",
|
|
7356
|
+
* // "databaseInstalledVersion": "my_databaseInstalledVersion",
|
|
7263
7357
|
* // "databaseVersion": "my_databaseVersion",
|
|
7264
7358
|
* // "diskEncryptionConfiguration": {},
|
|
7265
7359
|
* // "diskEncryptionStatus": {},
|
|
@@ -7270,6 +7364,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
7270
7364
|
* // "ipAddresses": [],
|
|
7271
7365
|
* // "ipv6Address": "my_ipv6Address",
|
|
7272
7366
|
* // "kind": "my_kind",
|
|
7367
|
+
* // "maintenanceVersion": "my_maintenanceVersion",
|
|
7273
7368
|
* // "masterInstanceName": "my_masterInstanceName",
|
|
7274
7369
|
* // "maxDiskSize": "my_maxDiskSize",
|
|
7275
7370
|
* // "name": "my_name",
|
|
@@ -9369,7 +9464,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
9369
9464
|
}
|
|
9370
9465
|
|
|
9371
9466
|
/**
|
|
9372
|
-
* Lists all available machine types (tiers) for Cloud SQL, for example, db-custom-1-3840
|
|
9467
|
+
* Lists all available machine types (tiers) for Cloud SQL, for example, `db-custom-1-3840`. For related information, see [Pricing](/sql/pricing).
|
|
9373
9468
|
* @example
|
|
9374
9469
|
* ```js
|
|
9375
9470
|
* // Before running the sample:
|
|
@@ -9714,6 +9809,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
9714
9809
|
* // "kind": "my_kind",
|
|
9715
9810
|
* // "name": "my_name",
|
|
9716
9811
|
* // "password": "my_password",
|
|
9812
|
+
* // "passwordPolicy": {},
|
|
9717
9813
|
* // "project": "my_project",
|
|
9718
9814
|
* // "sqlserverUserDetails": {},
|
|
9719
9815
|
* // "type": "my_type"
|
|
@@ -10020,6 +10116,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
10020
10116
|
* // "kind": "my_kind",
|
|
10021
10117
|
* // "name": "my_name",
|
|
10022
10118
|
* // "password": "my_password",
|
|
10119
|
+
* // "passwordPolicy": {},
|
|
10023
10120
|
* // "project": "my_project",
|
|
10024
10121
|
* // "sqlserverUserDetails": {},
|
|
10025
10122
|
* // "type": "my_type"
|