Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRoute

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3TransitionRoute

Returns a new instance of GoogleCloudDialogflowCxV3TransitionRoute.



8680
8681
8682
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8680

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

Instance Attribute Details

#conditionString

Corresponds to the JSON property condition

Returns:

  • (String)


8648
8649
8650
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8648

def condition
  @condition
end

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


8653
8654
8655
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8653

def description
  @description
end

#intentString

Corresponds to the JSON property intent

Returns:

  • (String)


8658
8659
8660
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8658

def intent
  @intent
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


8663
8664
8665
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8663

def name
  @name
end

#target_flowString

Corresponds to the JSON property targetFlow

Returns:

  • (String)


8668
8669
8670
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8668

def target_flow
  @target_flow
end

#target_pageString

Corresponds to the JSON property targetPage

Returns:

  • (String)


8673
8674
8675
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8673

def target_page
  @target_page
end

#trigger_fulfillmentGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Fulfillment

Corresponds to the JSON property triggerFulfillment



8678
8679
8680
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8678

def trigger_fulfillment
  @trigger_fulfillment
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8685
8686
8687
8688
8689
8690
8691
8692
8693
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8685

def update!(**args)
  @condition = args[:condition] if args.key?(:condition)
  @description = args[:description] if args.key?(:description)
  @intent = args[:intent] if args.key?(:intent)
  @name = args[:name] if args.key?(:name)
  @target_flow = args[:target_flow] if args.key?(:target_flow)
  @target_page = args[:target_page] if args.key?(:target_page)
  @trigger_fulfillment = args[:trigger_fulfillment] if args.key?(:trigger_fulfillment)
end