Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3TransitionRoute

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) ⇒ GoogleCloudDialogflowCxV3TransitionRoute

Returns a new instance of GoogleCloudDialogflowCxV3TransitionRoute.



2768
2769
2770
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2768

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

Instance Attribute Details

#conditionString

Corresponds to the JSON property condition

Returns:

  • (String)


2736
2737
2738
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2736

def condition
  @condition
end

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


2741
2742
2743
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2741

def description
  @description
end

#intentString

Corresponds to the JSON property intent

Returns:

  • (String)


2746
2747
2748
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2746

def intent
  @intent
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


2751
2752
2753
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2751

def name
  @name
end

#target_flowString

Corresponds to the JSON property targetFlow

Returns:

  • (String)


2756
2757
2758
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2756

def target_flow
  @target_flow
end

#target_pageString

Corresponds to the JSON property targetPage

Returns:

  • (String)


2761
2762
2763
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2761

def target_page
  @target_page
end

#trigger_fulfillmentGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3Fulfillment

Corresponds to the JSON property triggerFulfillment



2766
2767
2768
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2766

def trigger_fulfillment
  @trigger_fulfillment
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2773
2774
2775
2776
2777
2778
2779
2780
2781
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2773

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