@googleapis/sqladmin 7.1.0 → 8.0.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
@@ -100,7 +100,7 @@ export namespace sqladmin_v1beta4 {
100
100
  }
101
101
 
102
102
  /**
103
- * sqladmin API (prod)
103
+ * Cloud SQL Admin API
104
104
  *
105
105
  * API for Cloud SQL database instance management
106
106
  *
@@ -163,6 +163,15 @@ export namespace sqladmin_v1beta4 {
163
163
  */
164
164
  value?: string | null;
165
165
  }
166
+ /**
167
+ * Specifies options for controlling advanced machine features.
168
+ */
169
+ export interface Schema$AdvancedMachineFeatures {
170
+ /**
171
+ * The number of threads per physical core.
172
+ */
173
+ threadsPerCore?: number | null;
174
+ }
166
175
  /**
167
176
  * An Admin API warning message.
168
177
  */
@@ -472,7 +481,7 @@ export namespace sqladmin_v1beta4 {
472
481
  */
473
482
  export interface Schema$DatabaseInstance {
474
483
  /**
475
- * List all maintenance versions applicable on the instance
484
+ * Output only. List all maintenance versions applicable on the instance
476
485
  */
477
486
  availableMaintenanceVersions?: string[] | null;
478
487
  /**
@@ -1458,6 +1467,15 @@ export namespace sqladmin_v1beta4 {
1458
1467
  */
1459
1468
  reuseInterval?: number | null;
1460
1469
  }
1470
+ /**
1471
+ * Perform disk shrink context.
1472
+ */
1473
+ export interface Schema$PerformDiskShrinkContext {
1474
+ /**
1475
+ * The target disk shrink size in GigaBytes.
1476
+ */
1477
+ targetSizeGb?: string | null;
1478
+ }
1461
1479
  /**
1462
1480
  * Read-replica configuration for connecting to the primary instance.
1463
1481
  */
@@ -1531,6 +1549,10 @@ export namespace sqladmin_v1beta4 {
1531
1549
  * Active Directory configuration, relevant only for Cloud SQL for SQL Server.
1532
1550
  */
1533
1551
  activeDirectoryConfig?: Schema$SqlActiveDirectoryConfig;
1552
+ /**
1553
+ * Specifies advance machine configuration for the instance relevant only for SQL Server.
1554
+ */
1555
+ advancedMachineFeatures?: Schema$AdvancedMachineFeatures;
1534
1556
  /**
1535
1557
  * The App Engine app IDs that can access this instance. (Deprecated) Applied to First Generation instances only.
1536
1558
  */
@@ -1670,6 +1692,19 @@ export namespace sqladmin_v1beta4 {
1670
1692
  */
1671
1693
  type?: string | null;
1672
1694
  }
1695
+ /**
1696
+ * Instance get disk shrink config response.
1697
+ */
1698
+ export interface Schema$SqlInstancesGetDiskShrinkConfigResponse {
1699
+ /**
1700
+ * This is always `sql#getDiskShrinkConfig`.
1701
+ */
1702
+ kind?: string | null;
1703
+ /**
1704
+ * The minimum size to which a disk can be shrunk in GigaBytes.
1705
+ */
1706
+ minimalTargetSizeGb?: string | null;
1707
+ }
1673
1708
  /**
1674
1709
  * Reschedule options for maintenance windows.
1675
1710
  */
@@ -1679,6 +1714,10 @@ export namespace sqladmin_v1beta4 {
1679
1714
  */
1680
1715
  reschedule?: Schema$Reschedule;
1681
1716
  }
1717
+ /**
1718
+ * Instance reset replica size request.
1719
+ */
1720
+ export interface Schema$SqlInstancesResetReplicaSizeRequest {}
1682
1721
  export interface Schema$SqlInstancesStartExternalSyncRequest {
1683
1722
  /**
1684
1723
  * MySQL-specific settings for start external sync.
@@ -8206,6 +8245,307 @@ export namespace sqladmin_v1beta4 {
8206
8245
  this.context = context;
8207
8246
  }
8208
8247
 
8248
+ /**
8249
+ * Get Disk Shrink Config for a given instance.
8250
+ * @example
8251
+ * ```js
8252
+ * // Before running the sample:
8253
+ * // - Enable the API at:
8254
+ * // https://console.developers.google.com/apis/api/sqladmin.googleapis.com
8255
+ * // - Login into gcloud by running:
8256
+ * // `$ gcloud auth application-default login`
8257
+ * // - Install the npm module by running:
8258
+ * // `$ npm install googleapis`
8259
+ *
8260
+ * const {google} = require('googleapis');
8261
+ * const sqladmin = google.sqladmin('v1beta4');
8262
+ *
8263
+ * async function main() {
8264
+ * const auth = new google.auth.GoogleAuth({
8265
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
8266
+ * scopes: [
8267
+ * 'https://www.googleapis.com/auth/cloud-platform',
8268
+ * 'https://www.googleapis.com/auth/sqlservice.admin',
8269
+ * ],
8270
+ * });
8271
+ *
8272
+ * // Acquire an auth client, and bind it to all future calls
8273
+ * const authClient = await auth.getClient();
8274
+ * google.options({auth: authClient});
8275
+ *
8276
+ * // Do the magic
8277
+ * const res = await sql.projects.instances.getDiskShrinkConfig({
8278
+ * // Cloud SQL instance ID. This does not include the project ID.
8279
+ * instance: 'placeholder-value',
8280
+ * // Project ID of the project that contains the instance.
8281
+ * project: 'placeholder-value',
8282
+ * });
8283
+ * console.log(res.data);
8284
+ *
8285
+ * // Example response
8286
+ * // {
8287
+ * // "kind": "my_kind",
8288
+ * // "minimalTargetSizeGb": "my_minimalTargetSizeGb"
8289
+ * // }
8290
+ * }
8291
+ *
8292
+ * main().catch(e => {
8293
+ * console.error(e);
8294
+ * throw e;
8295
+ * });
8296
+ *
8297
+ * ```
8298
+ *
8299
+ * @param params - Parameters for request
8300
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
8301
+ * @param callback - Optional callback that handles the response.
8302
+ * @returns A promise if used with async/await, or void if used with a callback.
8303
+ */
8304
+ getDiskShrinkConfig(
8305
+ params: Params$Resource$Projects$Instances$Getdiskshrinkconfig,
8306
+ options: StreamMethodOptions
8307
+ ): GaxiosPromise<Readable>;
8308
+ getDiskShrinkConfig(
8309
+ params?: Params$Resource$Projects$Instances$Getdiskshrinkconfig,
8310
+ options?: MethodOptions
8311
+ ): GaxiosPromise<Schema$SqlInstancesGetDiskShrinkConfigResponse>;
8312
+ getDiskShrinkConfig(
8313
+ params: Params$Resource$Projects$Instances$Getdiskshrinkconfig,
8314
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
8315
+ callback: BodyResponseCallback<Readable>
8316
+ ): void;
8317
+ getDiskShrinkConfig(
8318
+ params: Params$Resource$Projects$Instances$Getdiskshrinkconfig,
8319
+ options:
8320
+ | MethodOptions
8321
+ | BodyResponseCallback<Schema$SqlInstancesGetDiskShrinkConfigResponse>,
8322
+ callback: BodyResponseCallback<Schema$SqlInstancesGetDiskShrinkConfigResponse>
8323
+ ): void;
8324
+ getDiskShrinkConfig(
8325
+ params: Params$Resource$Projects$Instances$Getdiskshrinkconfig,
8326
+ callback: BodyResponseCallback<Schema$SqlInstancesGetDiskShrinkConfigResponse>
8327
+ ): void;
8328
+ getDiskShrinkConfig(
8329
+ callback: BodyResponseCallback<Schema$SqlInstancesGetDiskShrinkConfigResponse>
8330
+ ): void;
8331
+ getDiskShrinkConfig(
8332
+ paramsOrCallback?:
8333
+ | Params$Resource$Projects$Instances$Getdiskshrinkconfig
8334
+ | BodyResponseCallback<Schema$SqlInstancesGetDiskShrinkConfigResponse>
8335
+ | BodyResponseCallback<Readable>,
8336
+ optionsOrCallback?:
8337
+ | MethodOptions
8338
+ | StreamMethodOptions
8339
+ | BodyResponseCallback<Schema$SqlInstancesGetDiskShrinkConfigResponse>
8340
+ | BodyResponseCallback<Readable>,
8341
+ callback?:
8342
+ | BodyResponseCallback<Schema$SqlInstancesGetDiskShrinkConfigResponse>
8343
+ | BodyResponseCallback<Readable>
8344
+ ):
8345
+ | void
8346
+ | GaxiosPromise<Schema$SqlInstancesGetDiskShrinkConfigResponse>
8347
+ | GaxiosPromise<Readable> {
8348
+ let params = (paramsOrCallback ||
8349
+ {}) as Params$Resource$Projects$Instances$Getdiskshrinkconfig;
8350
+ let options = (optionsOrCallback || {}) as MethodOptions;
8351
+
8352
+ if (typeof paramsOrCallback === 'function') {
8353
+ callback = paramsOrCallback;
8354
+ params = {} as Params$Resource$Projects$Instances$Getdiskshrinkconfig;
8355
+ options = {};
8356
+ }
8357
+
8358
+ if (typeof optionsOrCallback === 'function') {
8359
+ callback = optionsOrCallback;
8360
+ options = {};
8361
+ }
8362
+
8363
+ const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';
8364
+ const parameters = {
8365
+ options: Object.assign(
8366
+ {
8367
+ url: (
8368
+ rootUrl +
8369
+ '/sql/v1beta4/projects/{project}/instances/{instance}/getDiskShrinkConfig'
8370
+ ).replace(/([^:]\/)\/+/g, '$1'),
8371
+ method: 'GET',
8372
+ },
8373
+ options
8374
+ ),
8375
+ params,
8376
+ requiredParams: ['project', 'instance'],
8377
+ pathParams: ['instance', 'project'],
8378
+ context: this.context,
8379
+ };
8380
+ if (callback) {
8381
+ createAPIRequest<Schema$SqlInstancesGetDiskShrinkConfigResponse>(
8382
+ parameters,
8383
+ callback as BodyResponseCallback<unknown>
8384
+ );
8385
+ } else {
8386
+ return createAPIRequest<Schema$SqlInstancesGetDiskShrinkConfigResponse>(
8387
+ parameters
8388
+ );
8389
+ }
8390
+ }
8391
+
8392
+ /**
8393
+ * Perform Disk Shrink on primary instance.
8394
+ * @example
8395
+ * ```js
8396
+ * // Before running the sample:
8397
+ * // - Enable the API at:
8398
+ * // https://console.developers.google.com/apis/api/sqladmin.googleapis.com
8399
+ * // - Login into gcloud by running:
8400
+ * // `$ gcloud auth application-default login`
8401
+ * // - Install the npm module by running:
8402
+ * // `$ npm install googleapis`
8403
+ *
8404
+ * const {google} = require('googleapis');
8405
+ * const sqladmin = google.sqladmin('v1beta4');
8406
+ *
8407
+ * async function main() {
8408
+ * const auth = new google.auth.GoogleAuth({
8409
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
8410
+ * scopes: [
8411
+ * 'https://www.googleapis.com/auth/cloud-platform',
8412
+ * 'https://www.googleapis.com/auth/sqlservice.admin',
8413
+ * ],
8414
+ * });
8415
+ *
8416
+ * // Acquire an auth client, and bind it to all future calls
8417
+ * const authClient = await auth.getClient();
8418
+ * google.options({auth: authClient});
8419
+ *
8420
+ * // Do the magic
8421
+ * const res = await sql.projects.instances.performDiskShrink({
8422
+ * // Cloud SQL instance ID. This does not include the project ID.
8423
+ * instance: 'placeholder-value',
8424
+ * // Project ID of the project that contains the instance.
8425
+ * project: 'placeholder-value',
8426
+ *
8427
+ * // Request body metadata
8428
+ * requestBody: {
8429
+ * // request body parameters
8430
+ * // {
8431
+ * // "targetSizeGb": "my_targetSizeGb"
8432
+ * // }
8433
+ * },
8434
+ * });
8435
+ * console.log(res.data);
8436
+ *
8437
+ * // Example response
8438
+ * // {
8439
+ * // "backupContext": {},
8440
+ * // "endTime": "my_endTime",
8441
+ * // "error": {},
8442
+ * // "exportContext": {},
8443
+ * // "importContext": {},
8444
+ * // "insertTime": "my_insertTime",
8445
+ * // "kind": "my_kind",
8446
+ * // "name": "my_name",
8447
+ * // "operationType": "my_operationType",
8448
+ * // "selfLink": "my_selfLink",
8449
+ * // "startTime": "my_startTime",
8450
+ * // "status": "my_status",
8451
+ * // "targetId": "my_targetId",
8452
+ * // "targetLink": "my_targetLink",
8453
+ * // "targetProject": "my_targetProject",
8454
+ * // "user": "my_user"
8455
+ * // }
8456
+ * }
8457
+ *
8458
+ * main().catch(e => {
8459
+ * console.error(e);
8460
+ * throw e;
8461
+ * });
8462
+ *
8463
+ * ```
8464
+ *
8465
+ * @param params - Parameters for request
8466
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
8467
+ * @param callback - Optional callback that handles the response.
8468
+ * @returns A promise if used with async/await, or void if used with a callback.
8469
+ */
8470
+ performDiskShrink(
8471
+ params: Params$Resource$Projects$Instances$Performdiskshrink,
8472
+ options: StreamMethodOptions
8473
+ ): GaxiosPromise<Readable>;
8474
+ performDiskShrink(
8475
+ params?: Params$Resource$Projects$Instances$Performdiskshrink,
8476
+ options?: MethodOptions
8477
+ ): GaxiosPromise<Schema$Operation>;
8478
+ performDiskShrink(
8479
+ params: Params$Resource$Projects$Instances$Performdiskshrink,
8480
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
8481
+ callback: BodyResponseCallback<Readable>
8482
+ ): void;
8483
+ performDiskShrink(
8484
+ params: Params$Resource$Projects$Instances$Performdiskshrink,
8485
+ options: MethodOptions | BodyResponseCallback<Schema$Operation>,
8486
+ callback: BodyResponseCallback<Schema$Operation>
8487
+ ): void;
8488
+ performDiskShrink(
8489
+ params: Params$Resource$Projects$Instances$Performdiskshrink,
8490
+ callback: BodyResponseCallback<Schema$Operation>
8491
+ ): void;
8492
+ performDiskShrink(callback: BodyResponseCallback<Schema$Operation>): void;
8493
+ performDiskShrink(
8494
+ paramsOrCallback?:
8495
+ | Params$Resource$Projects$Instances$Performdiskshrink
8496
+ | BodyResponseCallback<Schema$Operation>
8497
+ | BodyResponseCallback<Readable>,
8498
+ optionsOrCallback?:
8499
+ | MethodOptions
8500
+ | StreamMethodOptions
8501
+ | BodyResponseCallback<Schema$Operation>
8502
+ | BodyResponseCallback<Readable>,
8503
+ callback?:
8504
+ | BodyResponseCallback<Schema$Operation>
8505
+ | BodyResponseCallback<Readable>
8506
+ ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
8507
+ let params = (paramsOrCallback ||
8508
+ {}) as Params$Resource$Projects$Instances$Performdiskshrink;
8509
+ let options = (optionsOrCallback || {}) as MethodOptions;
8510
+
8511
+ if (typeof paramsOrCallback === 'function') {
8512
+ callback = paramsOrCallback;
8513
+ params = {} as Params$Resource$Projects$Instances$Performdiskshrink;
8514
+ options = {};
8515
+ }
8516
+
8517
+ if (typeof optionsOrCallback === 'function') {
8518
+ callback = optionsOrCallback;
8519
+ options = {};
8520
+ }
8521
+
8522
+ const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';
8523
+ const parameters = {
8524
+ options: Object.assign(
8525
+ {
8526
+ url: (
8527
+ rootUrl +
8528
+ '/sql/v1beta4/projects/{project}/instances/{instance}/performDiskShrink'
8529
+ ).replace(/([^:]\/)\/+/g, '$1'),
8530
+ method: 'POST',
8531
+ },
8532
+ options
8533
+ ),
8534
+ params,
8535
+ requiredParams: ['project', 'instance'],
8536
+ pathParams: ['instance', 'project'],
8537
+ context: this.context,
8538
+ };
8539
+ if (callback) {
8540
+ createAPIRequest<Schema$Operation>(
8541
+ parameters,
8542
+ callback as BodyResponseCallback<unknown>
8543
+ );
8544
+ } else {
8545
+ return createAPIRequest<Schema$Operation>(parameters);
8546
+ }
8547
+ }
8548
+
8209
8549
  /**
8210
8550
  * Reschedules the maintenance on the given instance.
8211
8551
  * @example
@@ -8365,6 +8705,161 @@ export namespace sqladmin_v1beta4 {
8365
8705
  }
8366
8706
  }
8367
8707
 
8708
+ /**
8709
+ * Reset Replica Size to primary instance disk size.
8710
+ * @example
8711
+ * ```js
8712
+ * // Before running the sample:
8713
+ * // - Enable the API at:
8714
+ * // https://console.developers.google.com/apis/api/sqladmin.googleapis.com
8715
+ * // - Login into gcloud by running:
8716
+ * // `$ gcloud auth application-default login`
8717
+ * // - Install the npm module by running:
8718
+ * // `$ npm install googleapis`
8719
+ *
8720
+ * const {google} = require('googleapis');
8721
+ * const sqladmin = google.sqladmin('v1beta4');
8722
+ *
8723
+ * async function main() {
8724
+ * const auth = new google.auth.GoogleAuth({
8725
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
8726
+ * scopes: [
8727
+ * 'https://www.googleapis.com/auth/cloud-platform',
8728
+ * 'https://www.googleapis.com/auth/sqlservice.admin',
8729
+ * ],
8730
+ * });
8731
+ *
8732
+ * // Acquire an auth client, and bind it to all future calls
8733
+ * const authClient = await auth.getClient();
8734
+ * google.options({auth: authClient});
8735
+ *
8736
+ * // Do the magic
8737
+ * const res = await sql.projects.instances.resetReplicaSize({
8738
+ * // Cloud SQL read replica instance name.
8739
+ * instance: 'placeholder-value',
8740
+ * // ID of the project that contains the read replica.
8741
+ * project: 'placeholder-value',
8742
+ *
8743
+ * // Request body metadata
8744
+ * requestBody: {
8745
+ * // request body parameters
8746
+ * // {}
8747
+ * },
8748
+ * });
8749
+ * console.log(res.data);
8750
+ *
8751
+ * // Example response
8752
+ * // {
8753
+ * // "backupContext": {},
8754
+ * // "endTime": "my_endTime",
8755
+ * // "error": {},
8756
+ * // "exportContext": {},
8757
+ * // "importContext": {},
8758
+ * // "insertTime": "my_insertTime",
8759
+ * // "kind": "my_kind",
8760
+ * // "name": "my_name",
8761
+ * // "operationType": "my_operationType",
8762
+ * // "selfLink": "my_selfLink",
8763
+ * // "startTime": "my_startTime",
8764
+ * // "status": "my_status",
8765
+ * // "targetId": "my_targetId",
8766
+ * // "targetLink": "my_targetLink",
8767
+ * // "targetProject": "my_targetProject",
8768
+ * // "user": "my_user"
8769
+ * // }
8770
+ * }
8771
+ *
8772
+ * main().catch(e => {
8773
+ * console.error(e);
8774
+ * throw e;
8775
+ * });
8776
+ *
8777
+ * ```
8778
+ *
8779
+ * @param params - Parameters for request
8780
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
8781
+ * @param callback - Optional callback that handles the response.
8782
+ * @returns A promise if used with async/await, or void if used with a callback.
8783
+ */
8784
+ resetReplicaSize(
8785
+ params: Params$Resource$Projects$Instances$Resetreplicasize,
8786
+ options: StreamMethodOptions
8787
+ ): GaxiosPromise<Readable>;
8788
+ resetReplicaSize(
8789
+ params?: Params$Resource$Projects$Instances$Resetreplicasize,
8790
+ options?: MethodOptions
8791
+ ): GaxiosPromise<Schema$Operation>;
8792
+ resetReplicaSize(
8793
+ params: Params$Resource$Projects$Instances$Resetreplicasize,
8794
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
8795
+ callback: BodyResponseCallback<Readable>
8796
+ ): void;
8797
+ resetReplicaSize(
8798
+ params: Params$Resource$Projects$Instances$Resetreplicasize,
8799
+ options: MethodOptions | BodyResponseCallback<Schema$Operation>,
8800
+ callback: BodyResponseCallback<Schema$Operation>
8801
+ ): void;
8802
+ resetReplicaSize(
8803
+ params: Params$Resource$Projects$Instances$Resetreplicasize,
8804
+ callback: BodyResponseCallback<Schema$Operation>
8805
+ ): void;
8806
+ resetReplicaSize(callback: BodyResponseCallback<Schema$Operation>): void;
8807
+ resetReplicaSize(
8808
+ paramsOrCallback?:
8809
+ | Params$Resource$Projects$Instances$Resetreplicasize
8810
+ | BodyResponseCallback<Schema$Operation>
8811
+ | BodyResponseCallback<Readable>,
8812
+ optionsOrCallback?:
8813
+ | MethodOptions
8814
+ | StreamMethodOptions
8815
+ | BodyResponseCallback<Schema$Operation>
8816
+ | BodyResponseCallback<Readable>,
8817
+ callback?:
8818
+ | BodyResponseCallback<Schema$Operation>
8819
+ | BodyResponseCallback<Readable>
8820
+ ): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
8821
+ let params = (paramsOrCallback ||
8822
+ {}) as Params$Resource$Projects$Instances$Resetreplicasize;
8823
+ let options = (optionsOrCallback || {}) as MethodOptions;
8824
+
8825
+ if (typeof paramsOrCallback === 'function') {
8826
+ callback = paramsOrCallback;
8827
+ params = {} as Params$Resource$Projects$Instances$Resetreplicasize;
8828
+ options = {};
8829
+ }
8830
+
8831
+ if (typeof optionsOrCallback === 'function') {
8832
+ callback = optionsOrCallback;
8833
+ options = {};
8834
+ }
8835
+
8836
+ const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';
8837
+ const parameters = {
8838
+ options: Object.assign(
8839
+ {
8840
+ url: (
8841
+ rootUrl +
8842
+ '/sql/v1beta4/projects/{project}/instances/{instance}/resetReplicaSize'
8843
+ ).replace(/([^:]\/)\/+/g, '$1'),
8844
+ method: 'POST',
8845
+ },
8846
+ options
8847
+ ),
8848
+ params,
8849
+ requiredParams: ['project', 'instance'],
8850
+ pathParams: ['instance', 'project'],
8851
+ context: this.context,
8852
+ };
8853
+ if (callback) {
8854
+ createAPIRequest<Schema$Operation>(
8855
+ parameters,
8856
+ callback as BodyResponseCallback<unknown>
8857
+ );
8858
+ } else {
8859
+ return createAPIRequest<Schema$Operation>(parameters);
8860
+ }
8861
+ }
8862
+
8368
8863
  /**
8369
8864
  * Start External primary instance migration.
8370
8865
  * @example
@@ -8682,6 +9177,33 @@ export namespace sqladmin_v1beta4 {
8682
9177
  }
8683
9178
  }
8684
9179
 
9180
+ export interface Params$Resource$Projects$Instances$Getdiskshrinkconfig
9181
+ extends StandardParameters {
9182
+ /**
9183
+ * Cloud SQL instance ID. This does not include the project ID.
9184
+ */
9185
+ instance?: string;
9186
+ /**
9187
+ * Project ID of the project that contains the instance.
9188
+ */
9189
+ project?: string;
9190
+ }
9191
+ export interface Params$Resource$Projects$Instances$Performdiskshrink
9192
+ extends StandardParameters {
9193
+ /**
9194
+ * Cloud SQL instance ID. This does not include the project ID.
9195
+ */
9196
+ instance?: string;
9197
+ /**
9198
+ * Project ID of the project that contains the instance.
9199
+ */
9200
+ project?: string;
9201
+
9202
+ /**
9203
+ * Request body metadata
9204
+ */
9205
+ requestBody?: Schema$PerformDiskShrinkContext;
9206
+ }
8685
9207
  export interface Params$Resource$Projects$Instances$Reschedulemaintenance
8686
9208
  extends StandardParameters {
8687
9209
  /**
@@ -8698,6 +9220,22 @@ export namespace sqladmin_v1beta4 {
8698
9220
  */
8699
9221
  requestBody?: Schema$SqlInstancesRescheduleMaintenanceRequestBody;
8700
9222
  }
9223
+ export interface Params$Resource$Projects$Instances$Resetreplicasize
9224
+ extends StandardParameters {
9225
+ /**
9226
+ * Cloud SQL read replica instance name.
9227
+ */
9228
+ instance?: string;
9229
+ /**
9230
+ * ID of the project that contains the read replica.
9231
+ */
9232
+ project?: string;
9233
+
9234
+ /**
9235
+ * Request body metadata
9236
+ */
9237
+ requestBody?: Schema$SqlInstancesResetReplicaSizeRequest;
9238
+ }
8701
9239
  export interface Params$Resource$Projects$Instances$Startexternalsync
8702
9240
  extends StandardParameters {
8703
9241
  /**