class Google::Apis::DialogflowV3::GoogleCloudDialogflowV2MessageAnnotation

Represents the result of annotation for the message.

Attributes

contain_entities[RW]

Indicates whether the text message contains entities. Corresponds to the JSON property `containEntities` @return [Boolean]

contain_entities?[RW]

Indicates whether the text message contains entities. Corresponds to the JSON property `containEntities` @return [Boolean]

parts[RW]

The collection of annotated message parts ordered by their position in the message. You can recover the annotated message by concatenating [ AnnotatedMessagePart.text]. Corresponds to the JSON property `parts` @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowV2AnnotatedMessagePart>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dialogflow_v3/classes.rb, line 10943
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dialogflow_v3/classes.rb, line 10948
def update!(**args)
  @contain_entities = args[:contain_entities] if args.key?(:contain_entities)
  @parts = args[:parts] if args.key?(:parts)
end