class Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3IntentTrainingPhrasePart
Represents a part of a training phrase.
Attributes
parameter_id[RW]
The parameter used to annotate this part of the training phrase. This field is required for annotated parts of the training phrase. Corresponds to the JSON property `parameterId` @return [String]
text[RW]
Required. The text for this part. Corresponds to the JSON property `text` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/dialogflow_v3/classes.rb, line 2822 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 2827 def update!(**args) @parameter_id = args[:parameter_id] if args.key?(:parameter_id) @text = args[:text] if args.key?(:text) end