@maxim_mazurok/gapi.client.sqladmin-v1beta4 0.1.20250904 → 0.1.20250908
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 +33 -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: 20250908
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -923,6 +923,12 @@ declare namespace gapi.client {
|
|
|
923
923
|
/** Maintenance timing settings: `canary`, `stable`, or `week5`. For more information, see [About maintenance on Cloud SQL instances](https://cloud.google.com/sql/docs/mysql/maintenance). */
|
|
924
924
|
updateTrack?: string;
|
|
925
925
|
}
|
|
926
|
+
interface Message {
|
|
927
|
+
/** The full message string. For PostgreSQL, this is a formatted string that may include severity, code, and the notice/warning message. For MySQL, this contains the warning message. */
|
|
928
|
+
message?: string;
|
|
929
|
+
/** The severity of the message (e.g., "NOTICE" for PostgreSQL, "WARNING" for MySQL). */
|
|
930
|
+
severity?: string;
|
|
931
|
+
}
|
|
926
932
|
interface Metadata {
|
|
927
933
|
/** The time taken to execute the SQL statements. */
|
|
928
934
|
sqlStatementExecutionTime?: string;
|
|
@@ -1144,6 +1150,18 @@ declare namespace gapi.client {
|
|
|
1144
1150
|
/** Rows returned by the SQL statement. */
|
|
1145
1151
|
rows?: Row[];
|
|
1146
1152
|
}
|
|
1153
|
+
interface ReadPoolAutoScaleConfig {
|
|
1154
|
+
/** Indicates whether read pool auto scaling supports scale in operations (removing nodes). */
|
|
1155
|
+
disableScaleIn?: boolean;
|
|
1156
|
+
/** Indicates whether read pool auto scaling is enabled. */
|
|
1157
|
+
enabled?: boolean;
|
|
1158
|
+
/** Maximum number of read pool nodes to be maintained. */
|
|
1159
|
+
maxNodeCount?: number;
|
|
1160
|
+
/** Minimum number of read pool nodes to be maintained. */
|
|
1161
|
+
minNodeCount?: number;
|
|
1162
|
+
/** Optional. Target metrics for read pool auto scaling. */
|
|
1163
|
+
targetMetrics?: TargetMetric[];
|
|
1164
|
+
}
|
|
1147
1165
|
interface ReplicaConfiguration {
|
|
1148
1166
|
/** Optional. Specifies if a SQL Server replica is a cascadable replica. A cascadable replica is a SQL Server cross region replica that supports replica(s) under it. */
|
|
1149
1167
|
cascadableReplica?: boolean;
|
|
@@ -1259,6 +1277,8 @@ declare namespace gapi.client {
|
|
|
1259
1277
|
passwordValidationPolicy?: PasswordValidationPolicy;
|
|
1260
1278
|
/** The pricing plan for this instance. This can be either `PER_USE` or `PACKAGE`. Only `PER_USE` is supported for Second Generation instances. */
|
|
1261
1279
|
pricingPlan?: string;
|
|
1280
|
+
/** Optional. The read pool auto-scale configuration for the instance. */
|
|
1281
|
+
readPoolAutoScaleConfig?: ReadPoolAutoScaleConfig;
|
|
1262
1282
|
/** Optional. Configuration value for recreation of replica after certain replication lag. */
|
|
1263
1283
|
replicationLagMaxSeconds?: number;
|
|
1264
1284
|
/** The type of replication this instance uses. This can be either `ASYNCHRONOUS` or `SYNCHRONOUS`. (Deprecated) This property was only applicable to First Generation instances. */
|
|
@@ -1307,6 +1327,8 @@ declare namespace gapi.client {
|
|
|
1307
1327
|
operationId?: string;
|
|
1308
1328
|
}
|
|
1309
1329
|
interface SqlInstancesExecuteSqlResponse {
|
|
1330
|
+
/** A list of notices and warnings generated during query execution. For PostgreSQL, this includes all notices and warnings. For MySQL, this includes warnings generated by the last executed statement. To retrieve all warnings for a multi-statement query, `SHOW WARNINGS` must be executed after each statement. */
|
|
1331
|
+
messages?: Message[];
|
|
1310
1332
|
/** The additional metadata information regarding the execution of the SQL statements. */
|
|
1311
1333
|
metadata?: Metadata;
|
|
1312
1334
|
/** The list of results after executing all the SQL statements. */
|
|
@@ -1474,6 +1496,12 @@ declare namespace gapi.client {
|
|
|
1474
1496
|
/** The value of the flag. This field must be omitted if the flag doesn't take a value. */
|
|
1475
1497
|
value?: string;
|
|
1476
1498
|
}
|
|
1499
|
+
interface TargetMetric {
|
|
1500
|
+
/** The metric name to be used for auto scaling. */
|
|
1501
|
+
metric?: string;
|
|
1502
|
+
/** The target value for the metric. */
|
|
1503
|
+
targetValue?: number;
|
|
1504
|
+
}
|
|
1477
1505
|
interface Tier {
|
|
1478
1506
|
/** The maximum disk size of this tier in bytes. */
|
|
1479
1507
|
DiskQuota?: string;
|
|
@@ -1505,6 +1533,8 @@ declare namespace gapi.client {
|
|
|
1505
1533
|
etag?: string;
|
|
1506
1534
|
/** 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. */
|
|
1507
1535
|
host?: string;
|
|
1536
|
+
/** Indicates if a group is active or inactive for IAM database authentication. */
|
|
1537
|
+
iamStatus?: string;
|
|
1508
1538
|
/** 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. */
|
|
1509
1539
|
instance?: string;
|
|
1510
1540
|
/** This is always `sql#user`. */
|
|
@@ -3356,6 +3386,8 @@ declare namespace gapi.client {
|
|
|
3356
3386
|
instance: string;
|
|
3357
3387
|
/** 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. */
|
|
3358
3388
|
key?: string;
|
|
3389
|
+
/** Optional. Reset SSL mode to use. */
|
|
3390
|
+
mode?: string;
|
|
3359
3391
|
/** OAuth 2.0 token for the current user. */
|
|
3360
3392
|
oauth_token?: string;
|
|
3361
3393
|
/** Returns response with indentations and line breaks. */
|