Skip to content

Commit d7c06f2

Browse files
committed
fix: update all occurrences of GaxiosPromise to GaxiosPromiseWithHttp
1 parent 41ae22c commit d7c06f2

File tree

862 files changed

+107670
-86154
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

862 files changed

+107670
-86154
lines changed

src/apis/abusiveexperiencereport/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ export {
4444
APIRequestContext,
4545
GoogleConfigurable,
4646
StreamMethodOptions,
47-
GaxiosPromise,
4847
MethodOptions,
4948
BodyResponseCallback,
5049
} from 'googleapis-common';

src/apis/abusiveexperiencereport/v1.ts

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ import {
2323
Compute,
2424
UserRefreshClient,
2525
BaseExternalAccountClient,
26-
GaxiosPromise,
2726
GaxiosResponseWithHTTP2,
2827
GoogleConfigurable,
2928
createAPIRequest,
@@ -187,11 +186,11 @@ export namespace abusiveexperiencereport_v1 {
187186
get(
188187
params: Params$Resource$Sites$Get,
189188
options: StreamMethodOptions
190-
): GaxiosResponseWithHTTP2<Readable>;
189+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
191190
get(
192191
params?: Params$Resource$Sites$Get,
193192
options?: MethodOptions
194-
): GaxiosResponseWithHTTP2<Schema$SiteSummaryResponse>;
193+
): Promise<GaxiosResponseWithHTTP2<Schema$SiteSummaryResponse>>;
195194
get(
196195
params: Params$Resource$Sites$Get,
197196
options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -222,8 +221,8 @@ export namespace abusiveexperiencereport_v1 {
222221
| BodyResponseCallback<Readable>
223222
):
224223
| void
225-
| GaxiosResponseWithHTTP2<Schema$SiteSummaryResponse>
226-
| GaxiosResponseWithHTTP2<Readable> {
224+
| Promise<GaxiosResponseWithHTTP2<Schema$SiteSummaryResponse>>
225+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
227226
let params = (paramsOrCallback || {}) as Params$Resource$Sites$Get;
228227
let options = (optionsOrCallback || {}) as MethodOptions;
229228

@@ -289,11 +288,11 @@ export namespace abusiveexperiencereport_v1 {
289288
list(
290289
params: Params$Resource$Violatingsites$List,
291290
options: StreamMethodOptions
292-
): GaxiosResponseWithHTTP2<Readable>;
291+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
293292
list(
294293
params?: Params$Resource$Violatingsites$List,
295294
options?: MethodOptions
296-
): GaxiosResponseWithHTTP2<Schema$ViolatingSitesResponse>;
295+
): Promise<GaxiosResponseWithHTTP2<Schema$ViolatingSitesResponse>>;
297296
list(
298297
params: Params$Resource$Violatingsites$List,
299298
options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -326,8 +325,8 @@ export namespace abusiveexperiencereport_v1 {
326325
| BodyResponseCallback<Readable>
327326
):
328327
| void
329-
| GaxiosResponseWithHTTP2<Schema$ViolatingSitesResponse>
330-
| GaxiosResponseWithHTTP2<Readable> {
328+
| Promise<GaxiosResponseWithHTTP2<Schema$ViolatingSitesResponse>>
329+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
331330
let params = (paramsOrCallback ||
332331
{}) as Params$Resource$Violatingsites$List;
333332
let options = (optionsOrCallback || {}) as MethodOptions;

src/apis/acceleratedmobilepageurl/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ export {
4949
APIRequestContext,
5050
GoogleConfigurable,
5151
StreamMethodOptions,
52-
GaxiosPromise,
5352
MethodOptions,
5453
BodyResponseCallback,
5554
} from 'googleapis-common';

src/apis/acceleratedmobilepageurl/v1.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ import {
2323
Compute,
2424
UserRefreshClient,
2525
BaseExternalAccountClient,
26-
GaxiosPromise,
2726
GaxiosResponseWithHTTP2,
2827
GoogleConfigurable,
2928
createAPIRequest,
@@ -203,11 +202,11 @@ export namespace acceleratedmobilepageurl_v1 {
203202
batchGet(
204203
params: Params$Resource$Ampurls$Batchget,
205204
options: StreamMethodOptions
206-
): GaxiosResponseWithHTTP2<Readable>;
205+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
207206
batchGet(
208207
params?: Params$Resource$Ampurls$Batchget,
209208
options?: MethodOptions
210-
): GaxiosResponseWithHTTP2<Schema$BatchGetAmpUrlsResponse>;
209+
): Promise<GaxiosResponseWithHTTP2<Schema$BatchGetAmpUrlsResponse>>;
211210
batchGet(
212211
params: Params$Resource$Ampurls$Batchget,
213212
options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -242,8 +241,8 @@ export namespace acceleratedmobilepageurl_v1 {
242241
| BodyResponseCallback<Readable>
243242
):
244243
| void
245-
| GaxiosResponseWithHTTP2<Schema$BatchGetAmpUrlsResponse>
246-
| GaxiosResponseWithHTTP2<Readable> {
244+
| Promise<GaxiosResponseWithHTTP2<Schema$BatchGetAmpUrlsResponse>>
245+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
247246
let params = (paramsOrCallback || {}) as Params$Resource$Ampurls$Batchget;
248247
let options = (optionsOrCallback || {}) as MethodOptions;
249248

src/apis/accessapproval/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ export {
5555
APIRequestContext,
5656
GoogleConfigurable,
5757
StreamMethodOptions,
58-
GaxiosPromise,
5958
MethodOptions,
6059
BodyResponseCallback,
6160
} from 'googleapis-common';

0 commit comments

Comments
 (0)