Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3FormParameterFillBehavior

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

Returns a new instance of GoogleCloudDialogflowCxV3FormParameterFillBehavior.



1025
1026
1027
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 1025

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

Instance Attribute Details

#initial_prompt_fulfillmentGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3Fulfillment

Corresponds to the JSON property initialPromptFulfillment



1018
1019
1020
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 1018

def initial_prompt_fulfillment
  @initial_prompt_fulfillment
end

#reprompt_event_handlersArray<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3EventHandler>

Corresponds to the JSON property repromptEventHandlers



1023
1024
1025
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 1023

def reprompt_event_handlers
  @reprompt_event_handlers
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1030
1031
1032
1033
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 1030

def update!(**args)
  @initial_prompt_fulfillment = args[:initial_prompt_fulfillment] if args.key?(:initial_prompt_fulfillment)
  @reprompt_event_handlers = args[:reprompt_event_handlers] if args.key?(:reprompt_event_handlers)
end