Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2OriginalDetectIntentRequest
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2OriginalDetectIntentRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dialogflow_v2/classes.rb,
generated/google/apis/dialogflow_v2/representations.rb,
generated/google/apis/dialogflow_v2/representations.rb
Overview
Represents the contents of the original request that was passed to
the [Streaming]DetectIntent
call.
Instance Attribute Summary collapse
-
#payload ⇒ Hash<String,Object>
Optional.
-
#source ⇒ String
The source of this request, e.g.,
google
,facebook
,slack
. -
#version ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2OriginalDetectIntentRequest
constructor
A new instance of GoogleCloudDialogflowV2OriginalDetectIntentRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2OriginalDetectIntentRequest
Returns a new instance of GoogleCloudDialogflowV2OriginalDetectIntentRequest
1910 1911 1912 |
# File 'generated/google/apis/dialogflow_v2/classes.rb', line 1910 def initialize(**args) update!(**args) end |
Instance Attribute Details
#payload ⇒ Hash<String,Object>
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.
Corresponds to the JSON property payload
1896 1897 1898 |
# File 'generated/google/apis/dialogflow_v2/classes.rb', line 1896 def payload @payload end |
#source ⇒ String
The source of this request, e.g., google
, facebook
, slack
. It is set
by Dialogflow-owned servers.
Corresponds to the JSON property source
1902 1903 1904 |
# File 'generated/google/apis/dialogflow_v2/classes.rb', line 1902 def source @source end |
#version ⇒ String
Optional. The version of the protocol used for this request.
This field is AoG-specific.
Corresponds to the JSON property version
1908 1909 1910 |
# File 'generated/google/apis/dialogflow_v2/classes.rb', line 1908 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1915 1916 1917 1918 1919 |
# File 'generated/google/apis/dialogflow_v2/classes.rb', line 1915 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 |