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.



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

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

Instance Attribute Details

#conditionString

Corresponds to the JSON property condition

Returns:

  • (String)


2730
2731
2732
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2730

def condition
  @condition
end

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


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

def description
  @description
end

#intentString

Corresponds to the JSON property intent

Returns:

  • (String)


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

def intent
  @intent
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


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

def name
  @name
end

#target_flowString

Corresponds to the JSON property targetFlow

Returns:

  • (String)


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

def target_flow
  @target_flow
end

#target_pageString

Corresponds to the JSON property targetPage

Returns:

  • (String)


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

def target_page
  @target_page
end

#trigger_fulfillmentGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3Fulfillment

Corresponds to the JSON property triggerFulfillment



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

def trigger_fulfillment
  @trigger_fulfillment
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2767
2768
2769
2770
2771
2772
2773
2774
2775
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2767

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