@maxim_mazurok/gapi.client.sqladmin-v1 0.1.20250823 → 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=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20250908
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -918,6 +918,12 @@ declare namespace gapi.client {
|
|
|
918
918
|
/** 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). */
|
|
919
919
|
updateTrack?: string;
|
|
920
920
|
}
|
|
921
|
+
interface Message {
|
|
922
|
+
/** 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. */
|
|
923
|
+
message?: string;
|
|
924
|
+
/** The severity of the message (e.g., "NOTICE" for PostgreSQL, "WARNING" for MySQL). */
|
|
925
|
+
severity?: string;
|
|
926
|
+
}
|
|
921
927
|
interface Metadata {
|
|
922
928
|
/** The time taken to execute the SQL statements. */
|
|
923
929
|
sqlStatementExecutionTime?: string;
|
|
@@ -1139,6 +1145,18 @@ declare namespace gapi.client {
|
|
|
1139
1145
|
/** Rows returned by the SQL statement. */
|
|
1140
1146
|
rows?: Row[];
|
|
1141
1147
|
}
|
|
1148
|
+
interface ReadPoolAutoScaleConfig {
|
|
1149
|
+
/** Indicates whether read pool auto scaling supports scale in operations (removing nodes). */
|
|
1150
|
+
disableScaleIn?: boolean;
|
|
1151
|
+
/** Indicates whether read pool auto scaling is enabled. */
|
|
1152
|
+
enabled?: boolean;
|
|
1153
|
+
/** Maximum number of read pool nodes to be maintained. */
|
|
1154
|
+
maxNodeCount?: number;
|
|
1155
|
+
/** Minimum number of read pool nodes to be maintained. */
|
|
1156
|
+
minNodeCount?: number;
|
|
1157
|
+
/** Optional. Target metrics for read pool auto scaling. */
|
|
1158
|
+
targetMetrics?: TargetMetric[];
|
|
1159
|
+
}
|
|
1142
1160
|
interface ReplicaConfiguration {
|
|
1143
1161
|
/** 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. */
|
|
1144
1162
|
cascadableReplica?: boolean;
|
|
@@ -1254,6 +1272,8 @@ declare namespace gapi.client {
|
|
|
1254
1272
|
passwordValidationPolicy?: PasswordValidationPolicy;
|
|
1255
1273
|
/** The pricing plan for this instance. This can be either `PER_USE` or `PACKAGE`. Only `PER_USE` is supported for Second Generation instances. */
|
|
1256
1274
|
pricingPlan?: string;
|
|
1275
|
+
/** Optional. The read pool auto-scale configuration for the instance. */
|
|
1276
|
+
readPoolAutoScaleConfig?: ReadPoolAutoScaleConfig;
|
|
1257
1277
|
/** Optional. Configuration value for recreation of replica after certain replication lag */
|
|
1258
1278
|
replicationLagMaxSeconds?: number;
|
|
1259
1279
|
/** The type of replication this instance uses. This can be either `ASYNCHRONOUS` or `SYNCHRONOUS`. (Deprecated) This property was only applicable to First Generation instances. */
|
|
@@ -1302,6 +1322,8 @@ declare namespace gapi.client {
|
|
|
1302
1322
|
operationId?: string;
|
|
1303
1323
|
}
|
|
1304
1324
|
interface SqlInstancesExecuteSqlResponse {
|
|
1325
|
+
/** 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. */
|
|
1326
|
+
messages?: Message[];
|
|
1305
1327
|
/** The additional metadata information regarding the execution of the SQL statements. */
|
|
1306
1328
|
metadata?: Metadata;
|
|
1307
1329
|
/** The list of results after executing all the SQL statements. */
|
|
@@ -1469,6 +1491,12 @@ declare namespace gapi.client {
|
|
|
1469
1491
|
/** The value of the flag. This field must be omitted if the flag doesn't take a value. */
|
|
1470
1492
|
value?: string;
|
|
1471
1493
|
}
|
|
1494
|
+
interface TargetMetric {
|
|
1495
|
+
/** The metric name to be used for auto scaling. */
|
|
1496
|
+
metric?: string;
|
|
1497
|
+
/** The target value for the metric. */
|
|
1498
|
+
targetValue?: number;
|
|
1499
|
+
}
|
|
1472
1500
|
interface Tier {
|
|
1473
1501
|
/** The maximum disk size of this tier in bytes. */
|
|
1474
1502
|
DiskQuota?: string;
|
|
@@ -1500,6 +1528,8 @@ declare namespace gapi.client {
|
|
|
1500
1528
|
etag?: string;
|
|
1501
1529
|
/** 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. */
|
|
1502
1530
|
host?: string;
|
|
1531
|
+
/** Indicates if a group is active or inactive for IAM database authentication. */
|
|
1532
|
+
iamStatus?: string;
|
|
1503
1533
|
/** 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. */
|
|
1504
1534
|
instance?: string;
|
|
1505
1535
|
/** This is always `sql#user`. */
|
|
@@ -3351,6 +3381,8 @@ declare namespace gapi.client {
|
|
|
3351
3381
|
instance: string;
|
|
3352
3382
|
/** 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. */
|
|
3353
3383
|
key?: string;
|
|
3384
|
+
/** Optional. Reset SSL mode to use. */
|
|
3385
|
+
mode?: string;
|
|
3354
3386
|
/** OAuth 2.0 token for the current user. */
|
|
3355
3387
|
oauth_token?: string;
|
|
3356
3388
|
/** Returns response with indentations and line breaks. */
|