@maxim_mazurok/gapi.client.sqladmin-v1 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.
Files changed (2) hide show
  1. package/index.d.ts +31 -13
  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: 20250925
12
+ // Revision: 20251019
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -219,7 +219,7 @@ declare namespace gapi.client {
219
219
  binLogCoordinates?: BinLogCoordinates;
220
220
  /** (SQL Server only) Clone only the specified databases from the source instance. Clone all databases if empty. */
221
221
  databaseNames?: string[];
222
- /** Name of the Cloud SQL instance to be created as a clone. */
222
+ /** Required. Name of the Cloud SQL instance to be created as a clone. */
223
223
  destinationInstanceName?: string;
224
224
  /** This is always `sql#cloneContext`. */
225
225
  kind?: string;
@@ -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;
@@ -774,7 +774,7 @@ declare namespace gapi.client {
774
774
  acquireSsrsLeaseContext?: AcquireSsrsLeaseContext;
775
775
  }
776
776
  interface InstancesCloneRequest {
777
- /** Contains details about the clone operation. */
777
+ /** Required. Contains details about the clone operation. */
778
778
  cloneContext?: CloneContext;
779
779
  }
780
780
  interface InstancesDemoteMasterRequest {
@@ -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. */
@@ -1258,6 +1262,8 @@ declare namespace gapi.client {
1258
1262
  connectorEnforcement?: string;
1259
1263
  /** 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. */
1260
1264
  crashSafeReplicationEnabled?: boolean;
1265
+ /** This parameter controls whether to allow using Data API to connect to the instance. Not allowed by default. */
1266
+ dataApiAccess?: string;
1261
1267
  /** The database flags passed to the instance at startup. */
1262
1268
  databaseFlags?: DatabaseFlags[];
1263
1269
  /** Configuration specific to read replica instances. Indicates whether replication is enabled or not. WARNING: Changing this restarts the instance. */
@@ -1354,6 +1360,8 @@ declare namespace gapi.client {
1354
1360
  metadata?: Metadata;
1355
1361
  /** The list of results after executing all the SQL statements. */
1356
1362
  results?: QueryResult[];
1363
+ /** Contains the error from the database if the SQL execution failed. */
1364
+ status?: Status;
1357
1365
  }
1358
1366
  interface SqlInstancesGetDiskShrinkConfigResponse {
1359
1367
  /** This is always `sql#getDiskShrinkConfig`. */
@@ -1511,6 +1519,14 @@ declare namespace gapi.client {
1511
1519
  /** This is always `sql#sslCertsList`. */
1512
1520
  kind?: string;
1513
1521
  }
1522
+ interface Status {
1523
+ /** The status code, which should be an enum value of google.rpc.Code. */
1524
+ code?: number;
1525
+ /** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
1526
+ details?: Array<{[P in string]: any}>;
1527
+ /** 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. */
1528
+ message?: string;
1529
+ }
1514
1530
  interface SyncFlags {
1515
1531
  /** The name of the flag. */
1516
1532
  name?: string;
@@ -1554,6 +1570,8 @@ declare namespace gapi.client {
1554
1570
  etag?: string;
1555
1571
  /** 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
1572
  host?: string;
1573
+ /** Optional. The full email for an IAM user. For normal database users, this will not be filled. Only applicable to MySQL database users. */
1574
+ iamEmail?: string;
1557
1575
  /** Indicates if a group is active or inactive for IAM database authentication. */
1558
1576
  iamStatus?: string;
1559
1577
  /** 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. */
@@ -2512,7 +2530,7 @@ declare namespace gapi.client {
2512
2530
  callback?: string;
2513
2531
  /** Selector specifying which fields to include in a partial response. */
2514
2532
  fields?: string;
2515
- /** The ID of the Cloud SQL instance to be cloned (source). This does not include the project ID. */
2533
+ /** Required. The ID of the Cloud SQL instance to be cloned (source). This does not include the project ID. */
2516
2534
  instance: string;
2517
2535
  /** 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. */
2518
2536
  key?: string;
@@ -2520,7 +2538,7 @@ declare namespace gapi.client {
2520
2538
  oauth_token?: string;
2521
2539
  /** Returns response with indentations and line breaks. */
2522
2540
  prettyPrint?: boolean;
2523
- /** Project ID of the source as well as the clone Cloud SQL instance. */
2541
+ /** Required. Project ID of the source as well as the clone Cloud SQL instance. */
2524
2542
  project: string;
2525
2543
  /** 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. */
2526
2544
  quotaUser?: string;
@@ -2543,7 +2561,7 @@ declare namespace gapi.client {
2543
2561
  callback?: string;
2544
2562
  /** Selector specifying which fields to include in a partial response. */
2545
2563
  fields?: string;
2546
- /** The ID of the Cloud SQL instance to be cloned (source). This does not include the project ID. */
2564
+ /** Required. The ID of the Cloud SQL instance to be cloned (source). This does not include the project ID. */
2547
2565
  instance: string;
2548
2566
  /** 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. */
2549
2567
  key?: string;
@@ -2551,7 +2569,7 @@ declare namespace gapi.client {
2551
2569
  oauth_token?: string;
2552
2570
  /** Returns response with indentations and line breaks. */
2553
2571
  prettyPrint?: boolean;
2554
- /** Project ID of the source as well as the clone Cloud SQL instance. */
2572
+ /** Required. Project ID of the source as well as the clone Cloud SQL instance. */
2555
2573
  project: string;
2556
2574
  /** 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. */
2557
2575
  quotaUser?: string;
@@ -2921,7 +2939,7 @@ declare namespace gapi.client {
2921
2939
  callback?: string;
2922
2940
  /** Selector specifying which fields to include in a partial response. */
2923
2941
  fields?: string;
2924
- /** Database instance ID. This does not include the project ID. */
2942
+ /** Required. Database instance ID. This does not include the project ID. */
2925
2943
  instance: string;
2926
2944
  /** 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
2945
  key?: string;
@@ -2929,7 +2947,7 @@ declare namespace gapi.client {
2929
2947
  oauth_token?: string;
2930
2948
  /** Returns response with indentations and line breaks. */
2931
2949
  prettyPrint?: boolean;
2932
- /** Project ID of the project that contains the instance. */
2950
+ /** Required. Project ID of the project that contains the instance. */
2933
2951
  project: string;
2934
2952
  /** 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
2953
  quotaUser?: string;
@@ -3959,11 +3977,11 @@ declare namespace gapi.client {
3959
3977
  key?: string;
3960
3978
  /** OAuth 2.0 token for the current user. */
3961
3979
  oauth_token?: string;
3962
- /** Instance operation ID. */
3980
+ /** Required. Instance operation ID. */
3963
3981
  operation: string;
3964
3982
  /** Returns response with indentations and line breaks. */
3965
3983
  prettyPrint?: boolean;
3966
- /** Project ID of the project that contains the instance. */
3984
+ /** Required. Project ID of the project that contains the instance. */
3967
3985
  project: string;
3968
3986
  /** 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
3987
  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.20250925",
3
+ "version": "0.1.20251019",
4
4
  "description": "TypeScript typings for Cloud SQL Admin API v1",
5
5
  "repository": {
6
6
  "type": "git",