@maxim_mazurok/gapi.client.sqladmin-v1 0.0.20250216 → 0.0.20250226
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/index.d.ts +25 -7
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://sqladmin.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20250226
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -79,6 +79,10 @@ declare namespace gapi.client {
|
|
|
79
79
|
expiryTime?: string;
|
|
80
80
|
/** The name of the source database instance. */
|
|
81
81
|
instance?: string;
|
|
82
|
+
/** Optional. Output only. Timestamp in UTC of when the instance associated with this backup is deleted. */
|
|
83
|
+
instanceDeletionTime?: string;
|
|
84
|
+
/** Optional. Output only. The instance setting of the source instance that's associated with this backup. */
|
|
85
|
+
instanceSettings?: DatabaseInstance;
|
|
82
86
|
/** Output only. This is always `sql#backup`. */
|
|
83
87
|
kind?: string;
|
|
84
88
|
/** Output only. This output contains the encryption configuration for a backup and the resource name of the KMS key for disk encryption. */
|
|
@@ -101,7 +105,7 @@ declare namespace gapi.client {
|
|
|
101
105
|
state?: string;
|
|
102
106
|
/** Output only. This output contains a backup time zone. If a Cloud SQL for SQL Server instance has a different time zone from the backup's time zone, then the restore to the instance doesn't happen. */
|
|
103
107
|
timeZone?: string;
|
|
104
|
-
/** Input only. The time-to-live (TTL) interval for this resource (in days). For example: ttlDays:7 means 7 days. */
|
|
108
|
+
/** Input only. The time-to-live (TTL) interval for this resource (in days). For example: ttlDays:7, means 7 days from the current time. The expiration time can't exceed 365 days from the time that the backup is created. */
|
|
105
109
|
ttlDays?: string;
|
|
106
110
|
/** Output only. The type of this backup. The type can be "AUTOMATED", "ON_DEMAND" or “FINAL”. */
|
|
107
111
|
type?: string;
|
|
@@ -231,6 +235,8 @@ declare namespace gapi.client {
|
|
|
231
235
|
databaseVersion?: string;
|
|
232
236
|
/** The dns name of the instance. */
|
|
233
237
|
dnsName?: string;
|
|
238
|
+
/** Output only. The list of DNS names used by this instance. */
|
|
239
|
+
dnsNames?: DnsNameMapping[];
|
|
234
240
|
/** The assigned IP addresses for the instance. */
|
|
235
241
|
ipAddresses?: IpMapping[];
|
|
236
242
|
/** This is always `sql#connectSettings`. */
|
|
@@ -290,6 +296,8 @@ declare namespace gapi.client {
|
|
|
290
296
|
diskEncryptionStatus?: DiskEncryptionStatus;
|
|
291
297
|
/** Output only. The dns name of the instance. */
|
|
292
298
|
dnsName?: string;
|
|
299
|
+
/** Output only. The list of DNS names used by this instance. */
|
|
300
|
+
dnsNames?: DnsNameMapping[];
|
|
293
301
|
/** This field is deprecated and will be removed from a future version of the API. Use the `settings.settingsVersion` field instead. */
|
|
294
302
|
etag?: string;
|
|
295
303
|
/** The name and status of the failover replica. */
|
|
@@ -439,6 +447,14 @@ declare namespace gapi.client {
|
|
|
439
447
|
/** KMS key version used to encrypt the Cloud SQL instance resource */
|
|
440
448
|
kmsKeyVersionName?: string;
|
|
441
449
|
}
|
|
450
|
+
interface DnsNameMapping {
|
|
451
|
+
/** Output only. The connection type of the DNS name. */
|
|
452
|
+
connectionType?: string;
|
|
453
|
+
/** Output only. The scope that the DNS name applies to. */
|
|
454
|
+
dnsScope?: string;
|
|
455
|
+
/** The DNS name. */
|
|
456
|
+
name?: string;
|
|
457
|
+
}
|
|
442
458
|
interface Empty {}
|
|
443
459
|
interface ExportContext {
|
|
444
460
|
/** Options for exporting BAK files (SQL Server-only) */
|
|
@@ -471,7 +487,7 @@ declare namespace gapi.client {
|
|
|
471
487
|
/** The select query used to extract the data. */
|
|
472
488
|
selectQuery?: string;
|
|
473
489
|
};
|
|
474
|
-
/** 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:`
|
|
490
|
+
/** 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:` If you don't specify a database by name, all user databases in the instance are exported. This excludes system databases and Cloud SQL databases used to manage internal operations. Exporting all user databases is only available for directory-formatted parallel export. 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`. */
|
|
475
491
|
databases?: string[];
|
|
476
492
|
/** The file type for the specified uri. */
|
|
477
493
|
fileType?: string;
|
|
@@ -623,7 +639,7 @@ declare namespace gapi.client {
|
|
|
623
639
|
/** The table to which CSV data is imported. */
|
|
624
640
|
table?: string;
|
|
625
641
|
};
|
|
626
|
-
/** 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. */
|
|
642
|
+
/** 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. For entire instance parallel import operations, the database is overridden by the database name stored in subdirectory name. If `fileType` is `CSV`, one database must be specified. */
|
|
627
643
|
database?: string;
|
|
628
644
|
/** The file type for the specified uri.\`SQL`: The file contains SQL statements. \`CSV`: The file contains CSV data. */
|
|
629
645
|
fileType?: string;
|
|
@@ -743,7 +759,7 @@ declare namespace gapi.client {
|
|
|
743
759
|
backup?: string;
|
|
744
760
|
/** Parameters required to perform the restore backup operation. */
|
|
745
761
|
restoreBackupContext?: RestoreBackupContext;
|
|
746
|
-
/** Optional. By using this parameter, Cloud SQL overrides
|
|
762
|
+
/** Optional. By using this parameter, Cloud SQL overrides any instance settings stored in the backup you are restoring from. You can't change the instance's major database version and you can only increase the disk size. You can use this field to restore new instances only. This field is not applicable for restore to existing instances. */
|
|
747
763
|
restoreInstanceSettings?: DatabaseInstance;
|
|
748
764
|
}
|
|
749
765
|
interface InstancesRotateServerCaRequest {
|
|
@@ -783,7 +799,7 @@ declare namespace gapi.client {
|
|
|
783
799
|
requireSsl?: boolean;
|
|
784
800
|
/** Specify what type of CA is used for the server certificate. */
|
|
785
801
|
serverCaMode?: string;
|
|
786
|
-
/** Optional. The resource name of the server CA pool for an instance with `CUSTOMER_MANAGED_CAS_CA` as the `server_ca_mode`. Format: projects
|
|
802
|
+
/** Optional. The resource name of the server CA pool for an instance with `CUSTOMER_MANAGED_CAS_CA` as the `server_ca_mode`. Format: projects/{PROJECT}/locations/{REGION}/caPools/{CA_POOL_ID} */
|
|
787
803
|
serverCaPool?: string;
|
|
788
804
|
/** Specify how SSL/TLS is enforced in database connections. If you must use the `require_ssl` flag for backward compatibility, then only the following value pairs are valid: For PostgreSQL and MySQL: * `ssl_mode=ALLOW_UNENCRYPTED_AND_ENCRYPTED` and `require_ssl=false` * `ssl_mode=ENCRYPTED_ONLY` and `require_ssl=false` * `ssl_mode=TRUSTED_CLIENT_CERTIFICATE_REQUIRED` and `require_ssl=true` For SQL Server: * `ssl_mode=ALLOW_UNENCRYPTED_AND_ENCRYPTED` and `require_ssl=false` * `ssl_mode=ENCRYPTED_ONLY` and `require_ssl=true` The value of `ssl_mode` has priority over the value of `require_ssl`. For example, for the pair `ssl_mode=ENCRYPTED_ONLY` and `require_ssl=false`, `ssl_mode=ENCRYPTED_ONLY` means accept only SSL connections, while `require_ssl=false` means accept both non-SSL and SSL connections. In this case, MySQL and PostgreSQL databases respect `ssl_mode` and accepts only SSL connections. */
|
|
789
805
|
sslMode?: string;
|
|
@@ -1106,6 +1122,8 @@ declare namespace gapi.client {
|
|
|
1106
1122
|
replicationLagMaxSeconds?: number;
|
|
1107
1123
|
/** The type of replication this instance uses. This can be either `ASYNCHRONOUS` or `SYNCHRONOUS`. (Deprecated) This property was only applicable to First Generation instances. */
|
|
1108
1124
|
replicationType?: string;
|
|
1125
|
+
/** Optional. When this parameter is set to true, Cloud SQL retains backups of the instance even after the instance is deleted. The ON_DEMAND backup will be retained until customer deletes the backup or the project. The AUTOMATED backup will be retained based on the backups retention setting. */
|
|
1126
|
+
retainBackupsOnDelete?: boolean;
|
|
1109
1127
|
/** The version of instance settings. This is a required field for update method to make sure concurrent updates are handled properly. During update, use the most recent settingsVersion value for this instance and do not try to update this value. */
|
|
1110
1128
|
settingsVersion?: string;
|
|
1111
1129
|
/** SQL Server specific audit configuration. */
|
|
@@ -1648,7 +1666,7 @@ declare namespace gapi.client {
|
|
|
1648
1666
|
callback?: string;
|
|
1649
1667
|
/** Selector specifying which fields to include in a partial response. */
|
|
1650
1668
|
fields?: string;
|
|
1651
|
-
/** Multiple filter queries are separated by spaces. For example, 'instance:abc type:FINAL. You can filter by type, instance
|
|
1669
|
+
/** Multiple filter queries are separated by spaces. For example, 'instance:abc AND type:FINAL, 'location:us', 'backupInterval.startTime>=1950-01-01T01:01:25.771Z'. You can filter by type, instance, backupInterval.startTime (creation time), or location. */
|
|
1652
1670
|
filter?: string;
|
|
1653
1671
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1654
1672
|
key?: string;
|