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.
Constructor and Description |
---|
Assistant(java.lang.String versionDate)
Constructs a new `Assistant` client using the DEFAULT_SERVICE_NAME.
|
Assistant(java.lang.String versionDate,
com.ibm.cloud.sdk.core.security.Authenticator authenticator)
Constructs a new `Assistant` client with the DEFAULT_SERVICE_NAME and the specified
Authenticator.
|
Assistant(java.lang.String versionDate,
java.lang.String serviceName)
Constructs a new `Assistant` client with the specified serviceName.
|
Assistant(java.lang.String versionDate,
java.lang.String serviceName,
com.ibm.cloud.sdk.core.security.Authenticator authenticator)
Constructs a new `Assistant` client with the specified Authenticator and serviceName.
|
Modifier and Type | Method and Description |
---|---|
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<java.lang.Void> |
deleteCounterexample(DeleteCounterexampleOptions deleteCounterexampleOptions)
Delete counterexample.
|
com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> |
deleteDialogNode(DeleteDialogNodeOptions deleteDialogNodeOptions)
Delete dialog node.
|
com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> |
deleteEntity(DeleteEntityOptions deleteEntityOptions)
Delete entity.
|
com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> |
deleteExample(DeleteExampleOptions deleteExampleOptions)
Delete user input example.
|
com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> |
deleteIntent(DeleteIntentOptions deleteIntentOptions)
Delete intent.
|
com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> |
deleteSynonym(DeleteSynonymOptions deleteSynonymOptions)
Delete entity value synonym.
|
com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> |
deleteUserData(DeleteUserDataOptions deleteUserDataOptions)
Delete labeled data.
|
com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> |
deleteValue(DeleteValueOptions deleteValueOptions)
Delete entity value.
|
com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.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.
|
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.
|
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<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, configureHttpClient, configureService, createServiceCall, getAuthenticator, getClient, getEndPoint, getName, getServiceUrl, isJsonMimeType, isJsonPatchMimeType, processServiceCall, setAuthentication, setClient, setDefaultHeaders, setDefaultHeaders, setEndPoint, setServiceUrl, toString
public Assistant(java.lang.String versionDate)
versionDate
- The version date (yyyy-MM-dd) of the REST API to use. Specifying this value
will keep your API calls from failing when the service introduces breaking changes.public Assistant(java.lang.String versionDate, com.ibm.cloud.sdk.core.security.Authenticator authenticator)
versionDate
- The version date (yyyy-MM-dd) of the REST API to use. Specifying this value
will keep your API calls from failing when the service introduces breaking changes.authenticator
- the Authenticator instance to be configured for this servicepublic Assistant(java.lang.String versionDate, java.lang.String serviceName)
versionDate
- The version date (yyyy-MM-dd) of the REST API to use. Specifying this value
will keep your API calls from failing when the service introduces breaking changes.serviceName
- The name of the service to configure.public Assistant(java.lang.String versionDate, java.lang.String serviceName, com.ibm.cloud.sdk.core.security.Authenticator authenticator)
versionDate
- The version date (yyyy-MM-dd) of the REST API to use. Specifying this value
will keep your API calls from failing when the service introduces breaking changes.serviceName
- The name of the service to configure.authenticator
- the Authenticator instance to be configured for this servicepublic 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 response type of MessageResponse
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 response type of WorkspaceCollection
public com.ibm.cloud.sdk.core.http.ServiceCall<WorkspaceCollection> listWorkspaces()
List the workspaces associated with a Watson Assistant service instance.
ServiceCall
with a response type of 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 response type of 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 response type of 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 response type of 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 response type of Workspace
public com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> deleteWorkspace(DeleteWorkspaceOptions deleteWorkspaceOptions)
Delete a workspace from the service instance.
deleteWorkspaceOptions
- the DeleteWorkspaceOptions
containing the options for the
callServiceCall
with a response type of Voidpublic 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 response type of 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 response type of 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 response type of 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 response type of Intent
public com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> deleteIntent(DeleteIntentOptions deleteIntentOptions)
Delete an intent from a workspace.
deleteIntentOptions
- the DeleteIntentOptions
containing the options for the callServiceCall
with a response type of Voidpublic 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 response type of 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 response type of 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 response type of 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 response type of Example
public com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> deleteExample(DeleteExampleOptions deleteExampleOptions)
Delete a user input example from an intent.
deleteExampleOptions
- the DeleteExampleOptions
containing the options for the
callServiceCall
with a response type of Voidpublic 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 response type of 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 response type of 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 response type of 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 response type of Counterexample
public com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.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 response type of Voidpublic 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 response type of 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 response type of 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 response type of 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 response type of Entity
public com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.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 response type of Voidpublic 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 response type of 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 response type of 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 response type of 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 response type of 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 response type of Value
public com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> deleteValue(DeleteValueOptions deleteValueOptions)
Delete a value from an entity.
deleteValueOptions
- the DeleteValueOptions
containing the options for the callServiceCall
with a response type of Voidpublic 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 response type of 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 response type of 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 response type of 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 response type of Synonym
public com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> deleteSynonym(DeleteSynonymOptions deleteSynonymOptions)
Delete a synonym from an entity value.
deleteSynonymOptions
- the DeleteSynonymOptions
containing the options for the
callServiceCall
with a response type of Voidpublic 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 response type of 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 response type of 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 response type of 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 response type of DialogNode
public com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> deleteDialogNode(DeleteDialogNodeOptions deleteDialogNodeOptions)
Delete a dialog node from a workspace.
deleteDialogNodeOptions
- the DeleteDialogNodeOptions
containing the options for
the callServiceCall
with a response type of Voidpublic com.ibm.cloud.sdk.core.http.ServiceCall<LogCollection> listLogs(ListLogsOptions listLogsOptions)
List the events from the log of a specific workspace.
listLogsOptions
- the ListLogsOptions
containing the options for the callServiceCall
with a response type of 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 response type of LogCollection
public com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.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).
deleteUserDataOptions
- the DeleteUserDataOptions
containing the options for the
callServiceCall
with a response type of Void