Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3TransitionRoute

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3TransitionRoute

Returns a new instance of GoogleCloudDialogflowCxV3TransitionRoute.



2774
2775
2776
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 2774

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

Instance Attribute Details

#conditionString

Corresponds to the JSON property condition

Returns:

  • (String)


2742
2743
2744
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 2742

def condition
  @condition
end

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


2747
2748
2749
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 2747

def description
  @description
end

#intentString

Corresponds to the JSON property intent

Returns:

  • (String)


2752
2753
2754
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 2752

def intent
  @intent
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


2757
2758
2759
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 2757

def name
  @name
end

#target_flowString

Corresponds to the JSON property targetFlow

Returns:

  • (String)


2762
2763
2764
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 2762

def target_flow
  @target_flow
end

#target_pageString

Corresponds to the JSON property targetPage

Returns:

  • (String)


2767
2768
2769
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 2767

def target_page
  @target_page
end

#trigger_fulfillmentGoogle::Apis::DialogflowV2::GoogleCloudDialogflowCxV3Fulfillment

Corresponds to the JSON property triggerFulfillment



2772
2773
2774
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 2772

def trigger_fulfillment
  @trigger_fulfillment
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2779
2780
2781
2782
2783
2784
2785
2786
2787
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 2779

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