Class: Google::Cloud::Dialogflow::CX::V3::Fulfillment::ConditionalCases::Case
- Inherits:
-
Object
- Object
- Google::Cloud::Dialogflow::CX::V3::Fulfillment::ConditionalCases::Case
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/dialogflow/cx/v3/fulfillment.rb
Overview
Each case has a Boolean condition. When it is evaluated to be True, the corresponding messages will be selected and evaluated recursively.
Defined Under Namespace
Classes: CaseContent
Instance Attribute Summary collapse
-
#case_content ⇒ ::Array<::Google::Cloud::Dialogflow::CX::V3::Fulfillment::ConditionalCases::Case::CaseContent>
A list of case content.
-
#condition ⇒ ::String
The condition to activate and select this case.
Instance Attribute Details
#case_content ⇒ ::Array<::Google::Cloud::Dialogflow::CX::V3::Fulfillment::ConditionalCases::Case::CaseContent>
Returns A list of case content.
124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 |
# File 'proto_docs/google/cloud/dialogflow/cx/v3/fulfillment.rb', line 124 class Case include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The list of messages or conditional cases to activate for this case. # @!attribute [rw] message # @return [::Google::Cloud::Dialogflow::CX::V3::ResponseMessage] # Returned message. # @!attribute [rw] additional_cases # @return [::Google::Cloud::Dialogflow::CX::V3::Fulfillment::ConditionalCases] # Additional cases to be evaluated. class CaseContent include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#condition ⇒ ::String
Returns The condition to activate and select this case. Empty means the condition is always true. The condition is evaluated against [form parameters][Form.parameters] or [session parameters][SessionInfo.parameters].
See the conditions reference.
124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 |
# File 'proto_docs/google/cloud/dialogflow/cx/v3/fulfillment.rb', line 124 class Case include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The list of messages or conditional cases to activate for this case. # @!attribute [rw] message # @return [::Google::Cloud::Dialogflow::CX::V3::ResponseMessage] # Returned message. # @!attribute [rw] additional_cases # @return [::Google::Cloud::Dialogflow::CX::V3::Fulfillment::ConditionalCases] # Additional cases to be evaluated. class CaseContent include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |