Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1TransitionRoute

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

Returns a new instance of GoogleCloudDialogflowCxV3beta1TransitionRoute.



6124
6125
6126
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 6124

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

Instance Attribute Details

#conditionString

Corresponds to the JSON property condition

Returns:

  • (String)


6092
6093
6094
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 6092

def condition
  @condition
end

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


6097
6098
6099
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 6097

def description
  @description
end

#intentString

Corresponds to the JSON property intent

Returns:

  • (String)


6102
6103
6104
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 6102

def intent
  @intent
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


6107
6108
6109
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 6107

def name
  @name
end

#target_flowString

Corresponds to the JSON property targetFlow

Returns:

  • (String)


6112
6113
6114
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 6112

def target_flow
  @target_flow
end

#target_pageString

Corresponds to the JSON property targetPage

Returns:

  • (String)


6117
6118
6119
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 6117

def target_page
  @target_page
end

#trigger_fulfillmentGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1Fulfillment

Corresponds to the JSON property triggerFulfillment



6122
6123
6124
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 6122

def trigger_fulfillment
  @trigger_fulfillment
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6129
6130
6131
6132
6133
6134
6135
6136
6137
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 6129

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