@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/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,11 +422,11 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
414
422
|
*/
|
|
415
423
|
currentDiskSize?: string | null;
|
|
416
424
|
/**
|
|
417
|
-
* Output only.
|
|
425
|
+
* Output only. Stores the current database version running on the instance including minor version such as `MYSQL_8_0_18`.
|
|
418
426
|
*/
|
|
419
427
|
databaseInstalledVersion?: string | null;
|
|
420
428
|
/**
|
|
421
|
-
* The database engine type and version. The
|
|
429
|
+
* The database engine type and version. The `databaseVersion` field cannot be changed after instance creation.
|
|
422
430
|
*/
|
|
423
431
|
databaseVersion?: string | null;
|
|
424
432
|
/**
|
|
@@ -430,7 +438,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
430
438
|
*/
|
|
431
439
|
diskEncryptionStatus?: Schema$DiskEncryptionStatus;
|
|
432
440
|
/**
|
|
433
|
-
* 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.
|
|
434
442
|
*/
|
|
435
443
|
etag?: string | null;
|
|
436
444
|
/**
|
|
@@ -441,7 +449,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
441
449
|
name?: string;
|
|
442
450
|
} | null;
|
|
443
451
|
/**
|
|
444
|
-
* 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.
|
|
445
453
|
*/
|
|
446
454
|
gceZone?: string | null;
|
|
447
455
|
/**
|
|
@@ -457,9 +465,13 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
457
465
|
*/
|
|
458
466
|
ipv6Address?: string | null;
|
|
459
467
|
/**
|
|
460
|
-
* This is always
|
|
468
|
+
* This is always `sql#instance`.
|
|
461
469
|
*/
|
|
462
470
|
kind?: string | null;
|
|
471
|
+
/**
|
|
472
|
+
* The current software version on the instance.
|
|
473
|
+
*/
|
|
474
|
+
maintenanceVersion?: string | null;
|
|
463
475
|
/**
|
|
464
476
|
* The name of the instance which will act as primary in the replication setup.
|
|
465
477
|
*/
|
|
@@ -485,7 +497,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
485
497
|
*/
|
|
486
498
|
project?: string | null;
|
|
487
499
|
/**
|
|
488
|
-
* 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.
|
|
489
501
|
*/
|
|
490
502
|
region?: string | null;
|
|
491
503
|
/**
|
|
@@ -521,7 +533,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
521
533
|
*/
|
|
522
534
|
serverCaCert?: Schema$SslCert;
|
|
523
535
|
/**
|
|
524
|
-
* 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.
|
|
525
537
|
*/
|
|
526
538
|
serviceAccountEmailAddress?: string | null;
|
|
527
539
|
/**
|
|
@@ -546,7 +558,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
546
558
|
*/
|
|
547
559
|
items?: Schema$Database[];
|
|
548
560
|
/**
|
|
549
|
-
* This is always
|
|
561
|
+
* This is always `sql#databasesList`.
|
|
550
562
|
*/
|
|
551
563
|
kind?: string | null;
|
|
552
564
|
}
|
|
@@ -555,11 +567,11 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
555
567
|
*/
|
|
556
568
|
export interface Schema$DemoteMasterConfiguration {
|
|
557
569
|
/**
|
|
558
|
-
* This is always
|
|
570
|
+
* This is always `sql#demoteMasterConfiguration`.
|
|
559
571
|
*/
|
|
560
572
|
kind?: string | null;
|
|
561
573
|
/**
|
|
562
|
-
* 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.
|
|
563
575
|
*/
|
|
564
576
|
mysqlReplicaConfiguration?: Schema$DemoteMasterMySqlReplicaConfiguration;
|
|
565
577
|
}
|
|
@@ -568,7 +580,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
568
580
|
*/
|
|
569
581
|
export interface Schema$DemoteMasterContext {
|
|
570
582
|
/**
|
|
571
|
-
* This is always
|
|
583
|
+
* This is always `sql#demoteMasterContext`.
|
|
572
584
|
*/
|
|
573
585
|
kind?: string | null;
|
|
574
586
|
/**
|
|
@@ -584,7 +596,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
584
596
|
*/
|
|
585
597
|
skipReplicationSetup?: boolean | null;
|
|
586
598
|
/**
|
|
587
|
-
* 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.
|
|
588
600
|
*/
|
|
589
601
|
verifyGtidConsistency?: boolean | null;
|
|
590
602
|
}
|
|
@@ -605,7 +617,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
605
617
|
*/
|
|
606
618
|
clientKey?: string | null;
|
|
607
619
|
/**
|
|
608
|
-
* This is always
|
|
620
|
+
* This is always `sql#demoteMasterMysqlReplicaConfiguration`.
|
|
609
621
|
*/
|
|
610
622
|
kind?: string | null;
|
|
611
623
|
/**
|
|
@@ -639,7 +651,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
639
651
|
*/
|
|
640
652
|
export interface Schema$DiskEncryptionConfiguration {
|
|
641
653
|
/**
|
|
642
|
-
* This is always
|
|
654
|
+
* This is always `sql#diskEncryptionConfiguration`.
|
|
643
655
|
*/
|
|
644
656
|
kind?: string | null;
|
|
645
657
|
/**
|
|
@@ -652,7 +664,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
652
664
|
*/
|
|
653
665
|
export interface Schema$DiskEncryptionStatus {
|
|
654
666
|
/**
|
|
655
|
-
* This is always
|
|
667
|
+
* This is always `sql#diskEncryptionStatus`.
|
|
656
668
|
*/
|
|
657
669
|
kind?: string | null;
|
|
658
670
|
/**
|
|
@@ -665,7 +677,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
665
677
|
*/
|
|
666
678
|
export interface Schema$ExportContext {
|
|
667
679
|
/**
|
|
668
|
-
* Options for exporting data as CSV.
|
|
680
|
+
* Options for exporting data as CSV. `MySQL` and `PostgreSQL` instances only.
|
|
669
681
|
*/
|
|
670
682
|
csvExportOptions?: {
|
|
671
683
|
escapeCharacter?: string;
|
|
@@ -675,7 +687,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
675
687
|
selectQuery?: string;
|
|
676
688
|
} | null;
|
|
677
689
|
/**
|
|
678
|
-
* 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`.
|
|
679
691
|
*/
|
|
680
692
|
databases?: string[] | null;
|
|
681
693
|
/**
|
|
@@ -683,7 +695,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
683
695
|
*/
|
|
684
696
|
fileType?: string | null;
|
|
685
697
|
/**
|
|
686
|
-
* This is always
|
|
698
|
+
* This is always `sql#exportContext`.
|
|
687
699
|
*/
|
|
688
700
|
kind?: string | null;
|
|
689
701
|
/**
|
|
@@ -701,7 +713,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
701
713
|
tables?: string[];
|
|
702
714
|
} | null;
|
|
703
715
|
/**
|
|
704
|
-
* 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.
|
|
705
717
|
*/
|
|
706
718
|
uri?: string | null;
|
|
707
719
|
}
|
|
@@ -710,7 +722,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
710
722
|
*/
|
|
711
723
|
export interface Schema$FailoverContext {
|
|
712
724
|
/**
|
|
713
|
-
* This is always
|
|
725
|
+
* This is always `sql#failoverContext`.
|
|
714
726
|
*/
|
|
715
727
|
kind?: string | null;
|
|
716
728
|
/**
|
|
@@ -727,11 +739,11 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
727
739
|
*/
|
|
728
740
|
allowedIntValues?: string[] | null;
|
|
729
741
|
/**
|
|
730
|
-
* For
|
|
742
|
+
* For `STRING` flags, a list of strings that the value can be set to.
|
|
731
743
|
*/
|
|
732
744
|
allowedStringValues?: string[] | null;
|
|
733
745
|
/**
|
|
734
|
-
* 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).
|
|
735
747
|
*/
|
|
736
748
|
appliesTo?: string[] | null;
|
|
737
749
|
/**
|
|
@@ -739,19 +751,19 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
739
751
|
*/
|
|
740
752
|
inBeta?: boolean | null;
|
|
741
753
|
/**
|
|
742
|
-
* This is always
|
|
754
|
+
* This is always `sql#flag`.
|
|
743
755
|
*/
|
|
744
756
|
kind?: string | null;
|
|
745
757
|
/**
|
|
746
|
-
* For
|
|
758
|
+
* For `INTEGER` flags, the maximum allowed value.
|
|
747
759
|
*/
|
|
748
760
|
maxValue?: string | null;
|
|
749
761
|
/**
|
|
750
|
-
* For
|
|
762
|
+
* For `INTEGER` flags, the minimum allowed value.
|
|
751
763
|
*/
|
|
752
764
|
minValue?: string | null;
|
|
753
765
|
/**
|
|
754
|
-
* 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`
|
|
755
767
|
*/
|
|
756
768
|
name?: string | null;
|
|
757
769
|
/**
|
|
@@ -759,7 +771,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
759
771
|
*/
|
|
760
772
|
requiresRestart?: boolean | null;
|
|
761
773
|
/**
|
|
762
|
-
* 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`.
|
|
763
775
|
*/
|
|
764
776
|
type?: string | null;
|
|
765
777
|
}
|
|
@@ -772,7 +784,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
772
784
|
*/
|
|
773
785
|
items?: Schema$Flag[];
|
|
774
786
|
/**
|
|
775
|
-
* This is always
|
|
787
|
+
* This is always `sql#flagsList`.
|
|
776
788
|
*/
|
|
777
789
|
kind?: string | null;
|
|
778
790
|
}
|
|
@@ -832,11 +844,11 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
832
844
|
table?: string;
|
|
833
845
|
} | null;
|
|
834
846
|
/**
|
|
835
|
-
* 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.
|
|
836
848
|
*/
|
|
837
849
|
database?: string | null;
|
|
838
850
|
/**
|
|
839
|
-
* 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.
|
|
840
852
|
*/
|
|
841
853
|
fileType?: string | null;
|
|
842
854
|
/**
|
|
@@ -844,11 +856,11 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
844
856
|
*/
|
|
845
857
|
importUser?: string | null;
|
|
846
858
|
/**
|
|
847
|
-
* This is always
|
|
859
|
+
* This is always `sql#importContext`.
|
|
848
860
|
*/
|
|
849
861
|
kind?: string | null;
|
|
850
862
|
/**
|
|
851
|
-
* 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.
|
|
852
864
|
*/
|
|
853
865
|
uri?: string | null;
|
|
854
866
|
}
|
|
@@ -948,7 +960,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
948
960
|
*/
|
|
949
961
|
items?: Schema$DatabaseInstance[];
|
|
950
962
|
/**
|
|
951
|
-
* This is always
|
|
963
|
+
* This is always `sql#instancesList`.
|
|
952
964
|
*/
|
|
953
965
|
kind?: string | null;
|
|
954
966
|
/**
|
|
@@ -970,7 +982,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
970
982
|
*/
|
|
971
983
|
certs?: Schema$SslCert[];
|
|
972
984
|
/**
|
|
973
|
-
* This is always
|
|
985
|
+
* This is always `sql#instancesListServerCas`.
|
|
974
986
|
*/
|
|
975
987
|
kind?: string | null;
|
|
976
988
|
}
|
|
@@ -1010,7 +1022,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
1010
1022
|
*/
|
|
1011
1023
|
allocatedIpRange?: string | null;
|
|
1012
1024
|
/**
|
|
1013
|
-
* 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`).
|
|
1014
1026
|
*/
|
|
1015
1027
|
authorizedNetworks?: Schema$AclEntry[];
|
|
1016
1028
|
/**
|
|
@@ -1018,7 +1030,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
1018
1030
|
*/
|
|
1019
1031
|
ipv4Enabled?: boolean | null;
|
|
1020
1032
|
/**
|
|
1021
|
-
* 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.
|
|
1022
1034
|
*/
|
|
1023
1035
|
privateNetwork?: string | null;
|
|
1024
1036
|
/**
|
|
@@ -1035,11 +1047,11 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
1035
1047
|
*/
|
|
1036
1048
|
ipAddress?: string | null;
|
|
1037
1049
|
/**
|
|
1038
|
-
* 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.
|
|
1039
1051
|
*/
|
|
1040
1052
|
timeToRetire?: string | null;
|
|
1041
1053
|
/**
|
|
1042
|
-
* 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.
|
|
1043
1055
|
*/
|
|
1044
1056
|
type?: string | null;
|
|
1045
1057
|
}
|
|
@@ -1048,11 +1060,11 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
1048
1060
|
*/
|
|
1049
1061
|
export interface Schema$LocationPreference {
|
|
1050
1062
|
/**
|
|
1051
|
-
* 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.
|
|
1052
1064
|
*/
|
|
1053
1065
|
followGaeApplication?: string | null;
|
|
1054
1066
|
/**
|
|
1055
|
-
* This is always
|
|
1067
|
+
* This is always `sql#locationPreference`.
|
|
1056
1068
|
*/
|
|
1057
1069
|
kind?: string | null;
|
|
1058
1070
|
/**
|
|
@@ -1060,7 +1072,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
1060
1072
|
*/
|
|
1061
1073
|
secondaryZone?: string | null;
|
|
1062
1074
|
/**
|
|
1063
|
-
* 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.
|
|
1064
1076
|
*/
|
|
1065
1077
|
zone?: string | null;
|
|
1066
1078
|
}
|
|
@@ -1077,11 +1089,11 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
1077
1089
|
*/
|
|
1078
1090
|
hour?: number | null;
|
|
1079
1091
|
/**
|
|
1080
|
-
* This is always
|
|
1092
|
+
* This is always `sql#maintenanceWindow`.
|
|
1081
1093
|
*/
|
|
1082
1094
|
kind?: string | null;
|
|
1083
1095
|
/**
|
|
1084
|
-
* 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).
|
|
1085
1097
|
*/
|
|
1086
1098
|
updateTrack?: string | null;
|
|
1087
1099
|
}
|
|
@@ -1110,7 +1122,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
1110
1122
|
*/
|
|
1111
1123
|
dumpFilePath?: string | null;
|
|
1112
1124
|
/**
|
|
1113
|
-
* This is always
|
|
1125
|
+
* This is always `sql#mysqlReplicaConfiguration`.
|
|
1114
1126
|
*/
|
|
1115
1127
|
kind?: string | null;
|
|
1116
1128
|
/**
|
|
@@ -1168,7 +1180,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
1168
1180
|
*/
|
|
1169
1181
|
hostPort?: string | null;
|
|
1170
1182
|
/**
|
|
1171
|
-
* This is always
|
|
1183
|
+
* This is always `sql#onPremisesConfiguration`.
|
|
1172
1184
|
*/
|
|
1173
1185
|
kind?: string | null;
|
|
1174
1186
|
/**
|
|
@@ -1193,7 +1205,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
1193
1205
|
*/
|
|
1194
1206
|
backupContext?: Schema$BackupContext;
|
|
1195
1207
|
/**
|
|
1196
|
-
* 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`.
|
|
1197
1209
|
*/
|
|
1198
1210
|
endTime?: string | null;
|
|
1199
1211
|
/**
|
|
@@ -1209,11 +1221,11 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
1209
1221
|
*/
|
|
1210
1222
|
importContext?: Schema$ImportContext;
|
|
1211
1223
|
/**
|
|
1212
|
-
* 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`.
|
|
1213
1225
|
*/
|
|
1214
1226
|
insertTime?: string | null;
|
|
1215
1227
|
/**
|
|
1216
|
-
* This is always
|
|
1228
|
+
* This is always `sql#operation`.
|
|
1217
1229
|
*/
|
|
1218
1230
|
kind?: string | null;
|
|
1219
1231
|
/**
|
|
@@ -1221,7 +1233,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
1221
1233
|
*/
|
|
1222
1234
|
name?: string | null;
|
|
1223
1235
|
/**
|
|
1224
|
-
* 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`
|
|
1225
1237
|
*/
|
|
1226
1238
|
operationType?: string | null;
|
|
1227
1239
|
/**
|
|
@@ -1229,7 +1241,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
1229
1241
|
*/
|
|
1230
1242
|
selfLink?: string | null;
|
|
1231
1243
|
/**
|
|
1232
|
-
* 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`.
|
|
1233
1245
|
*/
|
|
1234
1246
|
startTime?: string | null;
|
|
1235
1247
|
/**
|
|
@@ -1259,7 +1271,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
1259
1271
|
*/
|
|
1260
1272
|
code?: string | null;
|
|
1261
1273
|
/**
|
|
1262
|
-
* This is always
|
|
1274
|
+
* This is always `sql#operationError`.
|
|
1263
1275
|
*/
|
|
1264
1276
|
kind?: string | null;
|
|
1265
1277
|
/**
|
|
@@ -1276,7 +1288,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
1276
1288
|
*/
|
|
1277
1289
|
errors?: Schema$OperationError[];
|
|
1278
1290
|
/**
|
|
1279
|
-
* This is always
|
|
1291
|
+
* This is always `sql#operationErrors`.
|
|
1280
1292
|
*/
|
|
1281
1293
|
kind?: string | null;
|
|
1282
1294
|
}
|
|
@@ -1289,7 +1301,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
1289
1301
|
*/
|
|
1290
1302
|
items?: Schema$Operation[];
|
|
1291
1303
|
/**
|
|
1292
|
-
* This is always
|
|
1304
|
+
* This is always `sql#operationsList`.
|
|
1293
1305
|
*/
|
|
1294
1306
|
kind?: string | null;
|
|
1295
1307
|
/**
|
|
@@ -1327,7 +1339,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
1327
1339
|
*/
|
|
1328
1340
|
minLength?: number | null;
|
|
1329
1341
|
/**
|
|
1330
|
-
* Minimum interval after which the password can be changed.
|
|
1342
|
+
* Minimum interval after which the password can be changed. This flag is only supported for PostgresSQL.
|
|
1331
1343
|
*/
|
|
1332
1344
|
passwordChangeInterval?: string | null;
|
|
1333
1345
|
/**
|
|
@@ -1340,15 +1352,15 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
1340
1352
|
*/
|
|
1341
1353
|
export interface Schema$ReplicaConfiguration {
|
|
1342
1354
|
/**
|
|
1343
|
-
* 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.
|
|
1344
1356
|
*/
|
|
1345
1357
|
failoverTarget?: boolean | null;
|
|
1346
1358
|
/**
|
|
1347
|
-
* This is always
|
|
1359
|
+
* This is always `sql#replicaConfiguration`.
|
|
1348
1360
|
*/
|
|
1349
1361
|
kind?: string | null;
|
|
1350
1362
|
/**
|
|
1351
|
-
* 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.
|
|
1352
1364
|
*/
|
|
1353
1365
|
mysqlReplicaConfiguration?: Schema$MySqlReplicaConfiguration;
|
|
1354
1366
|
}
|
|
@@ -1358,7 +1370,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
1358
1370
|
*/
|
|
1359
1371
|
rescheduleType?: string | null;
|
|
1360
1372
|
/**
|
|
1361
|
-
* 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`.
|
|
1362
1374
|
*/
|
|
1363
1375
|
scheduleTime?: string | null;
|
|
1364
1376
|
}
|
|
@@ -1375,7 +1387,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
1375
1387
|
*/
|
|
1376
1388
|
instanceId?: string | null;
|
|
1377
1389
|
/**
|
|
1378
|
-
* This is always
|
|
1390
|
+
* This is always `sql#restoreBackupContext`.
|
|
1379
1391
|
*/
|
|
1380
1392
|
kind?: string | null;
|
|
1381
1393
|
/**
|
|
@@ -1388,7 +1400,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
1388
1400
|
*/
|
|
1389
1401
|
export interface Schema$RotateServerCaContext {
|
|
1390
1402
|
/**
|
|
1391
|
-
* This is always
|
|
1403
|
+
* This is always `sql#rotateServerCaContext`.
|
|
1392
1404
|
*/
|
|
1393
1405
|
kind?: string | null;
|
|
1394
1406
|
/**
|
|
@@ -1401,7 +1413,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
1401
1413
|
*/
|
|
1402
1414
|
export interface Schema$Settings {
|
|
1403
1415
|
/**
|
|
1404
|
-
* 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.
|
|
1405
1417
|
*/
|
|
1406
1418
|
activationPolicy?: string | null;
|
|
1407
1419
|
/**
|
|
@@ -1413,7 +1425,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
1413
1425
|
*/
|
|
1414
1426
|
authorizedGaeApplications?: string[] | null;
|
|
1415
1427
|
/**
|
|
1416
|
-
* 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).
|
|
1417
1429
|
*/
|
|
1418
1430
|
availabilityType?: string | null;
|
|
1419
1431
|
/**
|
|
@@ -1433,7 +1445,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
1433
1445
|
*/
|
|
1434
1446
|
databaseFlags?: Schema$DatabaseFlags[];
|
|
1435
1447
|
/**
|
|
1436
|
-
* 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.
|
|
1437
1449
|
*/
|
|
1438
1450
|
databaseReplicationEnabled?: boolean | null;
|
|
1439
1451
|
/**
|
|
@@ -1441,7 +1453,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
1441
1453
|
*/
|
|
1442
1454
|
dataDiskSizeGb?: string | null;
|
|
1443
1455
|
/**
|
|
1444
|
-
* The type of data disk:
|
|
1456
|
+
* The type of data disk: `PD_SSD` (default) or `PD_HDD`. Not used for First Generation instances.
|
|
1445
1457
|
*/
|
|
1446
1458
|
dataDiskType?: string | null;
|
|
1447
1459
|
/**
|
|
@@ -1457,7 +1469,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
1457
1469
|
*/
|
|
1458
1470
|
ipConfiguration?: Schema$IpConfiguration;
|
|
1459
1471
|
/**
|
|
1460
|
-
* This is always
|
|
1472
|
+
* This is always `sql#settings`.
|
|
1461
1473
|
*/
|
|
1462
1474
|
kind?: string | null;
|
|
1463
1475
|
/**
|
|
@@ -1473,11 +1485,11 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
1473
1485
|
*/
|
|
1474
1486
|
passwordValidationPolicy?: Schema$PasswordValidationPolicy;
|
|
1475
1487
|
/**
|
|
1476
|
-
* The pricing plan for this instance. This can be either
|
|
1488
|
+
* The pricing plan for this instance. This can be either `PER_USE` or `PACKAGE`. Only `PER_USE` is supported for Second Generation instances.
|
|
1477
1489
|
*/
|
|
1478
1490
|
pricingPlan?: string | null;
|
|
1479
1491
|
/**
|
|
1480
|
-
* 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.
|
|
1481
1493
|
*/
|
|
1482
1494
|
replicationType?: string | null;
|
|
1483
1495
|
/**
|
|
@@ -1497,7 +1509,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
1497
1509
|
*/
|
|
1498
1510
|
storageAutoResizeLimit?: string | null;
|
|
1499
1511
|
/**
|
|
1500
|
-
* 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.
|
|
1501
1513
|
*/
|
|
1502
1514
|
tier?: string | null;
|
|
1503
1515
|
/**
|
|
@@ -1529,7 +1541,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
1529
1541
|
*/
|
|
1530
1542
|
detail?: string | null;
|
|
1531
1543
|
/**
|
|
1532
|
-
* Can be
|
|
1544
|
+
* Can be `sql#externalSyncSettingError` or `sql#externalSyncSettingWarning`.
|
|
1533
1545
|
*/
|
|
1534
1546
|
kind?: string | null;
|
|
1535
1547
|
/**
|
|
@@ -1587,7 +1599,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
1587
1599
|
*/
|
|
1588
1600
|
errors?: Schema$SqlExternalSyncSettingError[];
|
|
1589
1601
|
/**
|
|
1590
|
-
* This is always
|
|
1602
|
+
* This is always `sql#migrationSettingErrorList`.
|
|
1591
1603
|
*/
|
|
1592
1604
|
kind?: string | null;
|
|
1593
1605
|
/**
|
|
@@ -1682,11 +1694,11 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
1682
1694
|
*/
|
|
1683
1695
|
commonName?: string | null;
|
|
1684
1696
|
/**
|
|
1685
|
-
* 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`.
|
|
1686
1698
|
*/
|
|
1687
1699
|
createTime?: string | null;
|
|
1688
1700
|
/**
|
|
1689
|
-
* 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`.
|
|
1690
1702
|
*/
|
|
1691
1703
|
expirationTime?: string | null;
|
|
1692
1704
|
/**
|
|
@@ -1694,7 +1706,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
1694
1706
|
*/
|
|
1695
1707
|
instance?: string | null;
|
|
1696
1708
|
/**
|
|
1697
|
-
* This is always
|
|
1709
|
+
* This is always `sql#sslCert`.
|
|
1698
1710
|
*/
|
|
1699
1711
|
kind?: string | null;
|
|
1700
1712
|
/**
|
|
@@ -1750,7 +1762,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
1750
1762
|
*/
|
|
1751
1763
|
clientCert?: Schema$SslCertDetail;
|
|
1752
1764
|
/**
|
|
1753
|
-
* This is always
|
|
1765
|
+
* This is always `sql#sslCertsInsert`.
|
|
1754
1766
|
*/
|
|
1755
1767
|
kind?: string | null;
|
|
1756
1768
|
/**
|
|
@@ -1771,7 +1783,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
1771
1783
|
*/
|
|
1772
1784
|
items?: Schema$SslCert[];
|
|
1773
1785
|
/**
|
|
1774
|
-
* This is always
|
|
1786
|
+
* This is always `sql#sslCertsList`.
|
|
1775
1787
|
*/
|
|
1776
1788
|
kind?: string | null;
|
|
1777
1789
|
}
|
|
@@ -1797,7 +1809,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
1797
1809
|
*/
|
|
1798
1810
|
DiskQuota?: string | null;
|
|
1799
1811
|
/**
|
|
1800
|
-
* This is always
|
|
1812
|
+
* This is always `sql#tier`.
|
|
1801
1813
|
*/
|
|
1802
1814
|
kind?: string | null;
|
|
1803
1815
|
/**
|
|
@@ -1809,7 +1821,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
1809
1821
|
*/
|
|
1810
1822
|
region?: string[] | null;
|
|
1811
1823
|
/**
|
|
1812
|
-
* 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).
|
|
1813
1825
|
*/
|
|
1814
1826
|
tier?: string | null;
|
|
1815
1827
|
}
|
|
@@ -1822,7 +1834,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
1822
1834
|
*/
|
|
1823
1835
|
items?: Schema$Tier[];
|
|
1824
1836
|
/**
|
|
1825
|
-
* This is always
|
|
1837
|
+
* This is always `sql#tiersList`.
|
|
1826
1838
|
*/
|
|
1827
1839
|
kind?: string | null;
|
|
1828
1840
|
}
|
|
@@ -1831,11 +1843,11 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
1831
1843
|
*/
|
|
1832
1844
|
export interface Schema$TruncateLogContext {
|
|
1833
1845
|
/**
|
|
1834
|
-
* This is always
|
|
1846
|
+
* This is always `sql#truncateLogContext`.
|
|
1835
1847
|
*/
|
|
1836
1848
|
kind?: string | null;
|
|
1837
1849
|
/**
|
|
1838
|
-
* 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`.
|
|
1839
1851
|
*/
|
|
1840
1852
|
logType?: string | null;
|
|
1841
1853
|
}
|
|
@@ -1848,19 +1860,19 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
1848
1860
|
*/
|
|
1849
1861
|
etag?: string | null;
|
|
1850
1862
|
/**
|
|
1851
|
-
* Optional. 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.
|
|
1852
1864
|
*/
|
|
1853
1865
|
host?: string | null;
|
|
1854
1866
|
/**
|
|
1855
|
-
* 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.
|
|
1856
1868
|
*/
|
|
1857
1869
|
instance?: string | null;
|
|
1858
1870
|
/**
|
|
1859
|
-
* This is always
|
|
1871
|
+
* This is always `sql#user`.
|
|
1860
1872
|
*/
|
|
1861
1873
|
kind?: string | null;
|
|
1862
1874
|
/**
|
|
1863
|
-
* 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.
|
|
1864
1876
|
*/
|
|
1865
1877
|
name?: string | null;
|
|
1866
1878
|
/**
|
|
@@ -1872,7 +1884,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
1872
1884
|
*/
|
|
1873
1885
|
passwordPolicy?: Schema$UserPasswordValidationPolicy;
|
|
1874
1886
|
/**
|
|
1875
|
-
* The project ID of the project containing the Cloud SQL database. The Google apps domain is prefixed if applicable. Can be omitted for *update*
|
|
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.
|
|
1876
1888
|
*/
|
|
1877
1889
|
project?: string | null;
|
|
1878
1890
|
sqlserverUserDetails?: Schema$SqlServerUserDetails;
|
|
@@ -3657,6 +3669,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
3657
3669
|
*
|
|
3658
3670
|
* // Example response
|
|
3659
3671
|
* // {
|
|
3672
|
+
* // "availableMaintenanceVersions": [],
|
|
3660
3673
|
* // "backendType": "my_backendType",
|
|
3661
3674
|
* // "connectionName": "my_connectionName",
|
|
3662
3675
|
* // "createTime": "my_createTime",
|
|
@@ -3672,6 +3685,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
3672
3685
|
* // "ipAddresses": [],
|
|
3673
3686
|
* // "ipv6Address": "my_ipv6Address",
|
|
3674
3687
|
* // "kind": "my_kind",
|
|
3688
|
+
* // "maintenanceVersion": "my_maintenanceVersion",
|
|
3675
3689
|
* // "masterInstanceName": "my_masterInstanceName",
|
|
3676
3690
|
* // "maxDiskSize": "my_maxDiskSize",
|
|
3677
3691
|
* // "name": "my_name",
|
|
@@ -3830,6 +3844,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
3830
3844
|
* requestBody: {
|
|
3831
3845
|
* // request body parameters
|
|
3832
3846
|
* // {
|
|
3847
|
+
* // "availableMaintenanceVersions": [],
|
|
3833
3848
|
* // "backendType": "my_backendType",
|
|
3834
3849
|
* // "connectionName": "my_connectionName",
|
|
3835
3850
|
* // "createTime": "my_createTime",
|
|
@@ -3845,6 +3860,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
3845
3860
|
* // "ipAddresses": [],
|
|
3846
3861
|
* // "ipv6Address": "my_ipv6Address",
|
|
3847
3862
|
* // "kind": "my_kind",
|
|
3863
|
+
* // "maintenanceVersion": "my_maintenanceVersion",
|
|
3848
3864
|
* // "masterInstanceName": "my_masterInstanceName",
|
|
3849
3865
|
* // "maxDiskSize": "my_maxDiskSize",
|
|
3850
3866
|
* // "name": "my_name",
|
|
@@ -4078,6 +4094,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
4078
4094
|
* requestBody: {
|
|
4079
4095
|
* // request body parameters
|
|
4080
4096
|
* // {
|
|
4097
|
+
* // "availableMaintenanceVersions": [],
|
|
4081
4098
|
* // "backendType": "my_backendType",
|
|
4082
4099
|
* // "connectionName": "my_connectionName",
|
|
4083
4100
|
* // "createTime": "my_createTime",
|
|
@@ -4093,6 +4110,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
4093
4110
|
* // "ipAddresses": [],
|
|
4094
4111
|
* // "ipv6Address": "my_ipv6Address",
|
|
4095
4112
|
* // "kind": "my_kind",
|
|
4113
|
+
* // "maintenanceVersion": "my_maintenanceVersion",
|
|
4096
4114
|
* // "masterInstanceName": "my_masterInstanceName",
|
|
4097
4115
|
* // "maxDiskSize": "my_maxDiskSize",
|
|
4098
4116
|
* // "name": "my_name",
|
|
@@ -4827,6 +4845,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
4827
4845
|
* requestBody: {
|
|
4828
4846
|
* // request body parameters
|
|
4829
4847
|
* // {
|
|
4848
|
+
* // "availableMaintenanceVersions": [],
|
|
4830
4849
|
* // "backendType": "my_backendType",
|
|
4831
4850
|
* // "connectionName": "my_connectionName",
|
|
4832
4851
|
* // "createTime": "my_createTime",
|
|
@@ -4842,6 +4861,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
4842
4861
|
* // "ipAddresses": [],
|
|
4843
4862
|
* // "ipv6Address": "my_ipv6Address",
|
|
4844
4863
|
* // "kind": "my_kind",
|
|
4864
|
+
* // "maintenanceVersion": "my_maintenanceVersion",
|
|
4845
4865
|
* // "masterInstanceName": "my_masterInstanceName",
|
|
4846
4866
|
* // "maxDiskSize": "my_maxDiskSize",
|
|
4847
4867
|
* // "name": "my_name",
|
|
@@ -6069,7 +6089,7 @@ export declare namespace sqladmin_v1beta4 {
|
|
|
6069
6089
|
context: APIRequestContext;
|
|
6070
6090
|
constructor(context: APIRequestContext);
|
|
6071
6091
|
/**
|
|
6072
|
-
* 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).
|
|
6073
6093
|
* @example
|
|
6074
6094
|
* ```js
|
|
6075
6095
|
* // Before running the sample:
|