public class Assistant
extends com.ibm.cloud.sdk.core.service.BaseService
The Assistant v1 API provides authoring methods your application can use to create or update a workspace.
API Version: 1.0 See: https://cloud.ibm.com/docs/assistant
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_SERVICE_NAME |
static String |
DEFAULT_SERVICE_URL |
Constructor and Description |
---|
Assistant(String version)
Constructs an instance of the `Assistant` client.
|
Assistant(String version,
com.ibm.cloud.sdk.core.security.Authenticator authenticator)
Constructs an instance of the `Assistant` client.
|
Assistant(String version,
String serviceName)
Constructs an instance of the `Assistant` client.
|
Assistant(String version,
String serviceName,
com.ibm.cloud.sdk.core.security.Authenticator authenticator)
Constructs an instance of the `Assistant` client.
|
Modifier and Type | Method and Description |
---|---|
com.ibm.cloud.sdk.core.http.ServiceCall<BulkClassifyResponse> |
bulkClassify(BulkClassifyOptions bulkClassifyOptions)
Identify intents and entities in multiple user utterances.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Counterexample> |
createCounterexample(CreateCounterexampleOptions createCounterexampleOptions)
Create counterexample.
|
com.ibm.cloud.sdk.core.http.ServiceCall<DialogNode> |
createDialogNode(CreateDialogNodeOptions createDialogNodeOptions)
Create dialog node.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Entity> |
createEntity(CreateEntityOptions createEntityOptions)
Create entity.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Example> |
createExample(CreateExampleOptions createExampleOptions)
Create user input example.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Intent> |
createIntent(CreateIntentOptions createIntentOptions)
Create intent.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Synonym> |
createSynonym(CreateSynonymOptions createSynonymOptions)
Create entity value synonym.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Value> |
createValue(CreateValueOptions createValueOptions)
Create entity value.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Workspace> |
createWorkspace()
Create workspace.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Workspace> |
createWorkspace(CreateWorkspaceOptions createWorkspaceOptions)
Create workspace.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Void> |
deleteCounterexample(DeleteCounterexampleOptions deleteCounterexampleOptions)
Delete counterexample.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Void> |
deleteDialogNode(DeleteDialogNodeOptions deleteDialogNodeOptions)
Delete dialog node.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Void> |
deleteEntity(DeleteEntityOptions deleteEntityOptions)
Delete entity.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Void> |
deleteExample(DeleteExampleOptions deleteExampleOptions)
Delete user input example.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Void> |
deleteIntent(DeleteIntentOptions deleteIntentOptions)
Delete intent.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Void> |
deleteSynonym(DeleteSynonymOptions deleteSynonymOptions)
Delete entity value synonym.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Void> |
deleteUserData(DeleteUserDataOptions deleteUserDataOptions)
Delete labeled data.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Void> |
deleteValue(DeleteValueOptions deleteValueOptions)
Delete entity value.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Void> |
deleteWorkspace(DeleteWorkspaceOptions deleteWorkspaceOptions)
Delete workspace.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Counterexample> |
getCounterexample(GetCounterexampleOptions getCounterexampleOptions)
Get counterexample.
|
com.ibm.cloud.sdk.core.http.ServiceCall<DialogNode> |
getDialogNode(GetDialogNodeOptions getDialogNodeOptions)
Get dialog node.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Entity> |
getEntity(GetEntityOptions getEntityOptions)
Get entity.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Example> |
getExample(GetExampleOptions getExampleOptions)
Get user input example.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Intent> |
getIntent(GetIntentOptions getIntentOptions)
Get intent.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Synonym> |
getSynonym(GetSynonymOptions getSynonymOptions)
Get entity value synonym.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Value> |
getValue(GetValueOptions getValueOptions)
Get entity value.
|
String |
getVersion()
Gets the version.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Workspace> |
getWorkspace(GetWorkspaceOptions getWorkspaceOptions)
Get information about a workspace.
|
com.ibm.cloud.sdk.core.http.ServiceCall<LogCollection> |
listAllLogs(ListAllLogsOptions listAllLogsOptions)
List log events in all workspaces.
|
com.ibm.cloud.sdk.core.http.ServiceCall<CounterexampleCollection> |
listCounterexamples(ListCounterexamplesOptions listCounterexamplesOptions)
List counterexamples.
|
com.ibm.cloud.sdk.core.http.ServiceCall<DialogNodeCollection> |
listDialogNodes(ListDialogNodesOptions listDialogNodesOptions)
List dialog nodes.
|
com.ibm.cloud.sdk.core.http.ServiceCall<EntityCollection> |
listEntities(ListEntitiesOptions listEntitiesOptions)
List entities.
|
com.ibm.cloud.sdk.core.http.ServiceCall<ExampleCollection> |
listExamples(ListExamplesOptions listExamplesOptions)
List user input examples.
|
com.ibm.cloud.sdk.core.http.ServiceCall<IntentCollection> |
listIntents(ListIntentsOptions listIntentsOptions)
List intents.
|
com.ibm.cloud.sdk.core.http.ServiceCall<LogCollection> |
listLogs(ListLogsOptions listLogsOptions)
List log events in a workspace.
|
com.ibm.cloud.sdk.core.http.ServiceCall<EntityMentionCollection> |
listMentions(ListMentionsOptions listMentionsOptions)
List entity mentions.
|
com.ibm.cloud.sdk.core.http.ServiceCall<SynonymCollection> |
listSynonyms(ListSynonymsOptions listSynonymsOptions)
List entity value synonyms.
|
com.ibm.cloud.sdk.core.http.ServiceCall<ValueCollection> |
listValues(ListValuesOptions listValuesOptions)
List entity values.
|
com.ibm.cloud.sdk.core.http.ServiceCall<WorkspaceCollection> |
listWorkspaces()
List workspaces.
|
com.ibm.cloud.sdk.core.http.ServiceCall<WorkspaceCollection> |
listWorkspaces(ListWorkspacesOptions listWorkspacesOptions)
List workspaces.
|
com.ibm.cloud.sdk.core.http.ServiceCall<MessageResponse> |
message(MessageOptions messageOptions)
Get response to user input.
|
void |
setVersion(String version)
Sets the version.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Counterexample> |
updateCounterexample(UpdateCounterexampleOptions updateCounterexampleOptions)
Update counterexample.
|
com.ibm.cloud.sdk.core.http.ServiceCall<DialogNode> |
updateDialogNode(UpdateDialogNodeOptions updateDialogNodeOptions)
Update dialog node.
|
com.ibm.cloud.sdk.core.http.ServiceCall<DialogNode> |
updateDialogNodeNullable(UpdateDialogNodeNullableOptions UpdateDialogNodeNullableOptions)
Update dialog node.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Entity> |
updateEntity(UpdateEntityOptions updateEntityOptions)
Update entity.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Example> |
updateExample(UpdateExampleOptions updateExampleOptions)
Update user input example.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Intent> |
updateIntent(UpdateIntentOptions updateIntentOptions)
Update intent.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Synonym> |
updateSynonym(UpdateSynonymOptions updateSynonymOptions)
Update entity value synonym.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Value> |
updateValue(UpdateValueOptions updateValueOptions)
Update entity value.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Workspace> |
updateWorkspace(UpdateWorkspaceOptions updateWorkspaceOptions)
Update workspace.
|
configureClient, configureService, constructServiceUrl, constructServiceURL, disableRetries, enableGzipCompression, enableRetries, getAuthenticator, getClient, getEndPoint, getName, getServiceUrl, isJsonMimeType, isJsonPatchMimeType, setClient, setDefaultHeaders, setEndPoint, setServiceUrl, toString
public static final String DEFAULT_SERVICE_NAME
public static final String DEFAULT_SERVICE_URL
public Assistant(String version)
version
- Release date of the API version you want to use. Specify dates in YYYY-MM-DD
format. The current version is `2021-06-14`.public Assistant(String version, com.ibm.cloud.sdk.core.security.Authenticator authenticator)
version
- Release date of the API version you want to use. Specify dates in YYYY-MM-DD
format. The current version is `2021-06-14`.authenticator
- the Authenticator
instance to be configured for this clientpublic Assistant(String version, String serviceName)
version
- Release date of the API version you want to use. Specify dates in YYYY-MM-DD
format. The current version is `2021-06-14`.serviceName
- the service name to be used when configuring the client instancepublic Assistant(String version, String serviceName, com.ibm.cloud.sdk.core.security.Authenticator authenticator)
version
- Release date of the API version you want to use. Specify dates in YYYY-MM-DD
format. The current version is `2021-06-14`.serviceName
- the service name to be used when configuring the client instanceauthenticator
- the Authenticator
instance to be configured for this clientpublic String getVersion()
Release date of the API version you want to use. Specify dates in YYYY-MM-DD format. The current version is `2021-06-14`.
public void setVersion(String version)
version
- the new versionpublic com.ibm.cloud.sdk.core.http.ServiceCall<MessageResponse> message(MessageOptions messageOptions)
Send user input to a workspace and receive a response.
**Important:** This method has been superseded by the new v2 runtime API. The v2 API offers significant advantages, including ease of deployment, automatic state management, versioning, and search capabilities. For more information, see the [documentation](https://cloud.ibm.com/docs/assistant?topic=assistant-api-overview).
messageOptions
- the MessageOptions
containing the options for the callServiceCall
with a result of type MessageResponse
public com.ibm.cloud.sdk.core.http.ServiceCall<BulkClassifyResponse> bulkClassify(BulkClassifyOptions bulkClassifyOptions)
Send multiple user inputs to a workspace in a single request and receive information about the intents and entities recognized in each input. This method is useful for testing and comparing the performance of different workspaces.
This method is available only with Enterprise with Data Isolation plans.
bulkClassifyOptions
- the BulkClassifyOptions
containing the options for the callServiceCall
with a result of type BulkClassifyResponse
public com.ibm.cloud.sdk.core.http.ServiceCall<WorkspaceCollection> listWorkspaces(ListWorkspacesOptions listWorkspacesOptions)
List the workspaces associated with a Watson Assistant service instance.
listWorkspacesOptions
- the ListWorkspacesOptions
containing the options for the
callServiceCall
with a result of type WorkspaceCollection
public com.ibm.cloud.sdk.core.http.ServiceCall<WorkspaceCollection> listWorkspaces()
List the workspaces associated with a Watson Assistant service instance.
ServiceCall
with a result of type WorkspaceCollection
public com.ibm.cloud.sdk.core.http.ServiceCall<Workspace> createWorkspace(CreateWorkspaceOptions createWorkspaceOptions)
Create a workspace based on component objects. You must provide workspace components defining the content of the new workspace.
createWorkspaceOptions
- the CreateWorkspaceOptions
containing the options for the
callServiceCall
with a result of type Workspace
public com.ibm.cloud.sdk.core.http.ServiceCall<Workspace> createWorkspace()
Create a workspace based on component objects. You must provide workspace components defining the content of the new workspace.
ServiceCall
with a result of type Workspace
public com.ibm.cloud.sdk.core.http.ServiceCall<Workspace> getWorkspace(GetWorkspaceOptions getWorkspaceOptions)
Get information about a workspace, optionally including all workspace content.
getWorkspaceOptions
- the GetWorkspaceOptions
containing the options for the callServiceCall
with a result of type Workspace
public com.ibm.cloud.sdk.core.http.ServiceCall<Workspace> updateWorkspace(UpdateWorkspaceOptions updateWorkspaceOptions)
Update an existing workspace with new or modified data. You must provide component objects defining the content of the updated workspace.
updateWorkspaceOptions
- the UpdateWorkspaceOptions
containing the options for the
callServiceCall
with a result of type Workspace
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteWorkspace(DeleteWorkspaceOptions deleteWorkspaceOptions)
Delete a workspace from the service instance.
deleteWorkspaceOptions
- the DeleteWorkspaceOptions
containing the options for the
callServiceCall
with a void resultpublic com.ibm.cloud.sdk.core.http.ServiceCall<IntentCollection> listIntents(ListIntentsOptions listIntentsOptions)
List the intents for a workspace.
listIntentsOptions
- the ListIntentsOptions
containing the options for the callServiceCall
with a result of type IntentCollection
public com.ibm.cloud.sdk.core.http.ServiceCall<Intent> createIntent(CreateIntentOptions createIntentOptions)
Create a new intent.
If you want to create multiple intents with a single API call, consider using the **[Update workspace](#update-workspace)** method instead.
createIntentOptions
- the CreateIntentOptions
containing the options for the callServiceCall
with a result of type Intent
public com.ibm.cloud.sdk.core.http.ServiceCall<Intent> getIntent(GetIntentOptions getIntentOptions)
Get information about an intent, optionally including all intent content.
getIntentOptions
- the GetIntentOptions
containing the options for the callServiceCall
with a result of type Intent
public com.ibm.cloud.sdk.core.http.ServiceCall<Intent> updateIntent(UpdateIntentOptions updateIntentOptions)
Update an existing intent with new or modified data. You must provide component objects defining the content of the updated intent.
If you want to update multiple intents with a single API call, consider using the **[Update workspace](#update-workspace)** method instead.
updateIntentOptions
- the UpdateIntentOptions
containing the options for the callServiceCall
with a result of type Intent
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteIntent(DeleteIntentOptions deleteIntentOptions)
Delete an intent from a workspace.
deleteIntentOptions
- the DeleteIntentOptions
containing the options for the callServiceCall
with a void resultpublic com.ibm.cloud.sdk.core.http.ServiceCall<ExampleCollection> listExamples(ListExamplesOptions listExamplesOptions)
List the user input examples for an intent, optionally including contextual entity mentions.
listExamplesOptions
- the ListExamplesOptions
containing the options for the callServiceCall
with a result of type ExampleCollection
public com.ibm.cloud.sdk.core.http.ServiceCall<Example> createExample(CreateExampleOptions createExampleOptions)
Add a new user input example to an intent.
If you want to add multiple examples with a single API call, consider using the **[Update intent](#update-intent)** method instead.
createExampleOptions
- the CreateExampleOptions
containing the options for the
callServiceCall
with a result of type Example
public com.ibm.cloud.sdk.core.http.ServiceCall<Example> getExample(GetExampleOptions getExampleOptions)
Get information about a user input example.
getExampleOptions
- the GetExampleOptions
containing the options for the callServiceCall
with a result of type Example
public com.ibm.cloud.sdk.core.http.ServiceCall<Example> updateExample(UpdateExampleOptions updateExampleOptions)
Update the text of a user input example.
If you want to update multiple examples with a single API call, consider using the **[Update intent](#update-intent)** method instead.
updateExampleOptions
- the UpdateExampleOptions
containing the options for the
callServiceCall
with a result of type Example
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteExample(DeleteExampleOptions deleteExampleOptions)
Delete a user input example from an intent.
deleteExampleOptions
- the DeleteExampleOptions
containing the options for the
callServiceCall
with a void resultpublic com.ibm.cloud.sdk.core.http.ServiceCall<CounterexampleCollection> listCounterexamples(ListCounterexamplesOptions listCounterexamplesOptions)
List the counterexamples for a workspace. Counterexamples are examples that have been marked as irrelevant input.
listCounterexamplesOptions
- the ListCounterexamplesOptions
containing the options
for the callServiceCall
with a result of type CounterexampleCollection
public com.ibm.cloud.sdk.core.http.ServiceCall<Counterexample> createCounterexample(CreateCounterexampleOptions createCounterexampleOptions)
Add a new counterexample to a workspace. Counterexamples are examples that have been marked as irrelevant input.
If you want to add multiple counterexamples with a single API call, consider using the **[Update workspace](#update-workspace)** method instead.
createCounterexampleOptions
- the CreateCounterexampleOptions
containing the
options for the callServiceCall
with a result of type Counterexample
public com.ibm.cloud.sdk.core.http.ServiceCall<Counterexample> getCounterexample(GetCounterexampleOptions getCounterexampleOptions)
Get information about a counterexample. Counterexamples are examples that have been marked as irrelevant input.
getCounterexampleOptions
- the GetCounterexampleOptions
containing the options for
the callServiceCall
with a result of type Counterexample
public com.ibm.cloud.sdk.core.http.ServiceCall<Counterexample> updateCounterexample(UpdateCounterexampleOptions updateCounterexampleOptions)
Update the text of a counterexample. Counterexamples are examples that have been marked as irrelevant input.
updateCounterexampleOptions
- the UpdateCounterexampleOptions
containing the
options for the callServiceCall
with a result of type Counterexample
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteCounterexample(DeleteCounterexampleOptions deleteCounterexampleOptions)
Delete a counterexample from a workspace. Counterexamples are examples that have been marked as irrelevant input.
deleteCounterexampleOptions
- the DeleteCounterexampleOptions
containing the
options for the callServiceCall
with a void resultpublic com.ibm.cloud.sdk.core.http.ServiceCall<EntityCollection> listEntities(ListEntitiesOptions listEntitiesOptions)
List the entities for a workspace.
listEntitiesOptions
- the ListEntitiesOptions
containing the options for the callServiceCall
with a result of type EntityCollection
public com.ibm.cloud.sdk.core.http.ServiceCall<Entity> createEntity(CreateEntityOptions createEntityOptions)
Create a new entity, or enable a system entity.
If you want to create multiple entities with a single API call, consider using the **[Update workspace](#update-workspace)** method instead.
createEntityOptions
- the CreateEntityOptions
containing the options for the callServiceCall
with a result of type Entity
public com.ibm.cloud.sdk.core.http.ServiceCall<Entity> getEntity(GetEntityOptions getEntityOptions)
Get information about an entity, optionally including all entity content.
getEntityOptions
- the GetEntityOptions
containing the options for the callServiceCall
with a result of type Entity
public com.ibm.cloud.sdk.core.http.ServiceCall<Entity> updateEntity(UpdateEntityOptions updateEntityOptions)
Update an existing entity with new or modified data. You must provide component objects defining the content of the updated entity.
If you want to update multiple entities with a single API call, consider using the **[Update workspace](#update-workspace)** method instead.
updateEntityOptions
- the UpdateEntityOptions
containing the options for the callServiceCall
with a result of type Entity
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteEntity(DeleteEntityOptions deleteEntityOptions)
Delete an entity from a workspace, or disable a system entity.
deleteEntityOptions
- the DeleteEntityOptions
containing the options for the callServiceCall
with a void resultpublic com.ibm.cloud.sdk.core.http.ServiceCall<EntityMentionCollection> listMentions(ListMentionsOptions listMentionsOptions)
List mentions for a contextual entity. An entity mention is an occurrence of a contextual entity in the context of an intent user input example.
listMentionsOptions
- the ListMentionsOptions
containing the options for the callServiceCall
with a result of type EntityMentionCollection
public com.ibm.cloud.sdk.core.http.ServiceCall<ValueCollection> listValues(ListValuesOptions listValuesOptions)
List the values for an entity.
listValuesOptions
- the ListValuesOptions
containing the options for the callServiceCall
with a result of type ValueCollection
public com.ibm.cloud.sdk.core.http.ServiceCall<Value> createValue(CreateValueOptions createValueOptions)
Create a new value for an entity.
If you want to create multiple entity values with a single API call, consider using the **[Update entity](#update-entity)** method instead.
createValueOptions
- the CreateValueOptions
containing the options for the callServiceCall
with a result of type Value
public com.ibm.cloud.sdk.core.http.ServiceCall<Value> getValue(GetValueOptions getValueOptions)
Get information about an entity value.
getValueOptions
- the GetValueOptions
containing the options for the callServiceCall
with a result of type Value
public com.ibm.cloud.sdk.core.http.ServiceCall<Value> updateValue(UpdateValueOptions updateValueOptions)
Update an existing entity value with new or modified data. You must provide component objects defining the content of the updated entity value.
If you want to update multiple entity values with a single API call, consider using the **[Update entity](#update-entity)** method instead.
updateValueOptions
- the UpdateValueOptions
containing the options for the callServiceCall
with a result of type Value
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteValue(DeleteValueOptions deleteValueOptions)
Delete a value from an entity.
deleteValueOptions
- the DeleteValueOptions
containing the options for the callServiceCall
with a void resultpublic com.ibm.cloud.sdk.core.http.ServiceCall<SynonymCollection> listSynonyms(ListSynonymsOptions listSynonymsOptions)
List the synonyms for an entity value.
listSynonymsOptions
- the ListSynonymsOptions
containing the options for the callServiceCall
with a result of type SynonymCollection
public com.ibm.cloud.sdk.core.http.ServiceCall<Synonym> createSynonym(CreateSynonymOptions createSynonymOptions)
Add a new synonym to an entity value.
If you want to create multiple synonyms with a single API call, consider using the **[Update entity](#update-entity)** or **[Update entity value](#update-entity-value)** method instead.
createSynonymOptions
- the CreateSynonymOptions
containing the options for the
callServiceCall
with a result of type Synonym
public com.ibm.cloud.sdk.core.http.ServiceCall<Synonym> getSynonym(GetSynonymOptions getSynonymOptions)
Get information about a synonym of an entity value.
getSynonymOptions
- the GetSynonymOptions
containing the options for the callServiceCall
with a result of type Synonym
public com.ibm.cloud.sdk.core.http.ServiceCall<Synonym> updateSynonym(UpdateSynonymOptions updateSynonymOptions)
Update an existing entity value synonym with new text.
If you want to update multiple synonyms with a single API call, consider using the **[Update entity](#update-entity)** or **[Update entity value](#update-entity-value)** method instead.
updateSynonymOptions
- the UpdateSynonymOptions
containing the options for the
callServiceCall
with a result of type Synonym
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteSynonym(DeleteSynonymOptions deleteSynonymOptions)
Delete a synonym from an entity value.
deleteSynonymOptions
- the DeleteSynonymOptions
containing the options for the
callServiceCall
with a void resultpublic com.ibm.cloud.sdk.core.http.ServiceCall<DialogNodeCollection> listDialogNodes(ListDialogNodesOptions listDialogNodesOptions)
List the dialog nodes for a workspace.
listDialogNodesOptions
- the ListDialogNodesOptions
containing the options for the
callServiceCall
with a result of type DialogNodeCollection
public com.ibm.cloud.sdk.core.http.ServiceCall<DialogNode> createDialogNode(CreateDialogNodeOptions createDialogNodeOptions)
Create a new dialog node.
If you want to create multiple dialog nodes with a single API call, consider using the **[Update workspace](#update-workspace)** method instead.
createDialogNodeOptions
- the CreateDialogNodeOptions
containing the options for
the callServiceCall
with a result of type DialogNode
public com.ibm.cloud.sdk.core.http.ServiceCall<DialogNode> getDialogNode(GetDialogNodeOptions getDialogNodeOptions)
Get information about a dialog node.
getDialogNodeOptions
- the GetDialogNodeOptions
containing the options for the
callServiceCall
with a result of type DialogNode
public com.ibm.cloud.sdk.core.http.ServiceCall<DialogNode> updateDialogNode(UpdateDialogNodeOptions updateDialogNodeOptions)
Update an existing dialog node with new or modified data.
If you want to update multiple dialog nodes with a single API call, consider using the **[Update workspace](#update-workspace)** method instead.
updateDialogNodeOptions
- the UpdateDialogNodeOptions
containing the options for
the callServiceCall
with a result of type DialogNode
public com.ibm.cloud.sdk.core.http.ServiceCall<DialogNode> updateDialogNodeNullable(UpdateDialogNodeNullableOptions UpdateDialogNodeNullableOptions)
Update an existing dialog node with new or modified data.
If you want to update multiple dialog nodes with a single API call, consider using the **[Update workspace](#update-workspace)** method instead.
UpdateDialogNodeNullableOptions
- the UpdateDialogNodeNullableOptions
containing
the options for the callServiceCall
with a result of type DialogNode
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteDialogNode(DeleteDialogNodeOptions deleteDialogNodeOptions)
Delete a dialog node from a workspace.
deleteDialogNodeOptions
- the DeleteDialogNodeOptions
containing the options for
the callServiceCall
with a void resultpublic com.ibm.cloud.sdk.core.http.ServiceCall<LogCollection> listLogs(ListLogsOptions listLogsOptions)
List the events from the log of a specific workspace.
This method requires Manager access.
listLogsOptions
- the ListLogsOptions
containing the options for the callServiceCall
with a result of type LogCollection
public com.ibm.cloud.sdk.core.http.ServiceCall<LogCollection> listAllLogs(ListAllLogsOptions listAllLogsOptions)
List the events from the logs of all workspaces in the service instance.
listAllLogsOptions
- the ListAllLogsOptions
containing the options for the callServiceCall
with a result of type LogCollection
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteUserData(DeleteUserDataOptions deleteUserDataOptions)
Deletes all data associated with a specified customer ID. The method has no effect if no data is associated with the customer ID.
You associate a customer ID with data by passing the `X-Watson-Metadata` header with a request that passes data. For more information about personal data and customer IDs, see [Information security](https://cloud.ibm.com/docs/assistant?topic=assistant-information-security#information-security).
**Note:** This operation is intended only for deleting data associated with a single specific customer, not for deleting data associated with multiple customers or for any other purpose. For more information, see [Labeling and deleting data in Watson Assistant](https://cloud.ibm.com/docs/assistant?topic=assistant-information-security#information-security-gdpr-wa).
deleteUserDataOptions
- the DeleteUserDataOptions
containing the options for the
callServiceCall
with a void resultCopyright © 2021 IBM Cloud. All rights reserved.