@googleapis/sql 1.0.2 → 2.0.1

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 CHANGED
@@ -1,5 +1,31 @@
1
1
  # Changelog
2
2
 
3
+ ## [2.0.1](https://github.com/googleapis/google-api-nodejs-client/compare/sql-v2.0.0...sql-v2.0.1) (2025-06-04)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **deps:** upgrade googleapis-common to 8.0.2-rc ([f4b0990](https://github.com/googleapis/google-api-nodejs-client/commit/f4b099071040cfbcfe4a2e7d487d45ee93b369e0))
9
+
10
+ ## [2.0.0](https://github.com/googleapis/google-api-nodejs-client/compare/sql-v1.0.3...sql-v2.0.0) (2025-05-29)
11
+
12
+
13
+ ### ⚠ BREAKING CHANGES
14
+
15
+ * upgrade to node 18
16
+
17
+ ### Features
18
+
19
+ * upgrade to node 18 ([682fbb8](https://github.com/googleapis/google-api-nodejs-client/commit/682fbb869189ae92b3e9a194d37d0548af0c1f92))
20
+
21
+ ## [1.0.3](https://github.com/googleapis/google-api-nodejs-client/compare/sql-v1.0.2...sql-v1.0.3) (2023-10-11)
22
+
23
+
24
+ ### Bug Fixes
25
+
26
+ * **deps:** update dependency googleapis-common to v7 ([9491ec1](https://github.com/googleapis/google-api-nodejs-client/commit/9491ec1cdc3c413e7d73edcfcd59cf5c28a7c855))
27
+ * **sql:** update the API ([b29a348](https://github.com/googleapis/google-api-nodejs-client/commit/b29a34873e2140af8defbb2be5eeb7490092effd))
28
+
3
29
  ## [1.0.2](https://github.com/googleapis/google-api-nodejs-client/compare/sql-v1.0.1...sql-v1.0.2) (2023-08-25)
4
30
 
5
31
 
package/build/index.d.ts CHANGED
@@ -9,4 +9,4 @@ export declare function sql(options: sql_v1beta4.Options): sql_v1beta4.Sql;
9
9
  declare const auth: AuthPlus;
10
10
  export { auth };
11
11
  export { sql_v1beta4 };
12
- export { AuthPlus, GlobalOptions, APIRequestContext, GoogleConfigurable, StreamMethodOptions, GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common';
12
+ export { AuthPlus, GlobalOptions, APIRequestContext, GoogleConfigurable, StreamMethodOptions, MethodOptions, BodyResponseCallback, } from 'googleapis-common';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,gDAAgD;AAChD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;;AAEjC,kCAAkC;AAElC,yDAAuE;AACvE,uCAAsC;AAiB9B,4FAjBA,qBAAW,OAiBA;AAfN,QAAA,QAAQ,GAAG;IACtB,OAAO,EAAE,qBAAW,CAAC,GAAG;CACzB,CAAC;AAIF,SAAgB,GAAG,CAEjB,gBAAiD;IAEjD,OAAO,IAAA,0BAAM,EAAI,KAAK,EAAE,gBAAgB,EAAE,gBAAQ,EAAE,IAAI,CAAC,CAAC;AAC5D,CAAC;AALD,kBAKC;AAED,MAAM,IAAI,GAAG,IAAI,4BAAQ,EAAE,CAAC;AACpB,oBAAI;AAEZ,uDAS2B;AARzB,6GAAA,QAAQ,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,gDAAgD;AAChD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;;AAEjC,kCAAkC;AAElC,yDAAuE;AACvE,uCAAsC;AAiB9B,4FAjBA,qBAAW,OAiBA;AAfN,QAAA,QAAQ,GAAG;IACtB,OAAO,EAAE,qBAAW,CAAC,GAAG;CACzB,CAAC;AAIF,SAAgB,GAAG,CAEjB,gBAAiD;IAEjD,OAAO,IAAA,0BAAM,EAAI,KAAK,EAAE,gBAAgB,EAAE,gBAAQ,EAAE,IAAI,CAAC,CAAC;AAC5D,CAAC;AALD,kBAKC;AAED,MAAM,IAAI,GAAG,IAAI,4BAAQ,EAAE,CAAC;AACpB,oBAAI;AAEZ,uDAQ2B;AAPzB,6GAAA,QAAQ,OAAA"}
@@ -1,5 +1,5 @@
1
1
  /// <reference types="node" />
2
- import { OAuth2Client, JWT, Compute, UserRefreshClient, GaxiosPromise, GoogleConfigurable, MethodOptions, StreamMethodOptions, GlobalOptions, GoogleAuth, BodyResponseCallback, APIRequestContext } from 'googleapis-common';
2
+ import { OAuth2Client, JWT, Compute, UserRefreshClient, GaxiosResponseWithHTTP2, GoogleConfigurable, MethodOptions, StreamMethodOptions, GlobalOptions, GoogleAuth, BodyResponseCallback, APIRequestContext } from 'googleapis-common';
3
3
  import { Readable } from 'stream';
4
4
  export declare namespace sql_v1beta4 {
5
5
  export interface Options extends GlobalOptions {
@@ -1608,8 +1608,8 @@ export declare namespace sql_v1beta4 {
1608
1608
  * @param {callback} callback The callback that handles the response.
1609
1609
  * @return {object} Request object
1610
1610
  */
1611
- delete(params: Params$Resource$Backupruns$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
1612
- delete(params?: Params$Resource$Backupruns$Delete, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
1611
+ delete(params: Params$Resource$Backupruns$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
1612
+ delete(params?: Params$Resource$Backupruns$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
1613
1613
  delete(params: Params$Resource$Backupruns$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
1614
1614
  delete(params: Params$Resource$Backupruns$Delete, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
1615
1615
  delete(params: Params$Resource$Backupruns$Delete, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -1690,8 +1690,8 @@ export declare namespace sql_v1beta4 {
1690
1690
  * @param {callback} callback The callback that handles the response.
1691
1691
  * @return {object} Request object
1692
1692
  */
1693
- get(params: Params$Resource$Backupruns$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
1694
- get(params?: Params$Resource$Backupruns$Get, options?: MethodOptions): GaxiosPromise<Schema$BackupRun>;
1693
+ get(params: Params$Resource$Backupruns$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
1694
+ get(params?: Params$Resource$Backupruns$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$BackupRun>>;
1695
1695
  get(params: Params$Resource$Backupruns$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
1696
1696
  get(params: Params$Resource$Backupruns$Get, options: MethodOptions | BodyResponseCallback<Schema$BackupRun>, callback: BodyResponseCallback<Schema$BackupRun>): void;
1697
1697
  get(params: Params$Resource$Backupruns$Get, callback: BodyResponseCallback<Schema$BackupRun>): void;
@@ -1792,8 +1792,8 @@ export declare namespace sql_v1beta4 {
1792
1792
  * @param {callback} callback The callback that handles the response.
1793
1793
  * @return {object} Request object
1794
1794
  */
1795
- insert(params: Params$Resource$Backupruns$Insert, options: StreamMethodOptions): GaxiosPromise<Readable>;
1796
- insert(params?: Params$Resource$Backupruns$Insert, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
1795
+ insert(params: Params$Resource$Backupruns$Insert, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
1796
+ insert(params?: Params$Resource$Backupruns$Insert, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
1797
1797
  insert(params: Params$Resource$Backupruns$Insert, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
1798
1798
  insert(params: Params$Resource$Backupruns$Insert, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
1799
1799
  insert(params: Params$Resource$Backupruns$Insert, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -1864,8 +1864,8 @@ export declare namespace sql_v1beta4 {
1864
1864
  * @param {callback} callback The callback that handles the response.
1865
1865
  * @return {object} Request object
1866
1866
  */
1867
- list(params: Params$Resource$Backupruns$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
1868
- list(params?: Params$Resource$Backupruns$List, options?: MethodOptions): GaxiosPromise<Schema$BackupRunsListResponse>;
1867
+ list(params: Params$Resource$Backupruns$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
1868
+ list(params?: Params$Resource$Backupruns$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$BackupRunsListResponse>>;
1869
1869
  list(params: Params$Resource$Backupruns$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
1870
1870
  list(params: Params$Resource$Backupruns$List, options: MethodOptions | BodyResponseCallback<Schema$BackupRunsListResponse>, callback: BodyResponseCallback<Schema$BackupRunsListResponse>): void;
1871
1871
  list(params: Params$Resource$Backupruns$List, callback: BodyResponseCallback<Schema$BackupRunsListResponse>): void;
@@ -2009,8 +2009,8 @@ export declare namespace sql_v1beta4 {
2009
2009
  * @param {callback} callback The callback that handles the response.
2010
2010
  * @return {object} Request object
2011
2011
  */
2012
- delete(params: Params$Resource$Databases$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
2013
- delete(params?: Params$Resource$Databases$Delete, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
2012
+ delete(params: Params$Resource$Databases$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2013
+ delete(params?: Params$Resource$Databases$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
2014
2014
  delete(params: Params$Resource$Databases$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2015
2015
  delete(params: Params$Resource$Databases$Delete, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
2016
2016
  delete(params: Params$Resource$Databases$Delete, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -2084,8 +2084,8 @@ export declare namespace sql_v1beta4 {
2084
2084
  * @param {callback} callback The callback that handles the response.
2085
2085
  * @return {object} Request object
2086
2086
  */
2087
- get(params: Params$Resource$Databases$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
2088
- get(params?: Params$Resource$Databases$Get, options?: MethodOptions): GaxiosPromise<Schema$Database>;
2087
+ get(params: Params$Resource$Databases$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2088
+ get(params?: Params$Resource$Databases$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Database>>;
2089
2089
  get(params: Params$Resource$Databases$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2090
2090
  get(params: Params$Resource$Databases$Get, options: MethodOptions | BodyResponseCallback<Schema$Database>, callback: BodyResponseCallback<Schema$Database>): void;
2091
2091
  get(params: Params$Resource$Databases$Get, callback: BodyResponseCallback<Schema$Database>): void;
@@ -2179,8 +2179,8 @@ export declare namespace sql_v1beta4 {
2179
2179
  * @param {callback} callback The callback that handles the response.
2180
2180
  * @return {object} Request object
2181
2181
  */
2182
- insert(params: Params$Resource$Databases$Insert, options: StreamMethodOptions): GaxiosPromise<Readable>;
2183
- insert(params?: Params$Resource$Databases$Insert, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
2182
+ insert(params: Params$Resource$Databases$Insert, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2183
+ insert(params?: Params$Resource$Databases$Insert, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
2184
2184
  insert(params: Params$Resource$Databases$Insert, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2185
2185
  insert(params: Params$Resource$Databases$Insert, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
2186
2186
  insert(params: Params$Resource$Databases$Insert, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -2244,8 +2244,8 @@ export declare namespace sql_v1beta4 {
2244
2244
  * @param {callback} callback The callback that handles the response.
2245
2245
  * @return {object} Request object
2246
2246
  */
2247
- list(params: Params$Resource$Databases$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
2248
- list(params?: Params$Resource$Databases$List, options?: MethodOptions): GaxiosPromise<Schema$DatabasesListResponse>;
2247
+ list(params: Params$Resource$Databases$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2248
+ list(params?: Params$Resource$Databases$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$DatabasesListResponse>>;
2249
2249
  list(params: Params$Resource$Databases$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2250
2250
  list(params: Params$Resource$Databases$List, options: MethodOptions | BodyResponseCallback<Schema$DatabasesListResponse>, callback: BodyResponseCallback<Schema$DatabasesListResponse>): void;
2251
2251
  list(params: Params$Resource$Databases$List, callback: BodyResponseCallback<Schema$DatabasesListResponse>): void;
@@ -2342,8 +2342,8 @@ export declare namespace sql_v1beta4 {
2342
2342
  * @param {callback} callback The callback that handles the response.
2343
2343
  * @return {object} Request object
2344
2344
  */
2345
- patch(params: Params$Resource$Databases$Patch, options: StreamMethodOptions): GaxiosPromise<Readable>;
2346
- patch(params?: Params$Resource$Databases$Patch, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
2345
+ patch(params: Params$Resource$Databases$Patch, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2346
+ patch(params?: Params$Resource$Databases$Patch, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
2347
2347
  patch(params: Params$Resource$Databases$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2348
2348
  patch(params: Params$Resource$Databases$Patch, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
2349
2349
  patch(params: Params$Resource$Databases$Patch, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -2440,8 +2440,8 @@ export declare namespace sql_v1beta4 {
2440
2440
  * @param {callback} callback The callback that handles the response.
2441
2441
  * @return {object} Request object
2442
2442
  */
2443
- update(params: Params$Resource$Databases$Update, options: StreamMethodOptions): GaxiosPromise<Readable>;
2444
- update(params?: Params$Resource$Databases$Update, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
2443
+ update(params: Params$Resource$Databases$Update, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2444
+ update(params?: Params$Resource$Databases$Update, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
2445
2445
  update(params: Params$Resource$Databases$Update, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2446
2446
  update(params: Params$Resource$Databases$Update, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
2447
2447
  update(params: Params$Resource$Databases$Update, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -2594,8 +2594,8 @@ export declare namespace sql_v1beta4 {
2594
2594
  * @param {callback} callback The callback that handles the response.
2595
2595
  * @return {object} Request object
2596
2596
  */
2597
- list(params: Params$Resource$Flags$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
2598
- list(params?: Params$Resource$Flags$List, options?: MethodOptions): GaxiosPromise<Schema$FlagsListResponse>;
2597
+ list(params: Params$Resource$Flags$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2598
+ list(params?: Params$Resource$Flags$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$FlagsListResponse>>;
2599
2599
  list(params: Params$Resource$Flags$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2600
2600
  list(params: Params$Resource$Flags$List, options: MethodOptions | BodyResponseCallback<Schema$FlagsListResponse>, callback: BodyResponseCallback<Schema$FlagsListResponse>): void;
2601
2601
  list(params: Params$Resource$Flags$List, callback: BodyResponseCallback<Schema$FlagsListResponse>): void;
@@ -2682,8 +2682,8 @@ export declare namespace sql_v1beta4 {
2682
2682
  * @param {callback} callback The callback that handles the response.
2683
2683
  * @return {object} Request object
2684
2684
  */
2685
- addServerCa(params: Params$Resource$Instances$Addserverca, options: StreamMethodOptions): GaxiosPromise<Readable>;
2686
- addServerCa(params?: Params$Resource$Instances$Addserverca, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
2685
+ addServerCa(params: Params$Resource$Instances$Addserverca, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2686
+ addServerCa(params?: Params$Resource$Instances$Addserverca, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
2687
2687
  addServerCa(params: Params$Resource$Instances$Addserverca, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2688
2688
  addServerCa(params: Params$Resource$Instances$Addserverca, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
2689
2689
  addServerCa(params: Params$Resource$Instances$Addserverca, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -2769,8 +2769,8 @@ export declare namespace sql_v1beta4 {
2769
2769
  * @param {callback} callback The callback that handles the response.
2770
2770
  * @return {object} Request object
2771
2771
  */
2772
- clone(params: Params$Resource$Instances$Clone, options: StreamMethodOptions): GaxiosPromise<Readable>;
2773
- clone(params?: Params$Resource$Instances$Clone, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
2772
+ clone(params: Params$Resource$Instances$Clone, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2773
+ clone(params?: Params$Resource$Instances$Clone, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
2774
2774
  clone(params: Params$Resource$Instances$Clone, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2775
2775
  clone(params: Params$Resource$Instances$Clone, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
2776
2776
  clone(params: Params$Resource$Instances$Clone, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -2847,8 +2847,8 @@ export declare namespace sql_v1beta4 {
2847
2847
  * @param {callback} callback The callback that handles the response.
2848
2848
  * @return {object} Request object
2849
2849
  */
2850
- delete(params: Params$Resource$Instances$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
2851
- delete(params?: Params$Resource$Instances$Delete, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
2850
+ delete(params: Params$Resource$Instances$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2851
+ delete(params?: Params$Resource$Instances$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
2852
2852
  delete(params: Params$Resource$Instances$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2853
2853
  delete(params: Params$Resource$Instances$Delete, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
2854
2854
  delete(params: Params$Resource$Instances$Delete, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -2934,8 +2934,8 @@ export declare namespace sql_v1beta4 {
2934
2934
  * @param {callback} callback The callback that handles the response.
2935
2935
  * @return {object} Request object
2936
2936
  */
2937
- demoteMaster(params: Params$Resource$Instances$Demotemaster, options: StreamMethodOptions): GaxiosPromise<Readable>;
2938
- demoteMaster(params?: Params$Resource$Instances$Demotemaster, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
2937
+ demoteMaster(params: Params$Resource$Instances$Demotemaster, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2938
+ demoteMaster(params?: Params$Resource$Instances$Demotemaster, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
2939
2939
  demoteMaster(params: Params$Resource$Instances$Demotemaster, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2940
2940
  demoteMaster(params: Params$Resource$Instances$Demotemaster, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
2941
2941
  demoteMaster(params: Params$Resource$Instances$Demotemaster, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -3018,8 +3018,8 @@ export declare namespace sql_v1beta4 {
3018
3018
  * @param {callback} callback The callback that handles the response.
3019
3019
  * @return {object} Request object
3020
3020
  */
3021
- export(params: Params$Resource$Instances$Export, options: StreamMethodOptions): GaxiosPromise<Readable>;
3022
- export(params?: Params$Resource$Instances$Export, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
3021
+ export(params: Params$Resource$Instances$Export, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3022
+ export(params?: Params$Resource$Instances$Export, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
3023
3023
  export(params: Params$Resource$Instances$Export, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3024
3024
  export(params: Params$Resource$Instances$Export, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
3025
3025
  export(params: Params$Resource$Instances$Export, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -3105,8 +3105,8 @@ export declare namespace sql_v1beta4 {
3105
3105
  * @param {callback} callback The callback that handles the response.
3106
3106
  * @return {object} Request object
3107
3107
  */
3108
- failover(params: Params$Resource$Instances$Failover, options: StreamMethodOptions): GaxiosPromise<Readable>;
3109
- failover(params?: Params$Resource$Instances$Failover, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
3108
+ failover(params: Params$Resource$Instances$Failover, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3109
+ failover(params?: Params$Resource$Instances$Failover, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
3110
3110
  failover(params: Params$Resource$Instances$Failover, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3111
3111
  failover(params: Params$Resource$Instances$Failover, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
3112
3112
  failover(params: Params$Resource$Instances$Failover, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -3197,8 +3197,8 @@ export declare namespace sql_v1beta4 {
3197
3197
  * @param {callback} callback The callback that handles the response.
3198
3198
  * @return {object} Request object
3199
3199
  */
3200
- get(params: Params$Resource$Instances$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
3201
- get(params?: Params$Resource$Instances$Get, options?: MethodOptions): GaxiosPromise<Schema$DatabaseInstance>;
3200
+ get(params: Params$Resource$Instances$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3201
+ get(params?: Params$Resource$Instances$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$DatabaseInstance>>;
3202
3202
  get(params: Params$Resource$Instances$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3203
3203
  get(params: Params$Resource$Instances$Get, options: MethodOptions | BodyResponseCallback<Schema$DatabaseInstance>, callback: BodyResponseCallback<Schema$DatabaseInstance>): void;
3204
3204
  get(params: Params$Resource$Instances$Get, callback: BodyResponseCallback<Schema$DatabaseInstance>): void;
@@ -3281,8 +3281,8 @@ export declare namespace sql_v1beta4 {
3281
3281
  * @param {callback} callback The callback that handles the response.
3282
3282
  * @return {object} Request object
3283
3283
  */
3284
- import(params: Params$Resource$Instances$Import, options: StreamMethodOptions): GaxiosPromise<Readable>;
3285
- import(params?: Params$Resource$Instances$Import, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
3284
+ import(params: Params$Resource$Instances$Import, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3285
+ import(params?: Params$Resource$Instances$Import, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
3286
3286
  import(params: Params$Resource$Instances$Import, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3287
3287
  import(params: Params$Resource$Instances$Import, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
3288
3288
  import(params: Params$Resource$Instances$Import, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -3393,8 +3393,8 @@ export declare namespace sql_v1beta4 {
3393
3393
  * @param {callback} callback The callback that handles the response.
3394
3394
  * @return {object} Request object
3395
3395
  */
3396
- insert(params: Params$Resource$Instances$Insert, options: StreamMethodOptions): GaxiosPromise<Readable>;
3397
- insert(params?: Params$Resource$Instances$Insert, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
3396
+ insert(params: Params$Resource$Instances$Insert, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3397
+ insert(params?: Params$Resource$Instances$Insert, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
3398
3398
  insert(params: Params$Resource$Instances$Insert, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3399
3399
  insert(params: Params$Resource$Instances$Insert, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
3400
3400
  insert(params: Params$Resource$Instances$Insert, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -3466,8 +3466,8 @@ export declare namespace sql_v1beta4 {
3466
3466
  * @param {callback} callback The callback that handles the response.
3467
3467
  * @return {object} Request object
3468
3468
  */
3469
- list(params: Params$Resource$Instances$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
3470
- list(params?: Params$Resource$Instances$List, options?: MethodOptions): GaxiosPromise<Schema$InstancesListResponse>;
3469
+ list(params: Params$Resource$Instances$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3470
+ list(params?: Params$Resource$Instances$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$InstancesListResponse>>;
3471
3471
  list(params: Params$Resource$Instances$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3472
3472
  list(params: Params$Resource$Instances$List, options: MethodOptions | BodyResponseCallback<Schema$InstancesListResponse>, callback: BodyResponseCallback<Schema$InstancesListResponse>): void;
3473
3473
  list(params: Params$Resource$Instances$List, callback: BodyResponseCallback<Schema$InstancesListResponse>): void;
@@ -3532,8 +3532,8 @@ export declare namespace sql_v1beta4 {
3532
3532
  * @param {callback} callback The callback that handles the response.
3533
3533
  * @return {object} Request object
3534
3534
  */
3535
- listServerCas(params: Params$Resource$Instances$Listservercas, options: StreamMethodOptions): GaxiosPromise<Readable>;
3536
- listServerCas(params?: Params$Resource$Instances$Listservercas, options?: MethodOptions): GaxiosPromise<Schema$InstancesListServerCasResponse>;
3535
+ listServerCas(params: Params$Resource$Instances$Listservercas, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3536
+ listServerCas(params?: Params$Resource$Instances$Listservercas, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$InstancesListServerCasResponse>>;
3537
3537
  listServerCas(params: Params$Resource$Instances$Listservercas, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3538
3538
  listServerCas(params: Params$Resource$Instances$Listservercas, options: MethodOptions | BodyResponseCallback<Schema$InstancesListServerCasResponse>, callback: BodyResponseCallback<Schema$InstancesListServerCasResponse>): void;
3539
3539
  listServerCas(params: Params$Resource$Instances$Listservercas, callback: BodyResponseCallback<Schema$InstancesListServerCasResponse>): void;
@@ -3647,8 +3647,8 @@ export declare namespace sql_v1beta4 {
3647
3647
  * @param {callback} callback The callback that handles the response.
3648
3648
  * @return {object} Request object
3649
3649
  */
3650
- patch(params: Params$Resource$Instances$Patch, options: StreamMethodOptions): GaxiosPromise<Readable>;
3651
- patch(params?: Params$Resource$Instances$Patch, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
3650
+ patch(params: Params$Resource$Instances$Patch, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3651
+ patch(params?: Params$Resource$Instances$Patch, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
3652
3652
  patch(params: Params$Resource$Instances$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3653
3653
  patch(params: Params$Resource$Instances$Patch, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
3654
3654
  patch(params: Params$Resource$Instances$Patch, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -3725,8 +3725,8 @@ export declare namespace sql_v1beta4 {
3725
3725
  * @param {callback} callback The callback that handles the response.
3726
3726
  * @return {object} Request object
3727
3727
  */
3728
- promoteReplica(params: Params$Resource$Instances$Promotereplica, options: StreamMethodOptions): GaxiosPromise<Readable>;
3729
- promoteReplica(params?: Params$Resource$Instances$Promotereplica, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
3728
+ promoteReplica(params: Params$Resource$Instances$Promotereplica, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3729
+ promoteReplica(params?: Params$Resource$Instances$Promotereplica, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
3730
3730
  promoteReplica(params: Params$Resource$Instances$Promotereplica, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3731
3731
  promoteReplica(params: Params$Resource$Instances$Promotereplica, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
3732
3732
  promoteReplica(params: Params$Resource$Instances$Promotereplica, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -3803,8 +3803,8 @@ export declare namespace sql_v1beta4 {
3803
3803
  * @param {callback} callback The callback that handles the response.
3804
3804
  * @return {object} Request object
3805
3805
  */
3806
- resetSslConfig(params: Params$Resource$Instances$Resetsslconfig, options: StreamMethodOptions): GaxiosPromise<Readable>;
3807
- resetSslConfig(params?: Params$Resource$Instances$Resetsslconfig, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
3806
+ resetSslConfig(params: Params$Resource$Instances$Resetsslconfig, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3807
+ resetSslConfig(params?: Params$Resource$Instances$Resetsslconfig, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
3808
3808
  resetSslConfig(params: Params$Resource$Instances$Resetsslconfig, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3809
3809
  resetSslConfig(params: Params$Resource$Instances$Resetsslconfig, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
3810
3810
  resetSslConfig(params: Params$Resource$Instances$Resetsslconfig, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -3881,8 +3881,8 @@ export declare namespace sql_v1beta4 {
3881
3881
  * @param {callback} callback The callback that handles the response.
3882
3882
  * @return {object} Request object
3883
3883
  */
3884
- restart(params: Params$Resource$Instances$Restart, options: StreamMethodOptions): GaxiosPromise<Readable>;
3885
- restart(params?: Params$Resource$Instances$Restart, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
3884
+ restart(params: Params$Resource$Instances$Restart, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3885
+ restart(params?: Params$Resource$Instances$Restart, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
3886
3886
  restart(params: Params$Resource$Instances$Restart, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3887
3887
  restart(params: Params$Resource$Instances$Restart, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
3888
3888
  restart(params: Params$Resource$Instances$Restart, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -3968,8 +3968,8 @@ export declare namespace sql_v1beta4 {
3968
3968
  * @param {callback} callback The callback that handles the response.
3969
3969
  * @return {object} Request object
3970
3970
  */
3971
- restoreBackup(params: Params$Resource$Instances$Restorebackup, options: StreamMethodOptions): GaxiosPromise<Readable>;
3972
- restoreBackup(params?: Params$Resource$Instances$Restorebackup, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
3971
+ restoreBackup(params: Params$Resource$Instances$Restorebackup, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3972
+ restoreBackup(params?: Params$Resource$Instances$Restorebackup, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
3973
3973
  restoreBackup(params: Params$Resource$Instances$Restorebackup, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3974
3974
  restoreBackup(params: Params$Resource$Instances$Restorebackup, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
3975
3975
  restoreBackup(params: Params$Resource$Instances$Restorebackup, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -4055,8 +4055,8 @@ export declare namespace sql_v1beta4 {
4055
4055
  * @param {callback} callback The callback that handles the response.
4056
4056
  * @return {object} Request object
4057
4057
  */
4058
- rotateServerCa(params: Params$Resource$Instances$Rotateserverca, options: StreamMethodOptions): GaxiosPromise<Readable>;
4059
- rotateServerCa(params?: Params$Resource$Instances$Rotateserverca, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
4058
+ rotateServerCa(params: Params$Resource$Instances$Rotateserverca, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4059
+ rotateServerCa(params?: Params$Resource$Instances$Rotateserverca, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
4060
4060
  rotateServerCa(params: Params$Resource$Instances$Rotateserverca, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4061
4061
  rotateServerCa(params: Params$Resource$Instances$Rotateserverca, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
4062
4062
  rotateServerCa(params: Params$Resource$Instances$Rotateserverca, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -4133,8 +4133,8 @@ export declare namespace sql_v1beta4 {
4133
4133
  * @param {callback} callback The callback that handles the response.
4134
4134
  * @return {object} Request object
4135
4135
  */
4136
- startReplica(params: Params$Resource$Instances$Startreplica, options: StreamMethodOptions): GaxiosPromise<Readable>;
4137
- startReplica(params?: Params$Resource$Instances$Startreplica, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
4136
+ startReplica(params: Params$Resource$Instances$Startreplica, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4137
+ startReplica(params?: Params$Resource$Instances$Startreplica, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
4138
4138
  startReplica(params: Params$Resource$Instances$Startreplica, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4139
4139
  startReplica(params: Params$Resource$Instances$Startreplica, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
4140
4140
  startReplica(params: Params$Resource$Instances$Startreplica, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -4211,8 +4211,8 @@ export declare namespace sql_v1beta4 {
4211
4211
  * @param {callback} callback The callback that handles the response.
4212
4212
  * @return {object} Request object
4213
4213
  */
4214
- stopReplica(params: Params$Resource$Instances$Stopreplica, options: StreamMethodOptions): GaxiosPromise<Readable>;
4215
- stopReplica(params?: Params$Resource$Instances$Stopreplica, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
4214
+ stopReplica(params: Params$Resource$Instances$Stopreplica, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4215
+ stopReplica(params?: Params$Resource$Instances$Stopreplica, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
4216
4216
  stopReplica(params: Params$Resource$Instances$Stopreplica, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4217
4217
  stopReplica(params: Params$Resource$Instances$Stopreplica, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
4218
4218
  stopReplica(params: Params$Resource$Instances$Stopreplica, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -4298,8 +4298,8 @@ export declare namespace sql_v1beta4 {
4298
4298
  * @param {callback} callback The callback that handles the response.
4299
4299
  * @return {object} Request object
4300
4300
  */
4301
- truncateLog(params: Params$Resource$Instances$Truncatelog, options: StreamMethodOptions): GaxiosPromise<Readable>;
4302
- truncateLog(params?: Params$Resource$Instances$Truncatelog, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
4301
+ truncateLog(params: Params$Resource$Instances$Truncatelog, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4302
+ truncateLog(params?: Params$Resource$Instances$Truncatelog, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
4303
4303
  truncateLog(params: Params$Resource$Instances$Truncatelog, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4304
4304
  truncateLog(params: Params$Resource$Instances$Truncatelog, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
4305
4305
  truncateLog(params: Params$Resource$Instances$Truncatelog, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -4413,8 +4413,8 @@ export declare namespace sql_v1beta4 {
4413
4413
  * @param {callback} callback The callback that handles the response.
4414
4414
  * @return {object} Request object
4415
4415
  */
4416
- update(params: Params$Resource$Instances$Update, options: StreamMethodOptions): GaxiosPromise<Readable>;
4417
- update(params?: Params$Resource$Instances$Update, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
4416
+ update(params: Params$Resource$Instances$Update, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4417
+ update(params?: Params$Resource$Instances$Update, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
4418
4418
  update(params: Params$Resource$Instances$Update, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4419
4419
  update(params: Params$Resource$Instances$Update, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
4420
4420
  update(params: Params$Resource$Instances$Update, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -4753,8 +4753,8 @@ export declare namespace sql_v1beta4 {
4753
4753
  * @param {callback} callback The callback that handles the response.
4754
4754
  * @return {object} Request object
4755
4755
  */
4756
- get(params: Params$Resource$Operations$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
4757
- get(params?: Params$Resource$Operations$Get, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
4756
+ get(params: Params$Resource$Operations$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4757
+ get(params?: Params$Resource$Operations$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
4758
4758
  get(params: Params$Resource$Operations$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4759
4759
  get(params: Params$Resource$Operations$Get, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
4760
4760
  get(params: Params$Resource$Operations$Get, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -4825,8 +4825,8 @@ export declare namespace sql_v1beta4 {
4825
4825
  * @param {callback} callback The callback that handles the response.
4826
4826
  * @return {object} Request object
4827
4827
  */
4828
- list(params: Params$Resource$Operations$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
4829
- list(params?: Params$Resource$Operations$List, options?: MethodOptions): GaxiosPromise<Schema$OperationsListResponse>;
4828
+ list(params: Params$Resource$Operations$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4829
+ list(params?: Params$Resource$Operations$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$OperationsListResponse>>;
4830
4830
  list(params: Params$Resource$Operations$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4831
4831
  list(params: Params$Resource$Operations$List, options: MethodOptions | BodyResponseCallback<Schema$OperationsListResponse>, callback: BodyResponseCallback<Schema$OperationsListResponse>): void;
4832
4832
  list(params: Params$Resource$Operations$List, callback: BodyResponseCallback<Schema$OperationsListResponse>): void;
@@ -4949,8 +4949,8 @@ export declare namespace sql_v1beta4 {
4949
4949
  * @param {callback} callback The callback that handles the response.
4950
4950
  * @return {object} Request object
4951
4951
  */
4952
- rescheduleMaintenance(params: Params$Resource$Projects$Instances$Reschedulemaintenance, options: StreamMethodOptions): GaxiosPromise<Readable>;
4953
- rescheduleMaintenance(params?: Params$Resource$Projects$Instances$Reschedulemaintenance, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
4952
+ rescheduleMaintenance(params: Params$Resource$Projects$Instances$Reschedulemaintenance, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4953
+ rescheduleMaintenance(params?: Params$Resource$Projects$Instances$Reschedulemaintenance, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
4954
4954
  rescheduleMaintenance(params: Params$Resource$Projects$Instances$Reschedulemaintenance, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4955
4955
  rescheduleMaintenance(params: Params$Resource$Projects$Instances$Reschedulemaintenance, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
4956
4956
  rescheduleMaintenance(params: Params$Resource$Projects$Instances$Reschedulemaintenance, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -5030,8 +5030,8 @@ export declare namespace sql_v1beta4 {
5030
5030
  * @param {callback} callback The callback that handles the response.
5031
5031
  * @return {object} Request object
5032
5032
  */
5033
- startExternalSync(params: Params$Resource$Projects$Instances$Startexternalsync, options: StreamMethodOptions): GaxiosPromise<Readable>;
5034
- startExternalSync(params?: Params$Resource$Projects$Instances$Startexternalsync, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
5033
+ startExternalSync(params: Params$Resource$Projects$Instances$Startexternalsync, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5034
+ startExternalSync(params?: Params$Resource$Projects$Instances$Startexternalsync, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
5035
5035
  startExternalSync(params: Params$Resource$Projects$Instances$Startexternalsync, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5036
5036
  startExternalSync(params: Params$Resource$Projects$Instances$Startexternalsync, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
5037
5037
  startExternalSync(params: Params$Resource$Projects$Instances$Startexternalsync, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -5101,8 +5101,8 @@ export declare namespace sql_v1beta4 {
5101
5101
  * @param {callback} callback The callback that handles the response.
5102
5102
  * @return {object} Request object
5103
5103
  */
5104
- verifyExternalSyncSettings(params: Params$Resource$Projects$Instances$Verifyexternalsyncsettings, options: StreamMethodOptions): GaxiosPromise<Readable>;
5105
- verifyExternalSyncSettings(params?: Params$Resource$Projects$Instances$Verifyexternalsyncsettings, options?: MethodOptions): GaxiosPromise<Schema$SqlInstancesVerifyExternalSyncSettingsResponse>;
5104
+ verifyExternalSyncSettings(params: Params$Resource$Projects$Instances$Verifyexternalsyncsettings, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5105
+ verifyExternalSyncSettings(params?: Params$Resource$Projects$Instances$Verifyexternalsyncsettings, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$SqlInstancesVerifyExternalSyncSettingsResponse>>;
5106
5106
  verifyExternalSyncSettings(params: Params$Resource$Projects$Instances$Verifyexternalsyncsettings, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5107
5107
  verifyExternalSyncSettings(params: Params$Resource$Projects$Instances$Verifyexternalsyncsettings, options: MethodOptions | BodyResponseCallback<Schema$SqlInstancesVerifyExternalSyncSettingsResponse>, callback: BodyResponseCallback<Schema$SqlInstancesVerifyExternalSyncSettingsResponse>): void;
5108
5108
  verifyExternalSyncSettings(params: Params$Resource$Projects$Instances$Verifyexternalsyncsettings, callback: BodyResponseCallback<Schema$SqlInstancesVerifyExternalSyncSettingsResponse>): void;
@@ -5232,8 +5232,8 @@ export declare namespace sql_v1beta4 {
5232
5232
  * @param {callback} callback The callback that handles the response.
5233
5233
  * @return {object} Request object
5234
5234
  */
5235
- createEphemeral(params: Params$Resource$Sslcerts$Createephemeral, options: StreamMethodOptions): GaxiosPromise<Readable>;
5236
- createEphemeral(params?: Params$Resource$Sslcerts$Createephemeral, options?: MethodOptions): GaxiosPromise<Schema$SslCert>;
5235
+ createEphemeral(params: Params$Resource$Sslcerts$Createephemeral, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5236
+ createEphemeral(params?: Params$Resource$Sslcerts$Createephemeral, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$SslCert>>;
5237
5237
  createEphemeral(params: Params$Resource$Sslcerts$Createephemeral, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5238
5238
  createEphemeral(params: Params$Resource$Sslcerts$Createephemeral, options: MethodOptions | BodyResponseCallback<Schema$SslCert>, callback: BodyResponseCallback<Schema$SslCert>): void;
5239
5239
  createEphemeral(params: Params$Resource$Sslcerts$Createephemeral, callback: BodyResponseCallback<Schema$SslCert>): void;
@@ -5313,8 +5313,8 @@ export declare namespace sql_v1beta4 {
5313
5313
  * @param {callback} callback The callback that handles the response.
5314
5314
  * @return {object} Request object
5315
5315
  */
5316
- delete(params: Params$Resource$Sslcerts$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
5317
- delete(params?: Params$Resource$Sslcerts$Delete, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
5316
+ delete(params: Params$Resource$Sslcerts$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5317
+ delete(params?: Params$Resource$Sslcerts$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
5318
5318
  delete(params: Params$Resource$Sslcerts$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5319
5319
  delete(params: Params$Resource$Sslcerts$Delete, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
5320
5320
  delete(params: Params$Resource$Sslcerts$Delete, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -5388,8 +5388,8 @@ export declare namespace sql_v1beta4 {
5388
5388
  * @param {callback} callback The callback that handles the response.
5389
5389
  * @return {object} Request object
5390
5390
  */
5391
- get(params: Params$Resource$Sslcerts$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
5392
- get(params?: Params$Resource$Sslcerts$Get, options?: MethodOptions): GaxiosPromise<Schema$SslCert>;
5391
+ get(params: Params$Resource$Sslcerts$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5392
+ get(params?: Params$Resource$Sslcerts$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$SslCert>>;
5393
5393
  get(params: Params$Resource$Sslcerts$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5394
5394
  get(params: Params$Resource$Sslcerts$Get, options: MethodOptions | BodyResponseCallback<Schema$SslCert>, callback: BodyResponseCallback<Schema$SslCert>): void;
5395
5395
  get(params: Params$Resource$Sslcerts$Get, callback: BodyResponseCallback<Schema$SslCert>): void;
@@ -5464,8 +5464,8 @@ export declare namespace sql_v1beta4 {
5464
5464
  * @param {callback} callback The callback that handles the response.
5465
5465
  * @return {object} Request object
5466
5466
  */
5467
- insert(params: Params$Resource$Sslcerts$Insert, options: StreamMethodOptions): GaxiosPromise<Readable>;
5468
- insert(params?: Params$Resource$Sslcerts$Insert, options?: MethodOptions): GaxiosPromise<Schema$SslCertsInsertResponse>;
5467
+ insert(params: Params$Resource$Sslcerts$Insert, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5468
+ insert(params?: Params$Resource$Sslcerts$Insert, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$SslCertsInsertResponse>>;
5469
5469
  insert(params: Params$Resource$Sslcerts$Insert, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5470
5470
  insert(params: Params$Resource$Sslcerts$Insert, options: MethodOptions | BodyResponseCallback<Schema$SslCertsInsertResponse>, callback: BodyResponseCallback<Schema$SslCertsInsertResponse>): void;
5471
5471
  insert(params: Params$Resource$Sslcerts$Insert, callback: BodyResponseCallback<Schema$SslCertsInsertResponse>): void;
@@ -5529,8 +5529,8 @@ export declare namespace sql_v1beta4 {
5529
5529
  * @param {callback} callback The callback that handles the response.
5530
5530
  * @return {object} Request object
5531
5531
  */
5532
- list(params: Params$Resource$Sslcerts$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
5533
- list(params?: Params$Resource$Sslcerts$List, options?: MethodOptions): GaxiosPromise<Schema$SslCertsListResponse>;
5532
+ list(params: Params$Resource$Sslcerts$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5533
+ list(params?: Params$Resource$Sslcerts$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$SslCertsListResponse>>;
5534
5534
  list(params: Params$Resource$Sslcerts$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5535
5535
  list(params: Params$Resource$Sslcerts$List, options: MethodOptions | BodyResponseCallback<Schema$SslCertsListResponse>, callback: BodyResponseCallback<Schema$SslCertsListResponse>): void;
5536
5536
  list(params: Params$Resource$Sslcerts$List, callback: BodyResponseCallback<Schema$SslCertsListResponse>): void;
@@ -5661,8 +5661,8 @@ export declare namespace sql_v1beta4 {
5661
5661
  * @param {callback} callback The callback that handles the response.
5662
5662
  * @return {object} Request object
5663
5663
  */
5664
- list(params: Params$Resource$Tiers$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
5665
- list(params?: Params$Resource$Tiers$List, options?: MethodOptions): GaxiosPromise<Schema$TiersListResponse>;
5664
+ list(params: Params$Resource$Tiers$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5665
+ list(params?: Params$Resource$Tiers$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$TiersListResponse>>;
5666
5666
  list(params: Params$Resource$Tiers$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5667
5667
  list(params: Params$Resource$Tiers$List, options: MethodOptions | BodyResponseCallback<Schema$TiersListResponse>, callback: BodyResponseCallback<Schema$TiersListResponse>): void;
5668
5668
  list(params: Params$Resource$Tiers$List, callback: BodyResponseCallback<Schema$TiersListResponse>): void;
@@ -5755,8 +5755,8 @@ export declare namespace sql_v1beta4 {
5755
5755
  * @param {callback} callback The callback that handles the response.
5756
5756
  * @return {object} Request object
5757
5757
  */
5758
- delete(params: Params$Resource$Users$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
5759
- delete(params?: Params$Resource$Users$Delete, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
5758
+ delete(params: Params$Resource$Users$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5759
+ delete(params?: Params$Resource$Users$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
5760
5760
  delete(params: Params$Resource$Users$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5761
5761
  delete(params: Params$Resource$Users$Delete, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
5762
5762
  delete(params: Params$Resource$Users$Delete, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -5850,8 +5850,8 @@ export declare namespace sql_v1beta4 {
5850
5850
  * @param {callback} callback The callback that handles the response.
5851
5851
  * @return {object} Request object
5852
5852
  */
5853
- insert(params: Params$Resource$Users$Insert, options: StreamMethodOptions): GaxiosPromise<Readable>;
5854
- insert(params?: Params$Resource$Users$Insert, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
5853
+ insert(params: Params$Resource$Users$Insert, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5854
+ insert(params?: Params$Resource$Users$Insert, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
5855
5855
  insert(params: Params$Resource$Users$Insert, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5856
5856
  insert(params: Params$Resource$Users$Insert, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
5857
5857
  insert(params: Params$Resource$Users$Insert, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -5916,8 +5916,8 @@ export declare namespace sql_v1beta4 {
5916
5916
  * @param {callback} callback The callback that handles the response.
5917
5917
  * @return {object} Request object
5918
5918
  */
5919
- list(params: Params$Resource$Users$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
5920
- list(params?: Params$Resource$Users$List, options?: MethodOptions): GaxiosPromise<Schema$UsersListResponse>;
5919
+ list(params: Params$Resource$Users$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5920
+ list(params?: Params$Resource$Users$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$UsersListResponse>>;
5921
5921
  list(params: Params$Resource$Users$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5922
5922
  list(params: Params$Resource$Users$List, options: MethodOptions | BodyResponseCallback<Schema$UsersListResponse>, callback: BodyResponseCallback<Schema$UsersListResponse>): void;
5923
5923
  list(params: Params$Resource$Users$List, callback: BodyResponseCallback<Schema$UsersListResponse>): void;
@@ -6017,8 +6017,8 @@ export declare namespace sql_v1beta4 {
6017
6017
  * @param {callback} callback The callback that handles the response.
6018
6018
  * @return {object} Request object
6019
6019
  */
6020
- update(params: Params$Resource$Users$Update, options: StreamMethodOptions): GaxiosPromise<Readable>;
6021
- update(params?: Params$Resource$Users$Update, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
6020
+ update(params: Params$Resource$Users$Update, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
6021
+ update(params?: Params$Resource$Users$Update, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
6022
6022
  update(params: Params$Resource$Users$Update, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6023
6023
  update(params: Params$Resource$Users$Update, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
6024
6024
  update(params: Params$Resource$Users$Update, callback: BodyResponseCallback<Schema$Operation>): void;
package/index.ts CHANGED
@@ -38,7 +38,6 @@ export {
38
38
  APIRequestContext,
39
39
  GoogleConfigurable,
40
40
  StreamMethodOptions,
41
- GaxiosPromise,
42
41
  MethodOptions,
43
42
  BodyResponseCallback,
44
43
  } from 'googleapis-common';