@maxim_mazurok/gapi.client.sqladmin-v1beta4 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.
Files changed (2) hide show
  1. package/index.d.ts +25 -7
  2. 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=v1beta4
12
- // Revision: 20250216
12
+ // Revision: 20250226
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -83,6 +83,10 @@ declare namespace gapi.client {
83
83
  expiryTime?: string;
84
84
  /** The name of the database instance. */
85
85
  instance?: string;
86
+ /** Optional. Output only. Timestamp in UTC of when the instance associated with this backup is deleted. */
87
+ instanceDeletionTime?: string;
88
+ /** Optional. Output only. Instance setting of the source instance that's associated with this backup. */
89
+ instanceSettings?: DatabaseInstance;
86
90
  /** Output only. This is always `sql#backup`. */
87
91
  kind?: string;
88
92
  /** Output only. This output contains the encryption configuration for a backup and the resource name of the KMS key for disk encryption. */
@@ -105,7 +109,7 @@ declare namespace gapi.client {
105
109
  state?: string;
106
110
  /** 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. */
107
111
  timeZone?: string;
108
- /** Input only. The time-to-live (TTL) interval for this resource (in days). For example: ttlDays:7 means 7 days. */
112
+ /** 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. */
109
113
  ttlDays?: string;
110
114
  /** Output only. The type of this backup. The type can be "AUTOMATED", "ON_DEMAND", or “FINAL”. */
111
115
  type?: string;
@@ -235,6 +239,8 @@ declare namespace gapi.client {
235
239
  databaseVersion?: string;
236
240
  /** The dns name of the instance. */
237
241
  dnsName?: string;
242
+ /** Output only. The list of DNS names used by this instance. */
243
+ dnsNames?: DnsNameMapping[];
238
244
  /** The assigned IP addresses for the instance. */
239
245
  ipAddresses?: IpMapping[];
240
246
  /** This is always `sql#connectSettings`. */
@@ -294,6 +300,8 @@ declare namespace gapi.client {
294
300
  diskEncryptionStatus?: DiskEncryptionStatus;
295
301
  /** Output only. The dns name of the instance. */
296
302
  dnsName?: string;
303
+ /** Output only. The list of DNS names used by this instance. */
304
+ dnsNames?: DnsNameMapping[];
297
305
  /** This field is deprecated and will be removed from a future version of the API. Use the `settings.settingsVersion` field instead. */
298
306
  etag?: string;
299
307
  /** The name and status of the failover replica. */
@@ -444,6 +452,14 @@ declare namespace gapi.client {
444
452
  /** KMS key version used to encrypt the Cloud SQL instance resource */
445
453
  kmsKeyVersionName?: string;
446
454
  }
455
+ interface DnsNameMapping {
456
+ /** Output only. The connection type of the DNS name. */
457
+ connectionType?: string;
458
+ /** Output only. The scope that the DNS name applies to. */
459
+ dnsScope?: string;
460
+ /** The DNS name. */
461
+ name?: string;
462
+ }
447
463
  interface Empty {}
448
464
  interface ExportContext {
449
465
  /** Options for exporting BAK files (SQL Server-only) */
@@ -476,7 +492,7 @@ declare namespace gapi.client {
476
492
  /** The select query used to extract the data. */
477
493
  selectQuery?: string;
478
494
  };
479
- /** 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`. */
495
+ /** 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`. */
480
496
  databases?: string[];
481
497
  /** The file type for the specified uri. */
482
498
  fileType?: string;
@@ -628,7 +644,7 @@ declare namespace gapi.client {
628
644
  /** The table to which CSV data is imported. */
629
645
  table?: string;
630
646
  };
631
- /** 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. */
647
+ /** 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. */
632
648
  database?: string;
633
649
  /** 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. */
634
650
  fileType?: string;
@@ -748,7 +764,7 @@ declare namespace gapi.client {
748
764
  backup?: string;
749
765
  /** Parameters required to perform the restore backup operation. */
750
766
  restoreBackupContext?: RestoreBackupContext;
751
- /** Optional. By using this parameter, Cloud SQL overrides any instance settings that it stored with the instance settings that you want to restore. 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. */
767
+ /** 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. */
752
768
  restoreInstanceSettings?: DatabaseInstance;
753
769
  }
754
770
  interface InstancesRotateServerCaRequest {
@@ -788,7 +804,7 @@ declare namespace gapi.client {
788
804
  requireSsl?: boolean;
789
805
  /** Specify what type of CA is used for the server certificate. */
790
806
  serverCaMode?: string;
791
- /** Optional. The resource name of the server CA pool for an instance with `CUSTOMER_MANAGED_CAS_CA` as the `server_ca_mode`. Format: projects//locations//caPools/ */
807
+ /** 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} */
792
808
  serverCaPool?: string;
793
809
  /** 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. */
794
810
  sslMode?: string;
@@ -1111,6 +1127,8 @@ declare namespace gapi.client {
1111
1127
  replicationLagMaxSeconds?: number;
1112
1128
  /** The type of replication this instance uses. This can be either `ASYNCHRONOUS` or `SYNCHRONOUS`. (Deprecated) This property was only applicable to First Generation instances. */
1113
1129
  replicationType?: string;
1130
+ /** 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. */
1131
+ retainBackupsOnDelete?: boolean;
1114
1132
  /** 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. */
1115
1133
  settingsVersion?: string;
1116
1134
  /** SQL Server specific audit configuration. */
@@ -1653,7 +1671,7 @@ declare namespace gapi.client {
1653
1671
  callback?: string;
1654
1672
  /** Selector specifying which fields to include in a partial response. */
1655
1673
  fields?: string;
1656
- /** Multiple filter queries are separated by spaces. For example, 'instance:abc type:FINAL. You can filter by type, instance name, creation time, or location. */
1674
+ /** 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. */
1657
1675
  filter?: string;
1658
1676
  /** 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. */
1659
1677
  key?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.sqladmin-v1beta4",
3
- "version": "0.0.20250216",
3
+ "version": "0.0.20250226",
4
4
  "description": "TypeScript typings for Cloud SQL Admin API v1beta4",
5
5
  "repository": {
6
6
  "type": "git",