@@ -75,6 +75,14 @@ class NaturalLanguageUnderstandingV1 < IBMCloudSdkCore::BaseService
7575 # 'https://iam.cloud.ibm.com/identity/token'.
7676 # @option args iam_client_id [String] An optional client id for the IAM service API.
7777 # @option args iam_client_secret [String] An optional client secret for the IAM service API.
78+ # @option args icp4d_access_token [STRING] A ICP4D(IBM Cloud Pak for Data) access token is
79+ # fully managed by the application. Responsibility falls on the application to
80+ # refresh the token, either before it expires or reactively upon receiving a 401
81+ # from the service as any requests made with an expired token will fail.
82+ # @option args icp4d_url [STRING] In order to use an SDK-managed token with ICP4D authentication, this
83+ # URL must be passed in.
84+ # @option args authentication_type [STRING] Specifies the authentication pattern to use. Values that it
85+ # takes are basic, iam or icp4d.
7886 def initialize ( args = { } )
7987 @__async_initialized__ = false
8088 defaults = { }
@@ -87,6 +95,9 @@ def initialize(args = {})
8795 defaults [ :iam_url ] = nil
8896 defaults [ :iam_client_id ] = nil
8997 defaults [ :iam_client_secret ] = nil
98+ defaults [ :icp4d_access_token ] = nil
99+ defaults [ :icp4d_url ] = nil
100+ defaults [ :authetication_type ] = nil
90101 args = defaults . merge ( args )
91102 args [ :vcap_services_name ] = "natural-language-understanding"
92103 super
0 commit comments