@googleapis/sqladmin 34.1.0 → 34.2.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/build/v1.d.ts CHANGED
@@ -1511,6 +1511,23 @@ export declare namespace sqladmin_v1 {
1511
1511
  */
1512
1512
  importContext?: Schema$ImportContext;
1513
1513
  }
1514
+ /**
1515
+ * Instances ListEntraIdCertificates response.
1516
+ */
1517
+ export interface Schema$InstancesListEntraIdCertificatesResponse {
1518
+ /**
1519
+ * The `sha1_fingerprint` of the active certificate from `certs`.
1520
+ */
1521
+ activeVersion?: string | null;
1522
+ /**
1523
+ * List of Entra ID certificates for the instance.
1524
+ */
1525
+ certs?: Schema$SslCert[];
1526
+ /**
1527
+ * This is always `sql#instancesListEntraIdCertificates`.
1528
+ */
1529
+ kind?: string | null;
1530
+ }
1514
1531
  /**
1515
1532
  * Database instances list response.
1516
1533
  */
@@ -1610,6 +1627,15 @@ export declare namespace sqladmin_v1 {
1610
1627
  */
1611
1628
  restoreInstanceSettings?: Schema$DatabaseInstance;
1612
1629
  }
1630
+ /**
1631
+ * Rotate Entra ID certificate request.
1632
+ */
1633
+ export interface Schema$InstancesRotateEntraIdCertificateRequest {
1634
+ /**
1635
+ * Optional. Contains details about the rotate server certificate operation.
1636
+ */
1637
+ rotateEntraIdCertificateContext?: Schema$RotateEntraIdCertificateContext;
1638
+ }
1613
1639
  /**
1614
1640
  * Rotate server CA request.
1615
1641
  */
