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.



6148
6149
6150
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 6148

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

Instance Attribute Details

#conditionString

Corresponds to the JSON property condition

Returns:

  • (String)


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

def condition
  @condition
end

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


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

def description
  @description
end

#intentString

Corresponds to the JSON property intent

Returns:

  • (String)


6126
6127
6128
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 6126

def intent
  @intent
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


6131
6132
6133
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 6131

def name
  @name
end

#target_flowString

Corresponds to the JSON property targetFlow

Returns:

  • (String)


6136
6137
6138
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 6136

def target_flow
  @target_flow
end

#target_pageString

Corresponds to the JSON property targetPage

Returns:

  • (String)


6141
6142
6143
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 6141

def target_page
  @target_page
end

#trigger_fulfillmentGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1Fulfillment

Corresponds to the JSON property triggerFulfillment



6146
6147
6148
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 6146

def trigger_fulfillment
  @trigger_fulfillment
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6153
6154
6155
6156
6157
6158
6159
6160
6161
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 6153

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