@googleapis/slides 1.2.4 → 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,30 @@
1
1
  # Changelog
2
2
 
3
+ ## [2.0.1](https://github.com/googleapis/google-api-nodejs-client/compare/slides-v2.0.0...slides-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/slides-v1.3.0...slides-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.3.0](https://github.com/googleapis/google-api-nodejs-client/compare/slides-v1.2.4...slides-v1.3.0) (2025-05-05)
22
+
23
+
24
+ ### Features
25
+
26
+ * **slides:** update the API ([e4ae19d](https://github.com/googleapis/google-api-nodejs-client/commit/e4ae19df9b9feb7da987c0bc320f36906b8313ed))
27
+
3
28
  ## [1.2.4](https://github.com/googleapis/google-api-nodejs-client/compare/slides-v1.2.3...slides-v1.2.4) (2025-04-18)
4
29
 
5
30
 
package/build/index.d.ts CHANGED
@@ -9,4 +9,4 @@ export declare function slides(options: slides_v1.Options): slides_v1.Slides;
9
9
  declare const auth: AuthPlus;
10
10
  export { auth };
11
11
  export { slides_v1 };
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,6BAA+B;AAiBvB,0FAjBA,cAAS,OAiBA;AAfJ,QAAA,QAAQ,GAAG;IACtB,EAAE,EAAE,cAAS,CAAC,MAAM;CACrB,CAAC;AAIF,SAAgB,MAAM,CAEpB,gBAA0C;IAE1C,OAAO,IAAA,0BAAM,EAAI,QAAQ,EAAE,gBAAgB,EAAE,gBAAQ,EAAE,IAAI,CAAC,CAAC;AAC/D,CAAC;AALD,wBAKC;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,6BAA+B;AAiBvB,0FAjBA,cAAS,OAiBA;AAfJ,QAAA,QAAQ,GAAG;IACtB,EAAE,EAAE,cAAS,CAAC,MAAM;CACrB,CAAC;AAIF,SAAgB,MAAM,CAEpB,gBAA0C;IAE1C,OAAO,IAAA,0BAAM,EAAI,QAAQ,EAAE,gBAAgB,EAAE,gBAAQ,EAAE,IAAI,CAAC,CAAC;AAC/D,CAAC;AALD,wBAKC;AAED,MAAM,IAAI,GAAG,IAAI,4BAAQ,EAAE,CAAC;AACpB,oBAAI;AAEZ,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 slides_v1 {
5
5
  export interface Options extends GlobalOptions {
@@ -1685,7 +1685,7 @@ export declare namespace slides_v1 {
1685
1685
  type?: string | null;
1686
1686
  }
1687
1687
  /**
1688
- * A PageElement kind representing a generic shape that doesn't have a more specific classification. For more information, see [Size and position page elements](https://developers.google.com/slides/api/guides/transform).
1688
+ * A PageElement kind representing a generic shape that doesn't have a more specific classification. For more information, see [Size and position page elements](https://developers.google.com/workspace/slides/api/guides/transform).
1689
1689
  */
1690
1690
  export interface Schema$Shape {
1691
1691
  /**
@@ -1867,6 +1867,10 @@ export declare namespace slides_v1 {
1867
1867
  * Indicates whether the search should respect case: - `True`: the search is case sensitive. - `False`: the search is case insensitive.
1868
1868
  */
1869
1869
  matchCase?: boolean | null;
1870
+ /**
1871
+ * Optional. True if the find value should be treated as a regular expression. Any backslashes in the pattern should be escaped. - `True`: the search text is treated as a regular expressions. - `False`: the search text is treated as a substring for matching.
1872
+ */
1873
+ searchByRegex?: boolean | null;
1870
1874
  /**
1871
1875
  * The text to search for in the shape or table.
1872
1876
  */
@@ -2625,8 +2629,8 @@ export declare namespace slides_v1 {
2625
2629
  * @param callback - Optional callback that handles the response.
2626
2630
  * @returns A promise if used with async/await, or void if used with a callback.
2627
2631
  */
2628
- batchUpdate(params: Params$Resource$Presentations$Batchupdate, options: StreamMethodOptions): GaxiosPromise<Readable>;
2629
- batchUpdate(params?: Params$Resource$Presentations$Batchupdate, options?: MethodOptions): GaxiosPromise<Schema$BatchUpdatePresentationResponse>;
2632
+ batchUpdate(params: Params$Resource$Presentations$Batchupdate, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2633
+ batchUpdate(params?: Params$Resource$Presentations$Batchupdate, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$BatchUpdatePresentationResponse>>;
2630
2634
  batchUpdate(params: Params$Resource$Presentations$Batchupdate, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2631
2635
  batchUpdate(params: Params$Resource$Presentations$Batchupdate, options: MethodOptions | BodyResponseCallback<Schema$BatchUpdatePresentationResponse>, callback: BodyResponseCallback<Schema$BatchUpdatePresentationResponse>): void;
2632
2636
  batchUpdate(params: Params$Resource$Presentations$Batchupdate, callback: BodyResponseCallback<Schema$BatchUpdatePresentationResponse>): void;
@@ -2639,8 +2643,8 @@ export declare namespace slides_v1 {
2639
2643
  * @param callback - Optional callback that handles the response.
2640
2644
  * @returns A promise if used with async/await, or void if used with a callback.
2641
2645
  */
2642
- create(params: Params$Resource$Presentations$Create, options: StreamMethodOptions): GaxiosPromise<Readable>;
2643
- create(params?: Params$Resource$Presentations$Create, options?: MethodOptions): GaxiosPromise<Schema$Presentation>;
2646
+ create(params: Params$Resource$Presentations$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2647
+ create(params?: Params$Resource$Presentations$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Presentation>>;
2644
2648
  create(params: Params$Resource$Presentations$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2645
2649
  create(params: Params$Resource$Presentations$Create, options: MethodOptions | BodyResponseCallback<Schema$Presentation>, callback: BodyResponseCallback<Schema$Presentation>): void;
2646
2650
  create(params: Params$Resource$Presentations$Create, callback: BodyResponseCallback<Schema$Presentation>): void;
@@ -2653,8 +2657,8 @@ export declare namespace slides_v1 {
2653
2657
  * @param callback - Optional callback that handles the response.
2654
2658
  * @returns A promise if used with async/await, or void if used with a callback.
2655
2659
  */
2656
- get(params: Params$Resource$Presentations$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
2657
- get(params?: Params$Resource$Presentations$Get, options?: MethodOptions): GaxiosPromise<Schema$Presentation>;
2660
+ get(params: Params$Resource$Presentations$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2661
+ get(params?: Params$Resource$Presentations$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Presentation>>;
2658
2662
  get(params: Params$Resource$Presentations$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2659
2663
  get(params: Params$Resource$Presentations$Get, options: MethodOptions | BodyResponseCallback<Schema$Presentation>, callback: BodyResponseCallback<Schema$Presentation>): void;
2660
2664
  get(params: Params$Resource$Presentations$Get, callback: BodyResponseCallback<Schema$Presentation>): void;
@@ -2693,22 +2697,22 @@ export declare namespace slides_v1 {
2693
2697
  * @param callback - Optional callback that handles the response.
2694
2698
  * @returns A promise if used with async/await, or void if used with a callback.
2695
2699
  */
2696
- get(params: Params$Resource$Presentations$Pages$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
2697
- get(params?: Params$Resource$Presentations$Pages$Get, options?: MethodOptions): GaxiosPromise<Schema$Page>;
2700
+ get(params: Params$Resource$Presentations$Pages$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2701
+ get(params?: Params$Resource$Presentations$Pages$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Page>>;
2698
2702
  get(params: Params$Resource$Presentations$Pages$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2699
2703
  get(params: Params$Resource$Presentations$Pages$Get, options: MethodOptions | BodyResponseCallback<Schema$Page>, callback: BodyResponseCallback<Schema$Page>): void;
2700
2704
  get(params: Params$Resource$Presentations$Pages$Get, callback: BodyResponseCallback<Schema$Page>): void;
2701
2705
  get(callback: BodyResponseCallback<Schema$Page>): void;
2702
2706
  /**
2703
- * Generates a thumbnail of the latest version of the specified page in the presentation and returns a URL to the thumbnail image. This request counts as an [expensive read request](/slides/limits) for quota purposes.
2707
+ * Generates a thumbnail of the latest version of the specified page in the presentation and returns a URL to the thumbnail image. This request counts as an [expensive read request](https://developers.google.com/workspace/slides/limits) for quota purposes.
2704
2708
  *
2705
2709
  * @param params - Parameters for request
2706
2710
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
2707
2711
  * @param callback - Optional callback that handles the response.
2708
2712
  * @returns A promise if used with async/await, or void if used with a callback.
2709
2713
  */
2710
- getThumbnail(params: Params$Resource$Presentations$Pages$Getthumbnail, options: StreamMethodOptions): GaxiosPromise<Readable>;
2711
- getThumbnail(params?: Params$Resource$Presentations$Pages$Getthumbnail, options?: MethodOptions): GaxiosPromise<Schema$Thumbnail>;
2714
+ getThumbnail(params: Params$Resource$Presentations$Pages$Getthumbnail, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2715
+ getThumbnail(params?: Params$Resource$Presentations$Pages$Getthumbnail, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Thumbnail>>;
2712
2716
  getThumbnail(params: Params$Resource$Presentations$Pages$Getthumbnail, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2713
2717
  getThumbnail(params: Params$Resource$Presentations$Pages$Getthumbnail, options: MethodOptions | BodyResponseCallback<Schema$Thumbnail>, callback: BodyResponseCallback<Schema$Thumbnail>): void;
2714
2718
  getThumbnail(params: Params$Resource$Presentations$Pages$Getthumbnail, callback: BodyResponseCallback<Schema$Thumbnail>): 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;AAE5C,yDAe2B;AAG3B,IAAiB,SAAS,CAwkGzB;AAxkGD,WAAiB,SAAS;IAgExB;;;;;;;;;;OAUG;IACH,MAAa,MAAM;QAIjB,YAAY,OAAsB,EAAE,MAA2B;YAC7D,IAAI,CAAC,OAAO,GAAG;gBACb,QAAQ,EAAE,OAAO,IAAI,EAAE;gBACvB,MAAM;aACP,CAAC;YAEF,IAAI,CAAC,aAAa,GAAG,IAAI,sBAAsB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAChE,CAAC;KACF;IAZY,gBAAM,SAYlB,CAAA;IA2+ED,MAAa,sBAAsB;QAGjC,YAAY,OAA0B;YACpC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;YACvB,IAAI,CAAC,KAAK,GAAG,IAAI,4BAA4B,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC9D,CAAC;QAqCD,WAAW,CACT,gBAGkC,EAClC,iBAIkC,EAClC,QAEkC;YAKlC,IAAI,MAAM,GAAG,CAAC,gBAAgB;gBAC5B,EAAE,CAA8C,CAAC;YACnD,IAAI,OAAO,GAAG,CAAC,iBAAiB,IAAI,EAAE,CAAkB,CAAC;YAEzD,IAAI,OAAO,gBAAgB,KAAK,UAAU,EAAE;gBAC1C,QAAQ,GAAG,gBAAgB,CAAC;gBAC5B,MAAM,GAAG,EAA+C,CAAC;gBACzD,OAAO,GAAG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;gBACD,MAAM;gBACN,cAAc,EAAE,CAAC,gBAAgB,EAAE,cAAc,CAAC;gBAClD,UAAU,EAAE,CAAC,cAAc,EAAE,gBAAgB,CAAC;gBAC9C,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,EAAmB,UAAU,CAAC,CAAC;aACvD;QACH,CAAC;KACF;IA3LY,sCAA4B,+BA2LxC,CAAA;AAgCH,CAAC,EAxlGgB,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAwlGzB"}
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';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@googleapis/slides",
3
- "version": "1.2.4",
3
+ "version": "2.0.1",
4
4
  "description": "slides",
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,
@@ -1734,7 +1734,7 @@ export namespace slides_v1 {
1734
1734
  type?: string | null;
1735
1735
  }
1736
1736
  /**
1737
- * A PageElement kind representing a generic shape that doesn't have a more specific classification. For more information, see [Size and position page elements](https://developers.google.com/slides/api/guides/transform).
1737
+ * A PageElement kind representing a generic shape that doesn't have a more specific classification. For more information, see [Size and position page elements](https://developers.google.com/workspace/slides/api/guides/transform).
1738
1738
  */
1739
1739
  export interface Schema$Shape {
1740
1740
  /**
@@ -1916,6 +1916,10 @@ export namespace slides_v1 {
1916
1916
  * Indicates whether the search should respect case: - `True`: the search is case sensitive. - `False`: the search is case insensitive.
1917
1917
  */
1918
1918
  matchCase?: boolean | null;
1919
+ /**
1920
+ * Optional. True if the find value should be treated as a regular expression. Any backslashes in the pattern should be escaped. - `True`: the search text is treated as a regular expressions. - `False`: the search text is treated as a substring for matching.
1921
+ */
1922
+ searchByRegex?: boolean | null;
1919
1923
  /**
1920
1924
  * The text to search for in the shape or table.
1921
1925
  */
@@ -2680,11 +2684,11 @@ export namespace slides_v1 {
2680
2684
  batchUpdate(
2681
2685
  params: Params$Resource$Presentations$Batchupdate,
2682
2686
  options: StreamMethodOptions
2683
- ): GaxiosPromise<Readable>;
2687
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
2684
2688
  batchUpdate(
2685
2689
  params?: Params$Resource$Presentations$Batchupdate,
2686
2690
  options?: MethodOptions
2687
- ): GaxiosPromise<Schema$BatchUpdatePresentationResponse>;
2691
+ ): Promise<GaxiosResponseWithHTTP2<Schema$BatchUpdatePresentationResponse>>;
2688
2692
  batchUpdate(
2689
2693
  params: Params$Resource$Presentations$Batchupdate,
2690
2694
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -2719,8 +2723,8 @@ export namespace slides_v1 {
2719
2723
  | BodyResponseCallback<Readable>
2720
2724
  ):
2721
2725
  | void
2722
- | GaxiosPromise<Schema$BatchUpdatePresentationResponse>
2723
- | GaxiosPromise<Readable> {
2726
+ | Promise<GaxiosResponseWithHTTP2<Schema$BatchUpdatePresentationResponse>>
2727
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
2724
2728
  let params = (paramsOrCallback ||
2725
2729
  {}) as Params$Resource$Presentations$Batchupdate;
2726
2730
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -2776,11 +2780,11 @@ export namespace slides_v1 {
2776
2780
  create(
2777
2781
  params: Params$Resource$Presentations$Create,
2778
2782
  options: StreamMethodOptions
2779
- ): GaxiosPromise<Readable>;
2783
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
2780
2784
  create(
2781
2785
  params?: Params$Resource$Presentations$Create,
2782
2786
  options?: MethodOptions
2783
- ): GaxiosPromise<Schema$Presentation>;
2787
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Presentation>>;
2784
2788
  create(
2785
2789
  params: Params$Resource$Presentations$Create,
2786
2790
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -2809,7 +2813,10 @@ export namespace slides_v1 {
2809
2813
  callback?:
2810
2814
  | BodyResponseCallback<Schema$Presentation>
2811
2815
  | BodyResponseCallback<Readable>
2812
- ): void | GaxiosPromise<Schema$Presentation> | GaxiosPromise<Readable> {
2816
+ ):
2817
+ | void
2818
+ | Promise<GaxiosResponseWithHTTP2<Schema$Presentation>>
2819
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
2813
2820
  let params = (paramsOrCallback ||
2814
2821
  {}) as Params$Resource$Presentations$Create;
2815
2822
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -2861,11 +2868,11 @@ export namespace slides_v1 {
2861
2868
  get(
2862
2869
  params: Params$Resource$Presentations$Get,
2863
2870
  options: StreamMethodOptions
2864
- ): GaxiosPromise<Readable>;
2871
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
2865
2872
  get(
2866
2873
  params?: Params$Resource$Presentations$Get,
2867
2874
  options?: MethodOptions
2868
- ): GaxiosPromise<Schema$Presentation>;
2875
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Presentation>>;
2869
2876
  get(
2870
2877
  params: Params$Resource$Presentations$Get,
2871
2878
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -2894,7 +2901,10 @@ export namespace slides_v1 {
2894
2901
  callback?:
2895
2902
  | BodyResponseCallback<Schema$Presentation>
2896
2903
  | BodyResponseCallback<Readable>
2897
- ): void | GaxiosPromise<Schema$Presentation> | GaxiosPromise<Readable> {
2904
+ ):
2905
+ | void
2906
+ | Promise<GaxiosResponseWithHTTP2<Schema$Presentation>>
2907
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
2898
2908
  let params = (paramsOrCallback ||
2899
2909
  {}) as Params$Resource$Presentations$Get;
2900
2910
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -2983,11 +2993,11 @@ export namespace slides_v1 {
2983
2993
  get(
2984
2994
  params: Params$Resource$Presentations$Pages$Get,
2985
2995
  options: StreamMethodOptions
2986
- ): GaxiosPromise<Readable>;
2996
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
2987
2997
  get(
2988
2998
  params?: Params$Resource$Presentations$Pages$Get,
2989
2999
  options?: MethodOptions
2990
- ): GaxiosPromise<Schema$Page>;
3000
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Page>>;
2991
3001
  get(
2992
3002
  params: Params$Resource$Presentations$Pages$Get,
2993
3003
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -3016,7 +3026,10 @@ export namespace slides_v1 {
3016
3026
  callback?:
3017
3027
  | BodyResponseCallback<Schema$Page>
3018
3028
  | BodyResponseCallback<Readable>
3019
- ): void | GaxiosPromise<Schema$Page> | GaxiosPromise<Readable> {
3029
+ ):
3030
+ | void
3031
+ | Promise<GaxiosResponseWithHTTP2<Schema$Page>>
3032
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
3020
3033
  let params = (paramsOrCallback ||
3021
3034
  {}) as Params$Resource$Presentations$Pages$Get;
3022
3035
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -3061,7 +3074,7 @@ export namespace slides_v1 {
3061
3074
  }
3062
3075
 
3063
3076
  /**
3064
- * Generates a thumbnail of the latest version of the specified page in the presentation and returns a URL to the thumbnail image. This request counts as an [expensive read request](/slides/limits) for quota purposes.
3077
+ * Generates a thumbnail of the latest version of the specified page in the presentation and returns a URL to the thumbnail image. This request counts as an [expensive read request](https://developers.google.com/workspace/slides/limits) for quota purposes.
3065
3078
  *
3066
3079
  * @param params - Parameters for request
3067
3080
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -3071,11 +3084,11 @@ export namespace slides_v1 {
3071
3084
  getThumbnail(
3072
3085
  params: Params$Resource$Presentations$Pages$Getthumbnail,
3073
3086
  options: StreamMethodOptions
3074
- ): GaxiosPromise<Readable>;
3087
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
3075
3088
  getThumbnail(
3076
3089
  params?: Params$Resource$Presentations$Pages$Getthumbnail,
3077
3090
  options?: MethodOptions
3078
- ): GaxiosPromise<Schema$Thumbnail>;
3091
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Thumbnail>>;
3079
3092
  getThumbnail(
3080
3093
  params: Params$Resource$Presentations$Pages$Getthumbnail,
3081
3094
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -3104,7 +3117,10 @@ export namespace slides_v1 {
3104
3117
  callback?:
3105
3118
  | BodyResponseCallback<Schema$Thumbnail>
3106
3119
  | BodyResponseCallback<Readable>
3107
- ): void | GaxiosPromise<Schema$Thumbnail> | GaxiosPromise<Readable> {
3120
+ ):
3121
+ | void
3122
+ | Promise<GaxiosResponseWithHTTP2<Schema$Thumbnail>>
3123
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
3108
3124
  let params = (paramsOrCallback ||
3109
3125
  {}) as Params$Resource$Presentations$Pages$Getthumbnail;
3110
3126
  let options = (optionsOrCallback || {}) as MethodOptions;