Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3Fulfillment

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

Returns a new instance of GoogleCloudDialogflowCxV3Fulfillment.



1087
1088
1089
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 1087

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

Instance Attribute Details

#advanced_settingsGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3AdvancedSettings

Corresponds to the JSON property advancedSettings



1043
1044
1045
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 1043

def advanced_settings
  @advanced_settings
end

#conditional_casesArray<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3FulfillmentConditionalCases>

Corresponds to the JSON property conditionalCases



1048
1049
1050
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 1048

def conditional_cases
  @conditional_cases
end

#enable_generative_fallbackBoolean Also known as: enable_generative_fallback?

Corresponds to the JSON property enableGenerativeFallback

Returns:

  • (Boolean)


1053
1054
1055
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 1053

def enable_generative_fallback
  @enable_generative_fallback
end

#generatorsArray<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3FulfillmentGeneratorSettings>

Corresponds to the JSON property generators



1059
1060
1061
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 1059

def generators
  @generators
end

#messagesArray<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessage>

Corresponds to the JSON property messages



1064
1065
1066
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 1064

def messages
  @messages
end

#return_partial_responsesBoolean Also known as: return_partial_responses?

Corresponds to the JSON property returnPartialResponses

Returns:

  • (Boolean)


1069
1070
1071
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 1069

def return_partial_responses
  @return_partial_responses
end

#set_parameter_actionsArray<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3FulfillmentSetParameterAction>

Corresponds to the JSON property setParameterActions



1075
1076
1077
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 1075

def set_parameter_actions
  @set_parameter_actions
end

#tagString

Corresponds to the JSON property tag

Returns:

  • (String)


1080
1081
1082
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 1080

def tag
  @tag
end

#webhookString

Corresponds to the JSON property webhook

Returns:

  • (String)


1085
1086
1087
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 1085

def webhook
  @webhook
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 1092

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