Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Fulfillment

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

Returns a new instance of GoogleCloudDialogflowCxV3beta1Fulfillment.



7578
7579
7580
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7578

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

Instance Attribute Details

#advanced_settingsGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettings

Corresponds to the JSON property advancedSettings



7529
7530
7531
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7529

def advanced_settings
  @advanced_settings
end

#code_block_functionString

Corresponds to the JSON property codeBlockFunction

Returns:

  • (String)


7534
7535
7536
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7534

def code_block_function
  @code_block_function
end

#conditional_casesArray<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases>

Corresponds to the JSON property conditionalCases



7539
7540
7541
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7539

def conditional_cases
  @conditional_cases
end

#enable_generative_fallbackBoolean Also known as: enable_generative_fallback?

Corresponds to the JSON property enableGenerativeFallback

Returns:

  • (Boolean)


7544
7545
7546
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7544

def enable_generative_fallback
  @enable_generative_fallback
end

#generatorsArray<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FulfillmentGeneratorSettings>

Corresponds to the JSON property generators



7550
7551
7552
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7550

def generators
  @generators
end

#messagesArray<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessage>

Corresponds to the JSON property messages



7555
7556
7557
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7555

def messages
  @messages
end

#return_partial_responsesBoolean Also known as: return_partial_responses?

Corresponds to the JSON property returnPartialResponses

Returns:

  • (Boolean)


7560
7561
7562
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7560

def return_partial_responses
  @return_partial_responses
end

#set_parameter_actionsArray<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction>

Corresponds to the JSON property setParameterActions



7566
7567
7568
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7566

def set_parameter_actions
  @set_parameter_actions
end

#tagString

Corresponds to the JSON property tag

Returns:

  • (String)


7571
7572
7573
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7571

def tag
  @tag
end

#webhookString

Corresponds to the JSON property webhook

Returns:

  • (String)


7576
7577
7578
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7576

def webhook
  @webhook
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7583

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