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

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

Location within a conversation.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#all_messages

def all_messages() -> ::Google::Cloud::Dlp::V2::ConversationLocation::AllMessages
Returns
  • (::Google::Cloud::Dlp::V2::ConversationLocation::AllMessages) — If set, indicates that the finding applies to all messages in the conversation.

    Note: The following fields are mutually exclusive: all_messages, message_index. If a field in that set is populated, all other fields in the set will automatically be cleared.

#all_messages=

def all_messages=(value) -> ::Google::Cloud::Dlp::V2::ConversationLocation::AllMessages
Parameter
  • value (::Google::Cloud::Dlp::V2::ConversationLocation::AllMessages) — If set, indicates that the finding applies to all messages in the conversation.

    Note: The following fields are mutually exclusive: all_messages, message_index. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::Dlp::V2::ConversationLocation::AllMessages) — If set, indicates that the finding applies to all messages in the conversation.

    Note: The following fields are mutually exclusive: all_messages, message_index. If a field in that set is populated, all other fields in the set will automatically be cleared.

#message_index

def message_index() -> ::Integer
Returns
  • (::Integer) — Matches an index of a message in the conversation provided in the request.

    Note: The following fields are mutually exclusive: message_index, all_messages. If a field in that set is populated, all other fields in the set will automatically be cleared.

#message_index=

def message_index=(value) -> ::Integer
Parameter
  • value (::Integer) — Matches an index of a message in the conversation provided in the request.

    Note: The following fields are mutually exclusive: message_index, all_messages. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Integer) — Matches an index of a message in the conversation provided in the request.

    Note: The following fields are mutually exclusive: message_index, all_messages. If a field in that set is populated, all other fields in the set will automatically be cleared.