Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3FormParameterFillBehavior

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

Returns a new instance of GoogleCloudDialogflowCxV3FormParameterFillBehavior.



3258
3259
3260
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3258

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

Instance Attribute Details

#initial_prompt_fulfillmentGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Fulfillment

Corresponds to the JSON property initialPromptFulfillment



3251
3252
3253
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3251

def initial_prompt_fulfillment
  @initial_prompt_fulfillment
end

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

Corresponds to the JSON property repromptEventHandlers



3256
3257
3258
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3256

def reprompt_event_handlers
  @reprompt_event_handlers
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3263
3264
3265
3266
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3263

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