@maxim_mazurok/gapi.client.sqladmin-v1 0.0.20250226 → 0.0.20250310

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 +75 -1
  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=v1
12
- // Revision: 20250226
12
+ // Revision: 20250310
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -71,6 +71,8 @@ declare namespace gapi.client {
71
71
  backupKind?: string;
72
72
  /** Output only. The mapping to backup run resource used for IAM validations. */
73
73
  backupRun?: string;
74
+ /** Output only. The database version of the instance of when this backup was made. */
75
+ databaseVersion?: string;
74
76
  /** The description of this backup. */
75
77
  description?: string;
76
78
  /** Output only. Information about why the backup operation fails (for example, when the backup state fails). */
@@ -155,6 +157,8 @@ declare namespace gapi.client {
155
157
  interface BackupRun {
156
158
  /** Specifies the kind of backup, PHYSICAL or DEFAULT_SNAPSHOT. */
157
159
  backupKind?: string;
160
+ /** Output only. The instance database version when this backup was made. */
161
+ databaseVersion?: string;
158
162
  /** The description of this run, only applicable to on-demand backups. */
159
163
  description?: string;
160
164
  /** Encryption configuration specific to a backup. */
@@ -226,6 +230,40 @@ declare namespace gapi.client {
226
230
  /** 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. This field applies to all DB types. */
227
231
  preferredZone?: string;
228
232
  }
233
+ interface ConnectionPoolConfig {
234
+ /** Client idle timeout. */
235
+ clientConnectionIdleTimeout?: string;
236
+ /** Whether managed connection pooling is enabled. */
237
+ connectionPoolingEnabled?: boolean;
238
+ /** Managed connection pool size. */
239
+ connPoolSize?: number;
240
+ /** Optional. List of connection pool configuration flags */
241
+ flags?: ConnectionPoolFlags[];
242
+ /** Maximum number of client connections in connection pool. */
243
+ maxClientConnections?: number;
244
+ /** The managed connection pool mode for the instance. */
245
+ poolMode?: string;
246
+ /** Query wait timeout. */
247
+ queryWaitTimeout?: string;
248
+ /** Server idle timeout. */
249
+ serverConnectionIdleTimeout?: string;
250
+ }
251
+ interface ConnectionPoolFlags {
252
+ /** Required. The name of the flag. */
253
+ name?: string;
254
+ /** 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. */
255
+ value?: string;
256
+ }
257
+ interface ConnectPoolNodeConfig {
258
+ /** Output only. The DNS name of the node. */
259
+ dnsName?: string;
260
+ /** Output only. The list of DNS names used by this node. */
261
+ dnsNames?: DnsNameMapping[];
262
+ /** Output only. Mappings containing IP addresses that can be used to connect to the node. */
263
+ ipAddresses?: IpMapping[];
264
+ /** Output only. The name of the node. Doesn't include the project ID. */
265
+ name?: string;
266
+ }
229
267
  interface ConnectSettings {
230
268
  /** `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. */
231
269
  backendType?: string;
@@ -241,6 +279,10 @@ declare namespace gapi.client {
241
279
  ipAddresses?: IpMapping[];
242
280
  /** This is always `sql#connectSettings`. */
243
281
  kind?: string;
282
+ /** The number of nodes in a read pool. */
283
+ nodeCount?: number;
284
+ /** Output only. Entries containing information about each node of the read pool. */
285
+ nodes?: ConnectPoolNodeConfig[];
244
286
  /** Whether PSC connectivity is enabled for this instance. */
245
287
  pscEnabled?: boolean;
246
288
  /** The cloud region for the instance. For example, `us-central1`, `europe-west1`. The region cannot be changed after instance creation. */
@@ -329,6 +371,10 @@ declare namespace gapi.client {
329
371
  maxDiskSize?: string;
330
372
  /** Name of the Cloud SQL instance. This does not include the project ID. */
331
373
  name?: string;
374
+ /** The number of nodes in a read pool. */
375
+ nodeCount?: number;
376
+ /** Output only. Entries containing information about each node of the read pool. */
377
+ nodes?: PoolNodeConfig[];
332
378
  /** Configuration specific to on-premises instances. */
333
379
  onPremisesConfiguration?: OnPremisesConfiguration;
334
380
  /** 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 */
@@ -549,6 +595,8 @@ declare namespace gapi.client {
549
595
  allowedStringValues?: string[];
550
596
  /** 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). */
551
597
  appliesTo?: string[];
598
+ /** Scope of flag. */
599
+ flagScope?: string;
552
600
  /** Whether or not the flag is considered in beta. */
553
601
  inBeta?: boolean;
554
602
  /** This is always `sql#flag`. */
@@ -559,6 +607,10 @@ declare namespace gapi.client {
559
607
  minValue?: string;
560
608
  /** This is the name of the flag. Flag names always use underscores, not hyphens, for example: `max_allowed_packet` */
561
609
  name?: string;
610
+ /** Recommended int value in integer format for UI display. */
611
+ recommendedIntValue?: string;
612
+ /** Recommended string value in string format for UI display. */
613
+ recommendedStringValue?: string;
562
614
  /** Indicates whether changing this flag will trigger a database restart. Only applicable to Second Generation instances. */
563
615
  requiresRestart?: boolean;
564
616
  /** The type of the flag. Flags are typed to being `BOOLEAN`, `STRING`, `INTEGER` or `NONE`. `NONE` is used for flags that do not take a value, such as `skip_grant_tables`. */
@@ -995,6 +1047,20 @@ declare namespace gapi.client {
995
1047
  /** The target disk shrink size in GigaBytes. */
996
1048
  targetSizeGb?: string;
997
1049
  }
1050
+ interface PoolNodeConfig {
1051
+ /** Output only. The DNS name of the node. */
1052
+ dnsName?: string;
1053
+ /** Output only. The list of DNS names used by this node. */
1054
+ dnsNames?: DnsNameMapping[];
1055
+ /** Output only. The serving zone of the node. */
1056
+ gceZone?: string;
1057
+ /** Output only. Mappings containing IP addresses that can be used to connect to the node. */
1058
+ ipAddresses?: IpMapping[];
1059
+ /** Output only. The name of the node, to be used for retrieving metrics and logs for the node. */
1060
+ name?: string;
1061
+ /** Output only. The current state of the node. */
1062
+ state?: string;
1063
+ }
998
1064
  interface PscAutoConnectionConfig {
999
1065
  /** 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. */
1000
1066
  consumerNetwork?: string;
@@ -1080,6 +1146,8 @@ declare namespace gapi.client {
1080
1146
  backupConfiguration?: BackupConfiguration;
1081
1147
  /** The name of server Instance collation. */
1082
1148
  collation?: string;
1149
+ /** Optional. The managed connection pooling configuration for the instance. */
1150
+ connectionPoolConfig?: ConnectionPoolConfig;
1083
1151
  /** 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. */
1084
1152
  connectorEnforcement?: string;
1085
1153
  /** 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. */
@@ -1090,6 +1158,10 @@ declare namespace gapi.client {
1090
1158
  databaseReplicationEnabled?: boolean;
1091
1159
  /** Configuration for data cache. */
1092
1160
  dataCacheConfig?: DataCacheConfig;
1161
+ /** Optional. Provisioned number of I/O operations per second for the data disk. This field is only used for hyperdisk-balanced disk types. */
1162
+ dataDiskProvisionedIops?: string;
1163
+ /** Optional. Provisioned throughput measured in MiB per second for the data disk. This field is only used for hyperdisk-balanced disk types. */
1164
+ dataDiskProvisionedThroughput?: string;
1093
1165
  /** The size of data disk, in GB. The data disk size minimum is 10GB. */
1094
1166
  dataDiskSizeGb?: string;
1095
1167
  /** The type of data disk: `PD_SSD` (default) or `PD_HDD`. Not used for First Generation instances. */
@@ -2147,6 +2219,8 @@ declare namespace gapi.client {
2147
2219
  databaseVersion?: string;
2148
2220
  /** Selector specifying which fields to include in a partial response. */
2149
2221
  fields?: string;
2222
+ /** Optional. Specify the scope of flags to be returned by SqlFlagsListService. Return list of database flags if unspecified. */
2223
+ flagScope?: string;
2150
2224
  /** 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. */
2151
2225
  key?: string;
2152
2226
  /** 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-v1",
3
- "version": "0.0.20250226",
3
+ "version": "0.0.20250310",
4
4
  "description": "TypeScript typings for Cloud SQL Admin API v1",
5
5
  "repository": {
6
6
  "type": "git",