Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1AgentCoachingInstruction

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v3beta1/classes.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1AgentCoachingInstruction

Returns a new instance of GoogleCloudDialogflowV2beta1AgentCoachingInstruction.



18595
18596
18597
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 18595

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

Instance Attribute Details

#agent_actionString

Corresponds to the JSON property agentAction

Returns:

  • (String)


18563
18564
18565
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 18563

def agent_action
  @agent_action
end

#conditionString

Corresponds to the JSON property condition

Returns:

  • (String)


18568
18569
18570
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 18568

def condition
  @condition
end

#display_detailsString

Corresponds to the JSON property displayDetails

Returns:

  • (String)


18573
18574
18575
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 18573

def display_details
  @display_details
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


18578
18579
18580
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 18578

def display_name
  @display_name
end

#duplicate_check_resultGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResult

Corresponds to the JSON property duplicateCheckResult



18583
18584
18585
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 18583

def duplicate_check_result
  @duplicate_check_result
end

#system_actionString

Corresponds to the JSON property systemAction

Returns:

  • (String)


18588
18589
18590
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 18588

def system_action
  @system_action
end

#triggering_eventString

Corresponds to the JSON property triggeringEvent

Returns:

  • (String)


18593
18594
18595
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 18593

def triggering_event
  @triggering_event
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



18600
18601
18602
18603
18604
18605
18606
18607
18608
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 18600

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