@maxim_mazurok/gapi.client.sqladmin-v1 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.
- package/index.d.ts +68 -4
- 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: 20250412
|
|
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 at the time 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 at the time 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,28 @@ 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
|
+
/** Whether managed connection pooling is enabled. */
|
|
235
|
+
connectionPoolingEnabled?: boolean;
|
|
236
|
+
/** Optional. List of connection pool configuration flags */
|
|
237
|
+
flags?: ConnectionPoolFlags[];
|
|
238
|
+
}
|
|
239
|
+
interface ConnectionPoolFlags {
|
|
240
|
+
/** Required. The name of the flag. */
|
|
241
|
+
name?: string;
|
|
242
|
+
/** 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. */
|
|
243
|
+
value?: string;
|
|
244
|
+
}
|
|
245
|
+
interface ConnectPoolNodeConfig {
|
|
246
|
+
/** Output only. The DNS name of the read pool node. */
|
|
247
|
+
dnsName?: string;
|
|
248
|
+
/** Output only. The list of DNS names used by this read pool node. */
|
|
249
|
+
dnsNames?: DnsNameMapping[];
|
|
250
|
+
/** Output only. Mappings containing IP addresses that can be used to connect to the read pool node. */
|
|
251
|
+
ipAddresses?: IpMapping[];
|
|
252
|
+
/** Output only. The name of the read pool node. Doesn't include the project ID. */
|
|
253
|
+
name?: string;
|
|
254
|
+
}
|
|
229
255
|
interface ConnectSettings {
|
|
230
256
|
/** `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
257
|
backendType?: string;
|
|
@@ -241,6 +267,10 @@ declare namespace gapi.client {
|
|
|
241
267
|
ipAddresses?: IpMapping[];
|
|
242
268
|
/** This is always `sql#connectSettings`. */
|
|
243
269
|
kind?: string;
|
|
270
|
+
/** The number of read pool nodes in a read pool. */
|
|
271
|
+
nodeCount?: number;
|
|
272
|
+
/** Output only. Entries containing information about each read pool node of the read pool. */
|
|
273
|
+
nodes?: ConnectPoolNodeConfig[];
|
|
244
274
|
/** Whether PSC connectivity is enabled for this instance. */
|
|
245
275
|
pscEnabled?: boolean;
|
|
246
276
|
/** The cloud region for the instance. For example, `us-central1`, `europe-west1`. The region cannot be changed after instance creation. */
|
|
@@ -329,6 +359,10 @@ declare namespace gapi.client {
|
|
|
329
359
|
maxDiskSize?: string;
|
|
330
360
|
/** Name of the Cloud SQL instance. This does not include the project ID. */
|
|
331
361
|
name?: string;
|
|
362
|
+
/** The number of read pool nodes in a read pool. */
|
|
363
|
+
nodeCount?: number;
|
|
364
|
+
/** Output only. Entries containing information about each read pool node of the read pool. */
|
|
365
|
+
nodes?: PoolNodeConfig[];
|
|
332
366
|
/** Configuration specific to on-premises instances. */
|
|
333
367
|
onPremisesConfiguration?: OnPremisesConfiguration;
|
|
334
368
|
/** 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 */
|
|
@@ -493,7 +527,7 @@ declare namespace gapi.client {
|
|
|
493
527
|
fileType?: string;
|
|
494
528
|
/** This is always `sql#exportContext`. */
|
|
495
529
|
kind?: string;
|
|
496
|
-
/**
|
|
530
|
+
/** Whether to perform a serverless export. */
|
|
497
531
|
offload?: boolean;
|
|
498
532
|
/** Options for exporting data as SQL statements. */
|
|
499
533
|
sqlExportOptions?: {
|
|
@@ -506,7 +540,7 @@ declare namespace gapi.client {
|
|
|
506
540
|
parallel?: boolean;
|
|
507
541
|
/** Options for exporting from a Cloud SQL for PostgreSQL instance. */
|
|
508
542
|
postgresExportOptions?: {
|
|
509
|
-
/** Optional. Use this option to include DROP SQL statements.
|
|
543
|
+
/** Optional. Use this option to include DROP <object> SQL statements. Use these statements to delete database objects before running the import operation. */
|
|
510
544
|
clean?: boolean;
|
|
511
545
|
/** Optional. Option to include an IF EXISTS SQL statement with each DROP statement produced by clean. */
|
|
512
546
|
ifExists?: boolean;
|
|
@@ -549,6 +583,8 @@ declare namespace gapi.client {
|
|
|
549
583
|
allowedStringValues?: string[];
|
|
550
584
|
/** 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
585
|
appliesTo?: string[];
|
|
586
|
+
/** Scope of flag. */
|
|
587
|
+
flagScope?: string;
|
|
552
588
|
/** Whether or not the flag is considered in beta. */
|
|
553
589
|
inBeta?: boolean;
|
|
554
590
|
/** This is always `sql#flag`. */
|
|
@@ -559,6 +595,10 @@ declare namespace gapi.client {
|
|
|
559
595
|
minValue?: string;
|
|
560
596
|
/** This is the name of the flag. Flag names always use underscores, not hyphens, for example: `max_allowed_packet` */
|
|
561
597
|
name?: string;
|
|
598
|
+
/** Recommended int value in integer format for UI display. */
|
|
599
|
+
recommendedIntValue?: string;
|
|
600
|
+
/** Recommended string value in string format for UI display. */
|
|
601
|
+
recommendedStringValue?: string;
|
|
562
602
|
/** Indicates whether changing this flag will trigger a database restart. Only applicable to Second Generation instances. */
|
|
563
603
|
requiresRestart?: boolean;
|
|
564
604
|
/** 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 +1035,20 @@ declare namespace gapi.client {
|
|
|
995
1035
|
/** The target disk shrink size in GigaBytes. */
|
|
996
1036
|
targetSizeGb?: string;
|
|
997
1037
|
}
|
|
1038
|
+
interface PoolNodeConfig {
|
|
1039
|
+
/** Output only. The DNS name of the read pool node. */
|
|
1040
|
+
dnsName?: string;
|
|
1041
|
+
/** Output only. The list of DNS names used by this read pool node. */
|
|
1042
|
+
dnsNames?: DnsNameMapping[];
|
|
1043
|
+
/** Output only. The zone of the read pool node. */
|
|
1044
|
+
gceZone?: string;
|
|
1045
|
+
/** Output only. Mappings containing IP addresses that can be used to connect to the read pool node. */
|
|
1046
|
+
ipAddresses?: IpMapping[];
|
|
1047
|
+
/** Output only. The name of the read pool node, to be used for retrieving metrics and logs. */
|
|
1048
|
+
name?: string;
|
|
1049
|
+
/** Output only. The current state of the read pool node. */
|
|
1050
|
+
state?: string;
|
|
1051
|
+
}
|
|
998
1052
|
interface PscAutoConnectionConfig {
|
|
999
1053
|
/** 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
1054
|
consumerNetwork?: string;
|
|
@@ -1080,6 +1134,8 @@ declare namespace gapi.client {
|
|
|
1080
1134
|
backupConfiguration?: BackupConfiguration;
|
|
1081
1135
|
/** The name of server Instance collation. */
|
|
1082
1136
|
collation?: string;
|
|
1137
|
+
/** Optional. The managed connection pooling configuration for the instance. */
|
|
1138
|
+
connectionPoolConfig?: ConnectionPoolConfig;
|
|
1083
1139
|
/** 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
1140
|
connectorEnforcement?: string;
|
|
1085
1141
|
/** 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 +1146,10 @@ declare namespace gapi.client {
|
|
|
1090
1146
|
databaseReplicationEnabled?: boolean;
|
|
1091
1147
|
/** Configuration for data cache. */
|
|
1092
1148
|
dataCacheConfig?: DataCacheConfig;
|
|
1149
|
+
/** Optional. Provisioned number of I/O operations per second for the data disk. This field is only used for hyperdisk-balanced disk types. */
|
|
1150
|
+
dataDiskProvisionedIops?: string;
|
|
1151
|
+
/** Optional. Provisioned throughput measured in MiB per second for the data disk. This field is only used for hyperdisk-balanced disk types. */
|
|
1152
|
+
dataDiskProvisionedThroughput?: string;
|
|
1093
1153
|
/** The size of data disk, in GB. The data disk size minimum is 10GB. */
|
|
1094
1154
|
dataDiskSizeGb?: string;
|
|
1095
1155
|
/** The type of data disk: `PD_SSD` (default) or `PD_HDD`. Not used for First Generation instances. */
|
|
@@ -1102,7 +1162,7 @@ declare namespace gapi.client {
|
|
|
1102
1162
|
edition?: string;
|
|
1103
1163
|
/** 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. */
|
|
1104
1164
|
enableDataplexIntegration?: boolean;
|
|
1105
|
-
/** 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. */
|
|
1165
|
+
/** 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. */
|
|
1106
1166
|
enableGoogleMlIntegration?: boolean;
|
|
1107
1167
|
/** Insights configuration, for now relevant only for Postgres. */
|
|
1108
1168
|
insightsConfig?: InsightsConfig;
|
|
@@ -1346,6 +1406,8 @@ declare namespace gapi.client {
|
|
|
1346
1406
|
etag?: string;
|
|
1347
1407
|
/** 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. */
|
|
1348
1408
|
host?: string;
|
|
1409
|
+
/** Indicates if user is active for IAM Authentication. */
|
|
1410
|
+
iamStatus?: string;
|
|
1349
1411
|
/** 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. */
|
|
1350
1412
|
instance?: string;
|
|
1351
1413
|
/** This is always `sql#user`. */
|
|
@@ -2147,6 +2209,8 @@ declare namespace gapi.client {
|
|
|
2147
2209
|
databaseVersion?: string;
|
|
2148
2210
|
/** Selector specifying which fields to include in a partial response. */
|
|
2149
2211
|
fields?: string;
|
|
2212
|
+
/** Optional. Specify the scope of flags to be returned by SqlFlagsListService. Return list of database flags if unspecified. */
|
|
2213
|
+
flagScope?: string;
|
|
2150
2214
|
/** 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
2215
|
key?: string;
|
|
2152
2216
|
/** OAuth 2.0 token for the current user. */
|