@googleapis/sqladmin 33.0.0 → 34.1.0

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/v1beta4.ts CHANGED
@@ -1142,7 +1142,7 @@ export namespace sqladmin_v1beta4 {
1142
1142
  */
1143
1143
  database?: string | null;
1144
1144
  /**
1145
- * Optional. Controls how the API should respond when the SQL execution result exceeds 10 MB. The default mode is to throw an error.
1145
+ * 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.
1146
1146
  */
1147
1147
  partialResultMode?: string | null;
1148
1148
  /**
@@ -2329,13 +2329,17 @@ export namespace sqladmin_v1beta4 {
2329
2329
  */
2330
2330
  message?: string | null;
2331
2331
  /**
2332
- * Set to true if the SQL execution's result is truncated due to size limits.
2332
+ * Set to true if the SQL execution's result is truncated due to size limits or an error retrieving results.
2333
2333
  */
2334
2334
  partialResult?: boolean | null;
2335
2335
  /**
2336
2336
  * Rows returned by the SQL statement.
2337
2337
  */
2338
2338
  rows?: Schema$Row[];
2339
+ /**
2340
+ * If results were truncated due to an error, details of that error.
2341
+ */
2342
+ status?: Schema$Status;
2339
2343
  }
2340
2344
  /**
2341
2345
  * The read pool auto-scale configuration.
@@ -2503,6 +2507,10 @@ export namespace sqladmin_v1beta4 {
2503
2507
  * The App Engine app IDs that can access this instance. (Deprecated) Applied to First Generation instances only.
2504
2508
  */
2505
2509
  authorizedGaeApplications?: string[] | null;
2510
+ /**
2511
+ * 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.
2512
+ */
2513
+ autoUpgradeEnabled?: boolean | null;
2506
2514
  /**
2507
2515
  * 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).
2508
2516
  */
@@ -2527,6 +2535,10 @@ export namespace sqladmin_v1beta4 {
2527
2535
  * 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.
2528
2536
  */
2529
2537
  crashSafeReplicationEnabled?: boolean | null;
2538
+ /**
2539
+ * This parameter controls whether to allow using Data API to connect to the instance. Not allowed by default.
2540
+ */
2541
+ dataApiAccess?: string | null;
2530
2542
  /**
2531
2543
  * The database flags passed to the instance at startup.
2532
2544
  */
@@ -2723,6 +2735,10 @@ export namespace sqladmin_v1beta4 {
2723
2735
  * The list of results after executing all the SQL statements.
2724
2736
  */
2725
2737
  results?: Schema$QueryResult[];
2738
+ /**
2739
+ * Contains the error from the database if the SQL execution failed.
2740
+ */
2741
+ status?: Schema$Status;
2726
2742
  }
2727
2743
  /**
2728
2744
  * Instance get disk shrink config response.
@@ -3050,6 +3066,23 @@ export namespace sqladmin_v1beta4 {
3050
3066
  */
3051
3067
  kind?: string | null;
3052
3068
  }
3069
+ /**
3070
+ * The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).
3071
+ */
3072
+ export interface Schema$Status {
3073
+ /**
3074
+ * The status code, which should be an enum value of google.rpc.Code.
3075
+ */
3076
+ code?: number | null;
3077
+ /**
3078
+ * A list of messages that carry the error details. There is a common set of message types for APIs to use.
3079
+ */
3080
+ details?: Array<{[key: string]: any}> | null;
3081
+ /**
3082
+ * 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.
3083
+ */
3084
+ message?: string | null;
3085
+ }
3053
3086
  /**
3054
3087
  * Initial sync flags for certain Cloud SQL APIs. Currently used for the MySQL external server initial dump.
3055
3088
  */
@@ -3143,6 +3176,10 @@ export namespace sqladmin_v1beta4 {
3143
3176
  * 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.
3144
3177
  */
3145
3178
  host?: string | null;
3179
+ /**
3180
+ * Optional. The full email for an IAM user. For normal database users, this will not be filled. Only applicable to MySQL database users.
3181
+ */
3182
+ iamEmail?: string | null;
3146
3183
  /**
3147
3184
  * Indicates if a group is active or inactive for IAM database authentication.
3148
3185
  */
@@ -7702,7 +7739,8 @@ export namespace sqladmin_v1beta4 {
7702
7739
  * // {
7703
7740
  * // "messages": [],
7704
7741
  * // "metadata": {},
7705
- * // "results": []
7742
+ * // "results": [],
7743
+ * // "status": {}
7706
7744
  * // }
7707
7745
  * }
7708
7746
  *
@@ -15377,6 +15415,7 @@ export namespace sqladmin_v1beta4 {
15377
15415
  * // "dualPasswordType": "my_dualPasswordType",
15378
15416
  * // "etag": "my_etag",
15379
15417
  * // "host": "my_host",
15418
+ * // "iamEmail": "my_iamEmail",
15380
15419
  * // "iamStatus": "my_iamStatus",
15381
15420
  * // "instance": "my_instance",
15382
15421
  * // "kind": "my_kind",
@@ -15529,6 +15568,7 @@ export namespace sqladmin_v1beta4 {
15529
15568
  * // "dualPasswordType": "my_dualPasswordType",
15530
15569
  * // "etag": "my_etag",
15531
15570
  * // "host": "my_host",
15571
+ * // "iamEmail": "my_iamEmail",
15532
15572
  * // "iamStatus": "my_iamStatus",
15533
15573
  * // "instance": "my_instance",
15534
15574
  * // "kind": "my_kind",
@@ -15855,6 +15895,7 @@ export namespace sqladmin_v1beta4 {
15855
15895
  * // "dualPasswordType": "my_dualPasswordType",
15856
15896
  * // "etag": "my_etag",
15857
15897
  * // "host": "my_host",
15898
+ * // "iamEmail": "my_iamEmail",
15858
15899
  * // "iamStatus": "my_iamStatus",
15859
15900
  * // "instance": "my_instance",
15860
15901
  * // "kind": "my_kind",