@maxim_mazurok/gapi.client.sqladmin-v1beta4 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.
- package/index.d.ts +75 -1
- 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:
|
|
12
|
+
// Revision: 20250310
|
|
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 when 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 when 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,40 @@ 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
|
+
/** Client idle timeout. */
|
|
239
|
+
clientConnectionIdleTimeout?: string;
|
|
240
|
+
/** Whether managed connection pooling is enabled. */
|
|
241
|
+
connectionPoolingEnabled?: boolean;
|
|
242
|
+
/** Managed connection pool size. */
|
|
243
|
+
connPoolSize?: number;
|
|
244
|
+
/** Optional. List of connection pool configuration flags */
|
|
245
|
+
flags?: ConnectionPoolFlags[];
|
|
246
|
+
/** Maximum number of client connections in connection pool. */
|
|
247
|
+
maxClientConnections?: number;
|
|
248
|
+
/** The managed connection pool mode for the instance. */
|
|
249
|
+
poolMode?: string;
|
|
250
|
+
/** Query wait timeout. */
|
|
251
|
+
queryWaitTimeout?: string;
|
|
252
|
+
/** Server idle timeout. */
|
|
253
|
+
serverConnectionIdleTimeout?: string;
|
|
254
|
+
}
|
|
255
|
+
interface ConnectionPoolFlags {
|
|
256
|
+
/** Required. The name of the flag. */
|
|
257
|
+
name?: string;
|
|
258
|
+
/** 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. */
|
|
259
|
+
value?: string;
|
|
260
|
+
}
|
|
261
|
+
interface ConnectPoolNodeConfig {
|
|
262
|
+
/** Output only. The DNS name of the node. */
|
|
263
|
+
dnsName?: string;
|
|
264
|
+
/** Output only. The list of DNS names used by this instance. */
|
|
265
|
+
dnsNames?: DnsNameMapping[];
|
|
266
|
+
/** Output only. Mappings containing IP addresses that can be used to connect to the node. */
|
|
267
|
+
ipAddresses?: IpMapping[];
|
|
268
|
+
/** Output only. The name of the node. Doesn't include the project ID. */
|
|
269
|
+
name?: string;
|
|
270
|
+
}
|
|
233
271
|
interface ConnectSettings {
|
|
234
272
|
/** `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
273
|
backendType?: string;
|
|
@@ -245,6 +283,10 @@ declare namespace gapi.client {
|
|
|
245
283
|
ipAddresses?: IpMapping[];
|
|
246
284
|
/** This is always `sql#connectSettings`. */
|
|
247
285
|
kind?: string;
|
|
286
|
+
/** The number of nodes in a read pool. */
|
|
287
|
+
nodeCount?: number;
|
|
288
|
+
/** Output only. Entries containing information about each node of the read pool. */
|
|
289
|
+
nodes?: ConnectPoolNodeConfig[];
|
|
248
290
|
/** Whether PSC connectivity is enabled for this instance. */
|
|
249
291
|
pscEnabled?: boolean;
|
|
250
292
|
/** The cloud region for the instance. e.g. `us-central1`, `europe-west1`. The region cannot be changed after instance creation. */
|
|
@@ -333,6 +375,10 @@ declare namespace gapi.client {
|
|
|
333
375
|
maxDiskSize?: string;
|
|
334
376
|
/** Name of the Cloud SQL instance. This does not include the project ID. */
|
|
335
377
|
name?: string;
|
|
378
|
+
/** The number of nodes in a read pool. */
|
|
379
|
+
nodeCount?: number;
|
|
380
|
+
/** Output only. Entries containing information about each node of the read pool. */
|
|
381
|
+
nodes?: PoolNodeConfig[];
|
|
336
382
|
/** Configuration specific to on-premises instances. */
|
|
337
383
|
onPremisesConfiguration?: OnPremisesConfiguration;
|
|
338
384
|
/** 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 */
|
|
@@ -554,6 +600,8 @@ declare namespace gapi.client {
|
|
|
554
600
|
allowedStringValues?: string[];
|
|
555
601
|
/** 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
602
|
appliesTo?: string[];
|
|
603
|
+
/** Scope of flag. */
|
|
604
|
+
flagScope?: string;
|
|
557
605
|
/** Whether or not the flag is considered in beta. */
|
|
558
606
|
inBeta?: boolean;
|
|
559
607
|
/** This is always `sql#flag`. */
|
|
@@ -564,6 +612,10 @@ declare namespace gapi.client {
|
|
|
564
612
|
minValue?: string;
|
|
565
613
|
/** This is the name of the flag. Flag names always use underscores, not hyphens, for example: `max_allowed_packet` */
|
|
566
614
|
name?: string;
|
|
615
|
+
/** Recommended flag value in integer format for UI display. */
|
|
616
|
+
recommendedIntValue?: string;
|
|
617
|
+
/** Recommended flag value in string format for UI display. */
|
|
618
|
+
recommendedStringValue?: string;
|
|
567
619
|
/** Indicates whether changing this flag will trigger a database restart. Only applicable to Second Generation instances. */
|
|
568
620
|
requiresRestart?: boolean;
|
|
569
621
|
/** 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 +1052,20 @@ declare namespace gapi.client {
|
|
|
1000
1052
|
/** The target disk shrink size in GigaBytes. */
|
|
1001
1053
|
targetSizeGb?: string;
|
|
1002
1054
|
}
|
|
1055
|
+
interface PoolNodeConfig {
|
|
1056
|
+
/** Output only. The DNS name of the node. */
|
|
1057
|
+
dnsName?: string;
|
|
1058
|
+
/** Output only. The list of DNS names used by this node. */
|
|
1059
|
+
dnsNames?: DnsNameMapping[];
|
|
1060
|
+
/** Output only. The serving zone of the node. */
|
|
1061
|
+
gceZone?: string;
|
|
1062
|
+
/** Output only. Mappings containing IP addresses that can be used to connect to the node. */
|
|
1063
|
+
ipAddresses?: IpMapping[];
|
|
1064
|
+
/** Output only. The name of the node, to be used for retrieving metrics and logs for the node. */
|
|
1065
|
+
name?: string;
|
|
1066
|
+
/** Output only. The current state of the node. */
|
|
1067
|
+
state?: string;
|
|
1068
|
+
}
|
|
1003
1069
|
interface PscAutoConnectionConfig {
|
|
1004
1070
|
/** 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
1071
|
consumerNetwork?: string;
|
|
@@ -1085,6 +1151,8 @@ declare namespace gapi.client {
|
|
|
1085
1151
|
backupConfiguration?: BackupConfiguration;
|
|
1086
1152
|
/** The name of server Instance collation. */
|
|
1087
1153
|
collation?: string;
|
|
1154
|
+
/** Optional. The managed connection pooling configuration for the instance. */
|
|
1155
|
+
connectionPoolConfig?: ConnectionPoolConfig;
|
|
1088
1156
|
/** 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
1157
|
connectorEnforcement?: string;
|
|
1090
1158
|
/** 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 +1163,10 @@ declare namespace gapi.client {
|
|
|
1095
1163
|
databaseReplicationEnabled?: boolean;
|
|
1096
1164
|
/** Configuration for data cache. */
|
|
1097
1165
|
dataCacheConfig?: DataCacheConfig;
|
|
1166
|
+
/** Optional. Provisioned number of I/O operations per second for the data disk. This field is only used for hyperdisk-balanced disk types. */
|
|
1167
|
+
dataDiskProvisionedIops?: string;
|
|
1168
|
+
/** Optional. Provisioned throughput measured in MiB per second for the data disk. This field is only used for hyperdisk-balanced disk types. */
|
|
1169
|
+
dataDiskProvisionedThroughput?: string;
|
|
1098
1170
|
/** The size of data disk, in GB. The data disk size minimum is 10GB. */
|
|
1099
1171
|
dataDiskSizeGb?: string;
|
|
1100
1172
|
/** The type of data disk: `PD_SSD` (default) or `PD_HDD`. Not used for First Generation instances. */
|
|
@@ -2152,6 +2224,8 @@ declare namespace gapi.client {
|
|
|
2152
2224
|
databaseVersion?: string;
|
|
2153
2225
|
/** Selector specifying which fields to include in a partial response. */
|
|
2154
2226
|
fields?: string;
|
|
2227
|
+
/** Optional. Specify the scope of flags to be returned by SqlFlagsListService. Return list of database flags if unspecified. */
|
|
2228
|
+
flagScope?: string;
|
|
2155
2229
|
/** 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
2230
|
key?: string;
|
|
2157
2231
|
/** OAuth 2.0 token for the current user. */
|