Dialogflow CX V3 API - Class Google::Cloud::Dialogflow::CX::V3::WebhookRequest::IntentInfo (v0.14.0)

Reference documentation and code samples for the Dialogflow CX V3 API class Google::Cloud::Dialogflow::CX::V3::WebhookRequest::IntentInfo.

Represents intent information communicated to the webhook.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#confidence

def confidence() -> ::Float
Returns
  • (::Float) — The confidence of the matched intent. Values range from 0.0 (completely uncertain) to 1.0 (completely certain).

#confidence=

def confidence=(value) -> ::Float
Parameter
  • value (::Float) — The confidence of the matched intent. Values range from 0.0 (completely uncertain) to 1.0 (completely certain).
Returns
  • (::Float) — The confidence of the matched intent. Values range from 0.0 (completely uncertain) to 1.0 (completely certain).

#display_name

def display_name() -> ::String
Returns
  • (::String) — Always present. The display name of the last matched intent.

#display_name=

def display_name=(value) -> ::String
Parameter
  • value (::String) — Always present. The display name of the last matched intent.
Returns
  • (::String) — Always present. The display name of the last matched intent.

#last_matched_intent

def last_matched_intent() -> ::String
Returns
  • (::String) — Always present. The unique identifier of the last matched intent. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/intents/<Intent ID>.

#last_matched_intent=

def last_matched_intent=(value) -> ::String
Parameter
  • value (::String) — Always present. The unique identifier of the last matched intent. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/intents/<Intent ID>.
Returns
  • (::String) — Always present. The unique identifier of the last matched intent. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/intents/<Intent ID>.

#parameters

def parameters() -> ::Google::Protobuf::Map{::String => ::Google::Cloud::Dialogflow::CX::V3::WebhookRequest::IntentInfo::IntentParameterValue}
Returns
  • (::Google::Protobuf::Map{::String => ::Google::Cloud::Dialogflow::CX::V3::WebhookRequest::IntentInfo::IntentParameterValue}) — Parameters identified as a result of intent matching. This is a map of the name of the identified parameter to the value of the parameter identified from the user's utterance. All parameters defined in the matched intent that are identified will be surfaced here.

#parameters=

def parameters=(value) -> ::Google::Protobuf::Map{::String => ::Google::Cloud::Dialogflow::CX::V3::WebhookRequest::IntentInfo::IntentParameterValue}
Parameter
  • value (::Google::Protobuf::Map{::String => ::Google::Cloud::Dialogflow::CX::V3::WebhookRequest::IntentInfo::IntentParameterValue}) — Parameters identified as a result of intent matching. This is a map of the name of the identified parameter to the value of the parameter identified from the user's utterance. All parameters defined in the matched intent that are identified will be surfaced here.
Returns
  • (::Google::Protobuf::Map{::String => ::Google::Cloud::Dialogflow::CX::V3::WebhookRequest::IntentInfo::IntentParameterValue}) — Parameters identified as a result of intent matching. This is a map of the name of the identified parameter to the value of the parameter identified from the user's utterance. All parameters defined in the matched intent that are identified will be surfaced here.