Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Phrase
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Phrase
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3/classes.rb,
lib/google/apis/dialogflow_v3/representations.rb,
lib/google/apis/dialogflow_v3/representations.rb
Overview
Text input which can be used for prompt or banned phrases.
Instance Attribute Summary collapse
-
#text ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3Phrase
constructor
A new instance of GoogleCloudDialogflowCxV3Phrase.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3Phrase
Returns a new instance of GoogleCloudDialogflowCxV3Phrase.
5757 5758 5759 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5757 def initialize(**args) update!(**args) end |
Instance Attribute Details
#text ⇒ String
Required. Text input which can be used for prompt or banned phrases.
Corresponds to the JSON property text
5755 5756 5757 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5755 def text @text end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5762 5763 5764 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5762 def update!(**args) @text = args[:text] if args.key?(:text) end |