public class UpdateEnvironmentOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
UpdateEnvironmentOptions.Builder
Builder.
|
Modifier and Type | Method and Description |
---|---|
String |
assistantId()
Gets the assistantId.
|
String |
description()
Gets the description.
|
String |
environmentId()
Gets the environmentId.
|
String |
name()
Gets the name.
|
UpdateEnvironmentOptions.Builder |
newBuilder()
New builder.
|
Long |
sessionTimeout()
Gets the sessionTimeout.
|
List<EnvironmentSkill> |
skillReferences()
Gets the skillReferences.
|
public UpdateEnvironmentOptions.Builder newBuilder()
public String assistantId()
The assistant ID or the environment ID of the environment where the assistant is deployed, depending on the type of request: - For message, session, and log requests, specify the environment ID of the environment where the assistant is deployed. - For all other requests, specify the assistant ID of the assistant.
To find the environment ID or assistant ID in the Watson Assistant user interface, open the assistant settings and scroll to the **Environments** section.
**Note:** If you are using the classic Watson Assistant experience, always use the assistant ID. To find the assistant ID in the user interface, open the assistant settings and click API Details.
public String environmentId()
Unique identifier of the environment. To find the environment ID in the Watson Assistant user interface, open the environment settings and click **API Details**. **Note:** Currently, the API does not support creating environments.
public String name()
The name of the environment.
public String description()
The description of the environment.
public Long sessionTimeout()
The session inactivity timeout setting for the environment (in seconds).
public List<EnvironmentSkill> skillReferences()
An array of objects identifying the skills (such as action and dialog) that exist in the environment.
Copyright © 2023 IBM Cloud. All rights reserved.