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.
9945 9946 9947 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9945 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
9943 9944 9945 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9943 def text @text end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9950 9951 9952 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9950 def update!(**args) @text = args[:text] if args.key?(:text) end |