@@ -187,7 +187,7 @@ export class ConnectionConfig {
187187
188188 get assistantClient ( ) : AssistantServiceClient {
189189 return new AssistantServiceClient (
190- this . _endpoint . web ,
190+ this . _endpoint . assistant ,
191191 this . _debug ? credentials . createInsecure ( ) : credentials . createSsl ( )
192192 ) ;
193193 }
@@ -201,28 +201,28 @@ export class ConnectionConfig {
201201
202202 get knowledgeClient ( ) : KnowledgeServiceClient {
203203 return new KnowledgeServiceClient (
204- this . _endpoint . web ,
204+ this . _endpoint . assistant ,
205205 this . _debug ? credentials . createInsecure ( ) : credentials . createSsl ( )
206206 ) ;
207207 }
208208
209209 get deploymentClient ( ) : DeploymentClient {
210210 return new DeploymentClient (
211- this . _endpoint . web ,
211+ this . _endpoint . endpoint ,
212212 this . _debug ? credentials . createInsecure ( ) : credentials . createSsl ( )
213213 ) ;
214214 }
215215
216216 get marketplaceClient ( ) : MarketplaceServiceClient {
217217 return new MarketplaceServiceClient (
218- this . _endpoint . web ,
218+ this . _endpoint . endpoint ,
219219 this . _debug ? credentials . createInsecure ( ) : credentials . createSsl ( )
220220 ) ;
221221 }
222222
223223 get documentClient ( ) : DocumentServiceClient {
224224 return new DocumentServiceClient (
225- this . _endpoint . web ,
225+ this . _endpoint . assistant ,
226226 this . _debug ? credentials . createInsecure ( ) : credentials . createSsl ( )
227227 ) ;
228228 }
@@ -236,7 +236,7 @@ export class ConnectionConfig {
236236
237237 get endpointClient ( ) : EndpointServiceClient {
238238 return new EndpointServiceClient (
239- this . _endpoint . web ,
239+ this . _endpoint . endpoint ,
240240 this . _debug ? credentials . createInsecure ( ) : credentials . createSsl ( )
241241 ) ;
242242 }
@@ -250,7 +250,7 @@ export class ConnectionConfig {
250250
251251 get assistantDeploymentClient ( ) : AssistantDeploymentServiceClient {
252252 return new AssistantDeploymentServiceClient (
253- this . _endpoint . web ,
253+ this . _endpoint . assistant ,
254254 this . _debug ? credentials . createInsecure ( ) : credentials . createSsl ( )
255255 ) ;
256256 }
0 commit comments