Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2AgentCoachingInstruction
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowV2AgentCoachingInstruction
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3/classes.rb,
lib/google/apis/dialogflow_v3/representations.rb,
lib/google/apis/dialogflow_v3/representations.rb
Instance Attribute Summary collapse
-
#agent_action ⇒ String
Corresponds to the JSON property
agentAction. -
#condition ⇒ String
Corresponds to the JSON property
condition. -
#display_details ⇒ String
Corresponds to the JSON property
displayDetails. -
#display_name ⇒ String
Corresponds to the JSON property
displayName. -
#duplicate_check_result ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResult
Corresponds to the JSON property
duplicateCheckResult. -
#system_action ⇒ String
Corresponds to the JSON property
systemAction. -
#triggering_event ⇒ String
Corresponds to the JSON property
triggeringEvent.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2AgentCoachingInstruction
constructor
A new instance of GoogleCloudDialogflowV2AgentCoachingInstruction.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2AgentCoachingInstruction
Returns a new instance of GoogleCloudDialogflowV2AgentCoachingInstruction.
13137 13138 13139 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 13137 def initialize(**args) update!(**args) end |
Instance Attribute Details
#agent_action ⇒ String
Corresponds to the JSON property agentAction
13105 13106 13107 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 13105 def agent_action @agent_action end |
#condition ⇒ String
Corresponds to the JSON property condition
13110 13111 13112 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 13110 def condition @condition end |
#display_details ⇒ String
Corresponds to the JSON property displayDetails
13115 13116 13117 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 13115 def display_details @display_details end |
#display_name ⇒ String
Corresponds to the JSON property displayName
13120 13121 13122 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 13120 def display_name @display_name end |
#duplicate_check_result ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResult
Corresponds to the JSON property duplicateCheckResult
13125 13126 13127 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 13125 def duplicate_check_result @duplicate_check_result end |
#system_action ⇒ String
Corresponds to the JSON property systemAction
13130 13131 13132 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 13130 def system_action @system_action end |
#triggering_event ⇒ String
Corresponds to the JSON property triggeringEvent
13135 13136 13137 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 13135 def triggering_event @triggering_event end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
13142 13143 13144 13145 13146 13147 13148 13149 13150 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 13142 def update!(**args) @agent_action = args[:agent_action] if args.key?(:agent_action) @condition = args[:condition] if args.key?(:condition) @display_details = args[:display_details] if args.key?(:display_details) @display_name = args[:display_name] if args.key?(:display_name) @duplicate_check_result = args[:duplicate_check_result] if args.key?(:duplicate_check_result) @system_action = args[:system_action] if args.key?(:system_action) @triggering_event = args[:triggering_event] if args.key?(:triggering_event) end |