@googleapis/sqladmin 32.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/CHANGELOG.md +31 -0
- package/build/tsconfig.tsbuildinfo +1 -1
- package/build/v1.d.ts +352 -18
- package/build/v1.js +33 -0
- package/build/v1.js.map +1 -1
- package/build/v1beta4.d.ts +339 -5
- package/build/v1beta4.js +33 -0
- package/build/v1beta4.js.map +1 -1
- package/package.json +1 -1
- package/v1.ts +431 -18
- package/v1beta4.ts +418 -5
package/v1beta4.ts
CHANGED
|
@@ -230,7 +230,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
230
230
|
name?: string | null;
|
|
231
231
|
}
|
|
232
232
|
/**
|
|
233
|
-
* A backup resource.
|
|
233
|
+
* A backup resource.
|
|
234
234
|
*/
|
|
235
235
|
export interface Schema$Backup {
|
|
236
236
|
/**
|
|
@@ -1141,6 +1141,10 @@ export namespace sqladmin_v1beta4 {
|
|
|
1141
1141
|
* Optional. Name of the database on which the statement will be executed.
|
|
1142
1142
|
*/
|
|
1143
1143
|
database?: string | null;
|
|
1144
|
+
/**
|
|
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
|
+
*/
|
|
1147
|
+
partialResultMode?: string | null;
|
|
1144
1148
|
/**
|
|
1145
1149
|
* Optional. The maximum number of rows returned per SQL statement.
|
|
1146
1150
|
*/
|
|
@@ -1149,6 +1153,10 @@ export namespace sqladmin_v1beta4 {
|
|
|
1149
1153
|
* Required. SQL statements to run on the database. It can be a single statement or a sequence of statements separated by semicolons.
|
|
1150
1154
|
*/
|
|
1151
1155
|
sqlStatement?: string | null;
|
|
1156
|
+
/**
|
|
1157
|
+
* Optional. The name of an existing database user to connect to the database. When `auto_iam_authn` is set to true, this field is ignored and the API caller's IAM user is used.
|
|
1158
|
+
*/
|
|
1159
|
+
user?: string | null;
|
|
1152
1160
|
}
|
|
1153
1161
|
/**
|
|
1154
1162
|
* Database instance export context.
|
|
@@ -1612,6 +1620,15 @@ export namespace sqladmin_v1beta4 {
|
|
|
1612
1620
|
*/
|
|
1613
1621
|
serverCerts?: Schema$SslCert[];
|
|
1614
1622
|
}
|
|
1623
|
+
/**
|
|
1624
|
+
* Request for Pre-checks for MVU
|
|
1625
|
+
*/
|
|
1626
|
+
export interface Schema$InstancesPreCheckMajorVersionUpgradeRequest {
|
|
1627
|
+
/**
|
|
1628
|
+
* Required. Contains details about the pre-check major version upgrade operation.
|
|
1629
|
+
*/
|
|
1630
|
+
preCheckMajorVersionUpgradeContext?: Schema$PreCheckMajorVersionUpgradeContext;
|
|
1631
|
+
}
|
|
1615
1632
|
/**
|
|
1616
1633
|
* Database Instance reencrypt request.
|
|
1617
1634
|
*/
|
|
@@ -1811,6 +1828,19 @@ export namespace sqladmin_v1beta4 {
|
|
|
1811
1828
|
*/
|
|
1812
1829
|
updateTrack?: string | null;
|
|
1813
1830
|
}
|
|
1831
|
+
/**
|
|
1832
|
+
* Represents a notice or warning message from the database.
|
|
1833
|
+
*/
|
|
1834
|
+
export interface Schema$Message {
|
|
1835
|
+
/**
|
|
1836
|
+
* The full message string. For PostgreSQL, this is a formatted string that may include severity, code, and the notice/warning message. For MySQL, this contains the warning message.
|
|
1837
|
+
*/
|
|
1838
|
+
message?: string | null;
|
|
1839
|
+
/**
|
|
1840
|
+
* The severity of the message (e.g., "NOTICE" for PostgreSQL, "WARNING" for MySQL).
|
|
1841
|
+
*/
|
|
1842
|
+
severity?: string | null;
|
|
1843
|
+
}
|
|
1814
1844
|
/**
|
|
1815
1845
|
* The additional metadata information regarding the execution of the SQL statements.
|
|
1816
1846
|
*/
|
|
@@ -1975,6 +2005,10 @@ export namespace sqladmin_v1beta4 {
|
|
|
1975
2005
|
* The type of the operation. Valid values are: * `CREATE` * `DELETE` * `UPDATE` * `RESTART` * `IMPORT` * `EXPORT` * `BACKUP_VOLUME` * `RESTORE_VOLUME` * `CREATE_USER` * `DELETE_USER` * `CREATE_DATABASE` * `DELETE_DATABASE`
|
|
1976
2006
|
*/
|
|
1977
2007
|
operationType?: string | null;
|
|
2008
|
+
/**
|
|
2009
|
+
* The context for pre-check major version upgrade operation, if applicable. This field is only populated when the operation_type is PRE_CHECK_MAJOR_VERSION_UPGRADE. The PreCheckMajorVersionUpgradeContext message itself contains the details for that pre-check, such as the target database version for the upgrade and the results of the check (including any warnings or errors found).
|
|
2010
|
+
*/
|
|
2011
|
+
preCheckMajorVersionUpgradeContext?: Schema$PreCheckMajorVersionUpgradeContext;
|
|
1978
2012
|
/**
|
|
1979
2013
|
* The URI of this resource.
|
|
1980
2014
|
*/
|
|
@@ -2202,6 +2236,40 @@ export namespace sqladmin_v1beta4 {
|
|
|
2202
2236
|
*/
|
|
2203
2237
|
state?: string | null;
|
|
2204
2238
|
}
|
|
2239
|
+
/**
|
|
2240
|
+
* Pre-check major version upgrade context.
|
|
2241
|
+
*/
|
|
2242
|
+
export interface Schema$PreCheckMajorVersionUpgradeContext {
|
|
2243
|
+
/**
|
|
2244
|
+
* Optional. This is always `sql#preCheckMajorVersionUpgradeContext`.
|
|
2245
|
+
*/
|
|
2246
|
+
kind?: string | null;
|
|
2247
|
+
/**
|
|
2248
|
+
* Output only. The responses from the precheck operation.
|
|
2249
|
+
*/
|
|
2250
|
+
preCheckResponse?: Schema$PreCheckResponse[];
|
|
2251
|
+
/**
|
|
2252
|
+
* Required. The target database version to upgrade to.
|
|
2253
|
+
*/
|
|
2254
|
+
targetDatabaseVersion?: string | null;
|
|
2255
|
+
}
|
|
2256
|
+
/**
|
|
2257
|
+
* Structured PreCheckResponse containing message, type, and required actions.
|
|
2258
|
+
*/
|
|
2259
|
+
export interface Schema$PreCheckResponse {
|
|
2260
|
+
/**
|
|
2261
|
+
* The actions that the user needs to take. Use repeated for multiple actions.
|
|
2262
|
+
*/
|
|
2263
|
+
actionsRequired?: string[] | null;
|
|
2264
|
+
/**
|
|
2265
|
+
* The message to be displayed to the user.
|
|
2266
|
+
*/
|
|
2267
|
+
message?: string | null;
|
|
2268
|
+
/**
|
|
2269
|
+
* The type of message whether it is an info, warning, or error.
|
|
2270
|
+
*/
|
|
2271
|
+
messageType?: string | null;
|
|
2272
|
+
}
|
|
2205
2273
|
/**
|
|
2206
2274
|
* Settings for an automatically-setup Private Service Connect consumer endpoint that is used to connect to a Cloud SQL instance.
|
|
2207
2275
|
*/
|
|
@@ -2261,13 +2329,50 @@ export namespace sqladmin_v1beta4 {
|
|
|
2261
2329
|
*/
|
|
2262
2330
|
message?: string | null;
|
|
2263
2331
|
/**
|
|
2264
|
-
* 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.
|
|
2265
2333
|
*/
|
|
2266
2334
|
partialResult?: boolean | null;
|
|
2267
2335
|
/**
|
|
2268
2336
|
* Rows returned by the SQL statement.
|
|
2269
2337
|
*/
|
|
2270
2338
|
rows?: Schema$Row[];
|
|
2339
|
+
/**
|
|
2340
|
+
* If results were truncated due to an error, details of that error.
|
|
2341
|
+
*/
|
|
2342
|
+
status?: Schema$Status;
|
|
2343
|
+
}
|
|
2344
|
+
/**
|
|
2345
|
+
* The read pool auto-scale configuration.
|
|
2346
|
+
*/
|
|
2347
|
+
export interface Schema$ReadPoolAutoScaleConfig {
|
|
2348
|
+
/**
|
|
2349
|
+
* Indicates whether read pool auto scaling supports scale in operations (removing nodes).
|
|
2350
|
+
*/
|
|
2351
|
+
disableScaleIn?: boolean | null;
|
|
2352
|
+
/**
|
|
2353
|
+
* Indicates whether read pool auto scaling is enabled.
|
|
2354
|
+
*/
|
|
2355
|
+
enabled?: boolean | null;
|
|
2356
|
+
/**
|
|
2357
|
+
* Maximum number of read pool nodes to be maintained.
|
|
2358
|
+
*/
|
|
2359
|
+
maxNodeCount?: number | null;
|
|
2360
|
+
/**
|
|
2361
|
+
* Minimum number of read pool nodes to be maintained.
|
|
2362
|
+
*/
|
|
2363
|
+
minNodeCount?: number | null;
|
|
2364
|
+
/**
|
|
2365
|
+
* The cooldown period for scale in operations.
|
|
2366
|
+
*/
|
|
2367
|
+
scaleInCooldownSeconds?: number | null;
|
|
2368
|
+
/**
|
|
2369
|
+
* The cooldown period for scale out operations.
|
|
2370
|
+
*/
|
|
2371
|
+
scaleOutCooldownSeconds?: number | null;
|
|
2372
|
+
/**
|
|
2373
|
+
* Optional. Target metrics for read pool auto scaling.
|
|
2374
|
+
*/
|
|
2375
|
+
targetMetrics?: Schema$TargetMetric[];
|
|
2271
2376
|
}
|
|
2272
2377
|
/**
|
|
2273
2378
|
* Read-replica configuration for connecting to the primary instance.
|
|
@@ -2402,6 +2507,10 @@ export namespace sqladmin_v1beta4 {
|
|
|
2402
2507
|
* The App Engine app IDs that can access this instance. (Deprecated) Applied to First Generation instances only.
|
|
2403
2508
|
*/
|
|
2404
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;
|
|
2405
2514
|
/**
|
|
2406
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).
|
|
2407
2516
|
*/
|
|
@@ -2426,6 +2535,10 @@ export namespace sqladmin_v1beta4 {
|
|
|
2426
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.
|
|
2427
2536
|
*/
|
|
2428
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;
|
|
2429
2542
|
/**
|
|
2430
2543
|
* The database flags passed to the instance at startup.
|
|
2431
2544
|
*/
|
|
@@ -2506,6 +2619,10 @@ export namespace sqladmin_v1beta4 {
|
|
|
2506
2619
|
* The pricing plan for this instance. This can be either `PER_USE` or `PACKAGE`. Only `PER_USE` is supported for Second Generation instances.
|
|
2507
2620
|
*/
|
|
2508
2621
|
pricingPlan?: string | null;
|
|
2622
|
+
/**
|
|
2623
|
+
* Optional. The read pool auto-scale configuration for the instance.
|
|
2624
|
+
*/
|
|
2625
|
+
readPoolAutoScaleConfig?: Schema$ReadPoolAutoScaleConfig;
|
|
2509
2626
|
/**
|
|
2510
2627
|
* Optional. Configuration value for recreation of replica after certain replication lag.
|
|
2511
2628
|
*/
|
|
@@ -2606,6 +2723,10 @@ export namespace sqladmin_v1beta4 {
|
|
|
2606
2723
|
* Execute SQL statements response.
|
|
2607
2724
|
*/
|
|
2608
2725
|
export interface Schema$SqlInstancesExecuteSqlResponse {
|
|
2726
|
+
/**
|
|
2727
|
+
* A list of notices and warnings generated during query execution. For PostgreSQL, this includes all notices and warnings. For MySQL, this includes warnings generated by the last executed statement. To retrieve all warnings for a multi-statement query, `SHOW WARNINGS` must be executed after each statement.
|
|
2728
|
+
*/
|
|
2729
|
+
messages?: Schema$Message[];
|
|
2609
2730
|
/**
|
|
2610
2731
|
* The additional metadata information regarding the execution of the SQL statements.
|
|
2611
2732
|
*/
|
|
@@ -2614,6 +2735,10 @@ export namespace sqladmin_v1beta4 {
|
|
|
2614
2735
|
* The list of results after executing all the SQL statements.
|
|
2615
2736
|
*/
|
|
2616
2737
|
results?: Schema$QueryResult[];
|
|
2738
|
+
/**
|
|
2739
|
+
* Contains the error from the database if the SQL execution failed.
|
|
2740
|
+
*/
|
|
2741
|
+
status?: Schema$Status;
|
|
2617
2742
|
}
|
|
2618
2743
|
/**
|
|
2619
2744
|
* Instance get disk shrink config response.
|
|
@@ -2636,6 +2761,10 @@ export namespace sqladmin_v1beta4 {
|
|
|
2636
2761
|
* Instance get latest recovery time response.
|
|
2637
2762
|
*/
|
|
2638
2763
|
export interface Schema$SqlInstancesGetLatestRecoveryTimeResponse {
|
|
2764
|
+
/**
|
|
2765
|
+
* Timestamp, identifies the earliest recovery time of the source instance.
|
|
2766
|
+
*/
|
|
2767
|
+
earliestRecoveryTime?: string | null;
|
|
2639
2768
|
/**
|
|
2640
2769
|
* This is always `sql#getLatestRecoveryTime`.
|
|
2641
2770
|
*/
|
|
@@ -2937,6 +3066,23 @@ export namespace sqladmin_v1beta4 {
|
|
|
2937
3066
|
*/
|
|
2938
3067
|
kind?: string | null;
|
|
2939
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
|
+
}
|
|
2940
3086
|
/**
|
|
2941
3087
|
* Initial sync flags for certain Cloud SQL APIs. Currently used for the MySQL external server initial dump.
|
|
2942
3088
|
*/
|
|
@@ -2950,6 +3096,19 @@ export namespace sqladmin_v1beta4 {
|
|
|
2950
3096
|
*/
|
|
2951
3097
|
value?: string | null;
|
|
2952
3098
|
}
|
|
3099
|
+
/**
|
|
3100
|
+
* Target metric for read pool auto scaling.
|
|
3101
|
+
*/
|
|
3102
|
+
export interface Schema$TargetMetric {
|
|
3103
|
+
/**
|
|
3104
|
+
* The metric name to be used for auto scaling.
|
|
3105
|
+
*/
|
|
3106
|
+
metric?: string | null;
|
|
3107
|
+
/**
|
|
3108
|
+
* The target value for the metric.
|
|
3109
|
+
*/
|
|
3110
|
+
targetValue?: number | null;
|
|
3111
|
+
}
|
|
2953
3112
|
/**
|
|
2954
3113
|
* A Google Cloud SQL service tier resource.
|
|
2955
3114
|
*/
|
|
@@ -3017,6 +3176,14 @@ export namespace sqladmin_v1beta4 {
|
|
|
3017
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.
|
|
3018
3177
|
*/
|
|
3019
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;
|
|
3183
|
+
/**
|
|
3184
|
+
* Indicates if a group is active or inactive for IAM database authentication.
|
|
3185
|
+
*/
|
|
3186
|
+
iamStatus?: string | null;
|
|
3020
3187
|
/**
|
|
3021
3188
|
* 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.
|
|
3022
3189
|
*/
|
|
@@ -3165,6 +3332,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
3165
3332
|
* // "kind": "my_kind",
|
|
3166
3333
|
* // "name": "my_name",
|
|
3167
3334
|
* // "operationType": "my_operationType",
|
|
3335
|
+
* // "preCheckMajorVersionUpgradeContext": {},
|
|
3168
3336
|
* // "selfLink": "my_selfLink",
|
|
3169
3337
|
* // "startTime": "my_startTime",
|
|
3170
3338
|
* // "status": "my_status",
|
|
@@ -3512,6 +3680,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
3512
3680
|
* // "kind": "my_kind",
|
|
3513
3681
|
* // "name": "my_name",
|
|
3514
3682
|
* // "operationType": "my_operationType",
|
|
3683
|
+
* // "preCheckMajorVersionUpgradeContext": {},
|
|
3515
3684
|
* // "selfLink": "my_selfLink",
|
|
3516
3685
|
* // "startTime": "my_startTime",
|
|
3517
3686
|
* // "status": "my_status",
|
|
@@ -3920,6 +4089,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
3920
4089
|
* // "kind": "my_kind",
|
|
3921
4090
|
* // "name": "my_name",
|
|
3922
4091
|
* // "operationType": "my_operationType",
|
|
4092
|
+
* // "preCheckMajorVersionUpgradeContext": {},
|
|
3923
4093
|
* // "selfLink": "my_selfLink",
|
|
3924
4094
|
* // "startTime": "my_startTime",
|
|
3925
4095
|
* // "status": "my_status",
|
|
@@ -4078,6 +4248,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
4078
4248
|
* // "kind": "my_kind",
|
|
4079
4249
|
* // "name": "my_name",
|
|
4080
4250
|
* // "operationType": "my_operationType",
|
|
4251
|
+
* // "preCheckMajorVersionUpgradeContext": {},
|
|
4081
4252
|
* // "selfLink": "my_selfLink",
|
|
4082
4253
|
* // "startTime": "my_startTime",
|
|
4083
4254
|
* // "status": "my_status",
|
|
@@ -4580,6 +4751,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
4580
4751
|
* // "kind": "my_kind",
|
|
4581
4752
|
* // "name": "my_name",
|
|
4582
4753
|
* // "operationType": "my_operationType",
|
|
4754
|
+
* // "preCheckMajorVersionUpgradeContext": {},
|
|
4583
4755
|
* // "selfLink": "my_selfLink",
|
|
4584
4756
|
* // "startTime": "my_startTime",
|
|
4585
4757
|
* // "status": "my_status",
|
|
@@ -5164,6 +5336,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
5164
5336
|
* // "kind": "my_kind",
|
|
5165
5337
|
* // "name": "my_name",
|
|
5166
5338
|
* // "operationType": "my_operationType",
|
|
5339
|
+
* // "preCheckMajorVersionUpgradeContext": {},
|
|
5167
5340
|
* // "selfLink": "my_selfLink",
|
|
5168
5341
|
* // "startTime": "my_startTime",
|
|
5169
5342
|
* // "status": "my_status",
|
|
@@ -5490,6 +5663,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
5490
5663
|
* // "kind": "my_kind",
|
|
5491
5664
|
* // "name": "my_name",
|
|
5492
5665
|
* // "operationType": "my_operationType",
|
|
5666
|
+
* // "preCheckMajorVersionUpgradeContext": {},
|
|
5493
5667
|
* // "selfLink": "my_selfLink",
|
|
5494
5668
|
* // "startTime": "my_startTime",
|
|
5495
5669
|
* // "status": "my_status",
|
|
@@ -5811,6 +5985,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
5811
5985
|
* // "kind": "my_kind",
|
|
5812
5986
|
* // "name": "my_name",
|
|
5813
5987
|
* // "operationType": "my_operationType",
|
|
5988
|
+
* // "preCheckMajorVersionUpgradeContext": {},
|
|
5814
5989
|
* // "selfLink": "my_selfLink",
|
|
5815
5990
|
* // "startTime": "my_startTime",
|
|
5816
5991
|
* // "status": "my_status",
|
|
@@ -5988,6 +6163,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
5988
6163
|
* // "kind": "my_kind",
|
|
5989
6164
|
* // "name": "my_name",
|
|
5990
6165
|
* // "operationType": "my_operationType",
|
|
6166
|
+
* // "preCheckMajorVersionUpgradeContext": {},
|
|
5991
6167
|
* // "selfLink": "my_selfLink",
|
|
5992
6168
|
* // "startTime": "my_startTime",
|
|
5993
6169
|
* // "status": "my_status",
|
|
@@ -6563,6 +6739,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
6563
6739
|
* // "kind": "my_kind",
|
|
6564
6740
|
* // "name": "my_name",
|
|
6565
6741
|
* // "operationType": "my_operationType",
|
|
6742
|
+
* // "preCheckMajorVersionUpgradeContext": {},
|
|
6566
6743
|
* // "selfLink": "my_selfLink",
|
|
6567
6744
|
* // "startTime": "my_startTime",
|
|
6568
6745
|
* // "status": "my_status",
|
|
@@ -6723,6 +6900,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
6723
6900
|
* // "kind": "my_kind",
|
|
6724
6901
|
* // "name": "my_name",
|
|
6725
6902
|
* // "operationType": "my_operationType",
|
|
6903
|
+
* // "preCheckMajorVersionUpgradeContext": {},
|
|
6726
6904
|
* // "selfLink": "my_selfLink",
|
|
6727
6905
|
* // "startTime": "my_startTime",
|
|
6728
6906
|
* // "status": "my_status",
|
|
@@ -6893,6 +7071,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
6893
7071
|
* // "kind": "my_kind",
|
|
6894
7072
|
* // "name": "my_name",
|
|
6895
7073
|
* // "operationType": "my_operationType",
|
|
7074
|
+
* // "preCheckMajorVersionUpgradeContext": {},
|
|
6896
7075
|
* // "selfLink": "my_selfLink",
|
|
6897
7076
|
* // "startTime": "my_startTime",
|
|
6898
7077
|
* // "status": "my_status",
|
|
@@ -7060,6 +7239,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
7060
7239
|
* // "kind": "my_kind",
|
|
7061
7240
|
* // "name": "my_name",
|
|
7062
7241
|
* // "operationType": "my_operationType",
|
|
7242
|
+
* // "preCheckMajorVersionUpgradeContext": {},
|
|
7063
7243
|
* // "selfLink": "my_selfLink",
|
|
7064
7244
|
* // "startTime": "my_startTime",
|
|
7065
7245
|
* // "status": "my_status",
|
|
@@ -7226,6 +7406,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
7226
7406
|
* // "kind": "my_kind",
|
|
7227
7407
|
* // "name": "my_name",
|
|
7228
7408
|
* // "operationType": "my_operationType",
|
|
7409
|
+
* // "preCheckMajorVersionUpgradeContext": {},
|
|
7229
7410
|
* // "selfLink": "my_selfLink",
|
|
7230
7411
|
* // "startTime": "my_startTime",
|
|
7231
7412
|
* // "status": "my_status",
|
|
@@ -7393,6 +7574,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
7393
7574
|
* // "kind": "my_kind",
|
|
7394
7575
|
* // "name": "my_name",
|
|
7395
7576
|
* // "operationType": "my_operationType",
|
|
7577
|
+
* // "preCheckMajorVersionUpgradeContext": {},
|
|
7396
7578
|
* // "selfLink": "my_selfLink",
|
|
7397
7579
|
* // "startTime": "my_startTime",
|
|
7398
7580
|
* // "status": "my_status",
|
|
@@ -7544,8 +7726,10 @@ export namespace sqladmin_v1beta4 {
|
|
|
7544
7726
|
* // {
|
|
7545
7727
|
* // "autoIamAuthn": false,
|
|
7546
7728
|
* // "database": "my_database",
|
|
7729
|
+
* // "partialResultMode": "my_partialResultMode",
|
|
7547
7730
|
* // "rowLimit": "my_rowLimit",
|
|
7548
|
-
* // "sqlStatement": "my_sqlStatement"
|
|
7731
|
+
* // "sqlStatement": "my_sqlStatement",
|
|
7732
|
+
* // "user": "my_user"
|
|
7549
7733
|
* // }
|
|
7550
7734
|
* },
|
|
7551
7735
|
* });
|
|
@@ -7553,8 +7737,10 @@ export namespace sqladmin_v1beta4 {
|
|
|
7553
7737
|
*
|
|
7554
7738
|
* // Example response
|
|
7555
7739
|
* // {
|
|
7740
|
+
* // "messages": [],
|
|
7556
7741
|
* // "metadata": {},
|
|
7557
|
-
* // "results": []
|
|
7742
|
+
* // "results": [],
|
|
7743
|
+
* // "status": {}
|
|
7558
7744
|
* // }
|
|
7559
7745
|
* }
|
|
7560
7746
|
*
|
|
@@ -7718,6 +7904,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
7718
7904
|
* // "kind": "my_kind",
|
|
7719
7905
|
* // "name": "my_name",
|
|
7720
7906
|
* // "operationType": "my_operationType",
|
|
7907
|
+
* // "preCheckMajorVersionUpgradeContext": {},
|
|
7721
7908
|
* // "selfLink": "my_selfLink",
|
|
7722
7909
|
* // "startTime": "my_startTime",
|
|
7723
7910
|
* // "status": "my_status",
|
|
@@ -7885,6 +8072,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
7885
8072
|
* // "kind": "my_kind",
|
|
7886
8073
|
* // "name": "my_name",
|
|
7887
8074
|
* // "operationType": "my_operationType",
|
|
8075
|
+
* // "preCheckMajorVersionUpgradeContext": {},
|
|
7888
8076
|
* // "selfLink": "my_selfLink",
|
|
7889
8077
|
* // "startTime": "my_startTime",
|
|
7890
8078
|
* // "status": "my_status",
|
|
@@ -8240,6 +8428,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
8240
8428
|
* // "kind": "my_kind",
|
|
8241
8429
|
* // "name": "my_name",
|
|
8242
8430
|
* // "operationType": "my_operationType",
|
|
8431
|
+
* // "preCheckMajorVersionUpgradeContext": {},
|
|
8243
8432
|
* // "selfLink": "my_selfLink",
|
|
8244
8433
|
* // "startTime": "my_startTime",
|
|
8245
8434
|
* // "status": "my_status",
|
|
@@ -8455,6 +8644,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
8455
8644
|
* // "kind": "my_kind",
|
|
8456
8645
|
* // "name": "my_name",
|
|
8457
8646
|
* // "operationType": "my_operationType",
|
|
8647
|
+
* // "preCheckMajorVersionUpgradeContext": {},
|
|
8458
8648
|
* // "selfLink": "my_selfLink",
|
|
8459
8649
|
* // "startTime": "my_startTime",
|
|
8460
8650
|
* // "status": "my_status",
|
|
@@ -9125,6 +9315,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
9125
9315
|
* // "kind": "my_kind",
|
|
9126
9316
|
* // "name": "my_name",
|
|
9127
9317
|
* // "operationType": "my_operationType",
|
|
9318
|
+
* // "preCheckMajorVersionUpgradeContext": {},
|
|
9128
9319
|
* // "selfLink": "my_selfLink",
|
|
9129
9320
|
* // "startTime": "my_startTime",
|
|
9130
9321
|
* // "status": "my_status",
|
|
@@ -9295,6 +9486,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
9295
9486
|
* // "kind": "my_kind",
|
|
9296
9487
|
* // "name": "my_name",
|
|
9297
9488
|
* // "operationType": "my_operationType",
|
|
9489
|
+
* // "preCheckMajorVersionUpgradeContext": {},
|
|
9298
9490
|
* // "selfLink": "my_selfLink",
|
|
9299
9491
|
* // "startTime": "my_startTime",
|
|
9300
9492
|
* // "status": "my_status",
|
|
@@ -9400,6 +9592,177 @@ export namespace sqladmin_v1beta4 {
|
|
|
9400
9592
|
}
|
|
9401
9593
|
}
|
|
9402
9594
|
|
|
9595
|
+
/**
|
|
9596
|
+
* Execute MVU Pre-checks
|
|
9597
|
+
* @example
|
|
9598
|
+
* ```js
|
|
9599
|
+
* // Before running the sample:
|
|
9600
|
+
* // - Enable the API at:
|
|
9601
|
+
* // https://console.developers.google.com/apis/api/sqladmin.googleapis.com
|
|
9602
|
+
* // - Login into gcloud by running:
|
|
9603
|
+
* // ```sh
|
|
9604
|
+
* // $ gcloud auth application-default login
|
|
9605
|
+
* // ```
|
|
9606
|
+
* // - Install the npm module by running:
|
|
9607
|
+
* // ```sh
|
|
9608
|
+
* // $ npm install googleapis
|
|
9609
|
+
* // ```
|
|
9610
|
+
*
|
|
9611
|
+
* const {google} = require('googleapis');
|
|
9612
|
+
* const sqladmin = google.sqladmin('v1beta4');
|
|
9613
|
+
*
|
|
9614
|
+
* async function main() {
|
|
9615
|
+
* const auth = new google.auth.GoogleAuth({
|
|
9616
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
9617
|
+
* scopes: [
|
|
9618
|
+
* 'https://www.googleapis.com/auth/cloud-platform',
|
|
9619
|
+
* 'https://www.googleapis.com/auth/sqlservice.admin',
|
|
9620
|
+
* ],
|
|
9621
|
+
* });
|
|
9622
|
+
*
|
|
9623
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
9624
|
+
* const authClient = await auth.getClient();
|
|
9625
|
+
* google.options({auth: authClient});
|
|
9626
|
+
*
|
|
9627
|
+
* // Do the magic
|
|
9628
|
+
* const res = await sql.instances.preCheckMajorVersionUpgrade({
|
|
9629
|
+
* // Required. Cloud SQL instance ID. This does not include the project ID.
|
|
9630
|
+
* instance: 'placeholder-value',
|
|
9631
|
+
* // Required. Project ID of the project that contains the instance.
|
|
9632
|
+
* project: 'placeholder-value',
|
|
9633
|
+
*
|
|
9634
|
+
* // Request body metadata
|
|
9635
|
+
* requestBody: {
|
|
9636
|
+
* // request body parameters
|
|
9637
|
+
* // {
|
|
9638
|
+
* // "preCheckMajorVersionUpgradeContext": {}
|
|
9639
|
+
* // }
|
|
9640
|
+
* },
|
|
9641
|
+
* });
|
|
9642
|
+
* console.log(res.data);
|
|
9643
|
+
*
|
|
9644
|
+
* // Example response
|
|
9645
|
+
* // {
|
|
9646
|
+
* // "acquireSsrsLeaseContext": {},
|
|
9647
|
+
* // "apiWarning": {},
|
|
9648
|
+
* // "backupContext": {},
|
|
9649
|
+
* // "endTime": "my_endTime",
|
|
9650
|
+
* // "error": {},
|
|
9651
|
+
* // "exportContext": {},
|
|
9652
|
+
* // "importContext": {},
|
|
9653
|
+
* // "insertTime": "my_insertTime",
|
|
9654
|
+
* // "kind": "my_kind",
|
|
9655
|
+
* // "name": "my_name",
|
|
9656
|
+
* // "operationType": "my_operationType",
|
|
9657
|
+
* // "preCheckMajorVersionUpgradeContext": {},
|
|
9658
|
+
* // "selfLink": "my_selfLink",
|
|
9659
|
+
* // "startTime": "my_startTime",
|
|
9660
|
+
* // "status": "my_status",
|
|
9661
|
+
* // "subOperationType": {},
|
|
9662
|
+
* // "targetId": "my_targetId",
|
|
9663
|
+
* // "targetLink": "my_targetLink",
|
|
9664
|
+
* // "targetProject": "my_targetProject",
|
|
9665
|
+
* // "user": "my_user"
|
|
9666
|
+
* // }
|
|
9667
|
+
* }
|
|
9668
|
+
*
|
|
9669
|
+
* main().catch(e => {
|
|
9670
|
+
* console.error(e);
|
|
9671
|
+
* throw e;
|
|
9672
|
+
* });
|
|
9673
|
+
*
|
|
9674
|
+
* ```
|
|
9675
|
+
*
|
|
9676
|
+
* @param params - Parameters for request
|
|
9677
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
9678
|
+
* @param callback - Optional callback that handles the response.
|
|
9679
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
9680
|
+
*/
|
|
9681
|
+
preCheckMajorVersionUpgrade(
|
|
9682
|
+
params: Params$Resource$Instances$Precheckmajorversionupgrade,
|
|
9683
|
+
options: StreamMethodOptions
|
|
9684
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
9685
|
+
preCheckMajorVersionUpgrade(
|
|
9686
|
+
params?: Params$Resource$Instances$Precheckmajorversionupgrade,
|
|
9687
|
+
options?: MethodOptions
|
|
9688
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
9689
|
+
preCheckMajorVersionUpgrade(
|
|
9690
|
+
params: Params$Resource$Instances$Precheckmajorversionupgrade,
|
|
9691
|
+
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
9692
|
+
callback: BodyResponseCallback<Readable>
|
|
9693
|
+
): void;
|
|
9694
|
+
preCheckMajorVersionUpgrade(
|
|
9695
|
+
params: Params$Resource$Instances$Precheckmajorversionupgrade,
|
|
9696
|
+
options: MethodOptions | BodyResponseCallback<Schema$Operation>,
|
|
9697
|
+
callback: BodyResponseCallback<Schema$Operation>
|
|
9698
|
+
): void;
|
|
9699
|
+
preCheckMajorVersionUpgrade(
|
|
9700
|
+
params: Params$Resource$Instances$Precheckmajorversionupgrade,
|
|
9701
|
+
callback: BodyResponseCallback<Schema$Operation>
|
|
9702
|
+
): void;
|
|
9703
|
+
preCheckMajorVersionUpgrade(
|
|
9704
|
+
callback: BodyResponseCallback<Schema$Operation>
|
|
9705
|
+
): void;
|
|
9706
|
+
preCheckMajorVersionUpgrade(
|
|
9707
|
+
paramsOrCallback?:
|
|
9708
|
+
| Params$Resource$Instances$Precheckmajorversionupgrade
|
|
9709
|
+
| BodyResponseCallback<Schema$Operation>
|
|
9710
|
+
| BodyResponseCallback<Readable>,
|
|
9711
|
+
optionsOrCallback?:
|
|
9712
|
+
| MethodOptions
|
|
9713
|
+
| StreamMethodOptions
|
|
9714
|
+
| BodyResponseCallback<Schema$Operation>
|
|
9715
|
+
| BodyResponseCallback<Readable>,
|
|
9716
|
+
callback?:
|
|
9717
|
+
| BodyResponseCallback<Schema$Operation>
|
|
9718
|
+
| BodyResponseCallback<Readable>
|
|
9719
|
+
):
|
|
9720
|
+
| void
|
|
9721
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
9722
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
9723
|
+
let params = (paramsOrCallback ||
|
|
9724
|
+
{}) as Params$Resource$Instances$Precheckmajorversionupgrade;
|
|
9725
|
+
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
9726
|
+
|
|
9727
|
+
if (typeof paramsOrCallback === 'function') {
|
|
9728
|
+
callback = paramsOrCallback;
|
|
9729
|
+
params = {} as Params$Resource$Instances$Precheckmajorversionupgrade;
|
|
9730
|
+
options = {};
|
|
9731
|
+
}
|
|
9732
|
+
|
|
9733
|
+
if (typeof optionsOrCallback === 'function') {
|
|
9734
|
+
callback = optionsOrCallback;
|
|
9735
|
+
options = {};
|
|
9736
|
+
}
|
|
9737
|
+
|
|
9738
|
+
const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';
|
|
9739
|
+
const parameters = {
|
|
9740
|
+
options: Object.assign(
|
|
9741
|
+
{
|
|
9742
|
+
url: (
|
|
9743
|
+
rootUrl +
|
|
9744
|
+
'/sql/v1beta4/projects/{project}/instances/{instance}/preCheckMajorVersionUpgrade'
|
|
9745
|
+
).replace(/([^:]\/)\/+/g, '$1'),
|
|
9746
|
+
method: 'POST',
|
|
9747
|
+
apiVersion: '',
|
|
9748
|
+
},
|
|
9749
|
+
options
|
|
9750
|
+
),
|
|
9751
|
+
params,
|
|
9752
|
+
requiredParams: ['project', 'instance'],
|
|
9753
|
+
pathParams: ['instance', 'project'],
|
|
9754
|
+
context: this.context,
|
|
9755
|
+
};
|
|
9756
|
+
if (callback) {
|
|
9757
|
+
createAPIRequest<Schema$Operation>(
|
|
9758
|
+
parameters,
|
|
9759
|
+
callback as BodyResponseCallback<unknown>
|
|
9760
|
+
);
|
|
9761
|
+
} else {
|
|
9762
|
+
return createAPIRequest<Schema$Operation>(parameters);
|
|
9763
|
+
}
|
|
9764
|
+
}
|
|
9765
|
+
|
|
9403
9766
|
/**
|
|
9404
9767
|
* Promotes the read replica instance to be an independent Cloud SQL primary instance. Using this operation might cause your instance to restart.
|
|
9405
9768
|
* @example
|
|
@@ -9456,6 +9819,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
9456
9819
|
* // "kind": "my_kind",
|
|
9457
9820
|
* // "name": "my_name",
|
|
9458
9821
|
* // "operationType": "my_operationType",
|
|
9822
|
+
* // "preCheckMajorVersionUpgradeContext": {},
|
|
9459
9823
|
* // "selfLink": "my_selfLink",
|
|
9460
9824
|
* // "startTime": "my_startTime",
|
|
9461
9825
|
* // "status": "my_status",
|
|
@@ -9624,6 +9988,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
9624
9988
|
* // "kind": "my_kind",
|
|
9625
9989
|
* // "name": "my_name",
|
|
9626
9990
|
* // "operationType": "my_operationType",
|
|
9991
|
+
* // "preCheckMajorVersionUpgradeContext": {},
|
|
9627
9992
|
* // "selfLink": "my_selfLink",
|
|
9628
9993
|
* // "startTime": "my_startTime",
|
|
9629
9994
|
* // "status": "my_status",
|
|
@@ -9918,6 +10283,8 @@ export namespace sqladmin_v1beta4 {
|
|
|
9918
10283
|
* const res = await sql.instances.resetSslConfig({
|
|
9919
10284
|
* // Cloud SQL instance ID. This does not include the project ID.
|
|
9920
10285
|
* instance: 'placeholder-value',
|
|
10286
|
+
* // Optional. Reset SSL mode to use.
|
|
10287
|
+
* mode: 'placeholder-value',
|
|
9921
10288
|
* // Project ID of the project that contains the instance.
|
|
9922
10289
|
* project: 'placeholder-value',
|
|
9923
10290
|
* });
|
|
@@ -9936,6 +10303,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
9936
10303
|
* // "kind": "my_kind",
|
|
9937
10304
|
* // "name": "my_name",
|
|
9938
10305
|
* // "operationType": "my_operationType",
|
|
10306
|
+
* // "preCheckMajorVersionUpgradeContext": {},
|
|
9939
10307
|
* // "selfLink": "my_selfLink",
|
|
9940
10308
|
* // "startTime": "my_startTime",
|
|
9941
10309
|
* // "status": "my_status",
|
|
@@ -10096,6 +10464,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
10096
10464
|
* // "kind": "my_kind",
|
|
10097
10465
|
* // "name": "my_name",
|
|
10098
10466
|
* // "operationType": "my_operationType",
|
|
10467
|
+
* // "preCheckMajorVersionUpgradeContext": {},
|
|
10099
10468
|
* // "selfLink": "my_selfLink",
|
|
10100
10469
|
* // "startTime": "my_startTime",
|
|
10101
10470
|
* // "status": "my_status",
|
|
@@ -10268,6 +10637,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
10268
10637
|
* // "kind": "my_kind",
|
|
10269
10638
|
* // "name": "my_name",
|
|
10270
10639
|
* // "operationType": "my_operationType",
|
|
10640
|
+
* // "preCheckMajorVersionUpgradeContext": {},
|
|
10271
10641
|
* // "selfLink": "my_selfLink",
|
|
10272
10642
|
* // "startTime": "my_startTime",
|
|
10273
10643
|
* // "status": "my_status",
|
|
@@ -10436,6 +10806,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
10436
10806
|
* // "kind": "my_kind",
|
|
10437
10807
|
* // "name": "my_name",
|
|
10438
10808
|
* // "operationType": "my_operationType",
|
|
10809
|
+
* // "preCheckMajorVersionUpgradeContext": {},
|
|
10439
10810
|
* // "selfLink": "my_selfLink",
|
|
10440
10811
|
* // "startTime": "my_startTime",
|
|
10441
10812
|
* // "status": "my_status",
|
|
@@ -10604,6 +10975,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
10604
10975
|
* // "kind": "my_kind",
|
|
10605
10976
|
* // "name": "my_name",
|
|
10606
10977
|
* // "operationType": "my_operationType",
|
|
10978
|
+
* // "preCheckMajorVersionUpgradeContext": {},
|
|
10607
10979
|
* // "selfLink": "my_selfLink",
|
|
10608
10980
|
* // "startTime": "my_startTime",
|
|
10609
10981
|
* // "status": "my_status",
|
|
@@ -10766,6 +11138,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
10766
11138
|
* // "kind": "my_kind",
|
|
10767
11139
|
* // "name": "my_name",
|
|
10768
11140
|
* // "operationType": "my_operationType",
|
|
11141
|
+
* // "preCheckMajorVersionUpgradeContext": {},
|
|
10769
11142
|
* // "selfLink": "my_selfLink",
|
|
10770
11143
|
* // "startTime": "my_startTime",
|
|
10771
11144
|
* // "status": "my_status",
|
|
@@ -10926,6 +11299,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
10926
11299
|
* // "kind": "my_kind",
|
|
10927
11300
|
* // "name": "my_name",
|
|
10928
11301
|
* // "operationType": "my_operationType",
|
|
11302
|
+
* // "preCheckMajorVersionUpgradeContext": {},
|
|
10929
11303
|
* // "selfLink": "my_selfLink",
|
|
10930
11304
|
* // "startTime": "my_startTime",
|
|
10931
11305
|
* // "status": "my_status",
|
|
@@ -11088,6 +11462,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
11088
11462
|
* // "kind": "my_kind",
|
|
11089
11463
|
* // "name": "my_name",
|
|
11090
11464
|
* // "operationType": "my_operationType",
|
|
11465
|
+
* // "preCheckMajorVersionUpgradeContext": {},
|
|
11091
11466
|
* // "selfLink": "my_selfLink",
|
|
11092
11467
|
* // "startTime": "my_startTime",
|
|
11093
11468
|
* // "status": "my_status",
|
|
@@ -11256,6 +11631,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
11256
11631
|
* // "kind": "my_kind",
|
|
11257
11632
|
* // "name": "my_name",
|
|
11258
11633
|
* // "operationType": "my_operationType",
|
|
11634
|
+
* // "preCheckMajorVersionUpgradeContext": {},
|
|
11259
11635
|
* // "selfLink": "my_selfLink",
|
|
11260
11636
|
* // "startTime": "my_startTime",
|
|
11261
11637
|
* // "status": "my_status",
|
|
@@ -11474,6 +11850,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
11474
11850
|
* // "kind": "my_kind",
|
|
11475
11851
|
* // "name": "my_name",
|
|
11476
11852
|
* // "operationType": "my_operationType",
|
|
11853
|
+
* // "preCheckMajorVersionUpgradeContext": {},
|
|
11477
11854
|
* // "selfLink": "my_selfLink",
|
|
11478
11855
|
* // "startTime": "my_startTime",
|
|
11479
11856
|
* // "status": "my_status",
|
|
@@ -11839,6 +12216,22 @@ export namespace sqladmin_v1beta4 {
|
|
|
11839
12216
|
*/
|
|
11840
12217
|
requestBody?: Schema$PointInTimeRestoreContext;
|
|
11841
12218
|
}
|
|
12219
|
+
export interface Params$Resource$Instances$Precheckmajorversionupgrade
|
|
12220
|
+
extends StandardParameters {
|
|
12221
|
+
/**
|
|
12222
|
+
* Required. Cloud SQL instance ID. This does not include the project ID.
|
|
12223
|
+
*/
|
|
12224
|
+
instance?: string;
|
|
12225
|
+
/**
|
|
12226
|
+
* Required. Project ID of the project that contains the instance.
|
|
12227
|
+
*/
|
|
12228
|
+
project?: string;
|
|
12229
|
+
|
|
12230
|
+
/**
|
|
12231
|
+
* Request body metadata
|
|
12232
|
+
*/
|
|
12233
|
+
requestBody?: Schema$InstancesPreCheckMajorVersionUpgradeRequest;
|
|
12234
|
+
}
|
|
11842
12235
|
export interface Params$Resource$Instances$Promotereplica
|
|
11843
12236
|
extends StandardParameters {
|
|
11844
12237
|
/**
|
|
@@ -11887,6 +12280,10 @@ export namespace sqladmin_v1beta4 {
|
|
|
11887
12280
|
* Cloud SQL instance ID. This does not include the project ID.
|
|
11888
12281
|
*/
|
|
11889
12282
|
instance?: string;
|
|
12283
|
+
/**
|
|
12284
|
+
* Optional. Reset SSL mode to use.
|
|
12285
|
+
*/
|
|
12286
|
+
mode?: string;
|
|
11890
12287
|
/**
|
|
11891
12288
|
* Project ID of the project that contains the instance.
|
|
11892
12289
|
*/
|
|
@@ -12027,7 +12424,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
12027
12424
|
}
|
|
12028
12425
|
|
|
12029
12426
|
/**
|
|
12030
|
-
* Cancels an instance operation that has been performed on an instance.
|
|
12427
|
+
* Cancels an instance operation that has been performed on an instance. Ordinarily, this method name should be `CancelSqlOperation`.
|
|
12031
12428
|
* @example
|
|
12032
12429
|
* ```js
|
|
12033
12430
|
* // Before running the sample:
|
|
@@ -12220,6 +12617,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
12220
12617
|
* // "kind": "my_kind",
|
|
12221
12618
|
* // "name": "my_name",
|
|
12222
12619
|
* // "operationType": "my_operationType",
|
|
12620
|
+
* // "preCheckMajorVersionUpgradeContext": {},
|
|
12223
12621
|
* // "selfLink": "my_selfLink",
|
|
12224
12622
|
* // "startTime": "my_startTime",
|
|
12225
12623
|
* // "status": "my_status",
|
|
@@ -12727,6 +13125,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
12727
13125
|
*
|
|
12728
13126
|
* // Example response
|
|
12729
13127
|
* // {
|
|
13128
|
+
* // "earliestRecoveryTime": "my_earliestRecoveryTime",
|
|
12730
13129
|
* // "kind": "my_kind",
|
|
12731
13130
|
* // "latestRecoveryTime": "my_latestRecoveryTime"
|
|
12732
13131
|
* // }
|
|
@@ -12899,6 +13298,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
12899
13298
|
* // "kind": "my_kind",
|
|
12900
13299
|
* // "name": "my_name",
|
|
12901
13300
|
* // "operationType": "my_operationType",
|
|
13301
|
+
* // "preCheckMajorVersionUpgradeContext": {},
|
|
12902
13302
|
* // "selfLink": "my_selfLink",
|
|
12903
13303
|
* // "startTime": "my_startTime",
|
|
12904
13304
|
* // "status": "my_status",
|
|
@@ -13067,6 +13467,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
13067
13467
|
* // "kind": "my_kind",
|
|
13068
13468
|
* // "name": "my_name",
|
|
13069
13469
|
* // "operationType": "my_operationType",
|
|
13470
|
+
* // "preCheckMajorVersionUpgradeContext": {},
|
|
13070
13471
|
* // "selfLink": "my_selfLink",
|
|
13071
13472
|
* // "startTime": "my_startTime",
|
|
13072
13473
|
* // "status": "my_status",
|
|
@@ -13235,6 +13636,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
13235
13636
|
* // "kind": "my_kind",
|
|
13236
13637
|
* // "name": "my_name",
|
|
13237
13638
|
* // "operationType": "my_operationType",
|
|
13639
|
+
* // "preCheckMajorVersionUpgradeContext": {},
|
|
13238
13640
|
* // "selfLink": "my_selfLink",
|
|
13239
13641
|
* // "startTime": "my_startTime",
|
|
13240
13642
|
* // "status": "my_status",
|
|
@@ -13408,6 +13810,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
13408
13810
|
* // "kind": "my_kind",
|
|
13409
13811
|
* // "name": "my_name",
|
|
13410
13812
|
* // "operationType": "my_operationType",
|
|
13813
|
+
* // "preCheckMajorVersionUpgradeContext": {},
|
|
13411
13814
|
* // "selfLink": "my_selfLink",
|
|
13412
13815
|
* // "startTime": "my_startTime",
|
|
13413
13816
|
* // "status": "my_status",
|
|
@@ -14012,6 +14415,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
14012
14415
|
* // "kind": "my_kind",
|
|
14013
14416
|
* // "name": "my_name",
|
|
14014
14417
|
* // "operationType": "my_operationType",
|
|
14418
|
+
* // "preCheckMajorVersionUpgradeContext": {},
|
|
14015
14419
|
* // "selfLink": "my_selfLink",
|
|
14016
14420
|
* // "startTime": "my_startTime",
|
|
14017
14421
|
* // "status": "my_status",
|
|
@@ -14855,6 +15259,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
14855
15259
|
* // "kind": "my_kind",
|
|
14856
15260
|
* // "name": "my_name",
|
|
14857
15261
|
* // "operationType": "my_operationType",
|
|
15262
|
+
* // "preCheckMajorVersionUpgradeContext": {},
|
|
14858
15263
|
* // "selfLink": "my_selfLink",
|
|
14859
15264
|
* // "startTime": "my_startTime",
|
|
14860
15265
|
* // "status": "my_status",
|
|
@@ -15010,6 +15415,8 @@ export namespace sqladmin_v1beta4 {
|
|
|
15010
15415
|
* // "dualPasswordType": "my_dualPasswordType",
|
|
15011
15416
|
* // "etag": "my_etag",
|
|
15012
15417
|
* // "host": "my_host",
|
|
15418
|
+
* // "iamEmail": "my_iamEmail",
|
|
15419
|
+
* // "iamStatus": "my_iamStatus",
|
|
15013
15420
|
* // "instance": "my_instance",
|
|
15014
15421
|
* // "kind": "my_kind",
|
|
15015
15422
|
* // "name": "my_name",
|
|
@@ -15161,6 +15568,8 @@ export namespace sqladmin_v1beta4 {
|
|
|
15161
15568
|
* // "dualPasswordType": "my_dualPasswordType",
|
|
15162
15569
|
* // "etag": "my_etag",
|
|
15163
15570
|
* // "host": "my_host",
|
|
15571
|
+
* // "iamEmail": "my_iamEmail",
|
|
15572
|
+
* // "iamStatus": "my_iamStatus",
|
|
15164
15573
|
* // "instance": "my_instance",
|
|
15165
15574
|
* // "kind": "my_kind",
|
|
15166
15575
|
* // "name": "my_name",
|
|
@@ -15187,6 +15596,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
15187
15596
|
* // "kind": "my_kind",
|
|
15188
15597
|
* // "name": "my_name",
|
|
15189
15598
|
* // "operationType": "my_operationType",
|
|
15599
|
+
* // "preCheckMajorVersionUpgradeContext": {},
|
|
15190
15600
|
* // "selfLink": "my_selfLink",
|
|
15191
15601
|
* // "startTime": "my_startTime",
|
|
15192
15602
|
* // "status": "my_status",
|
|
@@ -15485,6 +15895,8 @@ export namespace sqladmin_v1beta4 {
|
|
|
15485
15895
|
* // "dualPasswordType": "my_dualPasswordType",
|
|
15486
15896
|
* // "etag": "my_etag",
|
|
15487
15897
|
* // "host": "my_host",
|
|
15898
|
+
* // "iamEmail": "my_iamEmail",
|
|
15899
|
+
* // "iamStatus": "my_iamStatus",
|
|
15488
15900
|
* // "instance": "my_instance",
|
|
15489
15901
|
* // "kind": "my_kind",
|
|
15490
15902
|
* // "name": "my_name",
|
|
@@ -15511,6 +15923,7 @@ export namespace sqladmin_v1beta4 {
|
|
|
15511
15923
|
* // "kind": "my_kind",
|
|
15512
15924
|
* // "name": "my_name",
|
|
15513
15925
|
* // "operationType": "my_operationType",
|
|
15926
|
+
* // "preCheckMajorVersionUpgradeContext": {},
|
|
15514
15927
|
* // "selfLink": "my_selfLink",
|
|
15515
15928
|
* // "startTime": "my_startTime",
|
|
15516
15929
|
* // "status": "my_status",
|