@@ -252,7 +252,7 @@ def speech_api(channel=None):
252252 host = 'foo.apis.invalid'
253253 speech_api .SERVICE_ADDRESS = host
254254
255- with _Monkey (_gax , SpeechApi = speech_api ,
255+ with _Monkey (_gax , SpeechClient = speech_api ,
256256 make_secure_channel = make_channel ):
257257 client ._speech_api = _gax .GAPICSpeechAPI (client )
258258
@@ -310,7 +310,7 @@ def speech_api(channel=None):
310310 encoding = speech .Encoding .FLAC ,
311311 sample_rate = self .SAMPLE_RATE )
312312
313- with _Monkey (_gax , SpeechApi = speech_api ,
313+ with _Monkey (_gax , SpeechClient = speech_api ,
314314 make_secure_channel = make_channel ):
315315 client ._speech_api = _gax .GAPICSpeechAPI (client )
316316
@@ -398,7 +398,7 @@ def speech_api(channel=None):
398398 host = 'foo.apis.invalid'
399399 speech_api .SERVICE_ADDRESS = host
400400
401- with _Monkey (_gax , SpeechApi = speech_api ,
401+ with _Monkey (_gax , SpeechClient = speech_api ,
402402 make_secure_channel = make_channel ):
403403 api = client .speech_api
404404
@@ -460,7 +460,7 @@ def speech_api(channel=None):
460460 encoding = Encoding .LINEAR16 ,
461461 sample_rate = self .SAMPLE_RATE )
462462
463- with _Monkey (_gax , SpeechApi = speech_api ,
463+ with _Monkey (_gax , SpeechClient = speech_api ,
464464 make_secure_channel = make_channel ):
465465 client ._speech_api = _gax .GAPICSpeechAPI (client )
466466
@@ -512,7 +512,7 @@ def speech_api(channel=None):
512512 host = 'foo.apis.invalid'
513513 speech_api .SERVICE_ADDRESS = host
514514
515- with _Monkey (_gax , SpeechApi = speech_api ,
515+ with _Monkey (_gax , SpeechClient = speech_api ,
516516 make_secure_channel = make_channel ):
517517 client ._speech_api = _gax .GAPICSpeechAPI (client )
518518
@@ -585,7 +585,7 @@ def speech_api(channel=None):
585585 host = 'foo.apis.invalid'
586586 speech_api .SERVICE_ADDRESS = host
587587
588- with _Monkey (_gax , SpeechApi = speech_api ,
588+ with _Monkey (_gax , SpeechClient = speech_api ,
589589 make_secure_channel = make_channel ):
590590 client ._speech_api = _gax .GAPICSpeechAPI (client )
591591
@@ -629,7 +629,7 @@ def speech_api(channel=None):
629629 host = 'foo.apis.invalid'
630630 speech_api .SERVICE_ADDRESS = host
631631
632- with _Monkey (_gax , SpeechApi = speech_api ,
632+ with _Monkey (_gax , SpeechClient = speech_api ,
633633 make_secure_channel = make_channel ):
634634 client ._speech_api = _gax .GAPICSpeechAPI (client )
635635
@@ -663,7 +663,7 @@ def speech_api(channel=None):
663663 host = 'foo.apis.invalid'
664664 speech_api .SERVICE_ADDRESS = host
665665
666- with _Monkey (_gax , SpeechApi = speech_api ,
666+ with _Monkey (_gax , SpeechClient = speech_api ,
667667 make_secure_channel = make_channel ):
668668 client ._speech_api = _gax .GAPICSpeechAPI (client )
669669
0 commit comments