Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRoute

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v3beta1/classes.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1TransitionRoute

Returns a new instance of GoogleCloudDialogflowCxV3beta1TransitionRoute.



13452
13453
13454
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13452

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

Instance Attribute Details

#conditionString

Corresponds to the JSON property condition

Returns:

  • (String)


13420
13421
13422
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13420

def condition
  @condition
end

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


13425
13426
13427
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13425

def description
  @description
end

#intentString

Corresponds to the JSON property intent

Returns:

  • (String)


13430
13431
13432
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13430

def intent
  @intent
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


13435
13436
13437
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13435

def name
  @name
end

#target_flowString

Corresponds to the JSON property targetFlow

Returns:

  • (String)


13440
13441
13442
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13440

def target_flow
  @target_flow
end

#target_pageString

Corresponds to the JSON property targetPage

Returns:

  • (String)


13445
13446
13447
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13445

def target_page
  @target_page
end

#trigger_fulfillmentGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Fulfillment

Corresponds to the JSON property triggerFulfillment



13450
13451
13452
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13450

def trigger_fulfillment
  @trigger_fulfillment
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13457
13458
13459
13460
13461
13462
13463
13464
13465
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13457

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