Class ConversationMessage (3.37.0)

ConversationMessage(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Single message in a conversation.

Attributes

Name Description
content str
The contents of this message.
message_type google.cloud.dlp_v2.types.ConversationMessage.MessageType
The type of message.
participant_id str
Optional. The identifier of the participant, for example, 'test-user' or 'gemini'. The participant ID can contain lowercase letters, numbers, and hyphens; that is, it must match the regular expression: ^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$. The maximum length is 63 characters.

Classes

MessageType

MessageType(value)

The type of message. New values may be added in the future.