@googleapis/verifiedaccess 3.8.0 → 4.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,30 @@
1
1
  # Changelog
2
2
 
3
+ ## [4.0.1](https://github.com/googleapis/google-api-nodejs-client/compare/verifiedaccess-v4.0.0...verifiedaccess-v4.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
+ ## [4.0.0](https://github.com/googleapis/google-api-nodejs-client/compare/verifiedaccess-v3.9.0...verifiedaccess-v4.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
+ ## [3.9.0](https://github.com/googleapis/google-api-nodejs-client/compare/verifiedaccess-v3.8.0...verifiedaccess-v3.9.0) (2025-05-05)
22
+
23
+
24
+ ### Features
25
+
26
+ * **verifiedaccess:** update the API ([fbd86e4](https://github.com/googleapis/google-api-nodejs-client/commit/fbd86e49504ba79a4458dc3475ab27a694afb0e0))
27
+
3
28
  ## [3.8.0](https://github.com/googleapis/google-api-nodejs-client/compare/verifiedaccess-v3.7.0...verifiedaccess-v3.8.0) (2025-04-18)
4
29
 
5
30
 
package/build/index.d.ts CHANGED
@@ -14,4 +14,4 @@ declare const auth: AuthPlus;
14
14
  export { auth };
15
15
  export { verifiedaccess_v1 };
16
16
  export { verifiedaccess_v2 };
17
- export { AuthPlus, GlobalOptions, APIRequestContext, GoogleConfigurable, StreamMethodOptions, GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common';
17
+ 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,6BAAuC;AA+B/B,kGA/BA,sBAAiB,OA+BA;AA9BzB,6BAAuC;AA+B/B,kGA/BA,sBAAiB,OA+BA;AA7BZ,QAAA,QAAQ,GAAG;IACtB,EAAE,EAAE,sBAAiB,CAAC,cAAc;IACpC,EAAE,EAAE,sBAAiB,CAAC,cAAc;CACrC,CAAC;AAUF,SAAgB,cAAc,CAI5B,gBAI6B;IAE7B,OAAO,IAAA,0BAAM,EAAI,gBAAgB,EAAE,gBAAgB,EAAE,gBAAQ,EAAE,IAAI,CAAC,CAAC;AACvE,CAAC;AAXD,wCAWC;AAED,MAAM,IAAI,GAAG,IAAI,4BAAQ,EAAE,CAAC;AACpB,oBAAI;AAGZ,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,6BAAuC;AA+B/B,kGA/BA,sBAAiB,OA+BA;AA9BzB,6BAAuC;AA+B/B,kGA/BA,sBAAiB,OA+BA;AA7BZ,QAAA,QAAQ,GAAG;IACtB,EAAE,EAAE,sBAAiB,CAAC,cAAc;IACpC,EAAE,EAAE,sBAAiB,CAAC,cAAc;CACrC,CAAC;AAUF,SAAgB,cAAc,CAI5B,gBAI6B;IAE7B,OAAO,IAAA,0BAAM,EAAI,gBAAgB,EAAE,gBAAgB,EAAE,gBAAQ,EAAE,IAAI,CAAC,CAAC;AACvE,CAAC;AAXD,wCAWC;AAED,MAAM,IAAI,GAAG,IAAI,4BAAQ,EAAE,CAAC;AACpB,oBAAI;AAGZ,uDAQ2B;AAPzB,6GAAA,QAAQ,OAAA"}
package/build/v1.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 verifiedaccess_v1 {
5
5
  export interface Options extends GlobalOptions {
@@ -151,8 +151,8 @@ export declare namespace verifiedaccess_v1 {
151
151
  * @param callback - Optional callback that handles the response.
152
152
  * @returns A promise if used with async/await, or void if used with a callback.
153
153
  */
154
- create(params: Params$Resource$Challenge$Create, options: StreamMethodOptions): GaxiosPromise<Readable>;
155
- create(params?: Params$Resource$Challenge$Create, options?: MethodOptions): GaxiosPromise<Schema$Challenge>;
154
+ create(params: Params$Resource$Challenge$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
155
+ create(params?: Params$Resource$Challenge$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Challenge>>;
156
156
  create(params: Params$Resource$Challenge$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
157
157
  create(params: Params$Resource$Challenge$Create, options: MethodOptions | BodyResponseCallback<Schema$Challenge>, callback: BodyResponseCallback<Schema$Challenge>): void;
158
158
  create(params: Params$Resource$Challenge$Create, callback: BodyResponseCallback<Schema$Challenge>): void;
@@ -165,8 +165,8 @@ export declare namespace verifiedaccess_v1 {
165
165
  * @param callback - Optional callback that handles the response.
166
166
  * @returns A promise if used with async/await, or void if used with a callback.
167
167
  */
168
- verify(params: Params$Resource$Challenge$Verify, options: StreamMethodOptions): GaxiosPromise<Readable>;
169
- verify(params?: Params$Resource$Challenge$Verify, options?: MethodOptions): GaxiosPromise<Schema$VerifyChallengeResponseResult>;
168
+ verify(params: Params$Resource$Challenge$Verify, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
169
+ verify(params?: Params$Resource$Challenge$Verify, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$VerifyChallengeResponseResult>>;
170
170
  verify(params: Params$Resource$Challenge$Verify, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
171
171
  verify(params: Params$Resource$Challenge$Verify, options: MethodOptions | BodyResponseCallback<Schema$VerifyChallengeResponseResult>, callback: BodyResponseCallback<Schema$VerifyChallengeResponseResult>): void;
172
172
  verify(params: Params$Resource$Challenge$Verify, callback: BodyResponseCallback<Schema$VerifyChallengeResponseResult>): void;
package/build/v1.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"v1.js","sourceRoot":"","sources":["../v1.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,uDAAuD;AACvD,sDAAsD;AACtD,0DAA0D;AAC1D,oDAAoD;AACpD,4CAA4C;A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AAE,MAAM,CAAC,MAAM,CACpB;oBACE,GAAG,EAAE,CAAC,OAAO,GAAG,sBAAsB,CAAC,CAAC,OAAO,CAC7C,cAAc,EACd,IAAI,CACL;oBACD,MAAM,EAAE,MAAM;oBACd,UAAU,EAAE,EAAE;iBACf,EACD,OAAO,CACR;gBACD,MAAM;gBACN,cAAc,EAAE,EAAE;gBAClB,UAAU,EAAE,EAAE;gBACd,OAAO,EAAE,IAAI,CAAC,OAAO;aACtB,CAAC;YACF,IAAI,QAAQ,EAAE;gBACZ,IAAA,oCAAgB,EACd,UAAU,EACV,QAAyC,CAC1C,CAAC;aACH;iBAAM;gBACL,OAAO,IAAA,oCAAgB,EACrB,UAAU,CACX,CAAC;aACH;QACH,CAAC;KACF;IA9LY,oCAAkB,qBA8L9B,CAAA;AAcH,CAAC,EA1WgB,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QA0WjC"}
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 verifiedaccess_v2 {
5
5
  export interface Options extends GlobalOptions {
@@ -223,7 +223,7 @@ export declare namespace verifiedaccess_v2 {
223
223
  */
224
224
  systemDnsServers?: string[] | null;
225
225
  /**
226
- * Output only. Whether Chrome is blocking third-party software injection or not. This setting may be controlled by an enterprise policy: https://chromeenterprise.google/policies/?policy=ThirdPartyBlockingEnabled. Available on Windows only.
226
+ * Output only. Deprecated. The corresponding policy is now deprecated. Whether Chrome is blocking third-party software injection or not. This setting may be controlled by an enterprise policy: https://chromeenterprise.google/policies/?policy=ThirdPartyBlockingEnabled. Available on Windows only.
227
227
  */
228
228
  thirdPartyBlockingEnabled?: boolean | null;
229
229
  /**
@@ -258,7 +258,7 @@ export declare namespace verifiedaccess_v2 {
258
258
  expectedIdentity?: string | null;
259
259
  }
260
260
  /**
261
- * Result message for VerifiedAccess.VerifyChallengeResponse.
261
+ * Result message for VerifiedAccess.VerifyChallengeResponse. The response returned when successful for Managed profiles on Unmanaged browsers will NOT have devicePermanentId, keyTrustLevel, virtualDeviceId and customerId fields. Managed profiles will INSTEAD have the profileCustomerId, virtualProfileId, profilePermanentId and profileKeyTrustLevel fields.
262
262
  */
263
263
  export interface Schema$VerifyChallengeResponseResult {
264
264
  /**
@@ -325,8 +325,8 @@ export declare namespace verifiedaccess_v2 {
325
325
  * @param callback - Optional callback that handles the response.
326
326
  * @returns A promise if used with async/await, or void if used with a callback.
327
327
  */
328
- generate(params: Params$Resource$Challenge$Generate, options: StreamMethodOptions): GaxiosPromise<Readable>;
329
- generate(params?: Params$Resource$Challenge$Generate, options?: MethodOptions): GaxiosPromise<Schema$Challenge>;
328
+ generate(params: Params$Resource$Challenge$Generate, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
329
+ generate(params?: Params$Resource$Challenge$Generate, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Challenge>>;
330
330
  generate(params: Params$Resource$Challenge$Generate, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
331
331
  generate(params: Params$Resource$Challenge$Generate, options: MethodOptions | BodyResponseCallback<Schema$Challenge>, callback: BodyResponseCallback<Schema$Challenge>): void;
332
332
  generate(params: Params$Resource$Challenge$Generate, callback: BodyResponseCallback<Schema$Challenge>): void;
@@ -339,8 +339,8 @@ export declare namespace verifiedaccess_v2 {
339
339
  * @param callback - Optional callback that handles the response.
340
340
  * @returns A promise if used with async/await, or void if used with a callback.
341
341
  */
342
- verify(params: Params$Resource$Challenge$Verify, options: StreamMethodOptions): GaxiosPromise<Readable>;
343
- verify(params?: Params$Resource$Challenge$Verify, options?: MethodOptions): GaxiosPromise<Schema$VerifyChallengeResponseResult>;
342
+ verify(params: Params$Resource$Challenge$Verify, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
343
+ verify(params?: Params$Resource$Challenge$Verify, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$VerifyChallengeResponseResult>>;
344
344
  verify(params: Params$Resource$Challenge$Verify, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
345
345
  verify(params: Params$Resource$Challenge$Verify, options: MethodOptions | BodyResponseCallback<Schema$VerifyChallengeResponseResult>, callback: BodyResponseCallback<Schema$VerifyChallengeResponseResult>): void;
346
346
  verify(params: Params$Resource$Challenge$Verify, callback: BodyResponseCallback<Schema$VerifyChallengeResponseResult>): void;
package/build/v2.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"v2.js","sourceRoot":"","sources":["../v2.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,uDAAuD;AACvD,sDAAsD;AACtD,0DAA0D;AAC1D,oDAAoD;AACpD,4CAA4C;AAE5C,yDAe2B;AAG3B,IAAiB,iBAAiB,CA0hBjC;AA1hBD,WAAiB,iBAAiB;IAgEhC;;;;;;;;;;OAUG;IACH,MAAa,cAAc;QAIzB,YAAY,OAAsB,EAAE,MAA2B;YAC7D,IAAI,CAAC,OAAO,GAAG;gBACb,QAAQ,EAAE,OAAO,IAAI,EAAE;gBACvB,MAAM;aACP,CAAC;YAEF,IAAI,CAAC,SAAS,GAAG,IAAI,k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AAE,IAAI,CAAC,OAAO;aACtB,CAAC;YACF,IAAI,QAAQ,EAAE;gBACZ,IAAA,oCAAgB,EACd,UAAU,EACV,QAAyC,CAC1C,CAAC;aACH;iBAAM;gBACL,OAAO,IAAA,oCAAgB,EACrB,UAAU,CACX,CAAC;aACH;QACH,CAAC;KACF;IAlMY,oCAAkB,qBAkM9B,CAAA;AAeH,CAAC,EA7hBgB,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QA6hBjC"}
package/index.ts CHANGED
@@ -53,7 +53,6 @@ export {
53
53
  APIRequestContext,
54
54
  GoogleConfigurable,
55
55
  StreamMethodOptions,
56
- GaxiosPromise,
57
56
  MethodOptions,
58
57
  BodyResponseCallback,
59
58
  } from 'googleapis-common';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@googleapis/verifiedaccess",
3
- "version": "3.8.0",
3
+ "version": "4.0.1",
4
4
  "description": "verifiedaccess",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -28,7 +28,7 @@
28
28
  "webpack": "webpack"
29
29
  },
30
30
  "dependencies": {
31
- "googleapis-common": "^7.0.0"
31
+ "googleapis-common": "^8.0.2-rc.0"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@microsoft/api-documenter": "^7.8.10",
package/v1.ts CHANGED
@@ -23,7 +23,7 @@ import {
23
23
  Compute,
24
24
  UserRefreshClient,
25
25
  BaseExternalAccountClient,
26
- GaxiosPromise,
26
+ GaxiosResponseWithHTTP2,
27
27
  GoogleConfigurable,
28
28
  createAPIRequest,
29
29
  MethodOptions,
@@ -210,11 +210,11 @@ export namespace verifiedaccess_v1 {
210
210
  create(
211
211
  params: Params$Resource$Challenge$Create,
212
212
  options: StreamMethodOptions
213
- ): GaxiosPromise<Readable>;
213
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
214
214
  create(
215
215
  params?: Params$Resource$Challenge$Create,
216
216
  options?: MethodOptions
217
- ): GaxiosPromise<Schema$Challenge>;
217
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Challenge>>;
218
218
  create(
219
219
  params: Params$Resource$Challenge$Create,
220
220
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -243,7 +243,10 @@ export namespace verifiedaccess_v1 {
243
243
  callback?:
244
244
  | BodyResponseCallback<Schema$Challenge>
245
245
  | BodyResponseCallback<Readable>
246
- ): void | GaxiosPromise<Schema$Challenge> | GaxiosPromise<Readable> {
246
+ ):
247
+ | void
248
+ | Promise<GaxiosResponseWithHTTP2<Schema$Challenge>>
249
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
247
250
  let params = (paramsOrCallback || {}) as Params$Resource$Challenge$Create;
248
251
  let options = (optionsOrCallback || {}) as MethodOptions;
249
252
 
@@ -295,11 +298,11 @@ export namespace verifiedaccess_v1 {
295
298
  verify(
296
299
  params: Params$Resource$Challenge$Verify,
297
300
  options: StreamMethodOptions
298
- ): GaxiosPromise<Readable>;
301
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
299
302
  verify(
300
303
  params?: Params$Resource$Challenge$Verify,
301
304
  options?: MethodOptions
302
- ): GaxiosPromise<Schema$VerifyChallengeResponseResult>;
305
+ ): Promise<GaxiosResponseWithHTTP2<Schema$VerifyChallengeResponseResult>>;
303
306
  verify(
304
307
  params: Params$Resource$Challenge$Verify,
305
308
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -334,8 +337,8 @@ export namespace verifiedaccess_v1 {
334
337
  | BodyResponseCallback<Readable>
335
338
  ):
336
339
  | void
337
- | GaxiosPromise<Schema$VerifyChallengeResponseResult>
338
- | GaxiosPromise<Readable> {
340
+ | Promise<GaxiosResponseWithHTTP2<Schema$VerifyChallengeResponseResult>>
341
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
339
342
  let params = (paramsOrCallback || {}) as Params$Resource$Challenge$Verify;
340
343
  let options = (optionsOrCallback || {}) as MethodOptions;
341
344
 
package/v2.ts CHANGED
@@ -23,7 +23,7 @@ import {
23
23
  Compute,
24
24
  UserRefreshClient,
25
25
  BaseExternalAccountClient,
26
- GaxiosPromise,
26
+ GaxiosResponseWithHTTP2,
27
27
  GoogleConfigurable,
28
28
  createAPIRequest,
29
29
  MethodOptions,
@@ -276,7 +276,7 @@ export namespace verifiedaccess_v2 {
276
276
  */
277
277
  systemDnsServers?: string[] | null;
278
278
  /**
279
- * Output only. Whether Chrome is blocking third-party software injection or not. This setting may be controlled by an enterprise policy: https://chromeenterprise.google/policies/?policy=ThirdPartyBlockingEnabled. Available on Windows only.
279
+ * Output only. Deprecated. The corresponding policy is now deprecated. Whether Chrome is blocking third-party software injection or not. This setting may be controlled by an enterprise policy: https://chromeenterprise.google/policies/?policy=ThirdPartyBlockingEnabled. Available on Windows only.
280
280
  */
281
281
  thirdPartyBlockingEnabled?: boolean | null;
282
282
  /**
@@ -310,7 +310,7 @@ export namespace verifiedaccess_v2 {
310
310
  expectedIdentity?: string | null;
311
311
  }
312
312
  /**
313
- * Result message for VerifiedAccess.VerifyChallengeResponse.
313
+ * Result message for VerifiedAccess.VerifyChallengeResponse. The response returned when successful for Managed profiles on Unmanaged browsers will NOT have devicePermanentId, keyTrustLevel, virtualDeviceId and customerId fields. Managed profiles will INSTEAD have the profileCustomerId, virtualProfileId, profilePermanentId and profileKeyTrustLevel fields.
314
314
  */
315
315
  export interface Schema$VerifyChallengeResponseResult {
316
316
  /**
@@ -384,11 +384,11 @@ export namespace verifiedaccess_v2 {
384
384
  generate(
385
385
  params: Params$Resource$Challenge$Generate,
386
386
  options: StreamMethodOptions
387
- ): GaxiosPromise<Readable>;
387
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
388
388
  generate(
389
389
  params?: Params$Resource$Challenge$Generate,
390
390
  options?: MethodOptions
391
- ): GaxiosPromise<Schema$Challenge>;
391
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Challenge>>;
392
392
  generate(
393
393
  params: Params$Resource$Challenge$Generate,
394
394
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -417,7 +417,10 @@ export namespace verifiedaccess_v2 {
417
417
  callback?:
418
418
  | BodyResponseCallback<Schema$Challenge>
419
419
  | BodyResponseCallback<Readable>
420
- ): void | GaxiosPromise<Schema$Challenge> | GaxiosPromise<Readable> {
420
+ ):
421
+ | void
422
+ | Promise<GaxiosResponseWithHTTP2<Schema$Challenge>>
423
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
421
424
  let params = (paramsOrCallback ||
422
425
  {}) as Params$Resource$Challenge$Generate;
423
426
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -473,11 +476,11 @@ export namespace verifiedaccess_v2 {
473
476
  verify(
474
477
  params: Params$Resource$Challenge$Verify,
475
478
  options: StreamMethodOptions
476
- ): GaxiosPromise<Readable>;
479
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
477
480
  verify(
478
481
  params?: Params$Resource$Challenge$Verify,
479
482
  options?: MethodOptions
480
- ): GaxiosPromise<Schema$VerifyChallengeResponseResult>;
483
+ ): Promise<GaxiosResponseWithHTTP2<Schema$VerifyChallengeResponseResult>>;
481
484
  verify(
482
485
  params: Params$Resource$Challenge$Verify,
483
486
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -512,8 +515,8 @@ export namespace verifiedaccess_v2 {
512
515
  | BodyResponseCallback<Readable>
513
516
  ):
514
517
  | void
515
- | GaxiosPromise<Schema$VerifyChallengeResponseResult>
516
- | GaxiosPromise<Readable> {
518
+ | Promise<GaxiosResponseWithHTTP2<Schema$VerifyChallengeResponseResult>>
519
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
517
520
  let params = (paramsOrCallback || {}) as Params$Resource$Challenge$Verify;
518
521
  let options = (optionsOrCallback || {}) as MethodOptions;
519
522