class Google::Apis::DialogflowV2beta1::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::DialogflowV2beta1::GoogleCloudDialogflowV2AnnotatedMessagePart>]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/dialogflow_v2beta1/classes.rb, line 6937 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_v2beta1/classes.rb, line 6942 def update!(**args) @contain_entities = args[:contain_entities] if args.key?(:contain_entities) @parts = args[:parts] if args.key?(:parts) end