@googleapis/sqladmin 36.0.0 → 38.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
@@ -102,7 +102,7 @@ export namespace sqladmin_v1beta4 {
102
102
  /**
103
103
  * Cloud SQL Admin API
104
104
  *
105
- * API for Cloud SQL database instance management
105
+ * Cloud SQL Admin API
106
106
  *
107
107
  * @example
108
108
  * ```js
@@ -359,7 +359,7 @@ export namespace sqladmin_v1beta4 {
359
359
  */
360
360
  pointInTimeRecoveryEnabled?: boolean | null;
361
361
  /**
362
- * Reserved for future use.
362
+ * Optional. Deprecated: replication_log_archiving_enabled is deprecated and will be removed from a future version of the API. Use point_in_time_recovery_enabled instead.
363
363
  */
364
364
  replicationLogArchivingEnabled?: boolean | null;
365
365
  /**
@@ -554,7 +554,7 @@ export namespace sqladmin_v1beta4 {
554
554
  */
555
555
  destinationInstanceName?: string | null;
556
556
  /**
557
- * Optional. The fully qualified URI of the VPC network to which the cloned instance will be connected via Private Services Access for private IP. For example:`projects/my-network-project/global/networks/my-network`. This field is only required for cross-project cloning.
557
+ * Optional. The fully qualified URI of the VPC network to which the cloned instance will be connected via private services access for private IP. For example:`projects/my-network-project/global/networks/my-network`. This field is only required for cross-project cloning.
558
558
  */
559
559
  destinationNetwork?: string | null;
560
560
  /**
@@ -658,6 +658,10 @@ export namespace sqladmin_v1beta4 {
658
658
  * `SECOND_GEN`: Cloud SQL database instance. `EXTERNAL`: A database server that is not managed by Google. This property is read-only; use the `tier` property in the `settings` object to determine the database type.
659
659
  */
660
660
  backendType?: string | null;
661
+ /**
662
+ * Optional. Output only. Connection name of the Cloud SQL instance used in connection strings, in the format project:region:instance.
663
+ */
664
+ connectionName?: string | null;
661
665
  /**
662
666
  * Custom subject alternative names for the server certificate.
663
667
  */
@@ -786,6 +790,10 @@ export namespace sqladmin_v1beta4 {
786
790
  * The current disk usage of the instance in bytes. This property has been deprecated. Use the "cloudsql.googleapis.com/database/disk/bytes_used" metric in Cloud Monitoring API instead. Please see [this announcement](https://groups.google.com/d/msg/google-cloud-sql-announce/I_7-F9EBhT0/BtvFtdFeAgAJ) for details.
787
791
  */
788
792
  currentDiskSize?: string | null;
793
+ /**
794
+ * Optional. If true, instance metadata is sent to the Database Center. If false, instance metadata is not sent to the Database Center.
795
+ */
796
+ databaseCenterIntegrationEnabled?: boolean | null;
789
797
  /**
790
798
  * Output only. Stores the current database version running on the instance including minor version such as `MYSQL_8_0_18`.
791
799
  */
@@ -1161,6 +1169,10 @@ export namespace sqladmin_v1beta4 {
1161
1169
  * 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.
1162
1170
  */
1163
1171
  partialResultMode?: string | null;
1172
+ /**
1173
+ * Optional. The resource name of the Secret Manager secret holding the password for the user to log into the database. The secret should be created using the regional endpoint (for API) or from the Regional Secrets page (for UI), and stored in the same region as the Cloud SQL instance. The expected resource name format is `projects/{project\}/locations/{location\}/secrets/{secret\}/versions/{secret_version\}`. This field is used together with the `user` field. The secret resource name will not be stored.
1174
+ */
1175
+ passwordSecretVersion?: string | null;
1164
1176
  /**
1165
1177
  * Optional. The maximum number of rows returned per SQL statement.
1166
1178
  */
@@ -1974,6 +1986,10 @@ export namespace sqladmin_v1beta4 {
1974
1986
  * PEM representation of the replica's private key. The corresponding public key is encoded in the client's certificate.
1975
1987
  */
1976
1988
  clientKey?: string | null;
1989
+ /**
1990
+ * Output only. Indicates whether the resource is managed by Database Migration Service.
1991
+ */
1992
+ dmsManaged?: boolean | null;
1977
1993
  /**
1978
1994
  * The dump file to create the Cloud SQL replica.
1979
1995
  */
@@ -2219,10 +2235,22 @@ export namespace sqladmin_v1beta4 {
2219
2235
  * Performance capture configuration.
2220
2236
  */
2221
2237
  export interface Schema$PerformanceCaptureConfig {
2238
+ /**
2239
+ * Optional. Specifies the minimum percentage of CPU utilization to trigger the performance capture. Valid integers range from `10` to `99`. Enter `0` to disable the check.
2240
+ */
2241
+ cpuUtilizationThresholdPercent?: number | null;
2222
2242
  /**
2223
2243
  * Optional. Enables or disables the performance capture feature.
2224
2244
  */
2225
2245
  enabled?: boolean | null;
2246
+ /**
2247
+ * Optional. Specifies the minimum number of undo log entries in the history list length to trigger the performance capture. Valid integers range from `10000` to `10000000`. Enter `0` to disable the check.
2248
+ */
2249
+ historyListLengthThresholdCount?: number | null;
2250
+ /**
2251
+ * Optional. Specifies the minimum percentage of memory usage to trigger the performance capture. Valid integers range from `10` to `99`. Enter `0` to disable the check.
2252
+ */
2253
+ memoryUsageThresholdPercent?: number | null;
2226
2254
  /**
2227
2255
  * Optional. Specifies the minimum number of consecutive probe threshold that triggers performance capture.
2228
2256
  */
@@ -2239,10 +2267,30 @@ export namespace sqladmin_v1beta4 {
2239
2267
  * Optional. Specifies the minimum number of seconds replica must be lagging behind primary instance to trigger the performance capture on replica.
2240
2268
  */
2241
2269
  secondsBehindSourceThreshold?: number | null;
2270
+ /**
2271
+ * Optional. Specifies the minimum allowed number of semaphore waits to trigger the performance capture. Valid integers range from `10` to `10000`. Enter `0` to disable the check.
2272
+ */
2273
+ semaphoreWaitThresholdCount?: number | null;
2242
2274
  /**
2243
2275
  * Optional. Specifies the amount of time in seconds that a transaction needs to have been open before the watcher starts recording it.
2244
2276
  */
2245
2277
  transactionDurationThreshold?: number | null;
2278
+ /**
2279
+ * Optional. Specifies a customer-defined list of users to exclude from transaction termination. Entries can be in the format 'user@host' or just 'user'. A standalone 'user' implies 'user@%', excluding the user from any host. Wildcard '%' is allowed in the host part of the 'user@host' format. Example: `["app_user", "db_admin@10.1.2.3", "report_user@%"]`
2280
+ */
2281
+ transactionKillExcludedUserHosts?: string[] | null;
2282
+ /**
2283
+ * Optional. Specifies the amount of time in seconds that a transaction needs to have been open before the watcher starts terminating it. Valid integers range from `60` to `604800` (7 days). Enter `0` to disable. If enabled (i.e., \> 0), this value must be greater than or equal to `transaction_duration_threshold`. Configurations where `0 < transaction_kill_threshold_seconds < transaction_duration_threshold` will be rejected.
2284
+ */
2285
+ transactionKillThresholdSeconds?: number | null;
2286
+ /**
2287
+ * Optional. Determines which transactions are allowed to be terminated when they exceed `transaction_kill_threshold_seconds`. This allows protecting write-heavy transactions from auto-termination if desired. Defaults to `READ_ONLY_TRANSACTIONS` if unspecified.
2288
+ */
2289
+ transactionKillType?: string | null;
2290
+ /**
2291
+ * Optional. Specifies the minimum allowed number of transactions in lock wait state to trigger the performance capture. Valid integers range from `10` to `10000`. Enter `0` to disable the check.
2292
+ */
2293
+ transactionLockWaitThresholdCount?: number | null;
2246
2294
  }
2247
2295
  /**
2248
2296
  * Perform disk shrink context.
@@ -2385,14 +2433,30 @@ export namespace sqladmin_v1beta4 {
2385
2433
  * Optional. This is the project ID of consumer service project of this consumer endpoint. Optional. This is only applicable if consumer_network is a shared vpc network.
2386
2434
  */
2387
2435
  consumerProject?: string | null;
2436
+ /**
2437
+ * Output only. The status of automated DNS provisioning.
2438
+ */
2439
+ instanceAutoDnsStatus?: string | null;
2388
2440
  /**
2389
2441
  * The IP address of the consumer endpoint.
2390
2442
  */
2391
2443
  ipAddress?: string | null;
2444
+ /**
2445
+ * Output only. The service connection policy created automatically for the consumer network when `psc_auto_connection_policy_enabled` is true. It is in the format of: `projects/{project\}/regions/{region\}/serviceConnectionPolicies/{policy_id\}` The `policy_id` is in format of `$NETWORK-$RANDOM`.
2446
+ */
2447
+ serviceConnectionPolicy?: string | null;
2448
+ /**
2449
+ * Output only. The status of service connection policy creation.
2450
+ */
2451
+ serviceConnectionPolicyCreationResult?: string | null;
2392
2452
  /**
2393
2453
  * The connection status of the consumer endpoint.
2394
2454
  */
2395
2455
  status?: string | null;
2456
+ /**
2457
+ * Output only. The status of automated DNS provisioning for the write endpoint.
2458
+ */
2459
+ writeEndpointAutoDnsStatus?: string | null;
2396
2460
  }
2397
2461
  /**
2398
2462
  * PSC settings for a Cloud SQL instance.
@@ -2406,12 +2470,16 @@ export namespace sqladmin_v1beta4 {
2406
2470
  * Optional. The network attachment of the consumer network that the Private Service Connect enabled Cloud SQL instance is authorized to connect via PSC interface. format: projects/PROJECT/regions/REGION/networkAttachments/ID
2407
2471
  */
2408
2472
  networkAttachmentUri?: string | null;
2473
+ /**
2474
+ * Optional. Whether to set up the PSC service connection policy automatically.
2475
+ */
2476
+ pscAutoConnectionPolicyEnabled?: boolean | null;
2409
2477
  /**
2410
2478
  * Optional. The list of settings for requested Private Service Connect consumer endpoints that can be used to connect to this Cloud SQL instance.
2411
2479
  */
2412
2480
  pscAutoConnections?: Schema$PscAutoConnectionConfig[];
2413
2481
  /**
2414
- * Optional. Indicates whether PSC DNS automation is enabled for this instance. When enabled, Cloud SQL provisions a universal DNS record across all networks configured with Private Service Connect (PSC) auto-connections. This will default to true for new instances when Private Service Connect is enabled.
2482
+ * Optional. Indicates whether Private Service Connect DNS automation is enabled for this instance. When enabled, Cloud SQL provisions a universal DNS record across all networks configured with Private Service Connect auto-connections. This will default to true for new instances when Private Service Connect is enabled.
2415
2483
  */
2416
2484
  pscAutoDnsEnabled?: boolean | null;
2417
2485
  /**
@@ -2419,7 +2487,7 @@ export namespace sqladmin_v1beta4 {
2419
2487
  */
2420
2488
  pscEnabled?: boolean | null;
2421
2489
  /**
2422
- * Optional. Indicates whether PSC write endpoint DNS automation is enabled for this instance. When enabled, Cloud SQL provisions a universal global DNS record across all networks configured with Private Service Connect (PSC) auto-connections that always points to the cluster primary instance. This feature is only supported for Enterprise Plus edition. This will default to true for new enterprise plus instances when `psc_auto_dns_enabled` is enabled.
2490
+ * Optional. Indicates whether Private Service Connect write endpoint DNS automation is enabled for this instance. When enabled, Cloud SQL provisions a universal global DNS record across all networks configured with Private Service Connect auto-connections that points to the cluster primary instance. This feature is only supported for Enterprise Plus edition. This will default to true for new enterprise plus instances when `psc_auto_dns_enabled` is enabled.
2423
2491
  */
2424
2492
  pscWriteEndpointDnsEnabled?: boolean | null;
2425
2493
  }
@@ -2700,7 +2768,7 @@ export namespace sqladmin_v1beta4 {
2700
2768
  */
2701
2769
  denyMaintenancePeriods?: Schema$DenyMaintenancePeriod[];
2702
2770
  /**
2703
- * Optional. The edition of the instance.
2771
+ * Optional. The edition type of the Cloud SQL instance.
2704
2772
  */
2705
2773
  edition?: string | null;
2706
2774
  /**
@@ -3361,6 +3429,10 @@ export namespace sqladmin_v1beta4 {
3361
3429
  * The project ID of the project containing the Cloud SQL database. The Google apps domain is prefixed if applicable. Can be omitted for *update* because it is already specified on the URL.
3362
3430
  */
3363
3431
  project?: string | null;
3432
+ /**
3433
+ * Optional. The server roles for the SQL Server login.
3434
+ */
3435
+ serverRoles?: string[] | null;
3364
3436
  sqlserverUserDetails?: Schema$SqlServerUserDetails;
3365
3437
  /**
3366
3438
  * The user type. It determines the method to authenticate the user during login. The default is the database's built-in user type.
@@ -3543,8 +3615,7 @@ export namespace sqladmin_v1beta4 {
3543
3615
  | BodyResponseCallback<Schema$Operation>
3544
3616
  | BodyResponseCallback<Readable>,
3545
3617
  callback?:
3546
- | BodyResponseCallback<Schema$Operation>
3547
- | BodyResponseCallback<Readable>
3618
+ BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
3548
3619
  ):
3549
3620
  | void
3550
3621
  | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
@@ -3705,8 +3776,7 @@ export namespace sqladmin_v1beta4 {
3705
3776
  | BodyResponseCallback<Schema$BackupRun>
3706
3777
  | BodyResponseCallback<Readable>,
3707
3778
  callback?:
3708
- | BodyResponseCallback<Schema$BackupRun>
3709
- | BodyResponseCallback<Readable>
3779
+ BodyResponseCallback<Schema$BackupRun> | BodyResponseCallback<Readable>
3710
3780
  ):
3711
3781
  | void
3712
3782
  | Promise<GaxiosResponseWithHTTP2<Schema$BackupRun>>
@@ -3891,8 +3961,7 @@ export namespace sqladmin_v1beta4 {
3891
3961
  | BodyResponseCallback<Schema$Operation>
3892
3962
  | BodyResponseCallback<Readable>,
3893
3963
  callback?:
3894
- | BodyResponseCallback<Schema$Operation>
3895
- | BodyResponseCallback<Readable>
3964
+ BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
3896
3965
  ):
3897
3966
  | void
3898
3967
  | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
@@ -4021,8 +4090,7 @@ export namespace sqladmin_v1beta4 {
4021
4090
  list(
4022
4091
  params: Params$Resource$Backupruns$List,
4023
4092
  options:
4024
- | MethodOptions
4025
- | BodyResponseCallback<Schema$BackupRunsListResponse>,
4093
+ MethodOptions | BodyResponseCallback<Schema$BackupRunsListResponse>,
4026
4094
  callback: BodyResponseCallback<Schema$BackupRunsListResponse>
4027
4095
  ): void;
4028
4096
  list(
@@ -4298,8 +4366,7 @@ export namespace sqladmin_v1beta4 {
4298
4366
  | BodyResponseCallback<Schema$Operation>
4299
4367
  | BodyResponseCallback<Readable>,
4300
4368
  callback?:
4301
- | BodyResponseCallback<Schema$Operation>
4302
- | BodyResponseCallback<Readable>
4369
+ BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
4303
4370
  ):
4304
4371
  | void
4305
4372
  | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
@@ -4457,8 +4524,7 @@ export namespace sqladmin_v1beta4 {
4457
4524
  | BodyResponseCallback<Schema$Operation>
4458
4525
  | BodyResponseCallback<Readable>,
4459
4526
  callback?:
4460
- | BodyResponseCallback<Schema$Operation>
4461
- | BodyResponseCallback<Readable>
4527
+ BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
4462
4528
  ):
4463
4529
  | void
4464
4530
  | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
@@ -4619,8 +4685,7 @@ export namespace sqladmin_v1beta4 {
4619
4685
  | BodyResponseCallback<Schema$Backup>
4620
4686
  | BodyResponseCallback<Readable>,
4621
4687
  callback?:
4622
- | BodyResponseCallback<Schema$Backup>
4623
- | BodyResponseCallback<Readable>
4688
+ BodyResponseCallback<Schema$Backup> | BodyResponseCallback<Readable>
4624
4689
  ):
4625
4690
  | void
4626
4691
  | Promise<GaxiosResponseWithHTTP2<Schema$Backup>>
@@ -4960,8 +5025,7 @@ export namespace sqladmin_v1beta4 {
4960
5025
  | BodyResponseCallback<Schema$Operation>
4961
5026
  | BodyResponseCallback<Readable>,
4962
5027
  callback?:
4963
- | BodyResponseCallback<Schema$Operation>
4964
- | BodyResponseCallback<Readable>
5028
+ BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
4965
5029
  ):
4966
5030
  | void
4967
5031
  | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
@@ -5278,6 +5342,7 @@ export namespace sqladmin_v1beta4 {
5278
5342
  * // Example response
5279
5343
  * // {
5280
5344
  * // "backendType": "my_backendType",
5345
+ * // "connectionName": "my_connectionName",
5281
5346
  * // "customSubjectAlternativeNames": [],
5282
5347
  * // "databaseVersion": "my_databaseVersion",
5283
5348
  * // "dnsName": "my_dnsName",
@@ -5387,6 +5452,161 @@ export namespace sqladmin_v1beta4 {
5387
5452
  return createAPIRequest<Schema$ConnectSettings>(parameters);
5388
5453
  }
5389
5454
  }
5455
+
5456
+ /**
5457
+ * Retrieves connect settings about a Cloud SQL instance using the instance DNS name.
5458
+ * @example
5459
+ * ```js
5460
+ * // Before running the sample:
5461
+ * // - Enable the API at:
5462
+ * // https://console.developers.google.com/apis/api/sqladmin.googleapis.com
5463
+ * // - Login into gcloud by running:
5464
+ * // ```sh
5465
+ * // $ gcloud auth application-default login
5466
+ * // ```
5467
+ * // - Install the npm module by running:
5468
+ * // ```sh
5469
+ * // $ npm install googleapis
5470
+ * // ```
5471
+ *
5472
+ * const {google} = require('googleapis');
5473
+ * const sqladmin = google.sqladmin('v1beta4');
5474
+ *
5475
+ * async function main() {
5476
+ * const auth = new google.auth.GoogleAuth({
5477
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
5478
+ * scopes: [
5479
+ * 'https://www.googleapis.com/auth/cloud-platform',
5480
+ * 'https://www.googleapis.com/auth/sqlservice.admin',
5481
+ * ],
5482
+ * });
5483
+ *
5484
+ * // Acquire an auth client, and bind it to all future calls
5485
+ * const authClient = await auth.getClient();
5486
+ * google.options({auth: authClient});
5487
+ *
5488
+ * // Do the magic
5489
+ * const res = await sql.connect.resolve({
5490
+ * // Required. Cloud SQL instance ID. This does not include the project ID.
5491
+ * dnsName: 'placeholder-value',
5492
+ * // Required. The region of the instance.
5493
+ * location: 'placeholder-value',
5494
+ * });
5495
+ * console.log(res.data);
5496
+ *
5497
+ * // Example response
5498
+ * // {
5499
+ * // "backendType": "my_backendType",
5500
+ * // "connectionName": "my_connectionName",
5501
+ * // "customSubjectAlternativeNames": [],
5502
+ * // "databaseVersion": "my_databaseVersion",
5503
+ * // "dnsName": "my_dnsName",
5504
+ * // "dnsNames": [],
5505
+ * // "ipAddresses": [],
5506
+ * // "kind": "my_kind",
5507
+ * // "mdxProtocolSupport": [],
5508
+ * // "nodeCount": 0,
5509
+ * // "nodes": [],
5510
+ * // "pscEnabled": false,
5511
+ * // "region": "my_region",
5512
+ * // "serverCaCert": {},
5513
+ * // "serverCaMode": "my_serverCaMode"
5514
+ * // }
5515
+ * }
5516
+ *
5517
+ * main().catch(e => {
5518
+ * console.error(e);
5519
+ * throw e;
5520
+ * });
5521
+ *
5522
+ * ```
5523
+ *
5524
+ * @param params - Parameters for request
5525
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
5526
+ * @param callback - Optional callback that handles the response.
5527
+ * @returns A promise if used with async/await, or void if used with a callback.
5528
+ */
5529
+ resolve(
5530
+ params: Params$Resource$Connect$Resolve,
5531
+ options: StreamMethodOptions
5532
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
5533
+ resolve(
5534
+ params?: Params$Resource$Connect$Resolve,
5535
+ options?: MethodOptions
5536
+ ): Promise<GaxiosResponseWithHTTP2<Schema$ConnectSettings>>;
5537
+ resolve(
5538
+ params: Params$Resource$Connect$Resolve,
5539
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
5540
+ callback: BodyResponseCallback<Readable>
5541
+ ): void;
5542
+ resolve(
5543
+ params: Params$Resource$Connect$Resolve,
5544
+ options: MethodOptions | BodyResponseCallback<Schema$ConnectSettings>,
5545
+ callback: BodyResponseCallback<Schema$ConnectSettings>
5546
+ ): void;
5547
+ resolve(
5548
+ params: Params$Resource$Connect$Resolve,
5549
+ callback: BodyResponseCallback<Schema$ConnectSettings>
5550
+ ): void;
5551
+ resolve(callback: BodyResponseCallback<Schema$ConnectSettings>): void;
5552
+ resolve(
5553
+ paramsOrCallback?:
5554
+ | Params$Resource$Connect$Resolve
5555
+ | BodyResponseCallback<Schema$ConnectSettings>
5556
+ | BodyResponseCallback<Readable>,
5557
+ optionsOrCallback?:
5558
+ | MethodOptions
5559
+ | StreamMethodOptions
5560
+ | BodyResponseCallback<Schema$ConnectSettings>
5561
+ | BodyResponseCallback<Readable>,
5562
+ callback?:
5563
+ | BodyResponseCallback<Schema$ConnectSettings>
5564
+ | BodyResponseCallback<Readable>
5565
+ ):
5566
+ | void
5567
+ | Promise<GaxiosResponseWithHTTP2<Schema$ConnectSettings>>
5568
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
5569
+ let params = (paramsOrCallback || {}) as Params$Resource$Connect$Resolve;
5570
+ let options = (optionsOrCallback || {}) as MethodOptions;
5571
+
5572
+ if (typeof paramsOrCallback === 'function') {
5573
+ callback = paramsOrCallback;
5574
+ params = {} as Params$Resource$Connect$Resolve;
5575
+ options = {};
5576
+ }
5577
+
5578
+ if (typeof optionsOrCallback === 'function') {
5579
+ callback = optionsOrCallback;
5580
+ options = {};
5581
+ }
5582
+
5583
+ const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';
5584
+ const parameters = {
5585
+ options: Object.assign(
5586
+ {
5587
+ url: (
5588
+ rootUrl +
5589
+ '/sql/v1beta4/locations/{location}/dns/{dnsName}:resolveConnectSettings'
5590
+ ).replace(/([^:]\/)\/+/g, '$1'),
5591
+ method: 'GET',
5592
+ apiVersion: '',
5593
+ },
5594
+ options
5595
+ ),
5596
+ params,
5597
+ requiredParams: ['location', 'dnsName'],
5598
+ pathParams: ['dnsName', 'location'],
5599
+ context: this.context,
5600
+ };
5601
+ if (callback) {
5602
+ createAPIRequest<Schema$ConnectSettings>(
5603
+ parameters,
5604
+ callback as BodyResponseCallback<unknown>
5605
+ );
5606
+ } else {
5607
+ return createAPIRequest<Schema$ConnectSettings>(parameters);
5608
+ }
5609
+ }
5390
5610
  }
5391
5611
 
5392
5612
  export interface Params$Resource$Connect$Generateephemeralcert extends StandardParameters {
@@ -5418,6 +5638,16 @@ export namespace sqladmin_v1beta4 {
5418
5638
  */
5419
5639
  readTime?: string;
5420
5640
  }
5641
+ export interface Params$Resource$Connect$Resolve extends StandardParameters {
5642
+ /**
5643
+ * Required. Cloud SQL instance ID. This does not include the project ID.
5644
+ */
5645
+ dnsName?: string;
5646
+ /**
5647
+ * Required. The region of the instance.
5648
+ */
5649
+ location?: string;
5650
+ }
5421
5651
 
5422
5652
  export class Resource$Databases {
5423
5653
  context: APIRequestContext;
@@ -5539,8 +5769,7 @@ export namespace sqladmin_v1beta4 {
5539
5769
  | BodyResponseCallback<Schema$Operation>
5540
5770
  | BodyResponseCallback<Readable>,
5541
5771
  callback?:
5542
- | BodyResponseCallback<Schema$Operation>
5543
- | BodyResponseCallback<Readable>
5772
+ BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
5544
5773
  ):
5545
5774
  | void
5546
5775
  | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
@@ -5690,8 +5919,7 @@ export namespace sqladmin_v1beta4 {
5690
5919
  | BodyResponseCallback<Schema$Database>
5691
5920
  | BodyResponseCallback<Readable>,
5692
5921
  callback?:
5693
- | BodyResponseCallback<Schema$Database>
5694
- | BodyResponseCallback<Readable>
5922
+ BodyResponseCallback<Schema$Database> | BodyResponseCallback<Readable>
5695
5923
  ):
5696
5924
  | void
5697
5925
  | Promise<GaxiosResponseWithHTTP2<Schema$Database>>
@@ -5866,8 +6094,7 @@ export namespace sqladmin_v1beta4 {
5866
6094
  | BodyResponseCallback<Schema$Operation>
5867
6095
  | BodyResponseCallback<Readable>,
5868
6096
  callback?:
5869
- | BodyResponseCallback<Schema$Operation>
5870
- | BodyResponseCallback<Readable>
6097
+ BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
5871
6098
  ):
5872
6099
  | void
5873
6100
  | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
@@ -5990,8 +6217,7 @@ export namespace sqladmin_v1beta4 {
5990
6217
  list(
5991
6218
  params: Params$Resource$Databases$List,
5992
6219
  options:
5993
- | MethodOptions
5994
- | BodyResponseCallback<Schema$DatabasesListResponse>,
6220
+ MethodOptions | BodyResponseCallback<Schema$DatabasesListResponse>,
5995
6221
  callback: BodyResponseCallback<Schema$DatabasesListResponse>
5996
6222
  ): void;
5997
6223
  list(
@@ -6188,8 +6414,7 @@ export namespace sqladmin_v1beta4 {
6188
6414
  | BodyResponseCallback<Schema$Operation>
6189
6415
  | BodyResponseCallback<Readable>,
6190
6416
  callback?:
6191
- | BodyResponseCallback<Schema$Operation>
6192
- | BodyResponseCallback<Readable>
6417
+ BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
6193
6418
  ):
6194
6419
  | void
6195
6420
  | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
@@ -6366,8 +6591,7 @@ export namespace sqladmin_v1beta4 {
6366
6591
  | BodyResponseCallback<Schema$Operation>
6367
6592
  | BodyResponseCallback<Readable>,
6368
6593
  callback?:
6369
- | BodyResponseCallback<Schema$Operation>
6370
- | BodyResponseCallback<Readable>
6594
+ BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
6371
6595
  ):
6372
6596
  | void
6373
6597
  | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
@@ -6944,8 +7168,7 @@ export namespace sqladmin_v1beta4 {
6944
7168
  | BodyResponseCallback<Schema$Operation>
6945
7169
  | BodyResponseCallback<Readable>,
6946
7170
  callback?:
6947
- | BodyResponseCallback<Schema$Operation>
6948
- | BodyResponseCallback<Readable>
7171
+ BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
6949
7172
  ):
6950
7173
  | void
6951
7174
  | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
@@ -7105,8 +7328,7 @@ export namespace sqladmin_v1beta4 {
7105
7328
  | BodyResponseCallback<Schema$Operation>
7106
7329
  | BodyResponseCallback<Readable>,
7107
7330
  callback?:
7108
- | BodyResponseCallback<Schema$Operation>
7109
- | BodyResponseCallback<Readable>
7331
+ BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
7110
7332
  ):
7111
7333
  | void
7112
7334
  | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
@@ -7268,8 +7490,7 @@ export namespace sqladmin_v1beta4 {
7268
7490
  | BodyResponseCallback<Schema$Operation>
7269
7491
  | BodyResponseCallback<Readable>,
7270
7492
  callback?:
7271
- | BodyResponseCallback<Schema$Operation>
7272
- | BodyResponseCallback<Readable>
7493
+ BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
7273
7494
  ):
7274
7495
  | void
7275
7496
  | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
@@ -7437,8 +7658,7 @@ export namespace sqladmin_v1beta4 {
7437
7658
  | BodyResponseCallback<Schema$Operation>
7438
7659
  | BodyResponseCallback<Readable>,
7439
7660
  callback?:
7440
- | BodyResponseCallback<Schema$Operation>
7441
- | BodyResponseCallback<Readable>
7661
+ BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
7442
7662
  ):
7443
7663
  | void
7444
7664
  | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
@@ -7605,8 +7825,7 @@ export namespace sqladmin_v1beta4 {
7605
7825
  | BodyResponseCallback<Schema$Operation>
7606
7826
  | BodyResponseCallback<Readable>,
7607
7827
  callback?:
7608
- | BodyResponseCallback<Schema$Operation>
7609
- | BodyResponseCallback<Readable>
7828
+ BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
7610
7829
  ):
7611
7830
  | void
7612
7831
  | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
@@ -7772,8 +7991,7 @@ export namespace sqladmin_v1beta4 {
7772
7991
  | BodyResponseCallback<Schema$Operation>
7773
7992
  | BodyResponseCallback<Readable>,
7774
7993
  callback?:
7775
- | BodyResponseCallback<Schema$Operation>
7776
- | BodyResponseCallback<Readable>
7994
+ BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
7777
7995
  ):
7778
7996
  | void
7779
7997
  | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
@@ -7940,8 +8158,7 @@ export namespace sqladmin_v1beta4 {
7940
8158
  | BodyResponseCallback<Schema$Operation>
7941
8159
  | BodyResponseCallback<Readable>,
7942
8160
  callback?:
7943
- | BodyResponseCallback<Schema$Operation>
7944
- | BodyResponseCallback<Readable>
8161
+ BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
7945
8162
  ):
7946
8163
  | void
7947
8164
  | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
@@ -8036,6 +8253,7 @@ export namespace sqladmin_v1beta4 {
8036
8253
  * // "autoIamAuthn": false,
8037
8254
  * // "database": "my_database",
8038
8255
  * // "partialResultMode": "my_partialResultMode",
8256
+ * // "passwordSecretVersion": "my_passwordSecretVersion",
8039
8257
  * // "rowLimit": "my_rowLimit",
8040
8258
  * // "sqlStatement": "my_sqlStatement",
8041
8259
  * // "user": "my_user"
@@ -8271,8 +8489,7 @@ export namespace sqladmin_v1beta4 {
8271
8489
  | BodyResponseCallback<Schema$Operation>
8272
8490
  | BodyResponseCallback<Readable>,
8273
8491
  callback?:
8274
- | BodyResponseCallback<Schema$Operation>
8275
- | BodyResponseCallback<Readable>
8492
+ BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
8276
8493
  ):
8277
8494
  | void
8278
8495
  | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
@@ -8439,8 +8656,7 @@ export namespace sqladmin_v1beta4 {
8439
8656
  | BodyResponseCallback<Schema$Operation>
8440
8657
  | BodyResponseCallback<Readable>,
8441
8658
  callback?:
8442
- | BodyResponseCallback<Schema$Operation>
8443
- | BodyResponseCallback<Readable>
8659
+ BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
8444
8660
  ):
8445
8661
  | void
8446
8662
  | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
@@ -8536,6 +8752,7 @@ export namespace sqladmin_v1beta4 {
8536
8752
  * // "connectionName": "my_connectionName",
8537
8753
  * // "createTime": "my_createTime",
8538
8754
  * // "currentDiskSize": "my_currentDiskSize",
8755
+ * // "databaseCenterIntegrationEnabled": false,
8539
8756
  * // "databaseInstalledVersion": "my_databaseInstalledVersion",
8540
8757
  * // "databaseVersion": "my_databaseVersion",
8541
8758
  * // "diskEncryptionConfiguration": {},
@@ -8795,8 +9012,7 @@ export namespace sqladmin_v1beta4 {
8795
9012
  | BodyResponseCallback<Schema$Operation>
8796
9013
  | BodyResponseCallback<Readable>,
8797
9014
  callback?:
8798
- | BodyResponseCallback<Schema$Operation>
8799
- | BodyResponseCallback<Readable>
9015
+ BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
8800
9016
  ):
8801
9017
  | void
8802
9018
  | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
@@ -8889,6 +9105,7 @@ export namespace sqladmin_v1beta4 {
8889
9105
  * // "connectionName": "my_connectionName",
8890
9106
  * // "createTime": "my_createTime",
8891
9107
  * // "currentDiskSize": "my_currentDiskSize",
9108
+ * // "databaseCenterIntegrationEnabled": false,
8892
9109
  * // "databaseInstalledVersion": "my_databaseInstalledVersion",
8893
9110
  * // "databaseVersion": "my_databaseVersion",
8894
9111
  * // "diskEncryptionConfiguration": {},
@@ -9011,8 +9228,7 @@ export namespace sqladmin_v1beta4 {
9011
9228
  | BodyResponseCallback<Schema$Operation>
9012
9229
  | BodyResponseCallback<Readable>,
9013
9230
  callback?:
9014
- | BodyResponseCallback<Schema$Operation>
9015
- | BodyResponseCallback<Readable>
9231
+ BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
9016
9232
  ):
9017
9233
  | void
9018
9234
  | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
@@ -9140,8 +9356,7 @@ export namespace sqladmin_v1beta4 {
9140
9356
  list(
9141
9357
  params: Params$Resource$Instances$List,
9142
9358
  options:
9143
- | MethodOptions
9144
- | BodyResponseCallback<Schema$InstancesListResponse>,
9359
+ MethodOptions | BodyResponseCallback<Schema$InstancesListResponse>,
9145
9360
  callback: BodyResponseCallback<Schema$InstancesListResponse>
9146
9361
  ): void;
9147
9362
  list(
@@ -9704,6 +9919,10 @@ export namespace sqladmin_v1beta4 {
9704
9919
  * instance: 'placeholder-value',
9705
9920
  * // Project ID of the project that contains the instance.
9706
9921
  * project: 'placeholder-value',
9922
+ * // Optional. Set PSC config to the same value as the existing config to reconcile the PSC networking.
9923
+ * reconcilePscNetworking: 'placeholder-value',
9924
+ * // Optional. Set PSC config to the same value as the existing config and force reconcile the PSC networking.
9925
+ * reconcilePscNetworkingForce: 'placeholder-value',
9707
9926
  *
9708
9927
  * // Request body metadata
9709
9928
  * requestBody: {
@@ -9714,6 +9933,7 @@ export namespace sqladmin_v1beta4 {
9714
9933
  * // "connectionName": "my_connectionName",
9715
9934
  * // "createTime": "my_createTime",
9716
9935
  * // "currentDiskSize": "my_currentDiskSize",
9936
+ * // "databaseCenterIntegrationEnabled": false,
9717
9937
  * // "databaseInstalledVersion": "my_databaseInstalledVersion",
9718
9938
  * // "databaseVersion": "my_databaseVersion",
9719
9939
  * // "diskEncryptionConfiguration": {},
@@ -9836,8 +10056,7 @@ export namespace sqladmin_v1beta4 {
9836
10056
  | BodyResponseCallback<Schema$Operation>
9837
10057
  | BodyResponseCallback<Readable>,
9838
10058
  callback?:
9839
- | BodyResponseCallback<Schema$Operation>
9840
- | BodyResponseCallback<Readable>
10059
+ BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
9841
10060
  ):
9842
10061
  | void
9843
10062
  | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
@@ -10010,8 +10229,7 @@ export namespace sqladmin_v1beta4 {
10010
10229
  | BodyResponseCallback<Schema$Operation>
10011
10230
  | BodyResponseCallback<Readable>,
10012
10231
  callback?:
10013
- | BodyResponseCallback<Schema$Operation>
10014
- | BodyResponseCallback<Readable>
10232
+ BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
10015
10233
  ):
10016
10234
  | void
10017
10235
  | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
@@ -10180,8 +10398,7 @@ export namespace sqladmin_v1beta4 {
10180
10398
  | BodyResponseCallback<Schema$Operation>
10181
10399
  | BodyResponseCallback<Readable>,
10182
10400
  callback?:
10183
- | BodyResponseCallback<Schema$Operation>
10184
- | BodyResponseCallback<Readable>
10401
+ BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
10185
10402
  ):
10186
10403
  | void
10187
10404
  | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
@@ -10343,8 +10560,7 @@ export namespace sqladmin_v1beta4 {
10343
10560
  | BodyResponseCallback<Schema$Operation>
10344
10561
  | BodyResponseCallback<Readable>,
10345
10562
  callback?:
10346
- | BodyResponseCallback<Schema$Operation>
10347
- | BodyResponseCallback<Readable>
10563
+ BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
10348
10564
  ):
10349
10565
  | void
10350
10566
  | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
@@ -10512,8 +10728,7 @@ export namespace sqladmin_v1beta4 {
10512
10728
  | BodyResponseCallback<Schema$Operation>
10513
10729
  | BodyResponseCallback<Readable>,
10514
10730
  callback?:
10515
- | BodyResponseCallback<Schema$Operation>
10516
- | BodyResponseCallback<Readable>
10731
+ BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
10517
10732
  ):
10518
10733
  | void
10519
10734
  | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
@@ -10827,8 +11042,7 @@ export namespace sqladmin_v1beta4 {
10827
11042
  | BodyResponseCallback<Schema$Operation>
10828
11043
  | BodyResponseCallback<Readable>,
10829
11044
  callback?:
10830
- | BodyResponseCallback<Schema$Operation>
10831
- | BodyResponseCallback<Readable>
11045
+ BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
10832
11046
  ):
10833
11047
  | void
10834
11048
  | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
@@ -10988,8 +11202,7 @@ export namespace sqladmin_v1beta4 {
10988
11202
  | BodyResponseCallback<Schema$Operation>
10989
11203
  | BodyResponseCallback<Readable>,
10990
11204
  callback?:
10991
- | BodyResponseCallback<Schema$Operation>
10992
- | BodyResponseCallback<Readable>
11205
+ BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
10993
11206
  ):
10994
11207
  | void
10995
11208
  | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
@@ -11161,8 +11374,7 @@ export namespace sqladmin_v1beta4 {
11161
11374
  | BodyResponseCallback<Schema$Operation>
11162
11375
  | BodyResponseCallback<Readable>,
11163
11376
  callback?:
11164
- | BodyResponseCallback<Schema$Operation>
11165
- | BodyResponseCallback<Readable>
11377
+ BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
11166
11378
  ):
11167
11379
  | void
11168
11380
  | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
@@ -11332,8 +11544,7 @@ export namespace sqladmin_v1beta4 {
11332
11544
  | BodyResponseCallback<Schema$Operation>
11333
11545
  | BodyResponseCallback<Readable>,
11334
11546
  callback?:
11335
- | BodyResponseCallback<Schema$Operation>
11336
- | BodyResponseCallback<Readable>
11547
+ BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
11337
11548
  ):
11338
11549
  | void
11339
11550
  | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
@@ -11501,8 +11712,7 @@ export namespace sqladmin_v1beta4 {
11501
11712
  | BodyResponseCallback<Schema$Operation>
11502
11713
  | BodyResponseCallback<Readable>,
11503
11714
  callback?:
11504
- | BodyResponseCallback<Schema$Operation>
11505
- | BodyResponseCallback<Readable>
11715
+ BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
11506
11716
  ):
11507
11717
  | void
11508
11718
  | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
@@ -11672,8 +11882,7 @@ export namespace sqladmin_v1beta4 {
11672
11882
  | BodyResponseCallback<Schema$Operation>
11673
11883
  | BodyResponseCallback<Readable>,
11674
11884
  callback?:
11675
- | BodyResponseCallback<Schema$Operation>
11676
- | BodyResponseCallback<Readable>
11885
+ BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
11677
11886
  ):
11678
11887
  | void
11679
11888
  | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
@@ -11833,8 +12042,7 @@ export namespace sqladmin_v1beta4 {
11833
12042
  | BodyResponseCallback<Schema$Operation>
11834
12043
  | BodyResponseCallback<Readable>,
11835
12044
  callback?:
11836
- | BodyResponseCallback<Schema$Operation>
11837
- | BodyResponseCallback<Readable>
12045
+ BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
11838
12046
  ):
11839
12047
  | void
11840
12048
  | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
@@ -11994,8 +12202,7 @@ export namespace sqladmin_v1beta4 {
11994
12202
  | BodyResponseCallback<Schema$Operation>
11995
12203
  | BodyResponseCallback<Readable>,
11996
12204
  callback?:
11997
- | BodyResponseCallback<Schema$Operation>
11998
- | BodyResponseCallback<Readable>
12205
+ BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
11999
12206
  ):
12000
12207
  | void
12001
12208
  | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
@@ -12157,8 +12364,7 @@ export namespace sqladmin_v1beta4 {
12157
12364
  | BodyResponseCallback<Schema$Operation>
12158
12365
  | BodyResponseCallback<Readable>,
12159
12366
  callback?:
12160
- | BodyResponseCallback<Schema$Operation>
12161
- | BodyResponseCallback<Readable>
12367
+ BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
12162
12368
  ):
12163
12369
  | void
12164
12370
  | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
@@ -12326,8 +12532,7 @@ export namespace sqladmin_v1beta4 {
12326
12532
  | BodyResponseCallback<Schema$Operation>
12327
12533
  | BodyResponseCallback<Readable>,
12328
12534
  callback?:
12329
- | BodyResponseCallback<Schema$Operation>
12330
- | BodyResponseCallback<Readable>
12535
+ BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
12331
12536
  ):
12332
12537
  | void
12333
12538
  | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
@@ -12423,6 +12628,7 @@ export namespace sqladmin_v1beta4 {
12423
12628
  * // "connectionName": "my_connectionName",
12424
12629
  * // "createTime": "my_createTime",
12425
12630
  * // "currentDiskSize": "my_currentDiskSize",
12631
+ * // "databaseCenterIntegrationEnabled": false,
12426
12632
  * // "databaseInstalledVersion": "my_databaseInstalledVersion",
12427
12633
  * // "databaseVersion": "my_databaseVersion",
12428
12634
  * // "diskEncryptionConfiguration": {},
@@ -12545,8 +12751,7 @@ export namespace sqladmin_v1beta4 {
12545
12751
  | BodyResponseCallback<Schema$Operation>
12546
12752
  | BodyResponseCallback<Readable>,
12547
12753
  callback?:
12548
- | BodyResponseCallback<Schema$Operation>
12549
- | BodyResponseCallback<Readable>
12754
+ BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
12550
12755
  ):
12551
12756
  | void
12552
12757
  | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
@@ -12847,6 +13052,14 @@ export namespace sqladmin_v1beta4 {
12847
13052
  * Project ID of the project that contains the instance.
12848
13053
  */
12849
13054
  project?: string;
13055
+ /**
13056
+ * Optional. Set PSC config to the same value as the existing config to reconcile the PSC networking.
13057
+ */
13058
+ reconcilePscNetworking?: boolean;
13059
+ /**
13060
+ * Optional. Set PSC config to the same value as the existing config and force reconcile the PSC networking.
13061
+ */
13062
+ reconcilePscNetworkingForce?: boolean;
12850
13063
 
12851
13064
  /**
12852
13065
  * Request body metadata
@@ -13107,6 +13320,8 @@ export namespace sqladmin_v1beta4 {
13107
13320
  *
13108
13321
  * // Do the magic
13109
13322
  * const res = await sql.operations.cancel({
13323
+ * // Optional. Region of the Cloud SQL instance.
13324
+ * location: 'placeholder-value',
13110
13325
  * // Instance operation ID.
13111
13326
  * operation: 'placeholder-value',
13112
13327
  * // Project ID of the project that contains the instance.
@@ -13164,8 +13379,7 @@ export namespace sqladmin_v1beta4 {
13164
13379
  | BodyResponseCallback<Schema$Empty>
13165
13380
  | BodyResponseCallback<Readable>,
13166
13381
  callback?:
13167
- | BodyResponseCallback<Schema$Empty>
13168
- | BodyResponseCallback<Readable>
13382
+ BodyResponseCallback<Schema$Empty> | BodyResponseCallback<Readable>
13169
13383
  ):
13170
13384
  | void
13171
13385
  | Promise<GaxiosResponseWithHTTP2<Schema$Empty>>
@@ -13247,6 +13461,8 @@ export namespace sqladmin_v1beta4 {
13247
13461
  *
13248
13462
  * // Do the magic
13249
13463
  * const res = await sql.operations.get({
13464
+ * // Optional. Region of the Cloud SQL instance.
13465
+ * location: 'placeholder-value',
13250
13466
  * // Instance operation ID.
13251
13467
  * operation: 'placeholder-value',
13252
13468
  * // Project ID of the project that contains the instance.
@@ -13325,8 +13541,7 @@ export namespace sqladmin_v1beta4 {
13325
13541
  | BodyResponseCallback<Schema$Operation>
13326
13542
  | BodyResponseCallback<Readable>,
13327
13543
  callback?:
13328
- | BodyResponseCallback<Schema$Operation>
13329
- | BodyResponseCallback<Readable>
13544
+ BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
13330
13545
  ):
13331
13546
  | void
13332
13547
  | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
@@ -13408,6 +13623,8 @@ export namespace sqladmin_v1beta4 {
13408
13623
  * const res = await sql.operations.list({
13409
13624
  * // Cloud SQL instance ID. This does not include the project ID.
13410
13625
  * instance: 'placeholder-value',
13626
+ * // Optional. Region of the Cloud SQL instance.
13627
+ * location: 'placeholder-value',
13411
13628
  * // Maximum number of operations per response.
13412
13629
  * maxResults: 'placeholder-value',
13413
13630
  * // A previously-returned page token representing part of the larger set of results to view.
@@ -13453,8 +13670,7 @@ export namespace sqladmin_v1beta4 {
13453
13670
  list(
13454
13671
  params: Params$Resource$Operations$List,
13455
13672
  options:
13456
- | MethodOptions
13457
- | BodyResponseCallback<Schema$OperationsListResponse>,
13673
+ MethodOptions | BodyResponseCallback<Schema$OperationsListResponse>,
13458
13674
  callback: BodyResponseCallback<Schema$OperationsListResponse>
13459
13675
  ): void;
13460
13676
  list(
@@ -13522,6 +13738,10 @@ export namespace sqladmin_v1beta4 {
13522
13738
  }
13523
13739
 
13524
13740
  export interface Params$Resource$Operations$Cancel extends StandardParameters {
13741
+ /**
13742
+ * Optional. Region of the Cloud SQL instance.
13743
+ */
13744
+ location?: string;
13525
13745
  /**
13526
13746
  * Instance operation ID.
13527
13747
  */
@@ -13532,6 +13752,10 @@ export namespace sqladmin_v1beta4 {
13532
13752
  project?: string;
13533
13753
  }
13534
13754
  export interface Params$Resource$Operations$Get extends StandardParameters {
13755
+ /**
13756
+ * Optional. Region of the Cloud SQL instance.
13757
+ */
13758
+ location?: string;
13535
13759
  /**
13536
13760
  * Instance operation ID.
13537
13761
  */
@@ -13546,6 +13770,10 @@ export namespace sqladmin_v1beta4 {
13546
13770
  * Cloud SQL instance ID. This does not include the project ID.
13547
13771
  */
13548
13772
  instance?: string;
13773
+ /**
13774
+ * Optional. Region of the Cloud SQL instance.
13775
+ */
13776
+ location?: string;
13549
13777
  /**
13550
13778
  * Maximum number of operations per response.
13551
13779
  */
@@ -14005,8 +14233,7 @@ export namespace sqladmin_v1beta4 {
14005
14233
  | BodyResponseCallback<Schema$Operation>
14006
14234
  | BodyResponseCallback<Readable>,
14007
14235
  callback?:
14008
- | BodyResponseCallback<Schema$Operation>
14009
- | BodyResponseCallback<Readable>
14236
+ BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
14010
14237
  ):
14011
14238
  | void
14012
14239
  | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
@@ -14176,8 +14403,7 @@ export namespace sqladmin_v1beta4 {
14176
14403
  | BodyResponseCallback<Schema$Operation>
14177
14404
  | BodyResponseCallback<Readable>,
14178
14405
  callback?:
14179
- | BodyResponseCallback<Schema$Operation>
14180
- | BodyResponseCallback<Readable>
14406
+ BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
14181
14407
  ):
14182
14408
  | void
14183
14409
  | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
@@ -14343,8 +14569,7 @@ export namespace sqladmin_v1beta4 {
14343
14569
  | BodyResponseCallback<Schema$Operation>
14344
14570
  | BodyResponseCallback<Readable>,
14345
14571
  callback?:
14346
- | BodyResponseCallback<Schema$Operation>
14347
- | BodyResponseCallback<Readable>
14572
+ BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
14348
14573
  ):
14349
14574
  | void
14350
14575
  | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
@@ -14517,8 +14742,7 @@ export namespace sqladmin_v1beta4 {
14517
14742
  | BodyResponseCallback<Schema$Operation>
14518
14743
  | BodyResponseCallback<Readable>,
14519
14744
  callback?:
14520
- | BodyResponseCallback<Schema$Operation>
14521
- | BodyResponseCallback<Readable>
14745
+ BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
14522
14746
  ):
14523
14747
  | void
14524
14748
  | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
@@ -14952,8 +15176,7 @@ export namespace sqladmin_v1beta4 {
14952
15176
  | BodyResponseCallback<Schema$SslCert>
14953
15177
  | BodyResponseCallback<Readable>,
14954
15178
  callback?:
14955
- | BodyResponseCallback<Schema$SslCert>
14956
- | BodyResponseCallback<Readable>
15179
+ BodyResponseCallback<Schema$SslCert> | BodyResponseCallback<Readable>
14957
15180
  ):
14958
15181
  | void
14959
15182
  | Promise<GaxiosResponseWithHTTP2<Schema$SslCert>>
@@ -15115,8 +15338,7 @@ export namespace sqladmin_v1beta4 {
15115
15338
  | BodyResponseCallback<Schema$Operation>
15116
15339
  | BodyResponseCallback<Readable>,
15117
15340
  callback?:
15118
- | BodyResponseCallback<Schema$Operation>
15119
- | BodyResponseCallback<Readable>
15341
+ BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
15120
15342
  ):
15121
15343
  | void
15122
15344
  | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
@@ -15266,8 +15488,7 @@ export namespace sqladmin_v1beta4 {
15266
15488
  | BodyResponseCallback<Schema$SslCert>
15267
15489
  | BodyResponseCallback<Readable>,
15268
15490
  callback?:
15269
- | BodyResponseCallback<Schema$SslCert>
15270
- | BodyResponseCallback<Readable>
15491
+ BodyResponseCallback<Schema$SslCert> | BodyResponseCallback<Readable>
15271
15492
  ):
15272
15493
  | void
15273
15494
  | Promise<GaxiosResponseWithHTTP2<Schema$SslCert>>
@@ -15400,8 +15621,7 @@ export namespace sqladmin_v1beta4 {
15400
15621
  insert(
15401
15622
  params: Params$Resource$Sslcerts$Insert,
15402
15623
  options:
15403
- | MethodOptions
15404
- | BodyResponseCallback<Schema$SslCertsInsertResponse>,
15624
+ MethodOptions | BodyResponseCallback<Schema$SslCertsInsertResponse>,
15405
15625
  callback: BodyResponseCallback<Schema$SslCertsInsertResponse>
15406
15626
  ): void;
15407
15627
  insert(
@@ -15544,8 +15764,7 @@ export namespace sqladmin_v1beta4 {
15544
15764
  list(
15545
15765
  params: Params$Resource$Sslcerts$List,
15546
15766
  options:
15547
- | MethodOptions
15548
- | BodyResponseCallback<Schema$SslCertsListResponse>,
15767
+ MethodOptions | BodyResponseCallback<Schema$SslCertsListResponse>,
15549
15768
  callback: BodyResponseCallback<Schema$SslCertsListResponse>
15550
15769
  ): void;
15551
15770
  list(
@@ -15958,8 +16177,7 @@ export namespace sqladmin_v1beta4 {
15958
16177
  | BodyResponseCallback<Schema$Operation>
15959
16178
  | BodyResponseCallback<Readable>,
15960
16179
  callback?:
15961
- | BodyResponseCallback<Schema$Operation>
15962
- | BodyResponseCallback<Readable>
16180
+ BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
15963
16181
  ):
15964
16182
  | void
15965
16183
  | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
@@ -16065,6 +16283,7 @@ export namespace sqladmin_v1beta4 {
16065
16283
  * // "password": "my_password",
16066
16284
  * // "passwordPolicy": {},
16067
16285
  * // "project": "my_project",
16286
+ * // "serverRoles": [],
16068
16287
  * // "sqlserverUserDetails": {},
16069
16288
  * // "type": "my_type"
16070
16289
  * // }
@@ -16116,8 +16335,7 @@ export namespace sqladmin_v1beta4 {
16116
16335
  | BodyResponseCallback<Schema$User>
16117
16336
  | BodyResponseCallback<Readable>,
16118
16337
  callback?:
16119
- | BodyResponseCallback<Schema$User>
16120
- | BodyResponseCallback<Readable>
16338
+ BodyResponseCallback<Schema$User> | BodyResponseCallback<Readable>
16121
16339
  ):
16122
16340
  | void
16123
16341
  | Promise<GaxiosResponseWithHTTP2<Schema$User>>
@@ -16219,6 +16437,7 @@ export namespace sqladmin_v1beta4 {
16219
16437
  * // "password": "my_password",
16220
16438
  * // "passwordPolicy": {},
16221
16439
  * // "project": "my_project",
16440
+ * // "serverRoles": [],
16222
16441
  * // "sqlserverUserDetails": {},
16223
16442
  * // "type": "my_type"
16224
16443
  * // }
@@ -16297,8 +16516,7 @@ export namespace sqladmin_v1beta4 {
16297
16516
  | BodyResponseCallback<Schema$Operation>
16298
16517
  | BodyResponseCallback<Readable>,
16299
16518
  callback?:
16300
- | BodyResponseCallback<Schema$Operation>
16301
- | BodyResponseCallback<Readable>
16519
+ BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
16302
16520
  ):
16303
16521
  | void
16304
16522
  | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
@@ -16534,6 +16752,10 @@ export namespace sqladmin_v1beta4 {
16534
16752
  * project: 'placeholder-value',
16535
16753
  * // Optional. Specifies whether to revoke existing roles that are not present in the `database_roles` field. If `false` or unset, the database roles specified in `database_roles` are added to the user's existing roles.
16536
16754
  * revokeExistingRoles: 'placeholder-value',
16755
+ * // Optional. Specifies whether to revoke existing roles that are not present in the `server_roles` field. If `false` or unset, the server roles specified in `server_roles` are added to the user's existing server roles.
16756
+ * revokeExistingServerRoles: 'placeholder-value',
16757
+ * // Optional. The server roles to grant to the SQL Server login. Existing server roles will not be revoked if revoke_existing_roles is false. body.server_roles will be ignored for update request.
16758
+ * serverRoles: 'placeholder-value',
16537
16759
  *
16538
16760
  * // Request body metadata
16539
16761
  * requestBody: {
@@ -16551,6 +16773,7 @@ export namespace sqladmin_v1beta4 {
16551
16773
  * // "password": "my_password",
16552
16774
  * // "passwordPolicy": {},
16553
16775
  * // "project": "my_project",
16776
+ * // "serverRoles": [],
16554
16777
  * // "sqlserverUserDetails": {},
16555
16778
  * // "type": "my_type"
16556
16779
  * // }
@@ -16629,8 +16852,7 @@ export namespace sqladmin_v1beta4 {
16629
16852
  | BodyResponseCallback<Schema$Operation>
16630
16853
  | BodyResponseCallback<Readable>,
16631
16854
  callback?:
16632
- | BodyResponseCallback<Schema$Operation>
16633
- | BodyResponseCallback<Readable>
16855
+ BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
16634
16856
  ):
16635
16857
  | void
16636
16858
  | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
@@ -16764,6 +16986,14 @@ export namespace sqladmin_v1beta4 {
16764
16986
  * Optional. Specifies whether to revoke existing roles that are not present in the `database_roles` field. If `false` or unset, the database roles specified in `database_roles` are added to the user's existing roles.
16765
16987
  */
16766
16988
  revokeExistingRoles?: boolean;
16989
+ /**
16990
+ * Optional. Specifies whether to revoke existing roles that are not present in the `server_roles` field. If `false` or unset, the server roles specified in `server_roles` are added to the user's existing server roles.
16991
+ */
16992
+ revokeExistingServerRoles?: boolean;
16993
+ /**
16994
+ * Optional. The server roles to grant to the SQL Server login. Existing server roles will not be revoked if revoke_existing_roles is false. body.server_roles will be ignored for update request.
16995
+ */
16996
+ serverRoles?: string[];
16767
16997
 
16768
16998
  /**
16769
16999
  * Request body metadata