public class MessageContextMetadata
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
MessageContextMetadata.Builder
Builder.
|
Modifier and Type | Method and Description |
---|---|
String |
deployment()
Gets the deployment.
|
MessageContextMetadata.Builder |
newBuilder()
New builder.
|
String |
userId()
Gets the userId.
|
public MessageContextMetadata.Builder newBuilder()
public String deployment()
A label identifying the deployment environment, used for filtering log data. This string cannot contain carriage return, newline, or tab characters.
public String userId()
A string value that identifies the user who is interacting with the workspace. The client must provide a unique identifier for each individual end user who accesses the application. For user-based plans, this user ID is used to identify unique users for billing purposes. This string cannot contain carriage return, newline, or tab characters. If no value is specified in the input, **user_id** is automatically set to the value of **context.conversation_id**.
**Note:** This property is the same as the **user_id** property at the root of the message body. If **user_id** is specified in both locations in a message request, the value specified at the root is used.
Copyright © 2022 IBM Cloud. All rights reserved.