Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AgentCoachingInstruction

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1AgentCoachingInstruction

Returns a new instance of GoogleCloudDialogflowV2beta1AgentCoachingInstruction.



11108
11109
11110
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11108

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#agent_actionString

Corresponds to the JSON property agentAction

Returns:

  • (String)


11076
11077
11078
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11076

def agent_action
  @agent_action
end

#conditionString

Corresponds to the JSON property condition

Returns:

  • (String)


11081
11082
11083
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11081

def condition
  @condition
end

#display_detailsString

Corresponds to the JSON property displayDetails

Returns:

  • (String)


11086
11087
11088
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11086

def display_details
  @display_details
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


11091
11092
11093
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11091

def display_name
  @display_name
end

#duplicate_check_resultGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResult

Corresponds to the JSON property duplicateCheckResult



11096
11097
11098
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11096

def duplicate_check_result
  @duplicate_check_result
end

#system_actionString

Corresponds to the JSON property systemAction

Returns:

  • (String)


11101
11102
11103
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11101

def system_action
  @system_action
end

#triggering_eventString

Corresponds to the JSON property triggeringEvent

Returns:

  • (String)


11106
11107
11108
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11106

def triggering_event
  @triggering_event
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11113
11114
11115
11116
11117
11118
11119
11120
11121
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11113

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