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.



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

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

Instance Attribute Details

#conditionString

Corresponds to the JSON property condition

Returns:

  • (String)


8642
8643
8644
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8642

def condition
  @condition
end

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


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

def description
  @description
end

#intentString

Corresponds to the JSON property intent

Returns:

  • (String)


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

def intent
  @intent
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


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

def name
  @name
end

#target_flowString

Corresponds to the JSON property targetFlow

Returns:

  • (String)


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

def target_flow
  @target_flow
end

#target_pageString

Corresponds to the JSON property targetPage

Returns:

  • (String)


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

def target_page
  @target_page
end

#trigger_fulfillmentGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Fulfillment

Corresponds to the JSON property triggerFulfillment



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

def trigger_fulfillment
  @trigger_fulfillment
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8679
8680
8681
8682
8683
8684
8685
8686
8687
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8679

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