Dialogflow V2 API - Class Google::Cloud::Dialogflow::V2::MessageAnnotation (v0.31.0)

Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::MessageAnnotation.

Represents the result of annotation for the message.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#contain_entities

def contain_entities() -> ::Boolean
Returns
  • (::Boolean) — Indicates whether the text message contains entities.

#contain_entities=

def contain_entities=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Indicates whether the text message contains entities.
Returns
  • (::Boolean) — Indicates whether the text message contains entities.

#parts

def parts() -> ::Array<::Google::Cloud::Dialogflow::V2::AnnotatedMessagePart>
Returns

#parts=

def parts=(value) -> ::Array<::Google::Cloud::Dialogflow::V2::AnnotatedMessagePart>
Parameter
Returns