Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Phrase
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Phrase
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3beta1/classes.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb,
lib/google/apis/dialogflow_v3beta1/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) ⇒ GoogleCloudDialogflowCxV3beta1Phrase
constructor
A new instance of GoogleCloudDialogflowCxV3beta1Phrase.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1Phrase
Returns a new instance of GoogleCloudDialogflowCxV3beta1Phrase.
9504 9505 9506 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9504 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
9502 9503 9504 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9502 def text @text end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9509 9510 9511 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9509 def update!(**args) @text = args[:text] if args.key?(:text) end |