WatsonAssistantCredentials
public class WatsonAssistantCredentials
Contains the credentials for a Watson Assistant service instance. You will typically
receive an instance of this type through cloudEnv.getWatsonAssistantCredentials(name: String)
.
Reference Watson Assistant.
-
The apiKey from the Watson Assistant service instance credentials.
Declaration
Swift
public let apiKey: String
-
The URL from the Watson Assistant service instance credentials.
Declaration
Swift
public let url: String
-
Initializes an instance of the Watson Assistant service credentials.
Declaration
Swift
public init(apiKey: String, url: String)