Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2OriginalDetectIntentRequest
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2OriginalDetectIntentRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dialogflow_v2beta1/classes.rb,
generated/google/apis/dialogflow_v2beta1/representations.rb,
generated/google/apis/dialogflow_v2beta1/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
1200 1201 1202 |
# File 'generated/google/apis/dialogflow_v2beta1/classes.rb', line 1200 def initialize(**args) update!(**args) end |
Instance Attribute Details
#payload ⇒ Hash<String,Object>
Optional. This field is set to the value of QueryParameters.payload
field
passed in the request.
Corresponds to the JSON property payload
1186 1187 1188 |
# File 'generated/google/apis/dialogflow_v2beta1/classes.rb', line 1186 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
1192 1193 1194 |
# File 'generated/google/apis/dialogflow_v2beta1/classes.rb', line 1192 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
1198 1199 1200 |
# File 'generated/google/apis/dialogflow_v2beta1/classes.rb', line 1198 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1205 1206 1207 1208 1209 |
# File 'generated/google/apis/dialogflow_v2beta1/classes.rb', line 1205 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 |