Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1Fulfillment
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1Fulfillment
- 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
-
#advanced_settings ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettings
Corresponds to the JSON property
advancedSettings. -
#code_block_function ⇒ String
Corresponds to the JSON property
codeBlockFunction. -
#conditional_cases ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases>
Corresponds to the JSON property
conditionalCases. -
#enable_generative_fallback ⇒ Boolean
(also: #enable_generative_fallback?)
Corresponds to the JSON property
enableGenerativeFallback. -
#generators ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1FulfillmentGeneratorSettings>
Corresponds to the JSON property
generators. -
#messages ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessage>
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::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction>
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) ⇒ GoogleCloudDialogflowCxV3beta1Fulfillment
constructor
A new instance of GoogleCloudDialogflowCxV3beta1Fulfillment.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1Fulfillment
Returns a new instance of GoogleCloudDialogflowCxV3beta1Fulfillment.
4472 4473 4474 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 4472 def initialize(**args) update!(**args) end |
Instance Attribute Details
#advanced_settings ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettings
Corresponds to the JSON property advancedSettings
4423 4424 4425 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 4423 def advanced_settings @advanced_settings end |
#code_block_function ⇒ String
Corresponds to the JSON property codeBlockFunction
4428 4429 4430 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 4428 def code_block_function @code_block_function end |
#conditional_cases ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases>
Corresponds to the JSON property conditionalCases
4433 4434 4435 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 4433 def conditional_cases @conditional_cases end |
#enable_generative_fallback ⇒ Boolean Also known as: enable_generative_fallback?
Corresponds to the JSON property enableGenerativeFallback
4438 4439 4440 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 4438 def enable_generative_fallback @enable_generative_fallback end |
#generators ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1FulfillmentGeneratorSettings>
Corresponds to the JSON property generators
4444 4445 4446 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 4444 def generators @generators end |
#messages ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessage>
Corresponds to the JSON property messages
4449 4450 4451 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 4449 def @messages end |
#return_partial_responses ⇒ Boolean Also known as: return_partial_responses?
Corresponds to the JSON property returnPartialResponses
4454 4455 4456 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 4454 def return_partial_responses @return_partial_responses end |
#set_parameter_actions ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction>
Corresponds to the JSON property setParameterActions
4460 4461 4462 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 4460 def set_parameter_actions @set_parameter_actions end |
#tag ⇒ String
Corresponds to the JSON property tag
4465 4466 4467 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 4465 def tag @tag end |
#webhook ⇒ String
Corresponds to the JSON property webhook
4470 4471 4472 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 4470 def webhook @webhook end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 4477 def update!(**args) @advanced_settings = args[:advanced_settings] if args.key?(:advanced_settings) @code_block_function = args[:code_block_function] if args.key?(:code_block_function) @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 |