Cloud Data Loss Prevention (DLP) V2 API - Class Google::Cloud::Dlp::V2::ConversationMessage (v1.18.0)

Reference documentation and code samples for the Cloud Data Loss Prevention (DLP) V2 API class Google::Cloud::Dlp::V2::ConversationMessage.

Single message in a conversation.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#content

def content() -> ::String
Returns
  • (::String) — The contents of this message.

#content=

def content=(value) -> ::String
Parameter
  • value (::String) — The contents of this message.
Returns
  • (::String) — The contents of this message.

#message_type

def message_type() -> ::Google::Cloud::Dlp::V2::ConversationMessage::MessageType

#message_type=

def message_type=(value) -> ::Google::Cloud::Dlp::V2::ConversationMessage::MessageType
Parameter

#participant_id

def participant_id() -> ::String
Returns
  • (::String) — 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.

#participant_id=

def participant_id=(value) -> ::String
Parameter
  • value (::String) — 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.
Returns
  • (::String) — 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.