Data Loss Prevention V2 Client - Class Conversation (2.13.0)

Reference documentation and code samples for the Data Loss Prevention V2 Client class Conversation.

Complete conversation or slice of a conversation.

It is assumed that all included messages are contiguous and ordered in chronological order.

Generated from protobuf message google.privacy.dlp.v2.Conversation

Namespace

Google \ Cloud \ Dlp \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ messages array<ConversationMessage>

Messages exchanged within this conversation. The maximum number of messages allowed is 50k. The order of the messages is assumed to be chronological and will be used to index findings in the response.

getMessages

Messages exchanged within this conversation.

The maximum number of messages allowed is 50k. The order of the messages is assumed to be chronological and will be used to index findings in the response.

Returns
Type Description
Google\Protobuf\RepeatedField<ConversationMessage>

setMessages

Messages exchanged within this conversation.

The maximum number of messages allowed is 50k. The order of the messages is assumed to be chronological and will be used to index findings in the response.

Parameter
Name Description
var array<ConversationMessage>
Returns
Type Description
$this