Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AutomatedAgentConfig
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AutomatedAgentConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2/classes.rb,
lib/google/apis/dialogflow_v2/representations.rb,
lib/google/apis/dialogflow_v2/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) ⇒ GoogleCloudDialogflowV2AutomatedAgentConfig
constructor
A new instance of GoogleCloudDialogflowV2AutomatedAgentConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2AutomatedAgentConfig
Returns a new instance of GoogleCloudDialogflowV2AutomatedAgentConfig.
7700 7701 7702 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7700 def initialize(**args) update!(**args) end |
Instance Attribute Details
#agent ⇒ String
Corresponds to the JSON property agent
7693 7694 7695 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7693 def agent @agent end |
#session_ttl ⇒ String
Corresponds to the JSON property sessionTtl
7698 7699 7700 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7698 def session_ttl @session_ttl end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7705 7706 7707 7708 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7705 def update!(**args) @agent = args[:agent] if args.key?(:agent) @session_ttl = args[:session_ttl] if args.key?(:session_ttl) end |