@googleapis/sqladmin 3.2.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 +14 -0
- package/build/v1.d.ts +127 -107
- package/build/v1.js.map +1 -1
- package/build/v1beta4.d.ts +126 -106
- package/build/v1beta4.js.map +1 -1
- package/package.json +2 -2
- package/v1.ts +127 -107
- package/v1beta4.ts +126 -106
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,11 +485,11 @@ export namespace sqladmin_v1beta4 {
|
|
|
477
485
|
*/
|
|
478
486
|
currentDiskSize?: string | null;
|
|
479
487
|
/**
|
|
480
|
-
* Output only.
|
|
488
|
+
* Output only. Stores the current database version running on the instance including minor version such as `MYSQL_8_0_18`.
|
|
481
489
|
*/
|
|
482
490
|
databaseInstalledVersion?: string | null;
|
|
483
491
|
/**
|
|
484
|
-
* The database engine type and version. The
|
|
492
|
+
* The database engine type and version. The `databaseVersion` field cannot be changed after instance creation.
|
|
485
493
|
*/
|
|
486
494
|
databaseVersion?: string | null;
|
|
487
495
|
/**
|
|
@@ -493,7 +501,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
493
501
|
*/
|
|
494
502
|
diskEncryptionStatus?: Schema$DiskEncryptionStatus;
|
|
495
503
|
/**
|
|
496
|
-
* 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.
|
|
497
505
|
*/
|
|
498
506
|
etag?: string | null;
|
|
499
507
|
/**
|
|
@@ -501,7 +509,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
501
509
|
*/
|
|
502
510
|
failoverReplica?: {available?: boolean; name?: string} | null;
|
|
503
511
|
/**
|
|
504
|
-
* 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.
|
|
505
513
|
*/
|
|
506
514
|
gceZone?: string | null;
|
|
507
515
|
/**
|
|
@@ -517,9 +525,13 @@ export namespace sqladmin_v1beta4 {
|
|
|
517
525
|
*/
|
|
518
526
|
ipv6Address?: string | null;
|
|
519
527
|
/**
|
|
520
|
-
* This is always
|
|
528
|
+
* This is always `sql#instance`.
|
|
521
529
|
*/
|
|
522
530
|
kind?: string | null;
|
|
531
|
+
/**
|
|
532
|
+
* The current software version on the instance.
|
|
533
|
+
*/
|
|
534
|
+
maintenanceVersion?: string | null;
|
|
523
535
|
/**
|
|
524
536
|
* The name of the instance which will act as primary in the replication setup.
|
|
525
537
|
*/
|
|
@@ -545,7 +557,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
545
557
|
*/
|
|
546
558
|
project?: string | null;
|
|
547
559
|
/**
|
|
548
|
-
* 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.
|
|
549
561
|
*/
|
|
550
562
|
region?: string | null;
|
|
551
563
|
/**
|
|
@@ -581,7 +593,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
581
593
|
*/
|
|
582
594
|
serverCaCert?: Schema$SslCert;
|
|
583
595
|
/**
|
|
584
|
-
* 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.
|
|
585
597
|
*/
|
|
586
598
|
serviceAccountEmailAddress?: string | null;
|
|
587
599
|
/**
|
|
@@ -606,7 +618,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
606
618
|
*/
|
|
607
619
|
items?: Schema$Database[];
|
|
608
620
|
/**
|
|
609
|
-
* This is always
|
|
621
|
+
* This is always `sql#databasesList`.
|
|
610
622
|
*/
|
|
611
623
|
kind?: string | null;
|
|
612
624
|
}
|
|
@@ -615,11 +627,11 @@ export namespace sqladmin_v1beta4 {
|
|
|
615
627
|
*/
|
|
616
628
|
export interface Schema$DemoteMasterConfiguration {
|
|
617
629
|
/**
|
|
618
|
-
* This is always
|
|
630
|
+
* This is always `sql#demoteMasterConfiguration`.
|
|
619
631
|
*/
|
|
620
632
|
kind?: string | null;
|
|
621
633
|
/**
|
|
622
|
-
* 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.
|
|
623
635
|
*/
|
|
624
636
|
mysqlReplicaConfiguration?: Schema$DemoteMasterMySqlReplicaConfiguration;
|
|
625
637
|
}
|
|
@@ -628,7 +640,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
628
640
|
*/
|
|
629
641
|
export interface Schema$DemoteMasterContext {
|
|
630
642
|
/**
|
|
631
|
-
* This is always
|
|
643
|
+
* This is always `sql#demoteMasterContext`.
|
|
632
644
|
*/
|
|
633
645
|
kind?: string | null;
|
|
634
646
|
/**
|
|
@@ -644,7 +656,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
644
656
|
*/
|
|
645
657
|
skipReplicationSetup?: boolean | null;
|
|
646
658
|
/**
|
|
647
|
-
* 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.
|
|
648
660
|
*/
|
|
649
661
|
verifyGtidConsistency?: boolean | null;
|
|
650
662
|
}
|
|
@@ -665,7 +677,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
665
677
|
*/
|
|
666
678
|
clientKey?: string | null;
|
|
667
679
|
/**
|
|
668
|
-
* This is always
|
|
680
|
+
* This is always `sql#demoteMasterMysqlReplicaConfiguration`.
|
|
669
681
|
*/
|
|
670
682
|
kind?: string | null;
|
|
671
683
|
/**
|
|
@@ -699,7 +711,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
699
711
|
*/
|
|
700
712
|
export interface Schema$DiskEncryptionConfiguration {
|
|
701
713
|
/**
|
|
702
|
-
* This is always
|
|
714
|
+
* This is always `sql#diskEncryptionConfiguration`.
|
|
703
715
|
*/
|
|
704
716
|
kind?: string | null;
|
|
705
717
|
/**
|
|
@@ -712,7 +724,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
712
724
|
*/
|
|
713
725
|
export interface Schema$DiskEncryptionStatus {
|
|
714
726
|
/**
|
|
715
|
-
* This is always
|
|
727
|
+
* This is always `sql#diskEncryptionStatus`.
|
|
716
728
|
*/
|
|
717
729
|
kind?: string | null;
|
|
718
730
|
/**
|
|
@@ -725,7 +737,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
725
737
|
*/
|
|
726
738
|
export interface Schema$ExportContext {
|
|
727
739
|
/**
|
|
728
|
-
* Options for exporting data as CSV.
|
|
740
|
+
* Options for exporting data as CSV. `MySQL` and `PostgreSQL` instances only.
|
|
729
741
|
*/
|
|
730
742
|
csvExportOptions?: {
|
|
731
743
|
escapeCharacter?: string;
|
|
@@ -735,7 +747,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
735
747
|
selectQuery?: string;
|
|
736
748
|
} | null;
|
|
737
749
|
/**
|
|
738
|
-
* 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`.
|
|
739
751
|
*/
|
|
740
752
|
databases?: string[] | null;
|
|
741
753
|
/**
|
|
@@ -743,7 +755,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
743
755
|
*/
|
|
744
756
|
fileType?: string | null;
|
|
745
757
|
/**
|
|
746
|
-
* This is always
|
|
758
|
+
* This is always `sql#exportContext`.
|
|
747
759
|
*/
|
|
748
760
|
kind?: string | null;
|
|
749
761
|
/**
|
|
@@ -759,7 +771,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
759
771
|
tables?: string[];
|
|
760
772
|
} | null;
|
|
761
773
|
/**
|
|
762
|
-
* 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.
|
|
763
775
|
*/
|
|
764
776
|
uri?: string | null;
|
|
765
777
|
}
|
|
@@ -768,7 +780,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
768
780
|
*/
|
|
769
781
|
export interface Schema$FailoverContext {
|
|
770
782
|
/**
|
|
771
|
-
* This is always
|
|
783
|
+
* This is always `sql#failoverContext`.
|
|
772
784
|
*/
|
|
773
785
|
kind?: string | null;
|
|
774
786
|
/**
|
|
@@ -785,11 +797,11 @@ export namespace sqladmin_v1beta4 {
|
|
|
785
797
|
*/
|
|
786
798
|
allowedIntValues?: string[] | null;
|
|
787
799
|
/**
|
|
788
|
-
* For
|
|
800
|
+
* For `STRING` flags, a list of strings that the value can be set to.
|
|
789
801
|
*/
|
|
790
802
|
allowedStringValues?: string[] | null;
|
|
791
803
|
/**
|
|
792
|
-
* 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).
|
|
793
805
|
*/
|
|
794
806
|
appliesTo?: string[] | null;
|
|
795
807
|
/**
|
|
@@ -797,19 +809,19 @@ export namespace sqladmin_v1beta4 {
|
|
|
797
809
|
*/
|
|
798
810
|
inBeta?: boolean | null;
|
|
799
811
|
/**
|
|
800
|
-
* This is always
|
|
812
|
+
* This is always `sql#flag`.
|
|
801
813
|
*/
|
|
802
814
|
kind?: string | null;
|
|
803
815
|
/**
|
|
804
|
-
* For
|
|
816
|
+
* For `INTEGER` flags, the maximum allowed value.
|
|
805
817
|
*/
|
|
806
818
|
maxValue?: string | null;
|
|
807
819
|
/**
|
|
808
|
-
* For
|
|
820
|
+
* For `INTEGER` flags, the minimum allowed value.
|
|
809
821
|
*/
|
|
810
822
|
minValue?: string | null;
|
|
811
823
|
/**
|
|
812
|
-
* 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`
|
|
813
825
|
*/
|
|
814
826
|
name?: string | null;
|
|
815
827
|
/**
|
|
@@ -817,7 +829,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
817
829
|
*/
|
|
818
830
|
requiresRestart?: boolean | null;
|
|
819
831
|
/**
|
|
820
|
-
* 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`.
|
|
821
833
|
*/
|
|
822
834
|
type?: string | null;
|
|
823
835
|
}
|
|
@@ -830,7 +842,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
830
842
|
*/
|
|
831
843
|
items?: Schema$Flag[];
|
|
832
844
|
/**
|
|
833
|
-
* This is always
|
|
845
|
+
* This is always `sql#flagsList`.
|
|
834
846
|
*/
|
|
835
847
|
kind?: string | null;
|
|
836
848
|
}
|
|
@@ -890,11 +902,11 @@ export namespace sqladmin_v1beta4 {
|
|
|
890
902
|
table?: string;
|
|
891
903
|
} | null;
|
|
892
904
|
/**
|
|
893
|
-
* 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.
|
|
894
906
|
*/
|
|
895
907
|
database?: string | null;
|
|
896
908
|
/**
|
|
897
|
-
* 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.
|
|
898
910
|
*/
|
|
899
911
|
fileType?: string | null;
|
|
900
912
|
/**
|
|
@@ -902,11 +914,11 @@ export namespace sqladmin_v1beta4 {
|
|
|
902
914
|
*/
|
|
903
915
|
importUser?: string | null;
|
|
904
916
|
/**
|
|
905
|
-
* This is always
|
|
917
|
+
* This is always `sql#importContext`.
|
|
906
918
|
*/
|
|
907
919
|
kind?: string | null;
|
|
908
920
|
/**
|
|
909
|
-
* 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.
|
|
910
922
|
*/
|
|
911
923
|
uri?: string | null;
|
|
912
924
|
}
|
|
@@ -1006,7 +1018,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
1006
1018
|
*/
|
|
1007
1019
|
items?: Schema$DatabaseInstance[];
|
|
1008
1020
|
/**
|
|
1009
|
-
* This is always
|
|
1021
|
+
* This is always `sql#instancesList`.
|
|
1010
1022
|
*/
|
|
1011
1023
|
kind?: string | null;
|
|
1012
1024
|
/**
|
|
@@ -1028,7 +1040,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
1028
1040
|
*/
|
|
1029
1041
|
certs?: Schema$SslCert[];
|
|
1030
1042
|
/**
|
|
1031
|
-
* This is always
|
|
1043
|
+
* This is always `sql#instancesListServerCas`.
|
|
1032
1044
|
*/
|
|
1033
1045
|
kind?: string | null;
|
|
1034
1046
|
}
|
|
@@ -1068,7 +1080,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
1068
1080
|
*/
|
|
1069
1081
|
allocatedIpRange?: string | null;
|
|
1070
1082
|
/**
|
|
1071
|
-
* 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`).
|
|
1072
1084
|
*/
|
|
1073
1085
|
authorizedNetworks?: Schema$AclEntry[];
|
|
1074
1086
|
/**
|
|
@@ -1076,7 +1088,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
1076
1088
|
*/
|
|
1077
1089
|
ipv4Enabled?: boolean | null;
|
|
1078
1090
|
/**
|
|
1079
|
-
* 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.
|
|
1080
1092
|
*/
|
|
1081
1093
|
privateNetwork?: string | null;
|
|
1082
1094
|
/**
|
|
@@ -1093,11 +1105,11 @@ export namespace sqladmin_v1beta4 {
|
|
|
1093
1105
|
*/
|
|
1094
1106
|
ipAddress?: string | null;
|
|
1095
1107
|
/**
|
|
1096
|
-
* 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.
|
|
1097
1109
|
*/
|
|
1098
1110
|
timeToRetire?: string | null;
|
|
1099
1111
|
/**
|
|
1100
|
-
* 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.
|
|
1101
1113
|
*/
|
|
1102
1114
|
type?: string | null;
|
|
1103
1115
|
}
|
|
@@ -1106,11 +1118,11 @@ export namespace sqladmin_v1beta4 {
|
|
|
1106
1118
|
*/
|
|
1107
1119
|
export interface Schema$LocationPreference {
|
|
1108
1120
|
/**
|
|
1109
|
-
* 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.
|
|
1110
1122
|
*/
|
|
1111
1123
|
followGaeApplication?: string | null;
|
|
1112
1124
|
/**
|
|
1113
|
-
* This is always
|
|
1125
|
+
* This is always `sql#locationPreference`.
|
|
1114
1126
|
*/
|
|
1115
1127
|
kind?: string | null;
|
|
1116
1128
|
/**
|
|
@@ -1118,7 +1130,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
1118
1130
|
*/
|
|
1119
1131
|
secondaryZone?: string | null;
|
|
1120
1132
|
/**
|
|
1121
|
-
* 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.
|
|
1122
1134
|
*/
|
|
1123
1135
|
zone?: string | null;
|
|
1124
1136
|
}
|
|
@@ -1135,11 +1147,11 @@ export namespace sqladmin_v1beta4 {
|
|
|
1135
1147
|
*/
|
|
1136
1148
|
hour?: number | null;
|
|
1137
1149
|
/**
|
|
1138
|
-
* This is always
|
|
1150
|
+
* This is always `sql#maintenanceWindow`.
|
|
1139
1151
|
*/
|
|
1140
1152
|
kind?: string | null;
|
|
1141
1153
|
/**
|
|
1142
|
-
* 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).
|
|
1143
1155
|
*/
|
|
1144
1156
|
updateTrack?: string | null;
|
|
1145
1157
|
}
|
|
@@ -1168,7 +1180,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
1168
1180
|
*/
|
|
1169
1181
|
dumpFilePath?: string | null;
|
|
1170
1182
|
/**
|
|
1171
|
-
* This is always
|
|
1183
|
+
* This is always `sql#mysqlReplicaConfiguration`.
|
|
1172
1184
|
*/
|
|
1173
1185
|
kind?: string | null;
|
|
1174
1186
|
/**
|
|
@@ -1226,7 +1238,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
1226
1238
|
*/
|
|
1227
1239
|
hostPort?: string | null;
|
|
1228
1240
|
/**
|
|
1229
|
-
* This is always
|
|
1241
|
+
* This is always `sql#onPremisesConfiguration`.
|
|
1230
1242
|
*/
|
|
1231
1243
|
kind?: string | null;
|
|
1232
1244
|
/**
|
|
@@ -1251,7 +1263,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
1251
1263
|
*/
|
|
1252
1264
|
backupContext?: Schema$BackupContext;
|
|
1253
1265
|
/**
|
|
1254
|
-
* 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`.
|
|
1255
1267
|
*/
|
|
1256
1268
|
endTime?: string | null;
|
|
1257
1269
|
/**
|
|
@@ -1267,11 +1279,11 @@ export namespace sqladmin_v1beta4 {
|
|
|
1267
1279
|
*/
|
|
1268
1280
|
importContext?: Schema$ImportContext;
|
|
1269
1281
|
/**
|
|
1270
|
-
* 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`.
|
|
1271
1283
|
*/
|
|
1272
1284
|
insertTime?: string | null;
|
|
1273
1285
|
/**
|
|
1274
|
-
* This is always
|
|
1286
|
+
* This is always `sql#operation`.
|
|
1275
1287
|
*/
|
|
1276
1288
|
kind?: string | null;
|
|
1277
1289
|
/**
|
|
@@ -1279,7 +1291,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
1279
1291
|
*/
|
|
1280
1292
|
name?: string | null;
|
|
1281
1293
|
/**
|
|
1282
|
-
* 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`
|
|
1283
1295
|
*/
|
|
1284
1296
|
operationType?: string | null;
|
|
1285
1297
|
/**
|
|
@@ -1287,7 +1299,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
1287
1299
|
*/
|
|
1288
1300
|
selfLink?: string | null;
|
|
1289
1301
|
/**
|
|
1290
|
-
* 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`.
|
|
1291
1303
|
*/
|
|
1292
1304
|
startTime?: string | null;
|
|
1293
1305
|
/**
|
|
@@ -1317,7 +1329,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
1317
1329
|
*/
|
|
1318
1330
|
code?: string | null;
|
|
1319
1331
|
/**
|
|
1320
|
-
* This is always
|
|
1332
|
+
* This is always `sql#operationError`.
|
|
1321
1333
|
*/
|
|
1322
1334
|
kind?: string | null;
|
|
1323
1335
|
/**
|
|
@@ -1334,7 +1346,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
1334
1346
|
*/
|
|
1335
1347
|
errors?: Schema$OperationError[];
|
|
1336
1348
|
/**
|
|
1337
|
-
* This is always
|
|
1349
|
+
* This is always `sql#operationErrors`.
|
|
1338
1350
|
*/
|
|
1339
1351
|
kind?: string | null;
|
|
1340
1352
|
}
|
|
@@ -1347,7 +1359,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
1347
1359
|
*/
|
|
1348
1360
|
items?: Schema$Operation[];
|
|
1349
1361
|
/**
|
|
1350
|
-
* This is always
|
|
1362
|
+
* This is always `sql#operationsList`.
|
|
1351
1363
|
*/
|
|
1352
1364
|
kind?: string | null;
|
|
1353
1365
|
/**
|
|
@@ -1385,7 +1397,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
1385
1397
|
*/
|
|
1386
1398
|
minLength?: number | null;
|
|
1387
1399
|
/**
|
|
1388
|
-
* Minimum interval after which the password can be changed.
|
|
1400
|
+
* Minimum interval after which the password can be changed. This flag is only supported for PostgresSQL.
|
|
1389
1401
|
*/
|
|
1390
1402
|
passwordChangeInterval?: string | null;
|
|
1391
1403
|
/**
|
|
@@ -1398,15 +1410,15 @@ export namespace sqladmin_v1beta4 {
|
|
|
1398
1410
|
*/
|
|
1399
1411
|
export interface Schema$ReplicaConfiguration {
|
|
1400
1412
|
/**
|
|
1401
|
-
* 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.
|
|
1402
1414
|
*/
|
|
1403
1415
|
failoverTarget?: boolean | null;
|
|
1404
1416
|
/**
|
|
1405
|
-
* This is always
|
|
1417
|
+
* This is always `sql#replicaConfiguration`.
|
|
1406
1418
|
*/
|
|
1407
1419
|
kind?: string | null;
|
|
1408
1420
|
/**
|
|
1409
|
-
* 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.
|
|
1410
1422
|
*/
|
|
1411
1423
|
mysqlReplicaConfiguration?: Schema$MySqlReplicaConfiguration;
|
|
1412
1424
|
}
|
|
@@ -1416,7 +1428,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
1416
1428
|
*/
|
|
1417
1429
|
rescheduleType?: string | null;
|
|
1418
1430
|
/**
|
|
1419
|
-
* 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`.
|
|
1420
1432
|
*/
|
|
1421
1433
|
scheduleTime?: string | null;
|
|
1422
1434
|
}
|
|
@@ -1433,7 +1445,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
1433
1445
|
*/
|
|
1434
1446
|
instanceId?: string | null;
|
|
1435
1447
|
/**
|
|
1436
|
-
* This is always
|
|
1448
|
+
* This is always `sql#restoreBackupContext`.
|
|
1437
1449
|
*/
|
|
1438
1450
|
kind?: string | null;
|
|
1439
1451
|
/**
|
|
@@ -1446,7 +1458,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
1446
1458
|
*/
|
|
1447
1459
|
export interface Schema$RotateServerCaContext {
|
|
1448
1460
|
/**
|
|
1449
|
-
* This is always
|
|
1461
|
+
* This is always `sql#rotateServerCaContext`.
|
|
1450
1462
|
*/
|
|
1451
1463
|
kind?: string | null;
|
|
1452
1464
|
/**
|
|
@@ -1459,7 +1471,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
1459
1471
|
*/
|
|
1460
1472
|
export interface Schema$Settings {
|
|
1461
1473
|
/**
|
|
1462
|
-
* 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.
|
|
1463
1475
|
*/
|
|
1464
1476
|
activationPolicy?: string | null;
|
|
1465
1477
|
/**
|
|
@@ -1471,7 +1483,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
1471
1483
|
*/
|
|
1472
1484
|
authorizedGaeApplications?: string[] | null;
|
|
1473
1485
|
/**
|
|
1474
|
-
* 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).
|
|
1475
1487
|
*/
|
|
1476
1488
|
availabilityType?: string | null;
|
|
1477
1489
|
/**
|
|
@@ -1491,7 +1503,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
1491
1503
|
*/
|
|
1492
1504
|
databaseFlags?: Schema$DatabaseFlags[];
|
|
1493
1505
|
/**
|
|
1494
|
-
* 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.
|
|
1495
1507
|
*/
|
|
1496
1508
|
databaseReplicationEnabled?: boolean | null;
|
|
1497
1509
|
/**
|
|
@@ -1499,7 +1511,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
1499
1511
|
*/
|
|
1500
1512
|
dataDiskSizeGb?: string | null;
|
|
1501
1513
|
/**
|
|
1502
|
-
* The type of data disk:
|
|
1514
|
+
* The type of data disk: `PD_SSD` (default) or `PD_HDD`. Not used for First Generation instances.
|
|
1503
1515
|
*/
|
|
1504
1516
|
dataDiskType?: string | null;
|
|
1505
1517
|
/**
|
|
@@ -1515,7 +1527,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
1515
1527
|
*/
|
|
1516
1528
|
ipConfiguration?: Schema$IpConfiguration;
|
|
1517
1529
|
/**
|
|
1518
|
-
* This is always
|
|
1530
|
+
* This is always `sql#settings`.
|
|
1519
1531
|
*/
|
|
1520
1532
|
kind?: string | null;
|
|
1521
1533
|
/**
|
|
@@ -1531,11 +1543,11 @@ export namespace sqladmin_v1beta4 {
|
|
|
1531
1543
|
*/
|
|
1532
1544
|
passwordValidationPolicy?: Schema$PasswordValidationPolicy;
|
|
1533
1545
|
/**
|
|
1534
|
-
* The pricing plan for this instance. This can be either
|
|
1546
|
+
* The pricing plan for this instance. This can be either `PER_USE` or `PACKAGE`. Only `PER_USE` is supported for Second Generation instances.
|
|
1535
1547
|
*/
|
|
1536
1548
|
pricingPlan?: string | null;
|
|
1537
1549
|
/**
|
|
1538
|
-
* 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.
|
|
1539
1551
|
*/
|
|
1540
1552
|
replicationType?: string | null;
|
|
1541
1553
|
/**
|
|
@@ -1555,7 +1567,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
1555
1567
|
*/
|
|
1556
1568
|
storageAutoResizeLimit?: string | null;
|
|
1557
1569
|
/**
|
|
1558
|
-
* 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.
|
|
1559
1571
|
*/
|
|
1560
1572
|
tier?: string | null;
|
|
1561
1573
|
/**
|
|
@@ -1585,7 +1597,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
1585
1597
|
*/
|
|
1586
1598
|
detail?: string | null;
|
|
1587
1599
|
/**
|
|
1588
|
-
* Can be
|
|
1600
|
+
* Can be `sql#externalSyncSettingError` or `sql#externalSyncSettingWarning`.
|
|
1589
1601
|
*/
|
|
1590
1602
|
kind?: string | null;
|
|
1591
1603
|
/**
|
|
@@ -1643,7 +1655,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
1643
1655
|
*/
|
|
1644
1656
|
errors?: Schema$SqlExternalSyncSettingError[];
|
|
1645
1657
|
/**
|
|
1646
|
-
* This is always
|
|
1658
|
+
* This is always `sql#migrationSettingErrorList`.
|
|
1647
1659
|
*/
|
|
1648
1660
|
kind?: string | null;
|
|
1649
1661
|
/**
|
|
@@ -1738,11 +1750,11 @@ export namespace sqladmin_v1beta4 {
|
|
|
1738
1750
|
*/
|
|
1739
1751
|
commonName?: string | null;
|
|
1740
1752
|
/**
|
|
1741
|
-
* 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`.
|
|
1742
1754
|
*/
|
|
1743
1755
|
createTime?: string | null;
|
|
1744
1756
|
/**
|
|
1745
|
-
* 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`.
|
|
1746
1758
|
*/
|
|
1747
1759
|
expirationTime?: string | null;
|
|
1748
1760
|
/**
|
|
@@ -1750,7 +1762,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
1750
1762
|
*/
|
|
1751
1763
|
instance?: string | null;
|
|
1752
1764
|
/**
|
|
1753
|
-
* This is always
|
|
1765
|
+
* This is always `sql#sslCert`.
|
|
1754
1766
|
*/
|
|
1755
1767
|
kind?: string | null;
|
|
1756
1768
|
/**
|
|
@@ -1806,7 +1818,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
1806
1818
|
*/
|
|
1807
1819
|
clientCert?: Schema$SslCertDetail;
|
|
1808
1820
|
/**
|
|
1809
|
-
* This is always
|
|
1821
|
+
* This is always `sql#sslCertsInsert`.
|
|
1810
1822
|
*/
|
|
1811
1823
|
kind?: string | null;
|
|
1812
1824
|
/**
|
|
@@ -1827,7 +1839,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
1827
1839
|
*/
|
|
1828
1840
|
items?: Schema$SslCert[];
|
|
1829
1841
|
/**
|
|
1830
|
-
* This is always
|
|
1842
|
+
* This is always `sql#sslCertsList`.
|
|
1831
1843
|
*/
|
|
1832
1844
|
kind?: string | null;
|
|
1833
1845
|
}
|
|
@@ -1853,7 +1865,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
1853
1865
|
*/
|
|
1854
1866
|
DiskQuota?: string | null;
|
|
1855
1867
|
/**
|
|
1856
|
-
* This is always
|
|
1868
|
+
* This is always `sql#tier`.
|
|
1857
1869
|
*/
|
|
1858
1870
|
kind?: string | null;
|
|
1859
1871
|
/**
|
|
@@ -1865,7 +1877,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
1865
1877
|
*/
|
|
1866
1878
|
region?: string[] | null;
|
|
1867
1879
|
/**
|
|
1868
|
-
* 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).
|
|
1869
1881
|
*/
|
|
1870
1882
|
tier?: string | null;
|
|
1871
1883
|
}
|
|
@@ -1878,7 +1890,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
1878
1890
|
*/
|
|
1879
1891
|
items?: Schema$Tier[];
|
|
1880
1892
|
/**
|
|
1881
|
-
* This is always
|
|
1893
|
+
* This is always `sql#tiersList`.
|
|
1882
1894
|
*/
|
|
1883
1895
|
kind?: string | null;
|
|
1884
1896
|
}
|
|
@@ -1887,11 +1899,11 @@ export namespace sqladmin_v1beta4 {
|
|
|
1887
1899
|
*/
|
|
1888
1900
|
export interface Schema$TruncateLogContext {
|
|
1889
1901
|
/**
|
|
1890
|
-
* This is always
|
|
1902
|
+
* This is always `sql#truncateLogContext`.
|
|
1891
1903
|
*/
|
|
1892
1904
|
kind?: string | null;
|
|
1893
1905
|
/**
|
|
1894
|
-
* 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`.
|
|
1895
1907
|
*/
|
|
1896
1908
|
logType?: string | null;
|
|
1897
1909
|
}
|
|
@@ -1904,19 +1916,19 @@ export namespace sqladmin_v1beta4 {
|
|
|
1904
1916
|
*/
|
|
1905
1917
|
etag?: string | null;
|
|
1906
1918
|
/**
|
|
1907
|
-
* Optional. 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.
|
|
1908
1920
|
*/
|
|
1909
1921
|
host?: string | null;
|
|
1910
1922
|
/**
|
|
1911
|
-
* 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.
|
|
1912
1924
|
*/
|
|
1913
1925
|
instance?: string | null;
|
|
1914
1926
|
/**
|
|
1915
|
-
* This is always
|
|
1927
|
+
* This is always `sql#user`.
|
|
1916
1928
|
*/
|
|
1917
1929
|
kind?: string | null;
|
|
1918
1930
|
/**
|
|
1919
|
-
* 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.
|
|
1920
1932
|
*/
|
|
1921
1933
|
name?: string | null;
|
|
1922
1934
|
/**
|
|
@@ -1928,7 +1940,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
1928
1940
|
*/
|
|
1929
1941
|
passwordPolicy?: Schema$UserPasswordValidationPolicy;
|
|
1930
1942
|
/**
|
|
1931
|
-
* The project ID of the project containing the Cloud SQL database. The Google apps domain is prefixed if applicable. Can be omitted for *update*
|
|
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.
|
|
1932
1944
|
*/
|
|
1933
1945
|
project?: string | null;
|
|
1934
1946
|
sqlserverUserDetails?: Schema$SqlServerUserDetails;
|
|
@@ -5133,6 +5145,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
5133
5145
|
*
|
|
5134
5146
|
* // Example response
|
|
5135
5147
|
* // {
|
|
5148
|
+
* // "availableMaintenanceVersions": [],
|
|
5136
5149
|
* // "backendType": "my_backendType",
|
|
5137
5150
|
* // "connectionName": "my_connectionName",
|
|
5138
5151
|
* // "createTime": "my_createTime",
|
|
@@ -5148,6 +5161,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
5148
5161
|
* // "ipAddresses": [],
|
|
5149
5162
|
* // "ipv6Address": "my_ipv6Address",
|
|
5150
5163
|
* // "kind": "my_kind",
|
|
5164
|
+
* // "maintenanceVersion": "my_maintenanceVersion",
|
|
5151
5165
|
* // "masterInstanceName": "my_masterInstanceName",
|
|
5152
5166
|
* // "maxDiskSize": "my_maxDiskSize",
|
|
5153
5167
|
* // "name": "my_name",
|
|
@@ -5449,6 +5463,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
5449
5463
|
* requestBody: {
|
|
5450
5464
|
* // request body parameters
|
|
5451
5465
|
* // {
|
|
5466
|
+
* // "availableMaintenanceVersions": [],
|
|
5452
5467
|
* // "backendType": "my_backendType",
|
|
5453
5468
|
* // "connectionName": "my_connectionName",
|
|
5454
5469
|
* // "createTime": "my_createTime",
|
|
@@ -5464,6 +5479,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
5464
5479
|
* // "ipAddresses": [],
|
|
5465
5480
|
* // "ipv6Address": "my_ipv6Address",
|
|
5466
5481
|
* // "kind": "my_kind",
|
|
5482
|
+
* // "maintenanceVersion": "my_maintenanceVersion",
|
|
5467
5483
|
* // "masterInstanceName": "my_masterInstanceName",
|
|
5468
5484
|
* // "maxDiskSize": "my_maxDiskSize",
|
|
5469
5485
|
* // "name": "my_name",
|
|
@@ -5926,6 +5942,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
5926
5942
|
* requestBody: {
|
|
5927
5943
|
* // request body parameters
|
|
5928
5944
|
* // {
|
|
5945
|
+
* // "availableMaintenanceVersions": [],
|
|
5929
5946
|
* // "backendType": "my_backendType",
|
|
5930
5947
|
* // "connectionName": "my_connectionName",
|
|
5931
5948
|
* // "createTime": "my_createTime",
|
|
@@ -5941,6 +5958,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
5941
5958
|
* // "ipAddresses": [],
|
|
5942
5959
|
* // "ipv6Address": "my_ipv6Address",
|
|
5943
5960
|
* // "kind": "my_kind",
|
|
5961
|
+
* // "maintenanceVersion": "my_maintenanceVersion",
|
|
5944
5962
|
* // "masterInstanceName": "my_masterInstanceName",
|
|
5945
5963
|
* // "maxDiskSize": "my_maxDiskSize",
|
|
5946
5964
|
* // "name": "my_name",
|
|
@@ -7330,6 +7348,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
7330
7348
|
* requestBody: {
|
|
7331
7349
|
* // request body parameters
|
|
7332
7350
|
* // {
|
|
7351
|
+
* // "availableMaintenanceVersions": [],
|
|
7333
7352
|
* // "backendType": "my_backendType",
|
|
7334
7353
|
* // "connectionName": "my_connectionName",
|
|
7335
7354
|
* // "createTime": "my_createTime",
|
|
@@ -7345,6 +7364,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
7345
7364
|
* // "ipAddresses": [],
|
|
7346
7365
|
* // "ipv6Address": "my_ipv6Address",
|
|
7347
7366
|
* // "kind": "my_kind",
|
|
7367
|
+
* // "maintenanceVersion": "my_maintenanceVersion",
|
|
7348
7368
|
* // "masterInstanceName": "my_masterInstanceName",
|
|
7349
7369
|
* // "maxDiskSize": "my_maxDiskSize",
|
|
7350
7370
|
* // "name": "my_name",
|
|
@@ -9444,7 +9464,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
9444
9464
|
}
|
|
9445
9465
|
|
|
9446
9466
|
/**
|
|
9447
|
-
* 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).
|
|
9448
9468
|
* @example
|
|
9449
9469
|
* ```js
|
|
9450
9470
|
* // Before running the sample:
|