@maxim_mazurok/gapi.client.sqladmin-v1beta4 0.0.20250226 → 0.0.20250412

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 +68 -4
  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: 20250226
12
+ // Revision: 20250412
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -75,6 +75,8 @@ declare namespace gapi.client {
75
75
  backupKind?: string;
76
76
  /** Output only. The mapping to backup run resource used for IAM validations. */
77
77
  backupRun?: string;
78
+ /** Output only. The database version of the instance of at the time this backup was made. */
79
+ databaseVersion?: string;
78
80
  /** The description of this backup. */
79
81
  description?: string;
80
82
  /** Output only. Information about why the backup operation fails (for example, when the backup state fails). */
@@ -159,6 +161,8 @@ declare namespace gapi.client {
159
161
  interface BackupRun {
160
162
  /** Specifies the kind of backup, PHYSICAL or DEFAULT_SNAPSHOT. */
161
163
  backupKind?: string;
164
+ /** Output only. The instance database version at the time this backup was made. */
165
+ databaseVersion?: string;
162
166
  /** The description of this run, only applicable to on-demand backups. */
163
167
  description?: string;
164
168
  /** Encryption configuration specific to a backup. */
@@ -230,6 +234,28 @@ declare namespace gapi.client {
230
234
  /** Optional. Copy clone and point-in-time recovery clone of an instance to the specified zone. If no zone is specified, clone to the same primary zone as the source instance. */
231
235
  preferredZone?: string;
232
236
  }
237
+ interface ConnectionPoolConfig {
238
+ /** Whether managed connection pooling is enabled. */
239
+ connectionPoolingEnabled?: boolean;
240
+ /** Optional. List of connection pool configuration flags */
241
+ flags?: ConnectionPoolFlags[];
242
+ }
243
+ interface ConnectionPoolFlags {
244
+ /** Required. The name of the flag. */
245
+ name?: string;
246
+ /** Required. 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. */
247
+ value?: string;
248
+ }
249
+ interface ConnectPoolNodeConfig {
250
+ /** Output only. The DNS name of the read pool node. */
251
+ dnsName?: string;
252
+ /** Output only. The list of DNS names used by this read pool node. */
253
+ dnsNames?: DnsNameMapping[];
254
+ /** Output only. Mappings containing IP addresses that can be used to connect to the read pool node. */
255
+ ipAddresses?: IpMapping[];
256
+ /** Output only. The name of the read pool node. Doesn't include the project ID. */
257
+ name?: string;
258
+ }
233
259
  interface ConnectSettings {
234
260
  /** `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. */
235
261
  backendType?: string;
@@ -245,6 +271,10 @@ declare namespace gapi.client {
245
271
  ipAddresses?: IpMapping[];
246
272
  /** This is always `sql#connectSettings`. */
247
273
  kind?: string;
274
+ /** The number of read pool nodes in a read pool. */
275
+ nodeCount?: number;
276
+ /** Output only. Entries containing information about each read pool node of the read pool. */
277
+ nodes?: ConnectPoolNodeConfig[];
248
278
  /** Whether PSC connectivity is enabled for this instance. */
249
279
  pscEnabled?: boolean;
250
280
  /** The cloud region for the instance. e.g. `us-central1`, `europe-west1`. The region cannot be changed after instance creation. */
@@ -333,6 +363,10 @@ declare namespace gapi.client {
333
363
  maxDiskSize?: string;
334
364
  /** Name of the Cloud SQL instance. This does not include the project ID. */
335
365
  name?: string;
366
+ /** The number of read pool nodes in a read pool. */
367
+ nodeCount?: number;
368
+ /** Output only. Entries containing information about each read pool node of the read pool. */
369
+ nodes?: PoolNodeConfig[];
336
370
  /** Configuration specific to on-premises instances. */
337
371
  onPremisesConfiguration?: OnPremisesConfiguration;
338
372
  /** This field represents the report generated by the proactive database wellness job for OutOfDisk issues. * Writers: * the proactive database wellness job for OOD. * Readers: * the proactive database wellness job */
@@ -498,7 +532,7 @@ declare namespace gapi.client {
498
532
  fileType?: string;
499
533
  /** This is always `sql#exportContext`. */
500
534
  kind?: string;
501
- /** Option for export offload. */
535
+ /** Whether to perform a serverless export. */
502
536
  offload?: boolean;
503
537
  /** Options for exporting data as SQL statements. */
504
538
  sqlExportOptions?: {
@@ -511,7 +545,7 @@ declare namespace gapi.client {
511
545
  parallel?: boolean;
512
546
  /** Options for exporting from a Cloud SQL for PostgreSQL instance. */
513
547
  postgresExportOptions?: {
514
- /** Optional. Use this option to include DROP SQL statements. These statements are used to delete database objects before running the import operation. */
548
+ /** Optional. Use this option to include DROP <object> SQL statements. Use these statements to delete database objects before running the import operation. */
515
549
  clean?: boolean;
516
550
  /** Optional. Option to include an IF EXISTS SQL statement with each DROP statement produced by clean. */
517
551
  ifExists?: boolean;
@@ -554,6 +588,8 @@ declare namespace gapi.client {
554
588
  allowedStringValues?: string[];
555
589
  /** 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). */
556
590
  appliesTo?: string[];
591
+ /** Scope of flag. */
592
+ flagScope?: string;
557
593
  /** Whether or not the flag is considered in beta. */
558
594
  inBeta?: boolean;
559
595
  /** This is always `sql#flag`. */
@@ -564,6 +600,10 @@ declare namespace gapi.client {
564
600
  minValue?: string;
565
601
  /** This is the name of the flag. Flag names always use underscores, not hyphens, for example: `max_allowed_packet` */
566
602
  name?: string;
603
+ /** Recommended flag value in integer format for UI display. */
604
+ recommendedIntValue?: string;
605
+ /** Recommended flag value in string format for UI display. */
606
+ recommendedStringValue?: string;
567
607
  /** Indicates whether changing this flag will trigger a database restart. Only applicable to Second Generation instances. */
568
608
  requiresRestart?: boolean;
569
609
  /** 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`. */
@@ -1000,6 +1040,20 @@ declare namespace gapi.client {
1000
1040
  /** The target disk shrink size in GigaBytes. */
1001
1041
  targetSizeGb?: string;
1002
1042
  }
1043
+ interface PoolNodeConfig {
1044
+ /** Output only. The DNS name of the read pool node. */
1045
+ dnsName?: string;
1046
+ /** Output only. The list of DNS names used by this read pool node. */
1047
+ dnsNames?: DnsNameMapping[];
1048
+ /** Output only. The zone of the read pool node. */
1049
+ gceZone?: string;
1050
+ /** Output only. Mappings containing IP addresses that can be used to connect to the read pool node. */
1051
+ ipAddresses?: IpMapping[];
1052
+ /** Output only. The name of the read pool node, to be used for retrieving metrics and logs. */
1053
+ name?: string;
1054
+ /** Output only. The current state of the read pool node. */
1055
+ state?: string;
1056
+ }
1003
1057
  interface PscAutoConnectionConfig {
1004
1058
  /** The consumer network of this consumer endpoint. This must be a resource path that includes both the host project and the network name. For example, `projects/project1/global/networks/network1`. The consumer host project of this network might be different from the consumer service project. */
1005
1059
  consumerNetwork?: string;
@@ -1085,6 +1139,8 @@ declare namespace gapi.client {
1085
1139
  backupConfiguration?: BackupConfiguration;
1086
1140
  /** The name of server Instance collation. */
1087
1141
  collation?: string;
1142
+ /** Optional. The managed connection pooling configuration for the instance. */
1143
+ connectionPoolConfig?: ConnectionPoolConfig;
1088
1144
  /** Specifies if connections must use Cloud SQL connectors. Option values include the following: `NOT_REQUIRED` (Cloud SQL instances can be connected without Cloud SQL Connectors) and `REQUIRED` (Only allow connections that use Cloud SQL Connectors) Note that using REQUIRED disables all existing authorized networks. If this field is not specified when creating a new instance, NOT_REQUIRED is used. If this field is not specified when patching or updating an existing instance, it is left unchanged in the instance. */
1089
1145
  connectorEnforcement?: string;
1090
1146
  /** Configuration specific to read replica instances. Indicates whether database flags for crash-safe replication are enabled. This property was only applicable to First Generation instances. */
@@ -1095,6 +1151,10 @@ declare namespace gapi.client {
1095
1151
  databaseReplicationEnabled?: boolean;
1096
1152
  /** Configuration for data cache. */
1097
1153
  dataCacheConfig?: DataCacheConfig;
1154
+ /** Optional. Provisioned number of I/O operations per second for the data disk. This field is only used for hyperdisk-balanced disk types. */
1155
+ dataDiskProvisionedIops?: string;
1156
+ /** Optional. Provisioned throughput measured in MiB per second for the data disk. This field is only used for hyperdisk-balanced disk types. */
1157
+ dataDiskProvisionedThroughput?: string;
1098
1158
  /** The size of data disk, in GB. The data disk size minimum is 10GB. */
1099
1159
  dataDiskSizeGb?: string;
1100
1160
  /** The type of data disk: `PD_SSD` (default) or `PD_HDD`. Not used for First Generation instances. */
@@ -1107,7 +1167,7 @@ declare namespace gapi.client {
1107
1167
  edition?: string;
1108
1168
  /** Optional. By default, Cloud SQL instances have schema extraction disabled for Dataplex. When this parameter is set to true, schema extraction for Dataplex on Cloud SQL instances is activated. */
1109
1169
  enableDataplexIntegration?: boolean;
1110
- /** Optional. When this parameter is set to true, Cloud SQL instances can connect to Vertex AI to pass requests for real-time predictions and insights to the AI. The default value is false. This applies only to Cloud SQL for PostgreSQL instances. */
1170
+ /** Optional. When this parameter is set to true, Cloud SQL instances can connect to Vertex AI to pass requests for real-time predictions and insights to the AI. The default value is false. This applies only to Cloud SQL for MySQL and Cloud SQL for PostgreSQL instances. */
1111
1171
  enableGoogleMlIntegration?: boolean;
1112
1172
  /** Insights configuration, for now relevant only for Postgres. */
1113
1173
  insightsConfig?: InsightsConfig;
@@ -1351,6 +1411,8 @@ declare namespace gapi.client {
1351
1411
  etag?: string;
1352
1412
  /** 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. */
1353
1413
  host?: string;
1414
+ /** Indicates if user is active for IAM Authentication. */
1415
+ iamStatus?: string;
1354
1416
  /** 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. */
1355
1417
  instance?: string;
1356
1418
  /** This is always `sql#user`. */
@@ -2152,6 +2214,8 @@ declare namespace gapi.client {
2152
2214
  databaseVersion?: string;
2153
2215
  /** Selector specifying which fields to include in a partial response. */
2154
2216
  fields?: string;
2217
+ /** Optional. Specify the scope of flags to be returned by SqlFlagsListService. Return list of database flags if unspecified. */
2218
+ flagScope?: string;
2155
2219
  /** 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. */
2156
2220
  key?: string;
2157
2221
  /** OAuth 2.0 token for the current user. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.sqladmin-v1beta4",
3
- "version": "0.0.20250226",
3
+ "version": "0.0.20250412",
4
4
  "description": "TypeScript typings for Cloud SQL Admin API v1beta4",
5
5
  "repository": {
6
6
  "type": "git",