@maxim_mazurok/gapi.client.sqladmin-v1beta4 0.1.20250915 → 0.1.20251006

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.
Files changed (2) hide show
  1. package/index.d.ts +19 -3
  2. 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: 20250915
12
+ // Revision: 20251006
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 exceeds 10 MB. The default mode is to throw an error. */
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. */
@@ -1359,6 +1363,8 @@ declare namespace gapi.client {
1359
1363
  metadata?: Metadata;
1360
1364
  /** The list of results after executing all the SQL statements. */
1361
1365
  results?: QueryResult[];
1366
+ /** Contains the error from the database if the SQL execution failed. */
1367
+ status?: Status;
1362
1368
  }
1363
1369
  interface SqlInstancesGetDiskShrinkConfigResponse {
1364
1370
  /** This is always `sql#getDiskShrinkConfig`. */
@@ -1516,6 +1522,14 @@ declare namespace gapi.client {
1516
1522
  /** This is always `sql#sslCertsList`. */
1517
1523
  kind?: string;
1518
1524
  }
1525
+ interface Status {
1526
+ /** The status code, which should be an enum value of google.rpc.Code. */
1527
+ code?: number;
1528
+ /** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
1529
+ details?: Array<{[P in string]: any}>;
1530
+ /** 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. */
1531
+ message?: string;
1532
+ }
1519
1533
  interface SyncFlags {
1520
1534
  /** The name of the flag. */
1521
1535
  name?: string;
@@ -1559,6 +1573,8 @@ declare namespace gapi.client {
1559
1573
  etag?: string;
1560
1574
  /** 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
1575
  host?: string;
1576
+ /** Optional. The full email for an IAM user. For normal database users, this will not be filled. Only applicable to MySQL database users. */
1577
+ iamEmail?: string;
1562
1578
  /** Indicates if a group is active or inactive for IAM database authentication. */
1563
1579
  iamStatus?: string;
1564
1580
  /** 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. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.sqladmin-v1beta4",
3
- "version": "0.1.20250915",
3
+ "version": "0.1.20251006",
4
4
  "description": "TypeScript typings for Cloud SQL Admin API v1beta4",
5
5
  "repository": {
6
6
  "type": "git",