@maxim_mazurok/gapi.client.sqladmin-v1beta4 0.1.20250925 → 0.1.20251019
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 +21 -3
- 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: 20251019
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -514,7 +514,7 @@ declare namespace gapi.client {
|
|
|
514
514
|
autoIamAuthn?: boolean;
|
|
515
515
|
/** Optional. Name of the database on which the statement will be executed. */
|
|
516
516
|
database?: string;
|
|
517
|
-
/** Optional. Controls how the API should respond when the SQL execution result
|
|
517
|
+
/** Optional. Controls how the API should respond when the SQL execution result is incomplete due to the size limit or another error. The default mode is to throw an error. */
|
|
518
518
|
partialResultMode?: string;
|
|
519
519
|
/** Optional. The maximum number of rows returned per SQL statement. */
|
|
520
520
|
rowLimit?: string;
|
|
@@ -1167,10 +1167,12 @@ declare namespace gapi.client {
|
|
|
1167
1167
|
columns?: Column[];
|
|
1168
1168
|
/** Message related to the SQL execution result. */
|
|
1169
1169
|
message?: string;
|
|
1170
|
-
/** Set to true if the SQL execution's result is truncated due to size limits. */
|
|
1170
|
+
/** Set to true if the SQL execution's result is truncated due to size limits or an error retrieving results. */
|
|
1171
1171
|
partialResult?: boolean;
|
|
1172
1172
|
/** Rows returned by the SQL statement. */
|
|
1173
1173
|
rows?: Row[];
|
|
1174
|
+
/** If results were truncated due to an error, details of that error. */
|
|
1175
|
+
status?: Status;
|
|
1174
1176
|
}
|
|
1175
1177
|
interface ReadPoolAutoScaleConfig {
|
|
1176
1178
|
/** Indicates whether read pool auto scaling supports scale in operations (removing nodes). */
|
|
@@ -1251,6 +1253,8 @@ declare namespace gapi.client {
|
|
|
1251
1253
|
advancedMachineFeatures?: AdvancedMachineFeatures;
|
|
1252
1254
|
/** The App Engine app IDs that can access this instance. (Deprecated) Applied to First Generation instances only. */
|
|
1253
1255
|
authorizedGaeApplications?: string[];
|
|
1256
|
+
/** Optional. Cloud SQL for MySQL auto-upgrade configuration. When this parameter is set to true, auto-upgrade is enabled for MySQL 8.0 minor versions. The MySQL version must be 8.0.35 or higher. */
|
|
1257
|
+
autoUpgradeEnabled?: boolean;
|
|
1254
1258
|
/** Availability type. Potential values: * `ZONAL`: The instance serves data from only one zone. Outages in that zone affect data accessibility. * `REGIONAL`: The instance can serve data from more than one zone in a region (it is highly available)./ For more information, see [Overview of the High Availability Configuration](https://cloud.google.com/sql/docs/mysql/high-availability). */
|
|
1255
1259
|
availabilityType?: string;
|
|
1256
1260
|
/** The daily backup configuration for the instance. */
|
|
@@ -1263,6 +1267,8 @@ declare namespace gapi.client {
|
|
|
1263
1267
|
connectorEnforcement?: string;
|
|
1264
1268
|
/** 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. */
|
|
1265
1269
|
crashSafeReplicationEnabled?: boolean;
|
|
1270
|
+
/** This parameter controls whether to allow using Data API to connect to the instance. Not allowed by default. */
|
|
1271
|
+
dataApiAccess?: string;
|
|
1266
1272
|
/** The database flags passed to the instance at startup. */
|
|
1267
1273
|
databaseFlags?: DatabaseFlags[];
|
|
1268
1274
|
/** Configuration specific to read replica instances. Indicates whether replication is enabled or not. WARNING: Changing this restarts the instance. */
|
|
@@ -1359,6 +1365,8 @@ declare namespace gapi.client {
|
|
|
1359
1365
|
metadata?: Metadata;
|
|
1360
1366
|
/** The list of results after executing all the SQL statements. */
|
|
1361
1367
|
results?: QueryResult[];
|
|
1368
|
+
/** Contains the error from the database if the SQL execution failed. */
|
|
1369
|
+
status?: Status;
|
|
1362
1370
|
}
|
|
1363
1371
|
interface SqlInstancesGetDiskShrinkConfigResponse {
|
|
1364
1372
|
/** This is always `sql#getDiskShrinkConfig`. */
|
|
@@ -1516,6 +1524,14 @@ declare namespace gapi.client {
|
|
|
1516
1524
|
/** This is always `sql#sslCertsList`. */
|
|
1517
1525
|
kind?: string;
|
|
1518
1526
|
}
|
|
1527
|
+
interface Status {
|
|
1528
|
+
/** The status code, which should be an enum value of google.rpc.Code. */
|
|
1529
|
+
code?: number;
|
|
1530
|
+
/** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
|
|
1531
|
+
details?: Array<{[P in string]: any}>;
|
|
1532
|
+
/** A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. */
|
|
1533
|
+
message?: string;
|
|
1534
|
+
}
|
|
1519
1535
|
interface SyncFlags {
|
|
1520
1536
|
/** The name of the flag. */
|
|
1521
1537
|
name?: string;
|
|
@@ -1559,6 +1575,8 @@ declare namespace gapi.client {
|
|
|
1559
1575
|
etag?: string;
|
|
1560
1576
|
/** 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. */
|
|
1561
1577
|
host?: string;
|
|
1578
|
+
/** Optional. The full email for an IAM user. For normal database users, this will not be filled. Only applicable to MySQL database users. */
|
|
1579
|
+
iamEmail?: string;
|
|
1562
1580
|
/** Indicates if a group is active or inactive for IAM database authentication. */
|
|
1563
1581
|
iamStatus?: string;
|
|
1564
1582
|
/** 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. */
|