class Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1MessageAnnotation
Represents the result of annotation for the message.
Attributes
contain_entities[RW]
Required. Indicates whether the text message contains entities. Corresponds to the JSON property `containEntities` @return [Boolean]
contain_entities?[RW]
Required. Indicates whether the text message contains entities. Corresponds to the JSON property `containEntities` @return [Boolean]
parts[RW]
Optional. 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::GoogleCloudDialogflowV2beta1AnnotatedMessagePart>]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/dialogflow_v3/classes.rb, line 13223 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 13228 def update!(**args) @contain_entities = args[:contain_entities] if args.key?(:contain_entities) @parts = args[:parts] if args.key?(:parts) end