class Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest

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

Attributes

payload[RW]

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 Dialogflow Phone Gateway integration, this field has the form: ` “telephony”: ` “caller_id”: “+18558363987” ` ` Note: The caller ID field (`caller_id`) will be redacted for Trial Edition agents and populated with the caller ID in [E. 164 format](en.wikipedia.org/wiki/E.164) for Essentials Edition agents. Corresponds to the JSON property `payload` @return [Hash<String,Object>]

source[RW]

The source of this request, e.g., `google`, `facebook`, `slack`. It is set by Dialogflow-owned servers. Corresponds to the JSON property `source` @return [String]

version[RW]

Optional. The version of the protocol used for this request. This field is AoG- specific. Corresponds to the JSON property `version` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dialogflow_v2beta1/classes.rb, line 12803
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dialogflow_v2beta1/classes.rb, line 12808
def update!(**args)
  @payload = args[:payload] if args.key?(:payload)
  @source = args[:source] if args.key?(:source)
  @version = args[:version] if args.key?(:version)
end