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.
10415 10416 10417 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10415 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
10413 10414 10415 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10413 def text @text end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10420 10421 10422 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10420 def update!(**args) @text = args[:text] if args.key?(:text) end |