@@ -30,7 +30,6 @@ import {
30
30
} from 'google-gax' ;
31
31
32
32
import { Transform } from 'stream' ;
33
- import { RequestType } from 'google-gax/build/src/apitypes' ;
34
33
import * as protos from '../../protos/protos' ;
35
34
import jsonProtos = require( '../../protos/protos.json' ) ;
36
35
/**
@@ -337,7 +336,8 @@ export class ServicesClient {
337
336
const apiCall = this . _gaxModule . createApiCall (
338
337
callPromise ,
339
338
this . _defaults [ methodName ] ,
340
- descriptor
339
+ descriptor ,
340
+ this . _opts . fallback
341
341
) ;
342
342
343
343
this . innerApiCalls [ methodName ] = apiCall ;
@@ -920,7 +920,7 @@ export class ServicesClient {
920
920
const decodeOperation = new gax . Operation (
921
921
operation ,
922
922
this . descriptors . longrunning . createService ,
923
- gax . createDefaultBackoffSettings ( )
923
+ this . _gaxModule . createDefaultBackoffSettings ( )
924
924
) ;
925
925
return decodeOperation as LROperation <
926
926
protos . google . cloud . run . v2 . Service ,
@@ -1075,7 +1075,7 @@ export class ServicesClient {
1075
1075
const decodeOperation = new gax . Operation (
1076
1076
operation ,
1077
1077
this . descriptors . longrunning . updateService ,
1078
- gax . createDefaultBackoffSettings ( )
1078
+ this . _gaxModule . createDefaultBackoffSettings ( )
1079
1079
) ;
1080
1080
return decodeOperation as LROperation <
1081
1081
protos . google . cloud . run . v2 . Service ,
@@ -1232,7 +1232,7 @@ export class ServicesClient {
1232
1232
const decodeOperation = new gax . Operation (
1233
1233
operation ,
1234
1234
this . descriptors . longrunning . deleteService ,
1235
- gax . createDefaultBackoffSettings ( )
1235
+ this . _gaxModule . createDefaultBackoffSettings ( )
1236
1236
) ;
1237
1237
return decodeOperation as LROperation <
1238
1238
protos . google . cloud . run . v2 . Service ,
@@ -1400,7 +1400,7 @@ export class ServicesClient {
1400
1400
const callSettings = defaultCallSettings . merge ( options ) ;
1401
1401
this . initialize ( ) ;
1402
1402
return this . descriptors . page . listServices . createStream (
1403
- this . innerApiCalls . listServices as gax . GaxCall ,
1403
+ this . innerApiCalls . listServices as GaxCall ,
1404
1404
request ,
1405
1405
callSettings
1406
1406
) ;
@@ -1464,7 +1464,7 @@ export class ServicesClient {
1464
1464
this . initialize ( ) ;
1465
1465
return this . descriptors . page . listServices . asyncIterate (
1466
1466
this . innerApiCalls [ 'listServices' ] as GaxCall ,
1467
- request as unknown as RequestType ,
1467
+ request as { } ,
1468
1468
callSettings
1469
1469
) as AsyncIterable < protos . google . cloud . run . v2 . IService > ;
1470
1470
}
0 commit comments