@@ -1694,6 +1720,10 @@ export declare namespace sqladmin_v1 {
1694
1720
  * Optional. The resource name of the server CA pool for an instance with `CUSTOMER_MANAGED_CAS_CA` as the `server_ca_mode`. Format: projects/{PROJECT\}/locations/{REGION\}/caPools/{CA_POOL_ID\}
1695
1721
  */
1696
1722
  serverCaPool?: string | null;
1723
+ /**
1724
+ * Optional. Controls the automatic server certificate rotation feature. This feature is disabled by default. When enabled, the server certificate will be automatically rotated during Cloud SQL scheduled maintenance or self-service maintenance updates up to six months before it expires. This setting can only be set if server_ca_mode is either GOOGLE_MANAGED_CAS_CA or CUSTOMER_MANAGED_CAS_CA.
1725
+ */
1726
+ serverCertificateRotationMode?: string | null;
1697
1727
  /**
1698
1728
  * Specify how SSL/TLS is enforced in database connections. If you must use the `require_ssl` flag for backward compatibility, then only the following value pairs are valid: For PostgreSQL and MySQL: * `ssl_mode=ALLOW_UNENCRYPTED_AND_ENCRYPTED` and `require_ssl=false` * `ssl_mode=ENCRYPTED_ONLY` and `require_ssl=false` * `ssl_mode=TRUSTED_CLIENT_CERTIFICATE_REQUIRED` and `require_ssl=true` For SQL Server: * `ssl_mode=ALLOW_UNENCRYPTED_AND_ENCRYPTED` and `require_ssl=false` * `ssl_mode=ENCRYPTED_ONLY` and `require_ssl=true` The value of `ssl_mode` has priority over the value of `require_ssl`. For example, for the pair `ssl_mode=ENCRYPTED_ONLY` and `require_ssl=false`, `ssl_mode=ENCRYPTED_ONLY` means accept only SSL connections, while `require_ssl=false` means accept both non-SSL and SSL connections. In this case, MySQL and PostgreSQL databases respect `ssl_mode` and accepts only SSL connections.
1699
1729
  */
@@ -2122,7 +2152,7 @@ export declare namespace sqladmin_v1 {
2122
2152
  targetSizeGb?: string | null;
2123
2153
  }
2124
2154
  /**
2125
- * The context to perform a point-in-time recovery of an instance managed by Google Cloud Backup and Disaster Recovery.
2155
+ * The context to perform a point-in-time recovery of an instance managed by Backup and Disaster Recovery (DR) Service.
2126
2156
  */
2127
2157
  export interface Schema$PointInTimeRestoreContext {
2128
2158
  /**
@@ -2130,7 +2160,7 @@ export declare namespace sqladmin_v1 {
2130
2160
  */
2131
2161
  allocatedIpRange?: string | null;
2132
2162
  /**
2133
- * The Google Cloud Backup and Disaster Recovery Datasource URI. Format: projects/{project\}/locations/{region\}/backupVaults/{backupvault\}/dataSources/{datasource\}.
2163
+ * The Backup and Disaster Recovery (DR) Service Datasource URI. Format: projects/{project\}/locations/{region\}/backupVaults/{backupvault\}/dataSources/{datasource\}.
2134
2164
  */
2135
2165
  datasource?: string | null;
2136
2166
  /**
@@ -2390,6 +2420,19 @@ export declare namespace sqladmin_v1 {
2390
2420
  */
2391
2421
  project?: string | null;
2392
2422
  }
2423
+ /**
2424
+ * Instance rotate Entra ID certificate context.
2425
+ */
2426
+ export interface Schema$RotateEntraIdCertificateContext {
2427
+ /**
2428
+ * Optional. This is always `sql#rotateEntraIdCertificateContext`.
2429
+ */
2430
+ kind?: string | null;
2431
+ /**
2432
+ * Optional. The fingerprint of the next version to be rotated to. If left unspecified, will be rotated to the most recently added server certificate version.
2433
+ */
2434
+ nextVersion?: string | null;
2435
+ }
2393
2436
  /**
2394
2437
  * Instance rotate server CA context.
2395
2438
  */
@@ -2483,7 +2526,7 @@ export declare namespace sqladmin_v1 {
2483
2526
  */
2484
2527
  crashSafeReplicationEnabled?: boolean | null;
2485
2528
  /**
2486
- * This parameter controls whether to allow using Data API to connect to the instance. Not allowed by default.
2529
+ * This parameter controls whether to allow using ExecuteSql API to connect to the instance. Not allowed by default.
2487
2530
  */
2488
2531
  dataApiAccess?: string | null;
2489
2532
  /**
@@ -2534,6 +2577,10 @@ export declare namespace sqladmin_v1 {
2534
2577
  * Optional. When this parameter is set to true, Cloud SQL instances can connect to Vertex AI to pass requests for real-time predictions and insights to the AI. The default value is false. This applies only to Cloud SQL for MySQL and Cloud SQL for PostgreSQL instances.
2535
2578
  */
2536
2579
  enableGoogleMlIntegration?: boolean | null;
2580
+ /**
2581
+ * Optional. The Microsoft Entra ID configuration for the SQL Server instance.
2582
+ */
2583
+ entraidConfig?: Schema$SqlServerEntraIdConfig;
2537
2584
  /**
2538
2585
  * Optional. The final backup configuration for the instance.
2539
2586
  */
@@ -2890,6 +2937,23 @@ export declare namespace sqladmin_v1 {
2890
2937
  */
2891
2938
  recoveryModel?: string | null;
2892
2939
  }
2940
+ /**
2941
+ * SQL Server Entra ID configuration.
2942
+ */
2943
+ export interface Schema$SqlServerEntraIdConfig {
2944
+ /**
2945
+ * Optional. The application ID for the Entra ID configuration.
2946
+ */
2947
+ applicationId?: string | null;
2948
+ /**
2949
+ * Output only. This is always sql#sqlServerEntraIdConfig
2950
+ */
2951
+ kind?: string | null;
2952
+ /**
2953
+ * Optional. The tenant ID for the Entra ID configuration.
2954
+ */
2955
+ tenantId?: string | null;
2956
+ }
2893
2957
  /**
2894
2958
  * Represents a Sql Server user on the Cloud SQL instance.
2895
2959
  */
@@ -3122,6 +3186,10 @@ export declare namespace sqladmin_v1 {
3122
3186
  * A Cloud SQL user resource.
3123
3187
  */
3124
3188
  export interface Schema$User {
3189
+ /**
3190
+ * Optional. Role memberships of the user
3191
+ */
3192
+ databaseRoles?: string[] | null;
3125
3193
  /**
3126
3194
  * Dual password status for the user.
3127
3195
  */
@@ -6346,6 +6414,73 @@ export declare namespace sqladmin_v1 {
6346
6414
  list(params: Params$Resource$Instances$List, options: MethodOptions | BodyResponseCallback<Schema$InstancesListResponse>, callback: BodyResponseCallback<Schema$InstancesListResponse>): void;
6347
6415
  list(params: Params$Resource$Instances$List, callback: BodyResponseCallback<Schema$InstancesListResponse>): void;
6348
6416
  list(callback: BodyResponseCallback<Schema$InstancesListResponse>): void;
6417
+ /**
6418
+ * Lists all versions of EntraID certificates for the specified instance. There can be up to three sets of certificates listed: the certificate that is currently in use, a future that has been added but not yet used to sign a certificate, and a certificate that has been rotated out.
6419
+ * @example
6420
+ * ```js
6421
+ * // Before running the sample:
6422
+ * // - Enable the API at:
6423
+ * // https://console.developers.google.com/apis/api/sqladmin.googleapis.com
6424
+ * // - Login into gcloud by running:
6425
+ * // ```sh
6426
+ * // $ gcloud auth application-default login
6427
+ * // ```
6428
+ * // - Install the npm module by running:
6429
+ * // ```sh
6430
+ * // $ npm install googleapis
6431
+ * // ```
6432
+ *
6433
+ * const {google} = require('googleapis');
6434
+ * const sqladmin = google.sqladmin('v1');
6435
+ *
6436
+ * async function main() {
6437
+ * const auth = new google.auth.GoogleAuth({
6438
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
6439
+ * scopes: [
6440
+ * 'https://www.googleapis.com/auth/cloud-platform',
6441
+ * 'https://www.googleapis.com/auth/sqlservice.admin',
6442
+ * ],
6443
+ * });
6444
+ *
6445
+ * // Acquire an auth client, and bind it to all future calls
6446
+ * const authClient = await auth.getClient();
6447
+ * google.options({auth: authClient});
6448
+ *
6449
+ * // Do the magic
6450
+ * const res = await sql.instances.ListEntraIdCertificates({
6451
+ * // Required. Cloud SQL instance ID. This does not include the project ID.
6452
+ * instance: 'placeholder-value',
6453
+ * // Required. Project ID of the project that contains the instance.
6454
+ * project: 'placeholder-value',
6455
+ * });
6456
+ * console.log(res.data);
6457
+ *
6458
+ * // Example response
6459
+ * // {
6460
+ * // "activeVersion": "my_activeVersion",
6461
+ * // "certs": [],
6462
+ * // "kind": "my_kind"
6463
+ * // }
6464
+ * }
6465
+ *
6466
+ * main().catch(e => {
6467
+ * console.error(e);
6468
+ * throw e;
6469
+ * });
6470
+ *
6471
+ * ```
6472
+ *
6473
+ * @param params - Parameters for request
6474
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
6475
+ * @param callback - Optional callback that handles the response.
6476
+ * @returns A promise if used with async/await, or void if used with a callback.
6477
+ */
6478
+ ListEntraIdCertificates(params: Params$Resource$Instances$Listentraidcertificates, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
6479
+ ListEntraIdCertificates(params?: Params$Resource$Instances$Listentraidcertificates, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$InstancesListEntraIdCertificatesResponse>>;
6480
+ ListEntraIdCertificates(params: Params$Resource$Instances$Listentraidcertificates, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6481
+ ListEntraIdCertificates(params: Params$Resource$Instances$Listentraidcertificates, options: MethodOptions | BodyResponseCallback<Schema$InstancesListEntraIdCertificatesResponse>, callback: BodyResponseCallback<Schema$InstancesListEntraIdCertificatesResponse>): void;
6482
+ ListEntraIdCertificates(params: Params$Resource$Instances$Listentraidcertificates, callback: BodyResponseCallback<Schema$InstancesListEntraIdCertificatesResponse>): void;
6483
+ ListEntraIdCertificates(callback: BodyResponseCallback<Schema$InstancesListEntraIdCertificatesResponse>): void;
6349
6484
  /**
6350
6485
  * Lists all of the trusted Certificate Authorities (CAs) for the specified instance. There can be up to three CAs listed: the CA that was used to sign the certificate that is currently in use, a CA that has been added but not yet used to sign a certificate, and a CA used to sign a certificate that has previously rotated out.
6351
6486
  * @example
@@ -7320,6 +7455,98 @@ export declare namespace sqladmin_v1 {
7320
7455
  restoreBackup(params: Params$Resource$Instances$Restorebackup, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
7321
7456
  restoreBackup(params: Params$Resource$Instances$Restorebackup, callback: BodyResponseCallback<Schema$Operation>): void;
7322
7457
  restoreBackup(callback: BodyResponseCallback<Schema$Operation>): void;
7458
+ /**
7459
+ * Rotates the server certificate version to one previously added with the addEntraIdCertificate method.
7460
+ * @example
7461
+ * ```js
7462
+ * // Before running the sample:
7463
+ * // - Enable the API at:
7464
+ * // https://console.developers.google.com/apis/api/sqladmin.googleapis.com
7465
+ * // - Login into gcloud by running:
7466
+ * // ```sh
7467
+ * // $ gcloud auth application-default login
7468
+ * // ```
7469
+ * // - Install the npm module by running:
7470
+ * // ```sh
7471
+ * // $ npm install googleapis
7472
+ * // ```
7473
+ *
7474
+ * const {google} = require('googleapis');
7475
+ * const sqladmin = google.sqladmin('v1');
7476
+ *
7477
+ * async function main() {
7478
+ * const auth = new google.auth.GoogleAuth({
7479
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
7480
+ * scopes: [
7481
+ * 'https://www.googleapis.com/auth/cloud-platform',
7482
+ * 'https://www.googleapis.com/auth/sqlservice.admin',
7483
+ * ],
7484
+ * });
7485
+ *
7486
+ * // Acquire an auth client, and bind it to all future calls
7487
+ * const authClient = await auth.getClient();
7488
+ * google.options({auth: authClient});
7489
+ *
7490
+ * // Do the magic
7491
+ * const res = await sql.instances.RotateEntraIdCertificate({
7492
+ * // Required. Cloud SQL instance ID. This does not include the project ID.
7493
+ * instance: 'placeholder-value',
7494
+ * // Required. Project ID of the project that contains the instance.
7495
+ * project: 'placeholder-value',
7496
+ *
7497
+ * // Request body metadata
7498
+ * requestBody: {
7499
+ * // request body parameters
7500
+ * // {
7501
+ * // "rotateEntraIdCertificateContext": {}
7502
+ * // }
7503
+ * },
7504
+ * });
7505
+ * console.log(res.data);
7506
+ *
7507
+ * // Example response
7508
+ * // {
7509
+ * // "acquireSsrsLeaseContext": {},
7510
+ * // "apiWarning": {},
7511
+ * // "backupContext": {},
7512
+ * // "endTime": "my_endTime",
7513
+ * // "error": {},
7514
+ * // "exportContext": {},
7515
+ * // "importContext": {},
7516
+ * // "insertTime": "my_insertTime",
7517
+ * // "kind": "my_kind",
7518
+ * // "name": "my_name",
7519
+ * // "operationType": "my_operationType",
7520
+ * // "preCheckMajorVersionUpgradeContext": {},
7521
+ * // "selfLink": "my_selfLink",
7522
+ * // "startTime": "my_startTime",
7523
+ * // "status": "my_status",
7524
+ * // "subOperationType": {},
7525
+ * // "targetId": "my_targetId",
7526
+ * // "targetLink": "my_targetLink",
7527
+ * // "targetProject": "my_targetProject",
7528
+ * // "user": "my_user"
7529
+ * // }
7530
+ * }
7531
+ *
7532
+ * main().catch(e => {
7533
+ * console.error(e);
7534
+ * throw e;
7535
+ * });
7536
+ *
7537
+ * ```
7538
+ *
7539
+ * @param params - Parameters for request
7540
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
7541
+ * @param callback - Optional callback that handles the response.
7542
+ * @returns A promise if used with async/await, or void if used with a callback.
7543
+ */
7544
+ RotateEntraIdCertificate(params: Params$Resource$Instances$Rotateentraidcertificate, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
7545
+ RotateEntraIdCertificate(params?: Params$Resource$Instances$Rotateentraidcertificate, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
7546
+ RotateEntraIdCertificate(params: Params$Resource$Instances$Rotateentraidcertificate, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
7547
+ RotateEntraIdCertificate(params: Params$Resource$Instances$Rotateentraidcertificate, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
7548
+ RotateEntraIdCertificate(params: Params$Resource$Instances$Rotateentraidcertificate, callback: BodyResponseCallback<Schema$Operation>): void;
7549
+ RotateEntraIdCertificate(callback: BodyResponseCallback<Schema$Operation>): void;
7323
7550
  /**
7324
7551
  * Rotates the server certificate to one signed by the Certificate Authority (CA) version previously added with the addServerCA method. For instances that have enabled Certificate Authority Service (CAS) based server CA, use RotateServerCertificate to rotate the server certificate.
7325
7552
  * @example
@@ -8189,6 +8416,16 @@ export declare namespace sqladmin_v1 {
8189
8416
  */
8190
8417
  project?: string;
8191
8418
  }
8419
+ export interface Params$Resource$Instances$Listentraidcertificates extends StandardParameters {
8420
+ /**
8421
+ * Required. Cloud SQL instance ID. This does not include the project ID.
8422
+ */
8423
+ instance?: string;
8424
+ /**
8425
+ * Required. Project ID of the project that contains the instance.
8426
+ */
8427
+ project?: string;
8428
+ }
8192
8429
  export interface Params$Resource$Instances$Listservercas extends StandardParameters {
8193
8430
  /**
8194
8431
  * Cloud SQL instance ID. This does not include the project ID.
@@ -8323,6 +8560,20 @@ export declare namespace sqladmin_v1 {
8323
8560
  */
8324
8561
  requestBody?: Schema$InstancesRestoreBackupRequest;
8325
8562
  }
8563
+ export interface Params$Resource$Instances$Rotateentraidcertificate extends StandardParameters {
8564
+ /**
8565
+ * Required. Cloud SQL instance ID. This does not include the project ID.
8566
+ */
8567
+ instance?: string;
8568
+ /**
8569
+ * Required. Project ID of the project that contains the instance.
8570
+ */
8571
+ project?: string;
8572
+ /**
8573
+ * Request body metadata
8574
+ */
8575
+ requestBody?: Schema$InstancesRotateEntraIdCertificateRequest;
8576
+ }
8326
8577
  export interface Params$Resource$Instances$Rotateserverca extends StandardParameters {
8327
8578
  /**
8328
8579
  * Cloud SQL instance ID. This does not include the project ID.
@@ -10031,6 +10282,7 @@ export declare namespace sqladmin_v1 {
10031
10282
  *
10032
10283
  * // Example response
10033
10284
  * // {
10285
+ * // "databaseRoles": [],
10034
10286
  * // "dualPasswordType": "my_dualPasswordType",
10035
10287
  * // "etag": "my_etag",
10036
10288
  * // "host": "my_host",
@@ -10108,6 +10360,7 @@ export declare namespace sqladmin_v1 {
10108
10360
  * requestBody: {
10109
10361
  * // request body parameters
10110
10362
  * // {
10363
+ * // "databaseRoles": [],
10111
10364
  * // "dualPasswordType": "my_dualPasswordType",
10112
10365
  * // "etag": "my_etag",
10113
10366
  * // "host": "my_host",
@@ -10270,6 +10523,8 @@ export declare namespace sqladmin_v1 {
10270
10523
  *
10271
10524
  * // Do the magic
10272
10525
  * const res = await sql.users.update({
10526
+ * // Optional. List of database roles to grant to the user. body.database_roles will be ignored for update request.
10527
+ * databaseRoles: 'placeholder-value',
10273
10528
  * // Optional. Host of the user in the instance.
10274
10529
  * host: 'placeholder-value',
10275
10530
  * // Database instance ID. This does not include the project ID.
@@ -10283,6 +10538,7 @@ export declare namespace sqladmin_v1 {
10283
10538
  * requestBody: {
10284
10539
  * // request body parameters
10285
10540
  * // {
10541
+ * // "databaseRoles": [],
10286
10542
  * // "dualPasswordType": "my_dualPasswordType",
10287
10543
  * // "etag": "my_etag",
10288
10544
  * // "host": "my_host",
@@ -10406,6 +10662,10 @@ export declare namespace sqladmin_v1 {
10406
10662
  project?: string;
10407
10663
  }
10408
10664
  export interface Params$Resource$Users$Update extends StandardParameters {
10665
+ /**
10666
+ * Optional. List of database roles to grant to the user. body.database_roles will be ignored for update request.
10667
+ */
10668
+ databaseRoles?: string[];
10409
10669
  /**
10410
10670
  * Optional. Host of the user in the instance.
10411
10671
  */
package/build/v1.js CHANGED
@@ -1122,6 +1122,39 @@ var sqladmin_v1;
1122
1122
  return (0, googleapis_common_1.createAPIRequest)(parameters);
1123
1123
  }
1124
1124
  }
1125
+ ListEntraIdCertificates(paramsOrCallback, optionsOrCallback, callback) {
1126
+ let params = (paramsOrCallback ||
1127
+ {});
1128
+ let options = (optionsOrCallback || {});
1129
+ if (typeof paramsOrCallback === 'function') {
1130
+ callback = paramsOrCallback;
1131
+ params = {};
1132
+ options = {};
1133
+ }
1134
+ if (typeof optionsOrCallback === 'function') {
1135
+ callback = optionsOrCallback;
1136
+ options = {};
1137
+ }
1138
+ const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';
1139
+ const parameters = {
1140
+ options: Object.assign({
1141
+ url: (rootUrl +
1142
+ '/v1/projects/{project}/instances/{instance}/listEntraIdCertificates').replace(/([^:]\/)\/+/g, '$1'),
1143
+ method: 'GET',
1144
+ apiVersion: '',
1145
+ }, options),
1146
+ params,
1147
+ requiredParams: ['project', 'instance'],
1148
+ pathParams: ['instance', 'project'],
1149
+ context: this.context,
1150
+ };
1151
+ if (callback) {
1152
+ (0, googleapis_common_1.createAPIRequest)(parameters, callback);
1153
+ }
1154
+ else {
1155
+ return (0, googleapis_common_1.createAPIRequest)(parameters);
1156
+ }
1157
+ }
1125
1158
  listServerCas(paramsOrCallback, optionsOrCallback, callback) {
1126
1159
  let params = (paramsOrCallback ||
1127
1160
  {});
@@ -1480,6 +1513,39 @@ var sqladmin_v1;
1480
1513
  return (0, googleapis_common_1.createAPIRequest)(parameters);
1481
1514
  }
1482
1515
  }
1516
+ RotateEntraIdCertificate(paramsOrCallback, optionsOrCallback, callback) {
1517
+ let params = (paramsOrCallback ||
1518
+ {});
1519
+ let options = (optionsOrCallback || {});
1520
+ if (typeof paramsOrCallback === 'function') {
1521
+ callback = paramsOrCallback;
1522
+ params = {};
1523
+ options = {};
1524
+ }
1525
+ if (typeof optionsOrCallback === 'function') {
1526
+ callback = optionsOrCallback;
1527
+ options = {};
1528
+ }
1529
+ const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';
1530
+ const parameters = {
1531
+ options: Object.assign({
1532
+ url: (rootUrl +
1533
+ '/v1/projects/{project}/instances/{instance}/rotateEntraIdCertificate').replace(/([^:]\/)\/+/g, '$1'),
1534
+ method: 'POST',
1535
+ apiVersion: '',
1536
+ }, options),
1537
+ params,
1538
+ requiredParams: ['project', 'instance'],
1539
+ pathParams: ['instance', 'project'],
1540
+ context: this.context,
1541
+ };
1542
+ if (callback) {
1543
+ (0, googleapis_common_1.createAPIRequest)(parameters, callback);
1544
+ }
1545
+ else {
1546
+ return (0, googleapis_common_1.createAPIRequest)(parameters);
1547
+ }
1548
+ }
1483
1549
  rotateServerCa(paramsOrCallback, optionsOrCallback, callback) {
1484
1550
  let params = (paramsOrCallback ||
1485
1551
  {});