Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Fulfillment
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Fulfillment
- 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
-
#advanced_settings ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AdvancedSettings
Corresponds to the JSON property
advancedSettings. -
#conditional_cases ⇒ Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3FulfillmentConditionalCases>
Corresponds to the JSON property
conditionalCases. -
#enable_generative_fallback ⇒ Boolean
(also: #enable_generative_fallback?)
Corresponds to the JSON property
enableGenerativeFallback. -
#generators ⇒ Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3FulfillmentGeneratorSettings>
Corresponds to the JSON property
generators. -
#messages ⇒ Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ResponseMessage>
Corresponds to the JSON property
messages. -
#return_partial_responses ⇒ Boolean
(also: #return_partial_responses?)
Corresponds to the JSON property
returnPartialResponses. -
#set_parameter_actions ⇒ Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3FulfillmentSetParameterAction>
Corresponds to the JSON property
setParameterActions. -
#tag ⇒ String
Corresponds to the JSON property
tag. -
#webhook ⇒ String
Corresponds to the JSON property
webhook.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3Fulfillment
constructor
A new instance of GoogleCloudDialogflowCxV3Fulfillment.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3Fulfillment
Returns a new instance of GoogleCloudDialogflowCxV3Fulfillment.
3389 3390 3391 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3389 def initialize(**args) update!(**args) end |
Instance Attribute Details
#advanced_settings ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AdvancedSettings
Corresponds to the JSON property advancedSettings
3345 3346 3347 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3345 def advanced_settings @advanced_settings end |
#conditional_cases ⇒ Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3FulfillmentConditionalCases>
Corresponds to the JSON property conditionalCases
3350 3351 3352 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3350 def conditional_cases @conditional_cases end |
#enable_generative_fallback ⇒ Boolean Also known as: enable_generative_fallback?
Corresponds to the JSON property enableGenerativeFallback
3355 3356 3357 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3355 def enable_generative_fallback @enable_generative_fallback end |
#generators ⇒ Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3FulfillmentGeneratorSettings>
Corresponds to the JSON property generators
3361 3362 3363 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3361 def generators @generators end |
#messages ⇒ Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ResponseMessage>
Corresponds to the JSON property messages
3366 3367 3368 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3366 def @messages end |
#return_partial_responses ⇒ Boolean Also known as: return_partial_responses?
Corresponds to the JSON property returnPartialResponses
3371 3372 3373 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3371 def return_partial_responses @return_partial_responses end |
#set_parameter_actions ⇒ Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3FulfillmentSetParameterAction>
Corresponds to the JSON property setParameterActions
3377 3378 3379 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3377 def set_parameter_actions @set_parameter_actions end |
#tag ⇒ String
Corresponds to the JSON property tag
3382 3383 3384 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3382 def tag @tag end |
#webhook ⇒ String
Corresponds to the JSON property webhook
3387 3388 3389 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3387 def webhook @webhook end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3394 def update!(**args) @advanced_settings = args[:advanced_settings] if args.key?(:advanced_settings) @conditional_cases = args[:conditional_cases] if args.key?(:conditional_cases) @enable_generative_fallback = args[:enable_generative_fallback] if args.key?(:enable_generative_fallback) @generators = args[:generators] if args.key?(:generators) @messages = args[:messages] if args.key?(:messages) @return_partial_responses = args[:return_partial_responses] if args.key?(:return_partial_responses) @set_parameter_actions = args[:set_parameter_actions] if args.key?(:set_parameter_actions) @tag = args[:tag] if args.key?(:tag) @webhook = args[:webhook] if args.key?(:webhook) end |