Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AutomatedAgentConfig
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AutomatedAgentConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2beta1/classes.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb
Instance Attribute Summary collapse
-
#agent ⇒ String
Corresponds to the JSON property
agent. -
#session_ttl ⇒ String
Corresponds to the JSON property
sessionTtl.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1AutomatedAgentConfig
constructor
A new instance of GoogleCloudDialogflowV2beta1AutomatedAgentConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1AutomatedAgentConfig
Returns a new instance of GoogleCloudDialogflowV2beta1AutomatedAgentConfig.
11612 11613 11614 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11612 def initialize(**args) update!(**args) end |
Instance Attribute Details
#agent ⇒ String
Corresponds to the JSON property agent
11605 11606 11607 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11605 def agent @agent end |
#session_ttl ⇒ String
Corresponds to the JSON property sessionTtl
11610 11611 11612 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11610 def session_ttl @session_ttl end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11617 11618 11619 11620 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11617 def update!(**args) @agent = args[:agent] if args.key?(:agent) @session_ttl = args[:session_ttl] if args.key?(:session_ttl) end |