Class: Google::Cloud::Dialogflow::V2::OriginalDetectIntentRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/dialogflow/v2/webhook.rb

Overview

Represents the contents of the original request that was passed to the [Streaming]DetectIntent call.

Instance Attribute Summary collapse

Instance Attribute Details

#payloadGoogle::Protobuf::Struct

Returns Optional. This field is set to the value of the QueryParameters.payload field passed in the request. Some integrations that query a Dialogflow agent may provide additional information in the payload.

In particular for the Telephony Gateway this field has the form:

{
 "telephony": {
   "caller_id": "+18558363987"
 }
}

Note: The caller ID field (caller_id) will be redacted for Standard Edition agents and populated with the caller ID in E.164 format for Enterprise Edition agents.

Returns:

  • (Google::Protobuf::Struct)

    Optional. This field is set to the value of the QueryParameters.payload field passed in the request. Some integrations that query a Dialogflow agent may provide additional information in the payload.

    In particular for the Telephony Gateway this field has the form:

    {
     "telephony": {
       "caller_id": "+18558363987"
     }
    }
    

    Note: The caller ID field (caller_id) will be redacted for Standard Edition agents and populated with the caller ID in E.164 format for Enterprise Edition agents.



146
147
148
149
# File 'proto_docs/google/cloud/dialogflow/v2/webhook.rb', line 146

class OriginalDetectIntentRequest
  include Google::Protobuf::MessageExts
  extend Google::Protobuf::MessageExts::ClassMethods
end

#sourceString

Returns The source of this request, e.g., google, facebook, slack. It is set by Dialogflow-owned servers.

Returns:

  • (String)

    The source of this request, e.g., google, facebook, slack. It is set by Dialogflow-owned servers.



146
147
148
149
# File 'proto_docs/google/cloud/dialogflow/v2/webhook.rb', line 146

class OriginalDetectIntentRequest
  include Google::Protobuf::MessageExts
  extend Google::Protobuf::MessageExts::ClassMethods
end

#versionString

Returns Optional. The version of the protocol used for this request. This field is AoG-specific.

Returns:

  • (String)

    Optional. The version of the protocol used for this request. This field is AoG-specific.



146
147
148
149
# File 'proto_docs/google/cloud/dialogflow/v2/webhook.rb', line 146

class OriginalDetectIntentRequest
  include Google::Protobuf::MessageExts
  extend Google::Protobuf::MessageExts::ClassMethods
end