@googleapis/sqladmin 15.0.0 → 16.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/CHANGELOG.md +21 -0
- package/build/v1.d.ts +174 -0
- package/build/v1.js +64 -0
- package/build/v1.js.map +1 -1
- package/build/v1beta4.d.ts +174 -0
- package/build/v1beta4.js +64 -0
- package/build/v1beta4.js.map +1 -1
- package/package.json +1 -1
- package/v1.ts +341 -0
- package/v1beta4.ts +341 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [16.0.0](https://github.com/googleapis/google-api-nodejs-client/compare/sqladmin-v15.0.0...sqladmin-v16.0.0) (2024-04-04)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### ⚠ BREAKING CHANGES
|
|
7
|
+
|
|
8
|
+
* This release has breaking changes.
|
|
9
|
+
* This release has breaking changes.
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* run the generator ([#3434](https://github.com/googleapis/google-api-nodejs-client/issues/3434)) ([f0db524](https://github.com/googleapis/google-api-nodejs-client/commit/f0db524bb26f05cea3dec4c0ed66b496399e3857))
|
|
14
|
+
* run the generator ([#3456](https://github.com/googleapis/google-api-nodejs-client/issues/3456)) ([a865e81](https://github.com/googleapis/google-api-nodejs-client/commit/a865e81539b315d3b321650663ba0b2555b1e5a1))
|
|
15
|
+
* **sqladmin:** update the API ([f17c99a](https://github.com/googleapis/google-api-nodejs-client/commit/f17c99aed62a4d186e4d56756b9fa24b038552e8))
|
|
16
|
+
* **sqladmin:** update the API ([a80b25a](https://github.com/googleapis/google-api-nodejs-client/commit/a80b25a55667abdc7afeca561b5744ddd55eca3b))
|
|
17
|
+
* **sqladmin:** update the API ([dcc2567](https://github.com/googleapis/google-api-nodejs-client/commit/dcc2567d656c302e16214032a55317b4512362b7))
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* **sqladmin:** update the API ([de59e8d](https://github.com/googleapis/google-api-nodejs-client/commit/de59e8dd225ab7cf53698a47b6c5dac578749292))
|
|
23
|
+
|
|
3
24
|
## [15.0.0](https://github.com/googleapis/google-api-nodejs-client/compare/sqladmin-v14.1.0...sqladmin-v15.0.0) (2024-03-12)
|
|
4
25
|
|
|
5
26
|
|
package/build/v1.d.ts
CHANGED
|
@@ -101,6 +101,27 @@ export declare namespace sqladmin_v1 {
|
|
|
101
101
|
*/
|
|
102
102
|
value?: string | null;
|
|
103
103
|
}
|
|
104
|
+
/**
|
|
105
|
+
* Acquire SSRS lease context.
|
|
106
|
+
*/
|
|
107
|
+
export interface Schema$AcquireSsrsLeaseContext {
|
|
108
|
+
/**
|
|
109
|
+
* Lease duration needed for SSRS setup.
|
|
110
|
+
*/
|
|
111
|
+
duration?: string | null;
|
|
112
|
+
/**
|
|
113
|
+
* The report database to be used for SSRS setup.
|
|
114
|
+
*/
|
|
115
|
+
reportDatabase?: string | null;
|
|
116
|
+
/**
|
|
117
|
+
* The username to be used as the service login to connect to the report database for SSRS setup.
|
|
118
|
+
*/
|
|
119
|
+
serviceLogin?: string | null;
|
|
120
|
+
/**
|
|
121
|
+
* The username to be used as the setup login to connect to the database server for SSRS setup.
|
|
122
|
+
*/
|
|
123
|
+
setupLogin?: string | null;
|
|
124
|
+
}
|
|
104
125
|
/**
|
|
105
126
|
* Specifies options for controlling advanced machine features.
|
|
106
127
|
*/
|
|
@@ -163,6 +184,10 @@ export declare namespace sqladmin_v1 {
|
|
|
163
184
|
* Start time for the daily backup configuration in UTC timezone in the 24 hour format - `HH:MM`.
|
|
164
185
|
*/
|
|
165
186
|
startTime?: string | null;
|
|
187
|
+
/**
|
|
188
|
+
* Output only. This value contains the storage location of transactional logs for the database for point-in-time recovery.
|
|
189
|
+
*/
|
|
190
|
+
transactionalLogStorageState?: string | null;
|
|
166
191
|
/**
|
|
167
192
|
* The number of days of transaction logs we retain for point in time restore, from 1-7.
|
|
168
193
|
*/
|
|
@@ -498,6 +523,10 @@ export declare namespace sqladmin_v1 {
|
|
|
498
523
|
* The Compute Engine zone that the instance is currently serving from. This value could be different from the zone that was specified when the instance was created if the instance has failed over to its secondary zone. WARNING: Changing this might restart the instance.
|
|
499
524
|
*/
|
|
500
525
|
gceZone?: string | null;
|
|
526
|
+
/**
|
|
527
|
+
* Gemini configuration.
|
|
528
|
+
*/
|
|
529
|
+
geminiConfig?: Schema$GeminiInstanceConfig;
|
|
501
530
|
/**
|
|
502
531
|
* The instance type.
|
|
503
532
|
*/
|
|
@@ -562,6 +591,10 @@ export declare namespace sqladmin_v1 {
|
|
|
562
591
|
* The replicas of the instance.
|
|
563
592
|
*/
|
|
564
593
|
replicaNames?: string[] | null;
|
|
594
|
+
/**
|
|
595
|
+
* Optional. The pair of a primary instance and disaster recovery (DR) replica. A DR replica is a cross-region replica that you designate for failover in the event that the primary instance has regional failure.
|
|
596
|
+
*/
|
|
597
|
+
replicationCluster?: Schema$ReplicationCluster;
|
|
565
598
|
/**
|
|
566
599
|
* Initial root password. Use only on creation. You must set root passwords before you can connect to PostgreSQL instances.
|
|
567
600
|
*/
|
|
@@ -886,6 +919,35 @@ export declare namespace sqladmin_v1 {
|
|
|
886
919
|
*/
|
|
887
920
|
kind?: string | null;
|
|
888
921
|
}
|
|
922
|
+
/**
|
|
923
|
+
* Gemini configuration.
|
|
924
|
+
*/
|
|
925
|
+
export interface Schema$GeminiInstanceConfig {
|
|
926
|
+
/**
|
|
927
|
+
* Output only. Whether active query is enabled.
|
|
928
|
+
*/
|
|
929
|
+
activeQueryEnabled?: boolean | null;
|
|
930
|
+
/**
|
|
931
|
+
* Output only. Whether gemini is enabled.
|
|
932
|
+
*/
|
|
933
|
+
entitled?: boolean | null;
|
|
934
|
+
/**
|
|
935
|
+
* Output only. Whether flag recommender is enabled.
|
|
936
|
+
*/
|
|
937
|
+
flagRecommenderEnabled?: boolean | null;
|
|
938
|
+
/**
|
|
939
|
+
* Output only. Whether vacuum management is enabled.
|
|
940
|
+
*/
|
|
941
|
+
googleVacuumMgmtEnabled?: boolean | null;
|
|
942
|
+
/**
|
|
943
|
+
* Output only. Whether index advisor is enabled.
|
|
944
|
+
*/
|
|
945
|
+
indexAdvisorEnabled?: boolean | null;
|
|
946
|
+
/**
|
|
947
|
+
* Output only. Whether oom session cancel is enabled.
|
|
948
|
+
*/
|
|
949
|
+
oomSessionCancelEnabled?: boolean | null;
|
|
950
|
+
}
|
|
889
951
|
/**
|
|
890
952
|
* Ephemeral certificate creation request.
|
|
891
953
|
*/
|
|
@@ -1010,6 +1072,15 @@ export declare namespace sqladmin_v1 {
|
|
|
1010
1072
|
*/
|
|
1011
1073
|
region?: string | null;
|
|
1012
1074
|
}
|
|
1075
|
+
/**
|
|
1076
|
+
* Request to acquire a lease for SSRS.
|
|
1077
|
+
*/
|
|
1078
|
+
export interface Schema$InstancesAcquireSsrsLeaseRequest {
|
|
1079
|
+
/**
|
|
1080
|
+
* Contains details about the acquire SSRS lease operation.
|
|
1081
|
+
*/
|
|
1082
|
+
acquireSsrsLeaseContext?: Schema$AcquireSsrsLeaseContext;
|
|
1083
|
+
}
|
|
1013
1084
|
/**
|
|
1014
1085
|
* Database instance clone request.
|
|
1015
1086
|
*/
|
|
@@ -1334,6 +1405,10 @@ export declare namespace sqladmin_v1 {
|
|
|
1334
1405
|
* An Operation resource. For successful operations that return an Operation resource, only the fields relevant to the operation are populated in the resource.
|
|
1335
1406
|
*/
|
|
1336
1407
|
export interface Schema$Operation {
|
|
1408
|
+
/**
|
|
1409
|
+
* The context for acquire SSRS lease operation, if applicable.
|
|
1410
|
+
*/
|
|
1411
|
+
acquireSsrsLeaseContext?: Schema$AcquireSsrsLeaseContext;
|
|
1337
1412
|
/**
|
|
1338
1413
|
* An Admin API warning message.
|
|
1339
1414
|
*/
|
|
@@ -1569,6 +1644,19 @@ export declare namespace sqladmin_v1 {
|
|
|
1569
1644
|
*/
|
|
1570
1645
|
mysqlReplicaConfiguration?: Schema$MySqlReplicaConfiguration;
|
|
1571
1646
|
}
|
|
1647
|
+
/**
|
|
1648
|
+
* Primary-DR replica pair
|
|
1649
|
+
*/
|
|
1650
|
+
export interface Schema$ReplicationCluster {
|
|
1651
|
+
/**
|
|
1652
|
+
* Output only. read-only field that indicates if the replica is a dr_replica; not set for a primary.
|
|
1653
|
+
*/
|
|
1654
|
+
drReplica?: boolean | null;
|
|
1655
|
+
/**
|
|
1656
|
+
* Optional. If the instance is a primary instance, then this field identifies the disaster recovery (DR) replica. A DR replica is an optional configuration for Enterprise Plus edition instances. If the instance is a read replica, then the field is not set. Users can set this field to set a designated DR replica for a primary. Removing this field removes the DR replica.
|
|
1657
|
+
*/
|
|
1658
|
+
failoverDrReplicaName?: string | null;
|
|
1659
|
+
}
|
|
1572
1660
|
export interface Schema$Reschedule {
|
|
1573
1661
|
/**
|
|
1574
1662
|
* Required. The type of the reschedule.
|
|
@@ -1685,6 +1773,10 @@ export declare namespace sqladmin_v1 {
|
|
|
1685
1773
|
* Optional. The edition of the instance.
|
|
1686
1774
|
*/
|
|
1687
1775
|
edition?: string | null;
|
|
1776
|
+
/**
|
|
1777
|
+
* 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 PostgreSQL instances.
|
|
1778
|
+
*/
|
|
1779
|
+
enableGoogleMlIntegration?: boolean | null;
|
|
1688
1780
|
/**
|
|
1689
1781
|
* Insights configuration, for now relevant only for Postgres.
|
|
1690
1782
|
*/
|
|
@@ -1778,6 +1870,15 @@ export declare namespace sqladmin_v1 {
|
|
|
1778
1870
|
*/
|
|
1779
1871
|
type?: string | null;
|
|
1780
1872
|
}
|
|
1873
|
+
/**
|
|
1874
|
+
* Response for the acquire SSRS lease request.
|
|
1875
|
+
*/
|
|
1876
|
+
export interface Schema$SqlInstancesAcquireSsrsLeaseResponse {
|
|
1877
|
+
/**
|
|
1878
|
+
* The unique identifier for this operation.
|
|
1879
|
+
*/
|
|
1880
|
+
operationId?: string | null;
|
|
1881
|
+
}
|
|
1781
1882
|
/**
|
|
1782
1883
|
* Instance get disk shrink config response.
|
|
1783
1884
|
*/
|
|
@@ -1808,6 +1909,15 @@ export declare namespace sqladmin_v1 {
|
|
|
1808
1909
|
*/
|
|
1809
1910
|
latestRecoveryTime?: string | null;
|
|
1810
1911
|
}
|
|
1912
|
+
/**
|
|
1913
|
+
* Response for the release SSRS lease request.
|
|
1914
|
+
*/
|
|
1915
|
+
export interface Schema$SqlInstancesReleaseSsrsLeaseResponse {
|
|
1916
|
+
/**
|
|
1917
|
+
* The unique identifier for this operation.
|
|
1918
|
+
*/
|
|
1919
|
+
operationId?: string | null;
|
|
1920
|
+
}
|
|
1811
1921
|
/**
|
|
1812
1922
|
* Reschedule options for maintenance windows.
|
|
1813
1923
|
*/
|
|
@@ -1826,6 +1936,10 @@ export declare namespace sqladmin_v1 {
|
|
|
1826
1936
|
* Instance start external sync request.
|
|
1827
1937
|
*/
|
|
1828
1938
|
export interface Schema$SqlInstancesStartExternalSyncRequest {
|
|
1939
|
+
/**
|
|
1940
|
+
* Optional. MigrationType decides if the migration is a physical file based migration or logical migration.
|
|
1941
|
+
*/
|
|
1942
|
+
migrationType?: string | null;
|
|
1829
1943
|
/**
|
|
1830
1944
|
* MySQL-specific settings for start external sync.
|
|
1831
1945
|
*/
|
|
@@ -1847,6 +1961,10 @@ export declare namespace sqladmin_v1 {
|
|
|
1847
1961
|
* Instance verify external sync settings request.
|
|
1848
1962
|
*/
|
|
1849
1963
|
export interface Schema$SqlInstancesVerifyExternalSyncSettingsRequest {
|
|
1964
|
+
/**
|
|
1965
|
+
* Optional. MigrationType decides if the migration is a physical file based migration or logical migration
|
|
1966
|
+
*/
|
|
1967
|
+
migrationType?: string | null;
|
|
1850
1968
|
/**
|
|
1851
1969
|
* Optional. MySQL-specific settings for start external sync.
|
|
1852
1970
|
*/
|
|
@@ -1855,6 +1973,10 @@ export declare namespace sqladmin_v1 {
|
|
|
1855
1973
|
* External sync mode
|
|
1856
1974
|
*/
|
|
1857
1975
|
syncMode?: string | null;
|
|
1976
|
+
/**
|
|
1977
|
+
* Optional. Parallel level for initial data sync. Currently only applicable for PostgreSQL.
|
|
1978
|
+
*/
|
|
1979
|
+
syncParallelLevel?: string | null;
|
|
1858
1980
|
/**
|
|
1859
1981
|
* Flag to enable verifying connection only
|
|
1860
1982
|
*/
|
|
@@ -2604,6 +2726,20 @@ export declare namespace sqladmin_v1 {
|
|
|
2604
2726
|
export class Resource$Instances {
|
|
2605
2727
|
context: APIRequestContext;
|
|
2606
2728
|
constructor(context: APIRequestContext);
|
|
2729
|
+
/**
|
|
2730
|
+
* Acquire a lease for the setup of SQL Server Reporting Services (SSRS).
|
|
2731
|
+
*
|
|
2732
|
+
* @param params - Parameters for request
|
|
2733
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2734
|
+
* @param callback - Optional callback that handles the response.
|
|
2735
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2736
|
+
*/
|
|
2737
|
+
acquireSsrsLease(params: Params$Resource$Instances$Acquiressrslease, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
2738
|
+
acquireSsrsLease(params?: Params$Resource$Instances$Acquiressrslease, options?: MethodOptions): GaxiosPromise<Schema$SqlInstancesAcquireSsrsLeaseResponse>;
|
|
2739
|
+
acquireSsrsLease(params: Params$Resource$Instances$Acquiressrslease, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2740
|
+
acquireSsrsLease(params: Params$Resource$Instances$Acquiressrslease, options: MethodOptions | BodyResponseCallback<Schema$SqlInstancesAcquireSsrsLeaseResponse>, callback: BodyResponseCallback<Schema$SqlInstancesAcquireSsrsLeaseResponse>): void;
|
|
2741
|
+
acquireSsrsLease(params: Params$Resource$Instances$Acquiressrslease, callback: BodyResponseCallback<Schema$SqlInstancesAcquireSsrsLeaseResponse>): void;
|
|
2742
|
+
acquireSsrsLease(callback: BodyResponseCallback<Schema$SqlInstancesAcquireSsrsLeaseResponse>): void;
|
|
2607
2743
|
/**
|
|
2608
2744
|
* Adds a new trusted Certificate Authority (CA) version for the specified instance. Required to prepare for a certificate rotation. If a CA version was previously added but never used in a certificate rotation, this operation replaces that version. There cannot be more than one CA version waiting to be rotated in.
|
|
2609
2745
|
*
|
|
@@ -2814,6 +2950,20 @@ export declare namespace sqladmin_v1 {
|
|
|
2814
2950
|
reencrypt(params: Params$Resource$Instances$Reencrypt, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2815
2951
|
reencrypt(params: Params$Resource$Instances$Reencrypt, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2816
2952
|
reencrypt(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2953
|
+
/**
|
|
2954
|
+
* Release a lease for the setup of SQL Server Reporting Services (SSRS).
|
|
2955
|
+
*
|
|
2956
|
+
* @param params - Parameters for request
|
|
2957
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2958
|
+
* @param callback - Optional callback that handles the response.
|
|
2959
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2960
|
+
*/
|
|
2961
|
+
releaseSsrsLease(params: Params$Resource$Instances$Releasessrslease, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
2962
|
+
releaseSsrsLease(params?: Params$Resource$Instances$Releasessrslease, options?: MethodOptions): GaxiosPromise<Schema$SqlInstancesReleaseSsrsLeaseResponse>;
|
|
2963
|
+
releaseSsrsLease(params: Params$Resource$Instances$Releasessrslease, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2964
|
+
releaseSsrsLease(params: Params$Resource$Instances$Releasessrslease, options: MethodOptions | BodyResponseCallback<Schema$SqlInstancesReleaseSsrsLeaseResponse>, callback: BodyResponseCallback<Schema$SqlInstancesReleaseSsrsLeaseResponse>): void;
|
|
2965
|
+
releaseSsrsLease(params: Params$Resource$Instances$Releasessrslease, callback: BodyResponseCallback<Schema$SqlInstancesReleaseSsrsLeaseResponse>): void;
|
|
2966
|
+
releaseSsrsLease(callback: BodyResponseCallback<Schema$SqlInstancesReleaseSsrsLeaseResponse>): void;
|
|
2817
2967
|
/**
|
|
2818
2968
|
* Deletes all client certificates and generates a new server SSL certificate for the instance.
|
|
2819
2969
|
*
|
|
@@ -2941,6 +3091,20 @@ export declare namespace sqladmin_v1 {
|
|
|
2941
3091
|
update(params: Params$Resource$Instances$Update, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2942
3092
|
update(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2943
3093
|
}
|
|
3094
|
+
export interface Params$Resource$Instances$Acquiressrslease extends StandardParameters {
|
|
3095
|
+
/**
|
|
3096
|
+
* Required. Cloud SQL instance ID. This doesn't include the project ID. It's composed of lowercase letters, numbers, and hyphens, and it must start with a letter. The total length must be 98 characters or less (Example: instance-id).
|
|
3097
|
+
*/
|
|
3098
|
+
instance?: string;
|
|
3099
|
+
/**
|
|
3100
|
+
* Required. Project ID of the project that contains the instance (Example: project-id).
|
|
3101
|
+
*/
|
|
3102
|
+
project?: string;
|
|
3103
|
+
/**
|
|
3104
|
+
* Request body metadata
|
|
3105
|
+
*/
|
|
3106
|
+
requestBody?: Schema$InstancesAcquireSsrsLeaseRequest;
|
|
3107
|
+
}
|
|
2944
3108
|
export interface Params$Resource$Instances$Addserverca extends StandardParameters {
|
|
2945
3109
|
/**
|
|
2946
3110
|
* Cloud SQL instance ID. This does not include the project ID.
|
|
@@ -3135,6 +3299,16 @@ export declare namespace sqladmin_v1 {
|
|
|
3135
3299
|
*/
|
|
3136
3300
|
requestBody?: Schema$InstancesReencryptRequest;
|
|
3137
3301
|
}
|
|
3302
|
+
export interface Params$Resource$Instances$Releasessrslease extends StandardParameters {
|
|
3303
|
+
/**
|
|
3304
|
+
* Required. The Cloud SQL instance ID. This doesn't include the project ID. The instance ID contains lowercase letters, numbers, and hyphens, and it must start with a letter. This ID can have a maximum length of 98 characters.
|
|
3305
|
+
*/
|
|
3306
|
+
instance?: string;
|
|
3307
|
+
/**
|
|
3308
|
+
* Required. The project ID that contains the instance.
|
|
3309
|
+
*/
|
|
3310
|
+
project?: string;
|
|
3311
|
+
}
|
|
3138
3312
|
export interface Params$Resource$Instances$Resetsslconfig extends StandardParameters {
|
|
3139
3313
|
/**
|
|
3140
3314
|
* Cloud SQL instance ID. This does not include the project ID.
|
package/build/v1.js
CHANGED
|
@@ -480,6 +480,38 @@ var sqladmin_v1;
|
|
|
480
480
|
constructor(context) {
|
|
481
481
|
this.context = context;
|
|
482
482
|
}
|
|
483
|
+
acquireSsrsLease(paramsOrCallback, optionsOrCallback, callback) {
|
|
484
|
+
let params = (paramsOrCallback ||
|
|
485
|
+
{});
|
|
486
|
+
let options = (optionsOrCallback || {});
|
|
487
|
+
if (typeof paramsOrCallback === 'function') {
|
|
488
|
+
callback = paramsOrCallback;
|
|
489
|
+
params = {};
|
|
490
|
+
options = {};
|
|
491
|
+
}
|
|
492
|
+
if (typeof optionsOrCallback === 'function') {
|
|
493
|
+
callback = optionsOrCallback;
|
|
494
|
+
options = {};
|
|
495
|
+
}
|
|
496
|
+
const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';
|
|
497
|
+
const parameters = {
|
|
498
|
+
options: Object.assign({
|
|
499
|
+
url: (rootUrl +
|
|
500
|
+
'/v1/projects/{project}/instances/{instance}/acquireSsrsLease').replace(/([^:]\/)\/+/g, '$1'),
|
|
501
|
+
method: 'POST',
|
|
502
|
+
}, options),
|
|
503
|
+
params,
|
|
504
|
+
requiredParams: ['project', 'instance'],
|
|
505
|
+
pathParams: ['instance', 'project'],
|
|
506
|
+
context: this.context,
|
|
507
|
+
};
|
|
508
|
+
if (callback) {
|
|
509
|
+
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
|
|
510
|
+
}
|
|
511
|
+
else {
|
|
512
|
+
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
513
|
+
}
|
|
514
|
+
}
|
|
483
515
|
addServerCa(paramsOrCallback, optionsOrCallback, callback) {
|
|
484
516
|
let params = (paramsOrCallback ||
|
|
485
517
|
{});
|
|
@@ -940,6 +972,38 @@ var sqladmin_v1;
|
|
|
940
972
|
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
941
973
|
}
|
|
942
974
|
}
|
|
975
|
+
releaseSsrsLease(paramsOrCallback, optionsOrCallback, callback) {
|
|
976
|
+
let params = (paramsOrCallback ||
|
|
977
|
+
{});
|
|
978
|
+
let options = (optionsOrCallback || {});
|
|
979
|
+
if (typeof paramsOrCallback === 'function') {
|
|
980
|
+
callback = paramsOrCallback;
|
|
981
|
+
params = {};
|
|
982
|
+
options = {};
|
|
983
|
+
}
|
|
984
|
+
if (typeof optionsOrCallback === 'function') {
|
|
985
|
+
callback = optionsOrCallback;
|
|
986
|
+
options = {};
|
|
987
|
+
}
|
|
988
|
+
const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';
|
|
989
|
+
const parameters = {
|
|
990
|
+
options: Object.assign({
|
|
991
|
+
url: (rootUrl +
|
|
992
|
+
'/v1/projects/{project}/instances/{instance}/releaseSsrsLease').replace(/([^:]\/)\/+/g, '$1'),
|
|
993
|
+
method: 'POST',
|
|
994
|
+
}, options),
|
|
995
|
+
params,
|
|
996
|
+
requiredParams: ['project', 'instance'],
|
|
997
|
+
pathParams: ['instance', 'project'],
|
|
998
|
+
context: this.context,
|
|
999
|
+
};
|
|
1000
|
+
if (callback) {
|
|
1001
|
+
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
|
|
1002
|
+
}
|
|
1003
|
+
else {
|
|
1004
|
+
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
1005
|
+
}
|
|
1006
|
+
}
|
|
943
1007
|
resetSslConfig(paramsOrCallback, optionsOrCallback, callback) {
|
|
944
1008
|
let params = (paramsOrCallback ||
|
|
945
1009
|
{});
|