Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AgentUtterance
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AgentUtterance
- 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
Instance Attribute Summary collapse
-
#require_generation ⇒ Boolean
(also: #require_generation?)
Corresponds to the JSON property
requireGeneration. -
#text ⇒ String
Corresponds to the JSON property
text.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1AgentUtterance
constructor
A new instance of GoogleCloudDialogflowCxV3beta1AgentUtterance.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1AgentUtterance
Returns a new instance of GoogleCloudDialogflowCxV3beta1AgentUtterance.
4232 4233 4234 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4232 def initialize(**args) update!(**args) end |
Instance Attribute Details
#require_generation ⇒ Boolean Also known as: require_generation?
Corresponds to the JSON property requireGeneration
4224 4225 4226 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4224 def require_generation @require_generation end |
#text ⇒ String
Corresponds to the JSON property text
4230 4231 4232 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4230 def text @text end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4237 4238 4239 4240 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4237 def update!(**args) @require_generation = args[:require_generation] if args.key?(:require_generation) @text = args[:text] if args.key?(:text) end |