Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AgentCoachingInstruction
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AgentCoachingInstruction
- 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_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::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResult
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) ⇒ GoogleCloudDialogflowV2beta1AgentCoachingInstruction
constructor
A new instance of GoogleCloudDialogflowV2beta1AgentCoachingInstruction.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1AgentCoachingInstruction
Returns a new instance of GoogleCloudDialogflowV2beta1AgentCoachingInstruction.
11023 11024 11025 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11023 def initialize(**args) update!(**args) end |
Instance Attribute Details
#agent_action ⇒ String
Corresponds to the JSON property agentAction
10991 10992 10993 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10991 def agent_action @agent_action end |
#condition ⇒ String
Corresponds to the JSON property condition
10996 10997 10998 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10996 def condition @condition end |
#display_details ⇒ String
Corresponds to the JSON property displayDetails
11001 11002 11003 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11001 def display_details @display_details end |
#display_name ⇒ String
Corresponds to the JSON property displayName
11006 11007 11008 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11006 def display_name @display_name end |
#duplicate_check_result ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResult
Corresponds to the JSON property duplicateCheckResult
11011 11012 11013 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11011 def duplicate_check_result @duplicate_check_result end |
#system_action ⇒ String
Corresponds to the JSON property systemAction
11016 11017 11018 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11016 def system_action @system_action end |
#triggering_event ⇒ String
Corresponds to the JSON property triggeringEvent
11021 11022 11023 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11021 def triggering_event @triggering_event end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11028 11029 11030 11031 11032 11033 11034 11035 11036 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11028 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 |