@googleapis/dns 6.3.0 → 8.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/build/v2.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /// <reference types="node" />
2
- import { OAuth2Client, JWT, Compute, UserRefreshClient, BaseExternalAccountClient, GaxiosPromise, GoogleConfigurable, MethodOptions, StreamMethodOptions, GlobalOptions, GoogleAuth, BodyResponseCallback, APIRequestContext } from 'googleapis-common';
2
+ import { OAuth2Client, JWT, Compute, UserRefreshClient, BaseExternalAccountClient, GaxiosResponseWithHTTP2, GoogleConfigurable, MethodOptions, StreamMethodOptions, GlobalOptions, GoogleAuth, BodyResponseCallback, APIRequestContext } from 'googleapis-common';
3
3
  import { Readable } from 'stream';
4
4
  export declare namespace dns_v2 {
5
5
  export interface Options extends GlobalOptions {
@@ -946,8 +946,8 @@ export declare namespace dns_v2 {
946
946
  * @param callback - Optional callback that handles the response.
947
947
  * @returns A promise if used with async/await, or void if used with a callback.
948
948
  */
949
- create(params: Params$Resource$Changes$Create, options: StreamMethodOptions): GaxiosPromise<Readable>;
950
- create(params?: Params$Resource$Changes$Create, options?: MethodOptions): GaxiosPromise<Schema$Change>;
949
+ create(params: Params$Resource$Changes$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
950
+ create(params?: Params$Resource$Changes$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Change>>;
951
951
  create(params: Params$Resource$Changes$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
952
952
  create(params: Params$Resource$Changes$Create, options: MethodOptions | BodyResponseCallback<Schema$Change>, callback: BodyResponseCallback<Schema$Change>): void;
953
953
  create(params: Params$Resource$Changes$Create, callback: BodyResponseCallback<Schema$Change>): void;
@@ -1021,8 +1021,8 @@ export declare namespace dns_v2 {
1021
1021
  * @param callback - Optional callback that handles the response.
1022
1022
  * @returns A promise if used with async/await, or void if used with a callback.
1023
1023
  */
1024
- get(params: Params$Resource$Changes$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
1025
- get(params?: Params$Resource$Changes$Get, options?: MethodOptions): GaxiosPromise<Schema$Change>;
1024
+ get(params: Params$Resource$Changes$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
1025
+ get(params?: Params$Resource$Changes$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Change>>;
1026
1026
  get(params: Params$Resource$Changes$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
1027
1027
  get(params: Params$Resource$Changes$Get, options: MethodOptions | BodyResponseCallback<Schema$Change>, callback: BodyResponseCallback<Schema$Change>): void;
1028
1028
  get(params: Params$Resource$Changes$Get, callback: BodyResponseCallback<Schema$Change>): void;
@@ -1096,8 +1096,8 @@ export declare namespace dns_v2 {
1096
1096
  * @param callback - Optional callback that handles the response.
1097
1097
  * @returns A promise if used with async/await, or void if used with a callback.
1098
1098
  */
1099
- list(params: Params$Resource$Changes$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
1100
- list(params?: Params$Resource$Changes$List, options?: MethodOptions): GaxiosPromise<Schema$ChangesListResponse>;
1099
+ list(params: Params$Resource$Changes$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
1100
+ list(params?: Params$Resource$Changes$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ChangesListResponse>>;
1101
1101
  list(params: Params$Resource$Changes$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
1102
1102
  list(params: Params$Resource$Changes$List, options: MethodOptions | BodyResponseCallback<Schema$ChangesListResponse>, callback: BodyResponseCallback<Schema$ChangesListResponse>): void;
1103
1103
  list(params: Params$Resource$Changes$List, callback: BodyResponseCallback<Schema$ChangesListResponse>): void;
@@ -1255,8 +1255,8 @@ export declare namespace dns_v2 {
1255
1255
  * @param callback - Optional callback that handles the response.
1256
1256
  * @returns A promise if used with async/await, or void if used with a callback.
1257
1257
  */
1258
- get(params: Params$Resource$Dnskeys$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
1259
- get(params?: Params$Resource$Dnskeys$Get, options?: MethodOptions): GaxiosPromise<Schema$DnsKey>;
1258
+ get(params: Params$Resource$Dnskeys$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
1259
+ get(params?: Params$Resource$Dnskeys$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$DnsKey>>;
1260
1260
  get(params: Params$Resource$Dnskeys$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
1261
1261
  get(params: Params$Resource$Dnskeys$Get, options: MethodOptions | BodyResponseCallback<Schema$DnsKey>, callback: BodyResponseCallback<Schema$DnsKey>): void;
1262
1262
  get(params: Params$Resource$Dnskeys$Get, callback: BodyResponseCallback<Schema$DnsKey>): void;
@@ -1329,8 +1329,8 @@ export declare namespace dns_v2 {
1329
1329
  * @param callback - Optional callback that handles the response.
1330
1330
  * @returns A promise if used with async/await, or void if used with a callback.
1331
1331
  */
1332
- list(params: Params$Resource$Dnskeys$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
1333
- list(params?: Params$Resource$Dnskeys$List, options?: MethodOptions): GaxiosPromise<Schema$DnsKeysListResponse>;
1332
+ list(params: Params$Resource$Dnskeys$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
1333
+ list(params?: Params$Resource$Dnskeys$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$DnsKeysListResponse>>;
1334
1334
  list(params: Params$Resource$Dnskeys$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
1335
1335
  list(params: Params$Resource$Dnskeys$List, options: MethodOptions | BodyResponseCallback<Schema$DnsKeysListResponse>, callback: BodyResponseCallback<Schema$DnsKeysListResponse>): void;
1336
1336
  list(params: Params$Resource$Dnskeys$List, callback: BodyResponseCallback<Schema$DnsKeysListResponse>): void;
@@ -1461,8 +1461,8 @@ export declare namespace dns_v2 {
1461
1461
  * @param callback - Optional callback that handles the response.
1462
1462
  * @returns A promise if used with async/await, or void if used with a callback.
1463
1463
  */
1464
- get(params: Params$Resource$Managedzoneoperations$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
1465
- get(params?: Params$Resource$Managedzoneoperations$Get, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
1464
+ get(params: Params$Resource$Managedzoneoperations$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
1465
+ get(params?: Params$Resource$Managedzoneoperations$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
1466
1466
  get(params: Params$Resource$Managedzoneoperations$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
1467
1467
  get(params: Params$Resource$Managedzoneoperations$Get, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
1468
1468
  get(params: Params$Resource$Managedzoneoperations$Get, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -1535,8 +1535,8 @@ export declare namespace dns_v2 {
1535
1535
  * @param callback - Optional callback that handles the response.
1536
1536
  * @returns A promise if used with async/await, or void if used with a callback.
1537
1537
  */
1538
- list(params: Params$Resource$Managedzoneoperations$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
1539
- list(params?: Params$Resource$Managedzoneoperations$List, options?: MethodOptions): GaxiosPromise<Schema$ManagedZoneOperationsListResponse>;
1538
+ list(params: Params$Resource$Managedzoneoperations$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
1539
+ list(params?: Params$Resource$Managedzoneoperations$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ManagedZoneOperationsListResponse>>;
1540
1540
  list(params: Params$Resource$Managedzoneoperations$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
1541
1541
  list(params: Params$Resource$Managedzoneoperations$List, options: MethodOptions | BodyResponseCallback<Schema$ManagedZoneOperationsListResponse>, callback: BodyResponseCallback<Schema$ManagedZoneOperationsListResponse>): void;
1542
1542
  list(params: Params$Resource$Managedzoneoperations$List, callback: BodyResponseCallback<Schema$ManagedZoneOperationsListResponse>): void;
@@ -1690,8 +1690,8 @@ export declare namespace dns_v2 {
1690
1690
  * @param callback - Optional callback that handles the response.
1691
1691
  * @returns A promise if used with async/await, or void if used with a callback.
1692
1692
  */
1693
- create(params: Params$Resource$Managedzones$Create, options: StreamMethodOptions): GaxiosPromise<Readable>;
1694
- create(params?: Params$Resource$Managedzones$Create, options?: MethodOptions): GaxiosPromise<Schema$ManagedZone>;
1693
+ create(params: Params$Resource$Managedzones$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
1694
+ create(params?: Params$Resource$Managedzones$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ManagedZone>>;
1695
1695
  create(params: Params$Resource$Managedzones$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
1696
1696
  create(params: Params$Resource$Managedzones$Create, options: MethodOptions | BodyResponseCallback<Schema$ManagedZone>, callback: BodyResponseCallback<Schema$ManagedZone>): void;
1697
1697
  create(params: Params$Resource$Managedzones$Create, callback: BodyResponseCallback<Schema$ManagedZone>): void;
@@ -1750,8 +1750,8 @@ export declare namespace dns_v2 {
1750
1750
  * @param callback - Optional callback that handles the response.
1751
1751
  * @returns A promise if used with async/await, or void if used with a callback.
1752
1752
  */
1753
- delete(params: Params$Resource$Managedzones$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
1754
- delete(params?: Params$Resource$Managedzones$Delete, options?: MethodOptions): GaxiosPromise<void>;
1753
+ delete(params: Params$Resource$Managedzones$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
1754
+ delete(params?: Params$Resource$Managedzones$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<void>>;
1755
1755
  delete(params: Params$Resource$Managedzones$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
1756
1756
  delete(params: Params$Resource$Managedzones$Delete, options: MethodOptions | BodyResponseCallback<void>, callback: BodyResponseCallback<void>): void;
1757
1757
  delete(params: Params$Resource$Managedzones$Delete, callback: BodyResponseCallback<void>): void;
@@ -1833,8 +1833,8 @@ export declare namespace dns_v2 {
1833
1833
  * @param callback - Optional callback that handles the response.
1834
1834
  * @returns A promise if used with async/await, or void if used with a callback.
1835
1835
  */
1836
- get(params: Params$Resource$Managedzones$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
1837
- get(params?: Params$Resource$Managedzones$Get, options?: MethodOptions): GaxiosPromise<Schema$ManagedZone>;
1836
+ get(params: Params$Resource$Managedzones$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
1837
+ get(params?: Params$Resource$Managedzones$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ManagedZone>>;
1838
1838
  get(params: Params$Resource$Managedzones$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
1839
1839
  get(params: Params$Resource$Managedzones$Get, options: MethodOptions | BodyResponseCallback<Schema$ManagedZone>, callback: BodyResponseCallback<Schema$ManagedZone>): void;
1840
1840
  get(params: Params$Resource$Managedzones$Get, callback: BodyResponseCallback<Schema$ManagedZone>): void;
@@ -1905,8 +1905,8 @@ export declare namespace dns_v2 {
1905
1905
  * @param callback - Optional callback that handles the response.
1906
1906
  * @returns A promise if used with async/await, or void if used with a callback.
1907
1907
  */
1908
- list(params: Params$Resource$Managedzones$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
1909
- list(params?: Params$Resource$Managedzones$List, options?: MethodOptions): GaxiosPromise<Schema$ManagedZonesListResponse>;
1908
+ list(params: Params$Resource$Managedzones$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
1909
+ list(params?: Params$Resource$Managedzones$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ManagedZonesListResponse>>;
1910
1910
  list(params: Params$Resource$Managedzones$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
1911
1911
  list(params: Params$Resource$Managedzones$List, options: MethodOptions | BodyResponseCallback<Schema$ManagedZonesListResponse>, callback: BodyResponseCallback<Schema$ManagedZonesListResponse>): void;
1912
1912
  list(params: Params$Resource$Managedzones$List, callback: BodyResponseCallback<Schema$ManagedZonesListResponse>): void;
@@ -2001,8 +2001,8 @@ export declare namespace dns_v2 {
2001
2001
  * @param callback - Optional callback that handles the response.
2002
2002
  * @returns A promise if used with async/await, or void if used with a callback.
2003
2003
  */
2004
- patch(params: Params$Resource$Managedzones$Patch, options: StreamMethodOptions): GaxiosPromise<Readable>;
2005
- patch(params?: Params$Resource$Managedzones$Patch, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
2004
+ patch(params: Params$Resource$Managedzones$Patch, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2005
+ patch(params?: Params$Resource$Managedzones$Patch, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
2006
2006
  patch(params: Params$Resource$Managedzones$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2007
2007
  patch(params: Params$Resource$Managedzones$Patch, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
2008
2008
  patch(params: Params$Resource$Managedzones$Patch, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -2097,8 +2097,8 @@ export declare namespace dns_v2 {
2097
2097
  * @param callback - Optional callback that handles the response.
2098
2098
  * @returns A promise if used with async/await, or void if used with a callback.
2099
2099
  */
2100
- update(params: Params$Resource$Managedzones$Update, options: StreamMethodOptions): GaxiosPromise<Readable>;
2101
- update(params?: Params$Resource$Managedzones$Update, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
2100
+ update(params: Params$Resource$Managedzones$Update, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2101
+ update(params?: Params$Resource$Managedzones$Update, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
2102
2102
  update(params: Params$Resource$Managedzones$Update, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2103
2103
  update(params: Params$Resource$Managedzones$Update, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
2104
2104
  update(params: Params$Resource$Managedzones$Update, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -2306,8 +2306,8 @@ export declare namespace dns_v2 {
2306
2306
  * @param callback - Optional callback that handles the response.
2307
2307
  * @returns A promise if used with async/await, or void if used with a callback.
2308
2308
  */
2309
- create(params: Params$Resource$Policies$Create, options: StreamMethodOptions): GaxiosPromise<Readable>;
2310
- create(params?: Params$Resource$Policies$Create, options?: MethodOptions): GaxiosPromise<Schema$Policy>;
2309
+ create(params: Params$Resource$Policies$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2310
+ create(params?: Params$Resource$Policies$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Policy>>;
2311
2311
  create(params: Params$Resource$Policies$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2312
2312
  create(params: Params$Resource$Policies$Create, options: MethodOptions | BodyResponseCallback<Schema$Policy>, callback: BodyResponseCallback<Schema$Policy>): void;
2313
2313
  create(params: Params$Resource$Policies$Create, callback: BodyResponseCallback<Schema$Policy>): void;
@@ -2366,8 +2366,8 @@ export declare namespace dns_v2 {
2366
2366
  * @param callback - Optional callback that handles the response.
2367
2367
  * @returns A promise if used with async/await, or void if used with a callback.
2368
2368
  */
2369
- delete(params: Params$Resource$Policies$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
2370
- delete(params?: Params$Resource$Policies$Delete, options?: MethodOptions): GaxiosPromise<void>;
2369
+ delete(params: Params$Resource$Policies$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2370
+ delete(params?: Params$Resource$Policies$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<void>>;
2371
2371
  delete(params: Params$Resource$Policies$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2372
2372
  delete(params: Params$Resource$Policies$Delete, options: MethodOptions | BodyResponseCallback<void>, callback: BodyResponseCallback<void>): void;
2373
2373
  delete(params: Params$Resource$Policies$Delete, callback: BodyResponseCallback<void>): void;
@@ -2440,8 +2440,8 @@ export declare namespace dns_v2 {
2440
2440
  * @param callback - Optional callback that handles the response.
2441
2441
  * @returns A promise if used with async/await, or void if used with a callback.
2442
2442
  */
2443
- get(params: Params$Resource$Policies$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
2444
- get(params?: Params$Resource$Policies$Get, options?: MethodOptions): GaxiosPromise<Schema$Policy>;
2443
+ get(params: Params$Resource$Policies$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2444
+ get(params?: Params$Resource$Policies$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Policy>>;
2445
2445
  get(params: Params$Resource$Policies$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2446
2446
  get(params: Params$Resource$Policies$Get, options: MethodOptions | BodyResponseCallback<Schema$Policy>, callback: BodyResponseCallback<Schema$Policy>): void;
2447
2447
  get(params: Params$Resource$Policies$Get, callback: BodyResponseCallback<Schema$Policy>): void;
@@ -2510,8 +2510,8 @@ export declare namespace dns_v2 {
2510
2510
  * @param callback - Optional callback that handles the response.
2511
2511
  * @returns A promise if used with async/await, or void if used with a callback.
2512
2512
  */
2513
- list(params: Params$Resource$Policies$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
2514
- list(params?: Params$Resource$Policies$List, options?: MethodOptions): GaxiosPromise<Schema$PoliciesListResponse>;
2513
+ list(params: Params$Resource$Policies$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2514
+ list(params?: Params$Resource$Policies$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$PoliciesListResponse>>;
2515
2515
  list(params: Params$Resource$Policies$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2516
2516
  list(params: Params$Resource$Policies$List, options: MethodOptions | BodyResponseCallback<Schema$PoliciesListResponse>, callback: BodyResponseCallback<Schema$PoliciesListResponse>): void;
2517
2517
  list(params: Params$Resource$Policies$List, callback: BodyResponseCallback<Schema$PoliciesListResponse>): void;
@@ -2591,8 +2591,8 @@ export declare namespace dns_v2 {
2591
2591
  * @param callback - Optional callback that handles the response.
2592
2592
  * @returns A promise if used with async/await, or void if used with a callback.
2593
2593
  */
2594
- patch(params: Params$Resource$Policies$Patch, options: StreamMethodOptions): GaxiosPromise<Readable>;
2595
- patch(params?: Params$Resource$Policies$Patch, options?: MethodOptions): GaxiosPromise<Schema$PoliciesPatchResponse>;
2594
+ patch(params: Params$Resource$Policies$Patch, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2595
+ patch(params?: Params$Resource$Policies$Patch, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$PoliciesPatchResponse>>;
2596
2596
  patch(params: Params$Resource$Policies$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2597
2597
  patch(params: Params$Resource$Policies$Patch, options: MethodOptions | BodyResponseCallback<Schema$PoliciesPatchResponse>, callback: BodyResponseCallback<Schema$PoliciesPatchResponse>): void;
2598
2598
  patch(params: Params$Resource$Policies$Patch, callback: BodyResponseCallback<Schema$PoliciesPatchResponse>): void;
@@ -2672,8 +2672,8 @@ export declare namespace dns_v2 {
2672
2672
  * @param callback - Optional callback that handles the response.
2673
2673
  * @returns A promise if used with async/await, or void if used with a callback.
2674
2674
  */
2675
- update(params: Params$Resource$Policies$Update, options: StreamMethodOptions): GaxiosPromise<Readable>;
2676
- update(params?: Params$Resource$Policies$Update, options?: MethodOptions): GaxiosPromise<Schema$PoliciesUpdateResponse>;
2675
+ update(params: Params$Resource$Policies$Update, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2676
+ update(params?: Params$Resource$Policies$Update, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$PoliciesUpdateResponse>>;
2677
2677
  update(params: Params$Resource$Policies$Update, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2678
2678
  update(params: Params$Resource$Policies$Update, options: MethodOptions | BodyResponseCallback<Schema$PoliciesUpdateResponse>, callback: BodyResponseCallback<Schema$PoliciesUpdateResponse>): void;
2679
2679
  update(params: Params$Resource$Policies$Update, callback: BodyResponseCallback<Schema$PoliciesUpdateResponse>): void;
@@ -2860,8 +2860,8 @@ export declare namespace dns_v2 {
2860
2860
  * @param callback - Optional callback that handles the response.
2861
2861
  * @returns A promise if used with async/await, or void if used with a callback.
2862
2862
  */
2863
- get(params: Params$Resource$Projects$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
2864
- get(params?: Params$Resource$Projects$Get, options?: MethodOptions): GaxiosPromise<Schema$Project>;
2863
+ get(params: Params$Resource$Projects$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2864
+ get(params?: Params$Resource$Projects$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Project>>;
2865
2865
  get(params: Params$Resource$Projects$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2866
2866
  get(params: Params$Resource$Projects$Get, options: MethodOptions | BodyResponseCallback<Schema$Project>, callback: BodyResponseCallback<Schema$Project>): void;
2867
2867
  get(params: Params$Resource$Projects$Get, callback: BodyResponseCallback<Schema$Project>): void;
@@ -2963,8 +2963,8 @@ export declare namespace dns_v2 {
2963
2963
  * @param callback - Optional callback that handles the response.
2964
2964
  * @returns A promise if used with async/await, or void if used with a callback.
2965
2965
  */
2966
- create(params: Params$Resource$Resourcerecordsets$Create, options: StreamMethodOptions): GaxiosPromise<Readable>;
2967
- create(params?: Params$Resource$Resourcerecordsets$Create, options?: MethodOptions): GaxiosPromise<Schema$ResourceRecordSet>;
2966
+ create(params: Params$Resource$Resourcerecordsets$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2967
+ create(params?: Params$Resource$Resourcerecordsets$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ResourceRecordSet>>;
2968
2968
  create(params: Params$Resource$Resourcerecordsets$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2969
2969
  create(params: Params$Resource$Resourcerecordsets$Create, options: MethodOptions | BodyResponseCallback<Schema$ResourceRecordSet>, callback: BodyResponseCallback<Schema$ResourceRecordSet>): void;
2970
2970
  create(params: Params$Resource$Resourcerecordsets$Create, callback: BodyResponseCallback<Schema$ResourceRecordSet>): void;
@@ -3027,8 +3027,8 @@ export declare namespace dns_v2 {
3027
3027
  * @param callback - Optional callback that handles the response.
3028
3028
  * @returns A promise if used with async/await, or void if used with a callback.
3029
3029
  */
3030
- delete(params: Params$Resource$Resourcerecordsets$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
3031
- delete(params?: Params$Resource$Resourcerecordsets$Delete, options?: MethodOptions): GaxiosPromise<void>;
3030
+ delete(params: Params$Resource$Resourcerecordsets$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3031
+ delete(params?: Params$Resource$Resourcerecordsets$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<void>>;
3032
3032
  delete(params: Params$Resource$Resourcerecordsets$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3033
3033
  delete(params: Params$Resource$Resourcerecordsets$Delete, options: MethodOptions | BodyResponseCallback<void>, callback: BodyResponseCallback<void>): void;
3034
3034
  delete(params: Params$Resource$Resourcerecordsets$Delete, callback: BodyResponseCallback<void>): void;
@@ -3104,8 +3104,8 @@ export declare namespace dns_v2 {
3104
3104
  * @param callback - Optional callback that handles the response.
3105
3105
  * @returns A promise if used with async/await, or void if used with a callback.
3106
3106
  */
3107
- get(params: Params$Resource$Resourcerecordsets$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
3108
- get(params?: Params$Resource$Resourcerecordsets$Get, options?: MethodOptions): GaxiosPromise<Schema$ResourceRecordSet>;
3107
+ get(params: Params$Resource$Resourcerecordsets$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3108
+ get(params?: Params$Resource$Resourcerecordsets$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ResourceRecordSet>>;
3109
3109
  get(params: Params$Resource$Resourcerecordsets$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3110
3110
  get(params: Params$Resource$Resourcerecordsets$Get, options: MethodOptions | BodyResponseCallback<Schema$ResourceRecordSet>, callback: BodyResponseCallback<Schema$ResourceRecordSet>): void;
3111
3111
  get(params: Params$Resource$Resourcerecordsets$Get, callback: BodyResponseCallback<Schema$ResourceRecordSet>): void;
@@ -3180,8 +3180,8 @@ export declare namespace dns_v2 {
3180
3180
  * @param callback - Optional callback that handles the response.
3181
3181
  * @returns A promise if used with async/await, or void if used with a callback.
3182
3182
  */
3183
- list(params: Params$Resource$Resourcerecordsets$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
3184
- list(params?: Params$Resource$Resourcerecordsets$List, options?: MethodOptions): GaxiosPromise<Schema$ResourceRecordSetsListResponse>;
3183
+ list(params: Params$Resource$Resourcerecordsets$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3184
+ list(params?: Params$Resource$Resourcerecordsets$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ResourceRecordSetsListResponse>>;
3185
3185
  list(params: Params$Resource$Resourcerecordsets$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3186
3186
  list(params: Params$Resource$Resourcerecordsets$List, options: MethodOptions | BodyResponseCallback<Schema$ResourceRecordSetsListResponse>, callback: BodyResponseCallback<Schema$ResourceRecordSetsListResponse>): void;
3187
3187
  list(params: Params$Resource$Resourcerecordsets$List, callback: BodyResponseCallback<Schema$ResourceRecordSetsListResponse>): void;
@@ -3269,8 +3269,8 @@ export declare namespace dns_v2 {
3269
3269
  * @param callback - Optional callback that handles the response.
3270
3270
  * @returns A promise if used with async/await, or void if used with a callback.
3271
3271
  */
3272
- patch(params: Params$Resource$Resourcerecordsets$Patch, options: StreamMethodOptions): GaxiosPromise<Readable>;
3273
- patch(params?: Params$Resource$Resourcerecordsets$Patch, options?: MethodOptions): GaxiosPromise<Schema$ResourceRecordSet>;
3272
+ patch(params: Params$Resource$Resourcerecordsets$Patch, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3273
+ patch(params?: Params$Resource$Resourcerecordsets$Patch, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ResourceRecordSet>>;
3274
3274
  patch(params: Params$Resource$Resourcerecordsets$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3275
3275
  patch(params: Params$Resource$Resourcerecordsets$Patch, options: MethodOptions | BodyResponseCallback<Schema$ResourceRecordSet>, callback: BodyResponseCallback<Schema$ResourceRecordSet>): void;
3276
3276
  patch(params: Params$Resource$Resourcerecordsets$Patch, callback: BodyResponseCallback<Schema$ResourceRecordSet>): void;
@@ -3488,8 +3488,8 @@ export declare namespace dns_v2 {
3488
3488
  * @param callback - Optional callback that handles the response.
3489
3489
  * @returns A promise if used with async/await, or void if used with a callback.
3490
3490
  */
3491
- create(params: Params$Resource$Responsepolicies$Create, options: StreamMethodOptions): GaxiosPromise<Readable>;
3492
- create(params?: Params$Resource$Responsepolicies$Create, options?: MethodOptions): GaxiosPromise<Schema$ResponsePolicy>;
3491
+ create(params: Params$Resource$Responsepolicies$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3492
+ create(params?: Params$Resource$Responsepolicies$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ResponsePolicy>>;
3493
3493
  create(params: Params$Resource$Responsepolicies$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3494
3494
  create(params: Params$Resource$Responsepolicies$Create, options: MethodOptions | BodyResponseCallback<Schema$ResponsePolicy>, callback: BodyResponseCallback<Schema$ResponsePolicy>): void;
3495
3495
  create(params: Params$Resource$Responsepolicies$Create, callback: BodyResponseCallback<Schema$ResponsePolicy>): void;
@@ -3548,8 +3548,8 @@ export declare namespace dns_v2 {
3548
3548
  * @param callback - Optional callback that handles the response.
3549
3549
  * @returns A promise if used with async/await, or void if used with a callback.
3550
3550
  */
3551
- delete(params: Params$Resource$Responsepolicies$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
3552
- delete(params?: Params$Resource$Responsepolicies$Delete, options?: MethodOptions): GaxiosPromise<void>;
3551
+ delete(params: Params$Resource$Responsepolicies$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3552
+ delete(params?: Params$Resource$Responsepolicies$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<void>>;
3553
3553
  delete(params: Params$Resource$Responsepolicies$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3554
3554
  delete(params: Params$Resource$Responsepolicies$Delete, options: MethodOptions | BodyResponseCallback<void>, callback: BodyResponseCallback<void>): void;
3555
3555
  delete(params: Params$Resource$Responsepolicies$Delete, callback: BodyResponseCallback<void>): void;
@@ -3620,8 +3620,8 @@ export declare namespace dns_v2 {
3620
3620
  * @param callback - Optional callback that handles the response.
3621
3621
  * @returns A promise if used with async/await, or void if used with a callback.
3622
3622
  */
3623
- get(params: Params$Resource$Responsepolicies$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
3624
- get(params?: Params$Resource$Responsepolicies$Get, options?: MethodOptions): GaxiosPromise<Schema$ResponsePolicy>;
3623
+ get(params: Params$Resource$Responsepolicies$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3624
+ get(params?: Params$Resource$Responsepolicies$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ResponsePolicy>>;
3625
3625
  get(params: Params$Resource$Responsepolicies$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3626
3626
  get(params: Params$Resource$Responsepolicies$Get, options: MethodOptions | BodyResponseCallback<Schema$ResponsePolicy>, callback: BodyResponseCallback<Schema$ResponsePolicy>): void;
3627
3627
  get(params: Params$Resource$Responsepolicies$Get, callback: BodyResponseCallback<Schema$ResponsePolicy>): void;
@@ -3689,8 +3689,8 @@ export declare namespace dns_v2 {
3689
3689
  * @param callback - Optional callback that handles the response.
3690
3690
  * @returns A promise if used with async/await, or void if used with a callback.
3691
3691
  */
3692
- list(params: Params$Resource$Responsepolicies$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
3693
- list(params?: Params$Resource$Responsepolicies$List, options?: MethodOptions): GaxiosPromise<Schema$ResponsePoliciesListResponse>;
3692
+ list(params: Params$Resource$Responsepolicies$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3693
+ list(params?: Params$Resource$Responsepolicies$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ResponsePoliciesListResponse>>;
3694
3694
  list(params: Params$Resource$Responsepolicies$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3695
3695
  list(params: Params$Resource$Responsepolicies$List, options: MethodOptions | BodyResponseCallback<Schema$ResponsePoliciesListResponse>, callback: BodyResponseCallback<Schema$ResponsePoliciesListResponse>): void;
3696
3696
  list(params: Params$Resource$Responsepolicies$List, callback: BodyResponseCallback<Schema$ResponsePoliciesListResponse>): void;
@@ -3768,8 +3768,8 @@ export declare namespace dns_v2 {
3768
3768
  * @param callback - Optional callback that handles the response.
3769
3769
  * @returns A promise if used with async/await, or void if used with a callback.
3770
3770
  */
3771
- patch(params: Params$Resource$Responsepolicies$Patch, options: StreamMethodOptions): GaxiosPromise<Readable>;
3772
- patch(params?: Params$Resource$Responsepolicies$Patch, options?: MethodOptions): GaxiosPromise<Schema$ResponsePoliciesPatchResponse>;
3771
+ patch(params: Params$Resource$Responsepolicies$Patch, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3772
+ patch(params?: Params$Resource$Responsepolicies$Patch, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ResponsePoliciesPatchResponse>>;
3773
3773
  patch(params: Params$Resource$Responsepolicies$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3774
3774
  patch(params: Params$Resource$Responsepolicies$Patch, options: MethodOptions | BodyResponseCallback<Schema$ResponsePoliciesPatchResponse>, callback: BodyResponseCallback<Schema$ResponsePoliciesPatchResponse>): void;
3775
3775
  patch(params: Params$Resource$Responsepolicies$Patch, callback: BodyResponseCallback<Schema$ResponsePoliciesPatchResponse>): void;
@@ -3847,8 +3847,8 @@ export declare namespace dns_v2 {
3847
3847
  * @param callback - Optional callback that handles the response.
3848
3848
  * @returns A promise if used with async/await, or void if used with a callback.
3849
3849
  */
3850
- update(params: Params$Resource$Responsepolicies$Update, options: StreamMethodOptions): GaxiosPromise<Readable>;
3851
- update(params?: Params$Resource$Responsepolicies$Update, options?: MethodOptions): GaxiosPromise<Schema$ResponsePoliciesUpdateResponse>;
3850
+ update(params: Params$Resource$Responsepolicies$Update, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3851
+ update(params?: Params$Resource$Responsepolicies$Update, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ResponsePoliciesUpdateResponse>>;
3852
3852
  update(params: Params$Resource$Responsepolicies$Update, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3853
3853
  update(params: Params$Resource$Responsepolicies$Update, options: MethodOptions | BodyResponseCallback<Schema$ResponsePoliciesUpdateResponse>, callback: BodyResponseCallback<Schema$ResponsePoliciesUpdateResponse>): void;
3854
3854
  update(params: Params$Resource$Responsepolicies$Update, callback: BodyResponseCallback<Schema$ResponsePoliciesUpdateResponse>): void;
@@ -4048,8 +4048,8 @@ export declare namespace dns_v2 {
4048
4048
  * @param callback - Optional callback that handles the response.
4049
4049
  * @returns A promise if used with async/await, or void if used with a callback.
4050
4050
  */
4051
- create(params: Params$Resource$Responsepolicyrules$Create, options: StreamMethodOptions): GaxiosPromise<Readable>;
4052
- create(params?: Params$Resource$Responsepolicyrules$Create, options?: MethodOptions): GaxiosPromise<Schema$ResponsePolicyRule>;
4051
+ create(params: Params$Resource$Responsepolicyrules$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4052
+ create(params?: Params$Resource$Responsepolicyrules$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ResponsePolicyRule>>;
4053
4053
  create(params: Params$Resource$Responsepolicyrules$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4054
4054
  create(params: Params$Resource$Responsepolicyrules$Create, options: MethodOptions | BodyResponseCallback<Schema$ResponsePolicyRule>, callback: BodyResponseCallback<Schema$ResponsePolicyRule>): void;
4055
4055
  create(params: Params$Resource$Responsepolicyrules$Create, callback: BodyResponseCallback<Schema$ResponsePolicyRule>): void;
@@ -4110,8 +4110,8 @@ export declare namespace dns_v2 {
4110
4110
  * @param callback - Optional callback that handles the response.
4111
4111
  * @returns A promise if used with async/await, or void if used with a callback.
4112
4112
  */
4113
- delete(params: Params$Resource$Responsepolicyrules$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
4114
- delete(params?: Params$Resource$Responsepolicyrules$Delete, options?: MethodOptions): GaxiosPromise<void>;
4113
+ delete(params: Params$Resource$Responsepolicyrules$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4114
+ delete(params?: Params$Resource$Responsepolicyrules$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<void>>;
4115
4115
  delete(params: Params$Resource$Responsepolicyrules$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4116
4116
  delete(params: Params$Resource$Responsepolicyrules$Delete, options: MethodOptions | BodyResponseCallback<void>, callback: BodyResponseCallback<void>): void;
4117
4117
  delete(params: Params$Resource$Responsepolicyrules$Delete, callback: BodyResponseCallback<void>): void;
@@ -4183,8 +4183,8 @@ export declare namespace dns_v2 {
4183
4183
  * @param callback - Optional callback that handles the response.
4184
4184
  * @returns A promise if used with async/await, or void if used with a callback.
4185
4185
  */
4186
- get(params: Params$Resource$Responsepolicyrules$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
4187
- get(params?: Params$Resource$Responsepolicyrules$Get, options?: MethodOptions): GaxiosPromise<Schema$ResponsePolicyRule>;
4186
+ get(params: Params$Resource$Responsepolicyrules$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4187
+ get(params?: Params$Resource$Responsepolicyrules$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ResponsePolicyRule>>;
4188
4188
  get(params: Params$Resource$Responsepolicyrules$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4189
4189
  get(params: Params$Resource$Responsepolicyrules$Get, options: MethodOptions | BodyResponseCallback<Schema$ResponsePolicyRule>, callback: BodyResponseCallback<Schema$ResponsePolicyRule>): void;
4190
4190
  get(params: Params$Resource$Responsepolicyrules$Get, callback: BodyResponseCallback<Schema$ResponsePolicyRule>): void;
@@ -4254,8 +4254,8 @@ export declare namespace dns_v2 {
4254
4254
  * @param callback - Optional callback that handles the response.
4255
4255
  * @returns A promise if used with async/await, or void if used with a callback.
4256
4256
  */
4257
- list(params: Params$Resource$Responsepolicyrules$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
4258
- list(params?: Params$Resource$Responsepolicyrules$List, options?: MethodOptions): GaxiosPromise<Schema$ResponsePolicyRulesListResponse>;
4257
+ list(params: Params$Resource$Responsepolicyrules$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4258
+ list(params?: Params$Resource$Responsepolicyrules$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ResponsePolicyRulesListResponse>>;
4259
4259
  list(params: Params$Resource$Responsepolicyrules$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4260
4260
  list(params: Params$Resource$Responsepolicyrules$List, options: MethodOptions | BodyResponseCallback<Schema$ResponsePolicyRulesListResponse>, callback: BodyResponseCallback<Schema$ResponsePolicyRulesListResponse>): void;
4261
4261
  list(params: Params$Resource$Responsepolicyrules$List, callback: BodyResponseCallback<Schema$ResponsePolicyRulesListResponse>): void;
@@ -4334,8 +4334,8 @@ export declare namespace dns_v2 {
4334
4334
  * @param callback - Optional callback that handles the response.
4335
4335
  * @returns A promise if used with async/await, or void if used with a callback.
4336
4336
  */
4337
- patch(params: Params$Resource$Responsepolicyrules$Patch, options: StreamMethodOptions): GaxiosPromise<Readable>;
4338
- patch(params?: Params$Resource$Responsepolicyrules$Patch, options?: MethodOptions): GaxiosPromise<Schema$ResponsePolicyRulesPatchResponse>;
4337
+ patch(params: Params$Resource$Responsepolicyrules$Patch, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4338
+ patch(params?: Params$Resource$Responsepolicyrules$Patch, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ResponsePolicyRulesPatchResponse>>;
4339
4339
  patch(params: Params$Resource$Responsepolicyrules$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4340
4340
  patch(params: Params$Resource$Responsepolicyrules$Patch, options: MethodOptions | BodyResponseCallback<Schema$ResponsePolicyRulesPatchResponse>, callback: BodyResponseCallback<Schema$ResponsePolicyRulesPatchResponse>): void;
4341
4341
  patch(params: Params$Resource$Responsepolicyrules$Patch, callback: BodyResponseCallback<Schema$ResponsePolicyRulesPatchResponse>): void;
@@ -4414,8 +4414,8 @@ export declare namespace dns_v2 {
4414
4414
  * @param callback - Optional callback that handles the response.
4415
4415
  * @returns A promise if used with async/await, or void if used with a callback.
4416
4416
  */
4417
- update(params: Params$Resource$Responsepolicyrules$Update, options: StreamMethodOptions): GaxiosPromise<Readable>;
4418
- update(params?: Params$Resource$Responsepolicyrules$Update, options?: MethodOptions): GaxiosPromise<Schema$ResponsePolicyRulesUpdateResponse>;
4417
+ update(params: Params$Resource$Responsepolicyrules$Update, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4418
+ update(params?: Params$Resource$Responsepolicyrules$Update, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ResponsePolicyRulesUpdateResponse>>;
4419
4419
  update(params: Params$Resource$Responsepolicyrules$Update, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4420
4420
  update(params: Params$Resource$Responsepolicyrules$Update, options: MethodOptions | BodyResponseCallback<Schema$ResponsePolicyRulesUpdateResponse>, callback: BodyResponseCallback<Schema$ResponsePolicyRulesUpdateResponse>): void;
4421
4421
  update(params: Params$Resource$Responsepolicyrules$Update, callback: BodyResponseCallback<Schema$ResponsePolicyRulesUpdateResponse>): void;