@maxim_mazurok/gapi.client.sqladmin-v1 0.1.20250916 → 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 +23 -7
  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=v1
12
- // Revision: 20250916
12
+ // Revision: 20251006
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -509,7 +509,7 @@ declare namespace gapi.client {
509
509
  autoIamAuthn?: boolean;
510
510
  /** Optional. Name of the database on which the statement will be executed. */
511
511
  database?: string;
512
- /** Optional. Controls how the API should respond when the SQL execution result exceeds 10 MB. The default mode is to throw an error. */
512
+ /** 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. */
513
513
  partialResultMode?: string;
514
514
  /** Optional. The maximum number of rows returned per SQL statement. */
515
515
  rowLimit?: string;
@@ -1162,10 +1162,12 @@ declare namespace gapi.client {
1162
1162
  columns?: Column[];
1163
1163
  /** Message related to the SQL execution result. */
1164
1164
  message?: string;
1165
- /** Set to true if the SQL execution's result is truncated due to size limits. */
1165
+ /** Set to true if the SQL execution's result is truncated due to size limits or an error retrieving results. */
1166
1166
  partialResult?: boolean;
1167
1167
  /** Rows returned by the SQL statement. */
1168
1168
  rows?: Row[];
1169
+ /** If results were truncated due to an error, details of that error. */
1170
+ status?: Status;
1169
1171
  }
1170
1172
  interface ReadPoolAutoScaleConfig {
1171
1173
  /** Indicates whether read pool auto scaling supports scale in operations (removing nodes). */
@@ -1246,6 +1248,8 @@ declare namespace gapi.client {
1246
1248
  advancedMachineFeatures?: AdvancedMachineFeatures;
1247
1249
  /** The App Engine app IDs that can access this instance. (Deprecated) Applied to First Generation instances only. */
1248
1250
  authorizedGaeApplications?: string[];
1251
+ /** 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. */
1252
+ autoUpgradeEnabled?: boolean;
1249
1253
  /** 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). */
1250
1254
  availabilityType?: string;
1251
1255
  /** The daily backup configuration for the instance. */
@@ -1354,6 +1358,8 @@ declare namespace gapi.client {
1354
1358
  metadata?: Metadata;
1355
1359
  /** The list of results after executing all the SQL statements. */
1356
1360
  results?: QueryResult[];
1361
+ /** Contains the error from the database if the SQL execution failed. */
1362
+ status?: Status;
1357
1363
  }
1358
1364
  interface SqlInstancesGetDiskShrinkConfigResponse {
1359
1365
  /** This is always `sql#getDiskShrinkConfig`. */
@@ -1511,6 +1517,14 @@ declare namespace gapi.client {
1511
1517
  /** This is always `sql#sslCertsList`. */
1512
1518
  kind?: string;
1513
1519
  }
1520
+ interface Status {
1521
+ /** The status code, which should be an enum value of google.rpc.Code. */
1522
+ code?: number;
1523
+ /** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
1524
+ details?: Array<{[P in string]: any}>;
1525
+ /** 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. */
1526
+ message?: string;
1527
+ }
1514
1528
  interface SyncFlags {
1515
1529
  /** The name of the flag. */
1516
1530
  name?: string;
@@ -1554,6 +1568,8 @@ declare namespace gapi.client {
1554
1568
  etag?: string;
1555
1569
  /** 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. */
1556
1570
  host?: string;
1571
+ /** Optional. The full email for an IAM user. For normal database users, this will not be filled. Only applicable to MySQL database users. */
1572
+ iamEmail?: string;
1557
1573
  /** Indicates if a group is active or inactive for IAM database authentication. */
1558
1574
  iamStatus?: string;
1559
1575
  /** 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. */
@@ -2921,7 +2937,7 @@ declare namespace gapi.client {
2921
2937
  callback?: string;
2922
2938
  /** Selector specifying which fields to include in a partial response. */
2923
2939
  fields?: string;
2924
- /** Database instance ID. This does not include the project ID. */
2940
+ /** Required. Database instance ID. This does not include the project ID. */
2925
2941
  instance: string;
2926
2942
  /** 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. */
2927
2943
  key?: string;
@@ -2929,7 +2945,7 @@ declare namespace gapi.client {
2929
2945
  oauth_token?: string;
2930
2946
  /** Returns response with indentations and line breaks. */
2931
2947
  prettyPrint?: boolean;
2932
- /** Project ID of the project that contains the instance. */
2948
+ /** Required. Project ID of the project that contains the instance. */
2933
2949
  project: string;
2934
2950
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2935
2951
  quotaUser?: string;
@@ -3959,11 +3975,11 @@ declare namespace gapi.client {
3959
3975
  key?: string;
3960
3976
  /** OAuth 2.0 token for the current user. */
3961
3977
  oauth_token?: string;
3962
- /** Instance operation ID. */
3978
+ /** Required. Instance operation ID. */
3963
3979
  operation: string;
3964
3980
  /** Returns response with indentations and line breaks. */
3965
3981
  prettyPrint?: boolean;
3966
- /** Project ID of the project that contains the instance. */
3982
+ /** Required. Project ID of the project that contains the instance. */
3967
3983
  project: string;
3968
3984
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
3969
3985
  quotaUser?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.sqladmin-v1",
3
- "version": "0.1.20250916",
3
+ "version": "0.1.20251006",
4
4
  "description": "TypeScript typings for Cloud SQL Admin API v1",
5
5
  "repository": {
6
6
  "type": "git",