NaturalLanguageUnderstandingCredentials

public class NaturalLanguageUnderstandingCredentials

Contains the credentials for a Natural Language Understanding service instance. You will typically receive an instance of this type through cloudEnv.getNaturalLanguageUnderstandingCredentials(name: String).

Reference Natural Language Understanding.

  • The apiKey from the Natural Language Understanding service instance credentials.

    Declaration

    Swift

    public let apiKey: String
  • url

    The URL from the Natural Language Understanding service instance credentials.

    Declaration

    Swift

    public let url: String
  • Initializes an instance of the Natural Language Understanding service credentials.

    Declaration

    Swift

    public init(apiKey: String, url: String)