@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/build/v1beta4.d.ts
CHANGED
|
@@ -85,11 +85,11 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
85
85
|
*/
|
|
86
86
|
export interface Schema$AclEntry {
|
|
87
87
|
/**
|
|
88
|
-
* The time when this access control entry expires in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
|
|
88
|
+
* 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`.
|
|
89
89
|
*/
|
|
90
90
|
expirationTime?: string | null;
|
|
91
91
|
/**
|
|
92
|
-
* This is always
|
|
92
|
+
* This is always `sql#aclEntry`.
|
|
93
93
|
*/
|
|
94
94
|
kind?: string | null;
|
|
95
95
|
/**
|
|
@@ -135,7 +135,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
135
135
|
*/
|
|
136
136
|
enabled?: boolean | null;
|
|
137
137
|
/**
|
|
138
|
-
* This is always
|
|
138
|
+
* This is always `sql#backupConfiguration`.
|
|
139
139
|
*/
|
|
140
140
|
kind?: string | null;
|
|
141
141
|
/**
|
|
@@ -151,7 +151,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
151
151
|
*/
|
|
152
152
|
replicationLogArchivingEnabled?: boolean | null;
|
|
153
153
|
/**
|
|
154
|
-
* Start time for the daily backup configuration in UTC timezone in the 24 hour format -
|
|
154
|
+
* Start time for the daily backup configuration in UTC timezone in the 24 hour format - `HH:MM`.
|
|
155
155
|
*/
|
|
156
156
|
startTime?: string | null;
|
|
157
157
|
/**
|
|
@@ -168,7 +168,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
168
168
|
*/
|
|
169
169
|
backupId?: string | null;
|
|
170
170
|
/**
|
|
171
|
-
* This is always
|
|
171
|
+
* This is always `sql#backupContext`.
|
|
172
172
|
*/
|
|
173
173
|
kind?: string | null;
|
|
174
174
|
}
|
|
@@ -206,11 +206,11 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
206
206
|
*/
|
|
207
207
|
diskEncryptionStatus?: Schema$DiskEncryptionStatus;
|
|
208
208
|
/**
|
|
209
|
-
* The time the backup operation completed in UTC timezone in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
|
|
209
|
+
* 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`.
|
|
210
210
|
*/
|
|
211
211
|
endTime?: string | null;
|
|
212
212
|
/**
|
|
213
|
-
* The time the run was enqueued in UTC timezone in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
|
|
213
|
+
* 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`.
|
|
214
214
|
*/
|
|
215
215
|
enqueuedTime?: string | null;
|
|
216
216
|
/**
|
|
@@ -226,7 +226,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
226
226
|
*/
|
|
227
227
|
instance?: string | null;
|
|
228
228
|
/**
|
|
229
|
-
* This is always
|
|
229
|
+
* This is always `sql#backupRun`.
|
|
230
230
|
*/
|
|
231
231
|
kind?: string | null;
|
|
232
232
|
/**
|
|
@@ -238,7 +238,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
238
238
|
*/
|
|
239
239
|
selfLink?: string | null;
|
|
240
240
|
/**
|
|
241
|
-
* The time the backup operation actually started in UTC timezone in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
|
|
241
|
+
* 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`.
|
|
242
242
|
*/
|
|
243
243
|
startTime?: string | null;
|
|
244
244
|
/**
|
|
@@ -250,7 +250,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
250
250
|
*/
|
|
251
251
|
type?: string | null;
|
|
252
252
|
/**
|
|
253
|
-
* 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
|
|
253
|
+
* 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`.
|
|
254
254
|
*/
|
|
255
255
|
windowStartTime?: string | null;
|
|
256
256
|
}
|
|
@@ -263,7 +263,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
263
263
|
*/
|
|
264
264
|
items?: Schema$BackupRun[];
|
|
265
265
|
/**
|
|
266
|
-
* This is always
|
|
266
|
+
* This is always `sql#backupRunsList`.
|
|
267
267
|
*/
|
|
268
268
|
kind?: string | null;
|
|
269
269
|
/**
|
|
@@ -284,7 +284,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
284
284
|
*/
|
|
285
285
|
binLogPosition?: string | null;
|
|
286
286
|
/**
|
|
287
|
-
* This is always
|
|
287
|
+
* This is always `sql#binLogCoordinates`.
|
|
288
288
|
*/
|
|
289
289
|
kind?: string | null;
|
|
290
290
|
}
|
|
@@ -292,6 +292,10 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
292
292
|
* Database instance clone context.
|
|
293
293
|
*/
|
|
294
294
|
export interface Schema$CloneContext {
|
|
295
|
+
/**
|
|
296
|
+
* 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.
|
|
297
|
+
*/
|
|
298
|
+
allocatedIpRange?: string | null;
|
|
295
299
|
/**
|
|
296
300
|
* 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.
|
|
297
301
|
*/
|
|
@@ -301,7 +305,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
301
305
|
*/
|
|
302
306
|
destinationInstanceName?: string | null;
|
|
303
307
|
/**
|
|
304
|
-
* This is always
|
|
308
|
+
* This is always `sql#cloneContext`.
|
|
305
309
|
*/
|
|
306
310
|
kind?: string | null;
|
|
307
311
|
/**
|
|
@@ -318,11 +322,11 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
318
322
|
*/
|
|
319
323
|
export interface Schema$ConnectSettings {
|
|
320
324
|
/**
|
|
321
|
-
*
|
|
325
|
+
* `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.
|
|
322
326
|
*/
|
|
323
327
|
backendType?: string | null;
|
|
324
328
|
/**
|
|
325
|
-
* The database engine type and version. The
|
|
329
|
+
* 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`.
|
|
326
330
|
*/
|
|
327
331
|
databaseVersion?: string | null;
|
|
328
332
|
/**
|
|
@@ -334,7 +338,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
334
338
|
*/
|
|
335
339
|
kind?: string | null;
|
|
336
340
|
/**
|
|
337
|
-
* The cloud region for the instance. e.g.
|
|
341
|
+
* The cloud region for the instance. e.g. `us-central1`, `europe-west1`. The region cannot be changed after instance creation.
|
|
338
342
|
*/
|
|
339
343
|
region?: string | null;
|
|
340
344
|
/**
|
|
@@ -363,7 +367,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
363
367
|
*/
|
|
364
368
|
instance?: string | null;
|
|
365
369
|
/**
|
|
366
|
-
* This is always
|
|
370
|
+
* This is always `sql#database`.
|
|
367
371
|
*/
|
|
368
372
|
kind?: string | null;
|
|
369
373
|
/**
|
|
@@ -389,7 +393,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
389
393
|
*/
|
|
390
394
|
name?: string | null;
|
|
391
395
|
/**
|
|
392
|
-
* The value of the flag.
|
|
396
|
+
* 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.
|
|
393
397
|
*/
|
|
394
398
|
value?: string | null;
|
|
395
399
|
}
|
|
@@ -398,7 +402,11 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
398
402
|
*/
|
|
399
403
|
export interface Schema$DatabaseInstance {
|
|
400
404
|
/**
|
|
401
|
-
*
|
|
405
|
+
* List all maintenance versions applicable on the instance
|
|
406
|
+
*/
|
|
407
|
+
availableMaintenanceVersions?: string[] | null;
|
|
408
|
+
/**
|
|
409
|
+
* 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.
|
|
402
410
|
*/
|
|
403
411
|
backendType?: string | null;
|
|
404
412
|
/**
|
|
@@ -406,7 +414,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
406
414
|
*/
|
|
407
415
|
connectionName?: string | null;
|
|
408
416
|
/**
|
|
409
|
-
* Output only. The time when the instance was created in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
|
|
417
|
+
* 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`.
|
|
410
418
|
*/
|
|
411
419
|
createTime?: string | null;
|
|
412
420
|
/**
|
|
@@ -414,7 +422,11 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
414
422
|
*/
|
|
415
423
|
currentDiskSize?: string | null;
|
|
416
424
|
/**
|
|
417
|
-
*
|
|
425
|
+
* Output only. Stores the current database version running on the instance including minor version such as `MYSQL_8_0_18`.
|
|
426
|
+
*/
|
|
427
|
+
databaseInstalledVersion?: string | null;
|
|
428
|
+
/**
|
|
429
|
+
* The database engine type and version. The `databaseVersion` field cannot be changed after instance creation.
|
|
418
430
|
*/
|
|
419
431
|
databaseVersion?: string | null;
|
|
420
432
|
/**
|
|
@@ -426,7 +438,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
426
438
|
*/
|
|
427
439
|
diskEncryptionStatus?: Schema$DiskEncryptionStatus;
|
|
428
440
|
/**
|
|
429
|
-
* This field is deprecated and will be removed from a future version of the API. Use the
|
|
441
|
+
* This field is deprecated and will be removed from a future version of the API. Use the `settings.settingsVersion` field instead.
|
|
430
442
|
*/
|
|
431
443
|
etag?: string | null;
|
|
432
444
|
/**
|
|
@@ -437,11 +449,11 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
437
449
|
name?: string;
|
|
438
450
|
} | null;
|
|
439
451
|
/**
|
|
440
|
-
* 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.
|
|
452
|
+
* 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.
|
|
441
453
|
*/
|
|
442
454
|
gceZone?: string | null;
|
|
443
455
|
/**
|
|
444
|
-
* The instance type.
|
|
456
|
+
* The instance type.
|
|
445
457
|
*/
|
|
446
458
|
instanceType?: string | null;
|
|
447
459
|
/**
|
|
@@ -453,9 +465,13 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
453
465
|
*/
|
|
454
466
|
ipv6Address?: string | null;
|
|
455
467
|
/**
|
|
456
|
-
* This is always
|
|
468
|
+
* This is always `sql#instance`.
|
|
457
469
|
*/
|
|
458
470
|
kind?: string | null;
|
|
471
|
+
/**
|
|
472
|
+
* The current software version on the instance.
|
|
473
|
+
*/
|
|
474
|
+
maintenanceVersion?: string | null;
|
|
459
475
|
/**
|
|
460
476
|
* The name of the instance which will act as primary in the replication setup.
|
|
461
477
|
*/
|
|
@@ -481,7 +497,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
481
497
|
*/
|
|
482
498
|
project?: string | null;
|
|
483
499
|
/**
|
|
484
|
-
* The geographical region. Can be: *
|
|
500
|
+
* 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.
|
|
485
501
|
*/
|
|
486
502
|
region?: string | null;
|
|
487
503
|
/**
|
|
@@ -517,7 +533,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
517
533
|
*/
|
|
518
534
|
serverCaCert?: Schema$SslCert;
|
|
519
535
|
/**
|
|
520
|
-
* The service account email address assigned to the instance. This property is read-only.
|
|
536
|
+
* The service account email address assigned to the instance. \This property is read-only.
|
|
521
537
|
*/
|
|
522
538
|
serviceAccountEmailAddress?: string | null;
|
|
523
539
|
/**
|
|
@@ -525,7 +541,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
525
541
|
*/
|
|
526
542
|
settings?: Schema$Settings;
|
|
527
543
|
/**
|
|
528
|
-
* The current serving state of the Cloud SQL instance.
|
|
544
|
+
* The current serving state of the Cloud SQL instance.
|
|
529
545
|
*/
|
|
530
546
|
state?: string | null;
|
|
531
547
|
/**
|
|
@@ -542,7 +558,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
542
558
|
*/
|
|
543
559
|
items?: Schema$Database[];
|
|
544
560
|
/**
|
|
545
|
-
* This is always
|
|
561
|
+
* This is always `sql#databasesList`.
|
|
546
562
|
*/
|
|
547
563
|
kind?: string | null;
|
|
548
564
|
}
|
|
@@ -551,11 +567,11 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
551
567
|
*/
|
|
552
568
|
export interface Schema$DemoteMasterConfiguration {
|
|
553
569
|
/**
|
|
554
|
-
* This is always
|
|
570
|
+
* This is always `sql#demoteMasterConfiguration`.
|
|
555
571
|
*/
|
|
556
572
|
kind?: string | null;
|
|
557
573
|
/**
|
|
558
|
-
* 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
|
|
574
|
+
* 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.
|
|
559
575
|
*/
|
|
560
576
|
mysqlReplicaConfiguration?: Schema$DemoteMasterMySqlReplicaConfiguration;
|
|
561
577
|
}
|
|
@@ -564,7 +580,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
564
580
|
*/
|
|
565
581
|
export interface Schema$DemoteMasterContext {
|
|
566
582
|
/**
|
|
567
|
-
* This is always
|
|
583
|
+
* This is always `sql#demoteMasterContext`.
|
|
568
584
|
*/
|
|
569
585
|
kind?: string | null;
|
|
570
586
|
/**
|
|
@@ -580,7 +596,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
580
596
|
*/
|
|
581
597
|
skipReplicationSetup?: boolean | null;
|
|
582
598
|
/**
|
|
583
|
-
* Verify GTID consistency for demote operation. Default value:
|
|
599
|
+
* 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.
|
|
584
600
|
*/
|
|
585
601
|
verifyGtidConsistency?: boolean | null;
|
|
586
602
|
}
|
|
@@ -601,7 +617,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
601
617
|
*/
|
|
602
618
|
clientKey?: string | null;
|
|
603
619
|
/**
|
|
604
|
-
* This is always
|
|
620
|
+
* This is always `sql#demoteMasterMysqlReplicaConfiguration`.
|
|
605
621
|
*/
|
|
606
622
|
kind?: string | null;
|
|
607
623
|
/**
|
|
@@ -635,7 +651,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
635
651
|
*/
|
|
636
652
|
export interface Schema$DiskEncryptionConfiguration {
|
|
637
653
|
/**
|
|
638
|
-
* This is always
|
|
654
|
+
* This is always `sql#diskEncryptionConfiguration`.
|
|
639
655
|
*/
|
|
640
656
|
kind?: string | null;
|
|
641
657
|
/**
|
|
@@ -648,7 +664,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
648
664
|
*/
|
|
649
665
|
export interface Schema$DiskEncryptionStatus {
|
|
650
666
|
/**
|
|
651
|
-
* This is always
|
|
667
|
+
* This is always `sql#diskEncryptionStatus`.
|
|
652
668
|
*/
|
|
653
669
|
kind?: string | null;
|
|
654
670
|
/**
|
|
@@ -661,7 +677,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
661
677
|
*/
|
|
662
678
|
export interface Schema$ExportContext {
|
|
663
679
|
/**
|
|
664
|
-
* Options for exporting data as CSV.
|
|
680
|
+
* Options for exporting data as CSV. `MySQL` and `PostgreSQL` instances only.
|
|
665
681
|
*/
|
|
666
682
|
csvExportOptions?: {
|
|
667
683
|
escapeCharacter?: string;
|
|
@@ -671,15 +687,15 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
671
687
|
selectQuery?: string;
|
|
672
688
|
} | null;
|
|
673
689
|
/**
|
|
674
|
-
* Databases to be exported.
|
|
690
|
+
* 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`.
|
|
675
691
|
*/
|
|
676
692
|
databases?: string[] | null;
|
|
677
693
|
/**
|
|
678
|
-
* The file type for the specified uri.
|
|
694
|
+
* The file type for the specified uri.
|
|
679
695
|
*/
|
|
680
696
|
fileType?: string | null;
|
|
681
697
|
/**
|
|
682
|
-
* This is always
|
|
698
|
+
* This is always `sql#exportContext`.
|
|
683
699
|
*/
|
|
684
700
|
kind?: string | null;
|
|
685
701
|
/**
|
|
@@ -697,7 +713,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
697
713
|
tables?: string[];
|
|
698
714
|
} | null;
|
|
699
715
|
/**
|
|
700
|
-
* The path to the file in Google Cloud Storage where the export will be stored. The URI is in the form
|
|
716
|
+
* 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.
|
|
701
717
|
*/
|
|
702
718
|
uri?: string | null;
|
|
703
719
|
}
|
|
@@ -706,7 +722,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
706
722
|
*/
|
|
707
723
|
export interface Schema$FailoverContext {
|
|
708
724
|
/**
|
|
709
|
-
* This is always
|
|
725
|
+
* This is always `sql#failoverContext`.
|
|
710
726
|
*/
|
|
711
727
|
kind?: string | null;
|
|
712
728
|
/**
|
|
@@ -723,11 +739,11 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
723
739
|
*/
|
|
724
740
|
allowedIntValues?: string[] | null;
|
|
725
741
|
/**
|
|
726
|
-
* For
|
|
742
|
+
* For `STRING` flags, a list of strings that the value can be set to.
|
|
727
743
|
*/
|
|
728
744
|
allowedStringValues?: string[] | null;
|
|
729
745
|
/**
|
|
730
|
-
* The database version this flag applies to. Can be
|
|
746
|
+
* 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).
|
|
731
747
|
*/
|
|
732
748
|
appliesTo?: string[] | null;
|
|
733
749
|
/**
|
|
@@ -735,19 +751,19 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
735
751
|
*/
|
|
736
752
|
inBeta?: boolean | null;
|
|
737
753
|
/**
|
|
738
|
-
* This is always
|
|
754
|
+
* This is always `sql#flag`.
|
|
739
755
|
*/
|
|
740
756
|
kind?: string | null;
|
|
741
757
|
/**
|
|
742
|
-
* For
|
|
758
|
+
* For `INTEGER` flags, the maximum allowed value.
|
|
743
759
|
*/
|
|
744
760
|
maxValue?: string | null;
|
|
745
761
|
/**
|
|
746
|
-
* For
|
|
762
|
+
* For `INTEGER` flags, the minimum allowed value.
|
|
747
763
|
*/
|
|
748
764
|
minValue?: string | null;
|
|
749
765
|
/**
|
|
750
|
-
* This is the name of the flag. Flag names always use underscores, not hyphens, for example:
|
|
766
|
+
* This is the name of the flag. Flag names always use underscores, not hyphens, for example: `max_allowed_packet`
|
|
751
767
|
*/
|
|
752
768
|
name?: string | null;
|
|
753
769
|
/**
|
|
@@ -755,7 +771,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
755
771
|
*/
|
|
756
772
|
requiresRestart?: boolean | null;
|
|
757
773
|
/**
|
|
758
|
-
* The type of the flag. Flags are typed to being
|
|
774
|
+
* 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`.
|
|
759
775
|
*/
|
|
760
776
|
type?: string | null;
|
|
761
777
|
}
|
|
@@ -768,7 +784,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
768
784
|
*/
|
|
769
785
|
items?: Schema$Flag[];
|
|
770
786
|
/**
|
|
771
|
-
* This is always
|
|
787
|
+
* This is always `sql#flagsList`.
|
|
772
788
|
*/
|
|
773
789
|
kind?: string | null;
|
|
774
790
|
}
|
|
@@ -828,11 +844,11 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
828
844
|
table?: string;
|
|
829
845
|
} | null;
|
|
830
846
|
/**
|
|
831
|
-
* The target database for the import. If
|
|
847
|
+
* 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.
|
|
832
848
|
*/
|
|
833
849
|
database?: string | null;
|
|
834
850
|
/**
|
|
835
|
-
* The file type for the specified uri. *
|
|
851
|
+
* 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.
|
|
836
852
|
*/
|
|
837
853
|
fileType?: string | null;
|
|
838
854
|
/**
|
|
@@ -840,11 +856,11 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
840
856
|
*/
|
|
841
857
|
importUser?: string | null;
|
|
842
858
|
/**
|
|
843
|
-
* This is always
|
|
859
|
+
* This is always `sql#importContext`.
|
|
844
860
|
*/
|
|
845
861
|
kind?: string | null;
|
|
846
862
|
/**
|
|
847
|
-
* Path to the import file in Cloud Storage, in the form
|
|
863
|
+
* 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.
|
|
848
864
|
*/
|
|
849
865
|
uri?: string | null;
|
|
850
866
|
}
|
|
@@ -944,7 +960,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
944
960
|
*/
|
|
945
961
|
items?: Schema$DatabaseInstance[];
|
|
946
962
|
/**
|
|
947
|
-
* This is always
|
|
963
|
+
* This is always `sql#instancesList`.
|
|
948
964
|
*/
|
|
949
965
|
kind?: string | null;
|
|
950
966
|
/**
|
|
@@ -966,7 +982,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
966
982
|
*/
|
|
967
983
|
certs?: Schema$SslCert[];
|
|
968
984
|
/**
|
|
969
|
-
* This is always
|
|
985
|
+
* This is always `sql#instancesListServerCas`.
|
|
970
986
|
*/
|
|
971
987
|
kind?: string | null;
|
|
972
988
|
}
|
|
@@ -1002,11 +1018,11 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
1002
1018
|
*/
|
|
1003
1019
|
export interface Schema$IpConfiguration {
|
|
1004
1020
|
/**
|
|
1005
|
-
* 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])?.`
|
|
1021
|
+
* 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])?.`
|
|
1006
1022
|
*/
|
|
1007
1023
|
allocatedIpRange?: string | null;
|
|
1008
1024
|
/**
|
|
1009
|
-
* 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:
|
|
1025
|
+
* 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`).
|
|
1010
1026
|
*/
|
|
1011
1027
|
authorizedNetworks?: Schema$AclEntry[];
|
|
1012
1028
|
/**
|
|
@@ -1014,7 +1030,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
1014
1030
|
*/
|
|
1015
1031
|
ipv4Enabled?: boolean | null;
|
|
1016
1032
|
/**
|
|
1017
|
-
* The resource link for the VPC network from which the Cloud SQL instance is accessible for private IP. For example,
|
|
1033
|
+
* 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.
|
|
1018
1034
|
*/
|
|
1019
1035
|
privateNetwork?: string | null;
|
|
1020
1036
|
/**
|
|
@@ -1031,11 +1047,11 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
1031
1047
|
*/
|
|
1032
1048
|
ipAddress?: string | null;
|
|
1033
1049
|
/**
|
|
1034
|
-
* The due time for this IP to be retired in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
|
|
1050
|
+
* 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.
|
|
1035
1051
|
*/
|
|
1036
1052
|
timeToRetire?: string | null;
|
|
1037
1053
|
/**
|
|
1038
|
-
* The type of this IP address. A
|
|
1054
|
+
* 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.
|
|
1039
1055
|
*/
|
|
1040
1056
|
type?: string | null;
|
|
1041
1057
|
}
|
|
@@ -1044,11 +1060,11 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
1044
1060
|
*/
|
|
1045
1061
|
export interface Schema$LocationPreference {
|
|
1046
1062
|
/**
|
|
1047
|
-
* The App Engine application to follow, it must be in the same region as the Cloud SQL instance.
|
|
1063
|
+
* 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.
|
|
1048
1064
|
*/
|
|
1049
1065
|
followGaeApplication?: string | null;
|
|
1050
1066
|
/**
|
|
1051
|
-
* This is always
|
|
1067
|
+
* This is always `sql#locationPreference`.
|
|
1052
1068
|
*/
|
|
1053
1069
|
kind?: string | null;
|
|
1054
1070
|
/**
|
|
@@ -1056,7 +1072,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
1056
1072
|
*/
|
|
1057
1073
|
secondaryZone?: string | null;
|
|
1058
1074
|
/**
|
|
1059
|
-
* The preferred Compute Engine zone (for example: us-central1-a, us-central1-b, etc.).
|
|
1075
|
+
* The preferred Compute Engine zone (for example: us-central1-a, us-central1-b, etc.). WARNING: Changing this might restart the instance.
|
|
1060
1076
|
*/
|
|
1061
1077
|
zone?: string | null;
|
|
1062
1078
|
}
|
|
@@ -1073,11 +1089,11 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
1073
1089
|
*/
|
|
1074
1090
|
hour?: number | null;
|
|
1075
1091
|
/**
|
|
1076
|
-
* This is always
|
|
1092
|
+
* This is always `sql#maintenanceWindow`.
|
|
1077
1093
|
*/
|
|
1078
1094
|
kind?: string | null;
|
|
1079
1095
|
/**
|
|
1080
|
-
* Maintenance timing setting:
|
|
1096
|
+
* Maintenance timing setting: `canary` (Earlier) or `stable` (Later). [Learn more](https://cloud.google.com/sql/docs/mysql/instance-settings#maintenance-timing-2ndgen).
|
|
1081
1097
|
*/
|
|
1082
1098
|
updateTrack?: string | null;
|
|
1083
1099
|
}
|
|
@@ -1106,7 +1122,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
1106
1122
|
*/
|
|
1107
1123
|
dumpFilePath?: string | null;
|
|
1108
1124
|
/**
|
|
1109
|
-
* This is always
|
|
1125
|
+
* This is always `sql#mysqlReplicaConfiguration`.
|
|
1110
1126
|
*/
|
|
1111
1127
|
kind?: string | null;
|
|
1112
1128
|
/**
|
|
@@ -1164,7 +1180,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
1164
1180
|
*/
|
|
1165
1181
|
hostPort?: string | null;
|
|
1166
1182
|
/**
|
|
1167
|
-
* This is always
|
|
1183
|
+
* This is always `sql#onPremisesConfiguration`.
|
|
1168
1184
|
*/
|
|
1169
1185
|
kind?: string | null;
|
|
1170
1186
|
/**
|
|
@@ -1189,7 +1205,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
1189
1205
|
*/
|
|
1190
1206
|
backupContext?: Schema$BackupContext;
|
|
1191
1207
|
/**
|
|
1192
|
-
* The time this operation finished in UTC timezone in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
|
|
1208
|
+
* 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`.
|
|
1193
1209
|
*/
|
|
1194
1210
|
endTime?: string | null;
|
|
1195
1211
|
/**
|
|
@@ -1205,11 +1221,11 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
1205
1221
|
*/
|
|
1206
1222
|
importContext?: Schema$ImportContext;
|
|
1207
1223
|
/**
|
|
1208
|
-
* The time this operation was enqueued in UTC timezone in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
|
|
1224
|
+
* 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`.
|
|
1209
1225
|
*/
|
|
1210
1226
|
insertTime?: string | null;
|
|
1211
1227
|
/**
|
|
1212
|
-
* This is always
|
|
1228
|
+
* This is always `sql#operation`.
|
|
1213
1229
|
*/
|
|
1214
1230
|
kind?: string | null;
|
|
1215
1231
|
/**
|
|
@@ -1217,7 +1233,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
1217
1233
|
*/
|
|
1218
1234
|
name?: string | null;
|
|
1219
1235
|
/**
|
|
1220
|
-
* The type of the operation. Valid values are: *
|
|
1236
|
+
* 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`
|
|
1221
1237
|
*/
|
|
1222
1238
|
operationType?: string | null;
|
|
1223
1239
|
/**
|
|
@@ -1225,11 +1241,11 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
1225
1241
|
*/
|
|
1226
1242
|
selfLink?: string | null;
|
|
1227
1243
|
/**
|
|
1228
|
-
* The time this operation actually started in UTC timezone in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
|
|
1244
|
+
* 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`.
|
|
1229
1245
|
*/
|
|
1230
1246
|
startTime?: string | null;
|
|
1231
1247
|
/**
|
|
1232
|
-
* The status of an operation.
|
|
1248
|
+
* The status of an operation.
|
|
1233
1249
|
*/
|
|
1234
1250
|
status?: string | null;
|
|
1235
1251
|
/**
|
|
@@ -1255,7 +1271,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
1255
1271
|
*/
|
|
1256
1272
|
code?: string | null;
|
|
1257
1273
|
/**
|
|
1258
|
-
* This is always
|
|
1274
|
+
* This is always `sql#operationError`.
|
|
1259
1275
|
*/
|
|
1260
1276
|
kind?: string | null;
|
|
1261
1277
|
/**
|
|
@@ -1272,7 +1288,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
1272
1288
|
*/
|
|
1273
1289
|
errors?: Schema$OperationError[];
|
|
1274
1290
|
/**
|
|
1275
|
-
* This is always
|
|
1291
|
+
* This is always `sql#operationErrors`.
|
|
1276
1292
|
*/
|
|
1277
1293
|
kind?: string | null;
|
|
1278
1294
|
}
|
|
@@ -1285,7 +1301,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
1285
1301
|
*/
|
|
1286
1302
|
items?: Schema$Operation[];
|
|
1287
1303
|
/**
|
|
1288
|
-
* This is always
|
|
1304
|
+
* This is always `sql#operationsList`.
|
|
1289
1305
|
*/
|
|
1290
1306
|
kind?: string | null;
|
|
1291
1307
|
/**
|
|
@@ -1293,20 +1309,58 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
1293
1309
|
*/
|
|
1294
1310
|
nextPageToken?: string | null;
|
|
1295
1311
|
}
|
|
1312
|
+
/**
|
|
1313
|
+
* Read-only password status.
|
|
1314
|
+
*/
|
|
1315
|
+
export interface Schema$PasswordStatus {
|
|
1316
|
+
/**
|
|
1317
|
+
* If true, user does not have login privileges.
|
|
1318
|
+
*/
|
|
1319
|
+
locked?: boolean | null;
|
|
1320
|
+
/**
|
|
1321
|
+
* The expiration time of the current password.
|
|
1322
|
+
*/
|
|
1323
|
+
passwordExpirationTime?: string | null;
|
|
1324
|
+
}
|
|
1325
|
+
/**
|
|
1326
|
+
* Database instance local user password validation policy
|
|
1327
|
+
*/
|
|
1328
|
+
export interface Schema$PasswordValidationPolicy {
|
|
1329
|
+
/**
|
|
1330
|
+
* The complexity of the password.
|
|
1331
|
+
*/
|
|
1332
|
+
complexity?: string | null;
|
|
1333
|
+
/**
|
|
1334
|
+
* Disallow username as a part of the password.
|
|
1335
|
+
*/
|
|
1336
|
+
disallowUsernameSubstring?: boolean | null;
|
|
1337
|
+
/**
|
|
1338
|
+
* Minimum number of characters allowed.
|
|
1339
|
+
*/
|
|
1340
|
+
minLength?: number | null;
|
|
1341
|
+
/**
|
|
1342
|
+
* Minimum interval after which the password can be changed. This flag is only supported for PostgresSQL.
|
|
1343
|
+
*/
|
|
1344
|
+
passwordChangeInterval?: string | null;
|
|
1345
|
+
/**
|
|
1346
|
+
* Number of previous passwords that cannot be reused.
|
|
1347
|
+
*/
|
|
1348
|
+
reuseInterval?: number | null;
|
|
1349
|
+
}
|
|
1296
1350
|
/**
|
|
1297
1351
|
* Read-replica configuration for connecting to the primary instance.
|
|
1298
1352
|
*/
|
|
1299
1353
|
export interface Schema$ReplicaConfiguration {
|
|
1300
1354
|
/**
|
|
1301
|
-
* Specifies if the replica is the failover target. If the field is set to
|
|
1355
|
+
* 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.
|
|
1302
1356
|
*/
|
|
1303
1357
|
failoverTarget?: boolean | null;
|
|
1304
1358
|
/**
|
|
1305
|
-
* This is always
|
|
1359
|
+
* This is always `sql#replicaConfiguration`.
|
|
1306
1360
|
*/
|
|
1307
1361
|
kind?: string | null;
|
|
1308
1362
|
/**
|
|
1309
|
-
* 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
|
|
1363
|
+
* 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.
|
|
1310
1364
|
*/
|
|
1311
1365
|
mysqlReplicaConfiguration?: Schema$MySqlReplicaConfiguration;
|
|
1312
1366
|
}
|
|
@@ -1316,7 +1370,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
1316
1370
|
*/
|
|
1317
1371
|
rescheduleType?: string | null;
|
|
1318
1372
|
/**
|
|
1319
|
-
* 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
|
|
1373
|
+
* 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`.
|
|
1320
1374
|
*/
|
|
1321
1375
|
scheduleTime?: string | null;
|
|
1322
1376
|
}
|
|
@@ -1333,7 +1387,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
1333
1387
|
*/
|
|
1334
1388
|
instanceId?: string | null;
|
|
1335
1389
|
/**
|
|
1336
|
-
* This is always
|
|
1390
|
+
* This is always `sql#restoreBackupContext`.
|
|
1337
1391
|
*/
|
|
1338
1392
|
kind?: string | null;
|
|
1339
1393
|
/**
|
|
@@ -1346,7 +1400,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
1346
1400
|
*/
|
|
1347
1401
|
export interface Schema$RotateServerCaContext {
|
|
1348
1402
|
/**
|
|
1349
|
-
* This is always
|
|
1403
|
+
* This is always `sql#rotateServerCaContext`.
|
|
1350
1404
|
*/
|
|
1351
1405
|
kind?: string | null;
|
|
1352
1406
|
/**
|
|
@@ -1359,7 +1413,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
1359
1413
|
*/
|
|
1360
1414
|
export interface Schema$Settings {
|
|
1361
1415
|
/**
|
|
1362
|
-
* The activation policy specifies when the instance is activated; it is applicable only when the instance state is RUNNABLE. Valid values: *
|
|
1416
|
+
* 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.
|
|
1363
1417
|
*/
|
|
1364
1418
|
activationPolicy?: string | null;
|
|
1365
1419
|
/**
|
|
@@ -1371,7 +1425,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
1371
1425
|
*/
|
|
1372
1426
|
authorizedGaeApplications?: string[] | null;
|
|
1373
1427
|
/**
|
|
1374
|
-
* Availability type. Potential values: *
|
|
1428
|
+
* 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).
|
|
1375
1429
|
*/
|
|
1376
1430
|
availabilityType?: string | null;
|
|
1377
1431
|
/**
|
|
@@ -1391,7 +1445,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
1391
1445
|
*/
|
|
1392
1446
|
databaseFlags?: Schema$DatabaseFlags[];
|
|
1393
1447
|
/**
|
|
1394
|
-
* Configuration specific to read replica instances. Indicates whether replication is enabled or not.
|
|
1448
|
+
* Configuration specific to read replica instances. Indicates whether replication is enabled or not. WARNING: Changing this restarts the instance.
|
|
1395
1449
|
*/
|
|
1396
1450
|
databaseReplicationEnabled?: boolean | null;
|
|
1397
1451
|
/**
|
|
@@ -1399,7 +1453,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
1399
1453
|
*/
|
|
1400
1454
|
dataDiskSizeGb?: string | null;
|
|
1401
1455
|
/**
|
|
1402
|
-
* The type of data disk:
|
|
1456
|
+
* The type of data disk: `PD_SSD` (default) or `PD_HDD`. Not used for First Generation instances.
|
|
1403
1457
|
*/
|
|
1404
1458
|
dataDiskType?: string | null;
|
|
1405
1459
|
/**
|
|
@@ -1415,7 +1469,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
1415
1469
|
*/
|
|
1416
1470
|
ipConfiguration?: Schema$IpConfiguration;
|
|
1417
1471
|
/**
|
|
1418
|
-
* This is always
|
|
1472
|
+
* This is always `sql#settings`.
|
|
1419
1473
|
*/
|
|
1420
1474
|
kind?: string | null;
|
|
1421
1475
|
/**
|
|
@@ -1427,11 +1481,15 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
1427
1481
|
*/
|
|
1428
1482
|
maintenanceWindow?: Schema$MaintenanceWindow;
|
|
1429
1483
|
/**
|
|
1430
|
-
* The
|
|
1484
|
+
* The local user password validation policy of the instance.
|
|
1485
|
+
*/
|
|
1486
|
+
passwordValidationPolicy?: Schema$PasswordValidationPolicy;
|
|
1487
|
+
/**
|
|
1488
|
+
* The pricing plan for this instance. This can be either `PER_USE` or `PACKAGE`. Only `PER_USE` is supported for Second Generation instances.
|
|
1431
1489
|
*/
|
|
1432
1490
|
pricingPlan?: string | null;
|
|
1433
1491
|
/**
|
|
1434
|
-
* The type of replication this instance uses. This can be either
|
|
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.
|
|
1435
1493
|
*/
|
|
1436
1494
|
replicationType?: string | null;
|
|
1437
1495
|
/**
|
|
@@ -1451,7 +1509,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
1451
1509
|
*/
|
|
1452
1510
|
storageAutoResizeLimit?: string | null;
|
|
1453
1511
|
/**
|
|
1454
|
-
* The tier (or machine type) for this instance, for example
|
|
1512
|
+
* The tier (or machine type) for this instance, for example `db-custom-1-3840`. WARNING: Changing this restarts the instance.
|
|
1455
1513
|
*/
|
|
1456
1514
|
tier?: string | null;
|
|
1457
1515
|
/**
|
|
@@ -1483,7 +1541,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
1483
1541
|
*/
|
|
1484
1542
|
detail?: string | null;
|
|
1485
1543
|
/**
|
|
1486
|
-
* Can be
|
|
1544
|
+
* Can be `sql#externalSyncSettingError` or `sql#externalSyncSettingWarning`.
|
|
1487
1545
|
*/
|
|
1488
1546
|
kind?: string | null;
|
|
1489
1547
|
/**
|
|
@@ -1541,7 +1599,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
1541
1599
|
*/
|
|
1542
1600
|
errors?: Schema$SqlExternalSyncSettingError[];
|
|
1543
1601
|
/**
|
|
1544
|
-
* This is always
|
|
1602
|
+
* This is always `sql#migrationSettingErrorList`.
|
|
1545
1603
|
*/
|
|
1546
1604
|
kind?: string | null;
|
|
1547
1605
|
/**
|
|
@@ -1636,11 +1694,11 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
1636
1694
|
*/
|
|
1637
1695
|
commonName?: string | null;
|
|
1638
1696
|
/**
|
|
1639
|
-
* The time when the certificate was created in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
|
|
1697
|
+
* 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`.
|
|
1640
1698
|
*/
|
|
1641
1699
|
createTime?: string | null;
|
|
1642
1700
|
/**
|
|
1643
|
-
* The time when the certificate expires in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
|
|
1701
|
+
* The time when the certificate expires in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`.
|
|
1644
1702
|
*/
|
|
1645
1703
|
expirationTime?: string | null;
|
|
1646
1704
|
/**
|
|
@@ -1648,7 +1706,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
1648
1706
|
*/
|
|
1649
1707
|
instance?: string | null;
|
|
1650
1708
|
/**
|
|
1651
|
-
* This is always
|
|
1709
|
+
* This is always `sql#sslCert`.
|
|
1652
1710
|
*/
|
|
1653
1711
|
kind?: string | null;
|
|
1654
1712
|
/**
|
|
@@ -1704,7 +1762,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
1704
1762
|
*/
|
|
1705
1763
|
clientCert?: Schema$SslCertDetail;
|
|
1706
1764
|
/**
|
|
1707
|
-
* This is always
|
|
1765
|
+
* This is always `sql#sslCertsInsert`.
|
|
1708
1766
|
*/
|
|
1709
1767
|
kind?: string | null;
|
|
1710
1768
|
/**
|
|
@@ -1725,7 +1783,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
1725
1783
|
*/
|
|
1726
1784
|
items?: Schema$SslCert[];
|
|
1727
1785
|
/**
|
|
1728
|
-
* This is always
|
|
1786
|
+
* This is always `sql#sslCertsList`.
|
|
1729
1787
|
*/
|
|
1730
1788
|
kind?: string | null;
|
|
1731
1789
|
}
|
|
@@ -1751,7 +1809,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
1751
1809
|
*/
|
|
1752
1810
|
DiskQuota?: string | null;
|
|
1753
1811
|
/**
|
|
1754
|
-
* This is always
|
|
1812
|
+
* This is always `sql#tier`.
|
|
1755
1813
|
*/
|
|
1756
1814
|
kind?: string | null;
|
|
1757
1815
|
/**
|
|
@@ -1763,7 +1821,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
1763
1821
|
*/
|
|
1764
1822
|
region?: string[] | null;
|
|
1765
1823
|
/**
|
|
1766
|
-
* An identifier for the machine type, for example, db-custom-1-3840
|
|
1824
|
+
* An identifier for the machine type, for example, `db-custom-1-3840`. For related information, see [Pricing](/sql/pricing).
|
|
1767
1825
|
*/
|
|
1768
1826
|
tier?: string | null;
|
|
1769
1827
|
}
|
|
@@ -1776,7 +1834,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
1776
1834
|
*/
|
|
1777
1835
|
items?: Schema$Tier[];
|
|
1778
1836
|
/**
|
|
1779
|
-
* This is always
|
|
1837
|
+
* This is always `sql#tiersList`.
|
|
1780
1838
|
*/
|
|
1781
1839
|
kind?: string | null;
|
|
1782
1840
|
}
|
|
@@ -1785,11 +1843,11 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
1785
1843
|
*/
|
|
1786
1844
|
export interface Schema$TruncateLogContext {
|
|
1787
1845
|
/**
|
|
1788
|
-
* This is always
|
|
1846
|
+
* This is always `sql#truncateLogContext`.
|
|
1789
1847
|
*/
|
|
1790
1848
|
kind?: string | null;
|
|
1791
1849
|
/**
|
|
1792
|
-
* The type of log to truncate. Valid values are
|
|
1850
|
+
* The type of log to truncate. Valid values are `MYSQL_GENERAL_TABLE` and `MYSQL_SLOW_TABLE`.
|
|
1793
1851
|
*/
|
|
1794
1852
|
logType?: string | null;
|
|
1795
1853
|
}
|
|
@@ -1802,19 +1860,19 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
1802
1860
|
*/
|
|
1803
1861
|
etag?: string | null;
|
|
1804
1862
|
/**
|
|
1805
|
-
* The host
|
|
1863
|
+
* 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.
|
|
1806
1864
|
*/
|
|
1807
1865
|
host?: string | null;
|
|
1808
1866
|
/**
|
|
1809
|
-
* The name of the Cloud SQL instance. This does not include the project ID. Can be omitted for *update*
|
|
1867
|
+
* 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.
|
|
1810
1868
|
*/
|
|
1811
1869
|
instance?: string | null;
|
|
1812
1870
|
/**
|
|
1813
|
-
* This is always
|
|
1871
|
+
* This is always `sql#user`.
|
|
1814
1872
|
*/
|
|
1815
1873
|
kind?: string | null;
|
|
1816
1874
|
/**
|
|
1817
|
-
* The name of the user in the Cloud SQL instance. Can be omitted for
|
|
1875
|
+
* The name of the user in the Cloud SQL instance. Can be omitted for `update` because it is already specified in the URL.
|
|
1818
1876
|
*/
|
|
1819
1877
|
name?: string | null;
|
|
1820
1878
|
/**
|
|
@@ -1822,7 +1880,11 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
1822
1880
|
*/
|
|
1823
1881
|
password?: string | null;
|
|
1824
1882
|
/**
|
|
1825
|
-
*
|
|
1883
|
+
* User level password validation policy.
|
|
1884
|
+
*/
|
|
1885
|
+
passwordPolicy?: Schema$UserPasswordValidationPolicy;
|
|
1886
|
+
/**
|
|
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* because it is already specified on the URL.
|
|
1826
1888
|
*/
|
|
1827
1889
|
project?: string | null;
|
|
1828
1890
|
sqlserverUserDetails?: Schema$SqlServerUserDetails;
|
|
@@ -1831,6 +1893,27 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
1831
1893
|
*/
|
|
1832
1894
|
type?: string | null;
|
|
1833
1895
|
}
|
|
1896
|
+
/**
|
|
1897
|
+
* User level password validation policy.
|
|
1898
|
+
*/
|
|
1899
|
+
export interface Schema$UserPasswordValidationPolicy {
|
|
1900
|
+
/**
|
|
1901
|
+
* Number of failed login attempts allowed before user get locked.
|
|
1902
|
+
*/
|
|
1903
|
+
allowedFailedAttempts?: number | null;
|
|
1904
|
+
/**
|
|
1905
|
+
* If true, failed login attempts check will be enabled.
|
|
1906
|
+
*/
|
|
1907
|
+
enableFailedAttemptsCheck?: boolean | null;
|
|
1908
|
+
/**
|
|
1909
|
+
* Expiration duration after password is updated.
|
|
1910
|
+
*/
|
|
1911
|
+
passwordExpirationDuration?: string | null;
|
|
1912
|
+
/**
|
|
1913
|
+
* Output only. Read-only password status.
|
|
1914
|
+
*/
|
|
1915
|
+
status?: Schema$PasswordStatus;
|
|
1916
|
+
}
|
|
1834
1917
|
/**
|
|
1835
1918
|
* User list response.
|
|
1836
1919
|
*/
|
|
@@ -3586,10 +3669,12 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
3586
3669
|
*
|
|
3587
3670
|
* // Example response
|
|
3588
3671
|
* // {
|
|
3672
|
+
* // "availableMaintenanceVersions": [],
|
|
3589
3673
|
* // "backendType": "my_backendType",
|
|
3590
3674
|
* // "connectionName": "my_connectionName",
|
|
3591
3675
|
* // "createTime": "my_createTime",
|
|
3592
3676
|
* // "currentDiskSize": "my_currentDiskSize",
|
|
3677
|
+
* // "databaseInstalledVersion": "my_databaseInstalledVersion",
|
|
3593
3678
|
* // "databaseVersion": "my_databaseVersion",
|
|
3594
3679
|
* // "diskEncryptionConfiguration": {},
|
|
3595
3680
|
* // "diskEncryptionStatus": {},
|
|
@@ -3600,6 +3685,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
3600
3685
|
* // "ipAddresses": [],
|
|
3601
3686
|
* // "ipv6Address": "my_ipv6Address",
|
|
3602
3687
|
* // "kind": "my_kind",
|
|
3688
|
+
* // "maintenanceVersion": "my_maintenanceVersion",
|
|
3603
3689
|
* // "masterInstanceName": "my_masterInstanceName",
|
|
3604
3690
|
* // "maxDiskSize": "my_maxDiskSize",
|
|
3605
3691
|
* // "name": "my_name",
|
|
@@ -3758,10 +3844,12 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
3758
3844
|
* requestBody: {
|
|
3759
3845
|
* // request body parameters
|
|
3760
3846
|
* // {
|
|
3847
|
+
* // "availableMaintenanceVersions": [],
|
|
3761
3848
|
* // "backendType": "my_backendType",
|
|
3762
3849
|
* // "connectionName": "my_connectionName",
|
|
3763
3850
|
* // "createTime": "my_createTime",
|
|
3764
3851
|
* // "currentDiskSize": "my_currentDiskSize",
|
|
3852
|
+
* // "databaseInstalledVersion": "my_databaseInstalledVersion",
|
|
3765
3853
|
* // "databaseVersion": "my_databaseVersion",
|
|
3766
3854
|
* // "diskEncryptionConfiguration": {},
|
|
3767
3855
|
* // "diskEncryptionStatus": {},
|
|
@@ -3772,6 +3860,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
3772
3860
|
* // "ipAddresses": [],
|
|
3773
3861
|
* // "ipv6Address": "my_ipv6Address",
|
|
3774
3862
|
* // "kind": "my_kind",
|
|
3863
|
+
* // "maintenanceVersion": "my_maintenanceVersion",
|
|
3775
3864
|
* // "masterInstanceName": "my_masterInstanceName",
|
|
3776
3865
|
* // "maxDiskSize": "my_maxDiskSize",
|
|
3777
3866
|
* // "name": "my_name",
|
|
@@ -4005,10 +4094,12 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
4005
4094
|
* requestBody: {
|
|
4006
4095
|
* // request body parameters
|
|
4007
4096
|
* // {
|
|
4097
|
+
* // "availableMaintenanceVersions": [],
|
|
4008
4098
|
* // "backendType": "my_backendType",
|
|
4009
4099
|
* // "connectionName": "my_connectionName",
|
|
4010
4100
|
* // "createTime": "my_createTime",
|
|
4011
4101
|
* // "currentDiskSize": "my_currentDiskSize",
|
|
4102
|
+
* // "databaseInstalledVersion": "my_databaseInstalledVersion",
|
|
4012
4103
|
* // "databaseVersion": "my_databaseVersion",
|
|
4013
4104
|
* // "diskEncryptionConfiguration": {},
|
|
4014
4105
|
* // "diskEncryptionStatus": {},
|
|
@@ -4019,6 +4110,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
4019
4110
|
* // "ipAddresses": [],
|
|
4020
4111
|
* // "ipv6Address": "my_ipv6Address",
|
|
4021
4112
|
* // "kind": "my_kind",
|
|
4113
|
+
* // "maintenanceVersion": "my_maintenanceVersion",
|
|
4022
4114
|
* // "masterInstanceName": "my_masterInstanceName",
|
|
4023
4115
|
* // "maxDiskSize": "my_maxDiskSize",
|
|
4024
4116
|
* // "name": "my_name",
|
|
@@ -4753,10 +4845,12 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
4753
4845
|
* requestBody: {
|
|
4754
4846
|
* // request body parameters
|
|
4755
4847
|
* // {
|
|
4848
|
+
* // "availableMaintenanceVersions": [],
|
|
4756
4849
|
* // "backendType": "my_backendType",
|
|
4757
4850
|
* // "connectionName": "my_connectionName",
|
|
4758
4851
|
* // "createTime": "my_createTime",
|
|
4759
4852
|
* // "currentDiskSize": "my_currentDiskSize",
|
|
4853
|
+
* // "databaseInstalledVersion": "my_databaseInstalledVersion",
|
|
4760
4854
|
* // "databaseVersion": "my_databaseVersion",
|
|
4761
4855
|
* // "diskEncryptionConfiguration": {},
|
|
4762
4856
|
* // "diskEncryptionStatus": {},
|
|
@@ -4767,6 +4861,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
4767
4861
|
* // "ipAddresses": [],
|
|
4768
4862
|
* // "ipv6Address": "my_ipv6Address",
|
|
4769
4863
|
* // "kind": "my_kind",
|
|
4864
|
+
* // "maintenanceVersion": "my_maintenanceVersion",
|
|
4770
4865
|
* // "masterInstanceName": "my_masterInstanceName",
|
|
4771
4866
|
* // "maxDiskSize": "my_maxDiskSize",
|
|
4772
4867
|
* // "name": "my_name",
|
|
@@ -5994,7 +6089,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
5994
6089
|
context: APIRequestContext;
|
|
5995
6090
|
constructor(context: APIRequestContext);
|
|
5996
6091
|
/**
|
|
5997
|
-
* Lists all available machine types (tiers) for Cloud SQL, for example, db-custom-1-3840
|
|
6092
|
+
* Lists all available machine types (tiers) for Cloud SQL, for example, `db-custom-1-3840`. For related information, see [Pricing](/sql/pricing).
|
|
5998
6093
|
* @example
|
|
5999
6094
|
* ```js
|
|
6000
6095
|
* // Before running the sample:
|
|
@@ -6188,6 +6283,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
6188
6283
|
* // "kind": "my_kind",
|
|
6189
6284
|
* // "name": "my_name",
|
|
6190
6285
|
* // "password": "my_password",
|
|
6286
|
+
* // "passwordPolicy": {},
|
|
6191
6287
|
* // "project": "my_project",
|
|
6192
6288
|
* // "sqlserverUserDetails": {},
|
|
6193
6289
|
* // "type": "my_type"
|
|
@@ -6347,6 +6443,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
6347
6443
|
* // "kind": "my_kind",
|
|
6348
6444
|
* // "name": "my_name",
|
|
6349
6445
|
* // "password": "my_password",
|
|
6446
|
+
* // "passwordPolicy": {},
|
|
6350
6447
|
* // "project": "my_project",
|
|
6351
6448
|
* // "sqlserverUserDetails": {},
|
|
6352
6449
|
* // "type": "my_type"
|