@@ -252,7 +252,7 @@ def speech_api(channel=None):
252
252
host = 'foo.apis.invalid'
253
253
speech_api .SERVICE_ADDRESS = host
254
254
255
- with _Monkey (_gax , SpeechApi = speech_api ,
255
+ with _Monkey (_gax , SpeechClient = speech_api ,
256
256
make_secure_channel = make_channel ):
257
257
client ._speech_api = _gax .GAPICSpeechAPI (client )
258
258
@@ -310,7 +310,7 @@ def speech_api(channel=None):
310
310
encoding = speech .Encoding .FLAC ,
311
311
sample_rate = self .SAMPLE_RATE )
312
312
313
- with _Monkey (_gax , SpeechApi = speech_api ,
313
+ with _Monkey (_gax , SpeechClient = speech_api ,
314
314
make_secure_channel = make_channel ):
315
315
client ._speech_api = _gax .GAPICSpeechAPI (client )
316
316
@@ -398,7 +398,7 @@ def speech_api(channel=None):
398
398
host = 'foo.apis.invalid'
399
399
speech_api .SERVICE_ADDRESS = host
400
400
401
- with _Monkey (_gax , SpeechApi = speech_api ,
401
+ with _Monkey (_gax , SpeechClient = speech_api ,
402
402
make_secure_channel = make_channel ):
403
403
api = client .speech_api
404
404
@@ -460,7 +460,7 @@ def speech_api(channel=None):
460
460
encoding = Encoding .LINEAR16 ,
461
461
sample_rate = self .SAMPLE_RATE )
462
462
463
- with _Monkey (_gax , SpeechApi = speech_api ,
463
+ with _Monkey (_gax , SpeechClient = speech_api ,
464
464
make_secure_channel = make_channel ):
465
465
client ._speech_api = _gax .GAPICSpeechAPI (client )
466
466
@@ -512,7 +512,7 @@ def speech_api(channel=None):
512
512
host = 'foo.apis.invalid'
513
513
speech_api .SERVICE_ADDRESS = host
514
514
515
- with _Monkey (_gax , SpeechApi = speech_api ,
515
+ with _Monkey (_gax , SpeechClient = speech_api ,
516
516
make_secure_channel = make_channel ):
517
517
client ._speech_api = _gax .GAPICSpeechAPI (client )
518
518
@@ -585,7 +585,7 @@ def speech_api(channel=None):
585
585
host = 'foo.apis.invalid'
586
586
speech_api .SERVICE_ADDRESS = host
587
587
588
- with _Monkey (_gax , SpeechApi = speech_api ,
588
+ with _Monkey (_gax , SpeechClient = speech_api ,
589
589
make_secure_channel = make_channel ):
590
590
client ._speech_api = _gax .GAPICSpeechAPI (client )
591
591
@@ -629,7 +629,7 @@ def speech_api(channel=None):
629
629
host = 'foo.apis.invalid'
630
630
speech_api .SERVICE_ADDRESS = host
631
631
632
- with _Monkey (_gax , SpeechApi = speech_api ,
632
+ with _Monkey (_gax , SpeechClient = speech_api ,
633
633
make_secure_channel = make_channel ):
634
634
client ._speech_api = _gax .GAPICSpeechAPI (client )
635
635
@@ -663,7 +663,7 @@ def speech_api(channel=None):
663
663
host = 'foo.apis.invalid'
664
664
speech_api .SERVICE_ADDRESS = host
665
665
666
- with _Monkey (_gax , SpeechApi = speech_api ,
666
+ with _Monkey (_gax , SpeechClient = speech_api ,
667
667
make_secure_channel = make_channel ):
668
668
client ._speech_api = _gax .GAPICSpeechAPI (client )
669
669
0 commit comments