Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2OriginalDetectIntentRequest
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2OriginalDetectIntentRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2/classes.rb,
lib/google/apis/dialogflow_v2/representations.rb,
lib/google/apis/dialogflow_v2/representations.rb
Instance Attribute Summary collapse
-
#payload ⇒ Hash<String,Object>
Corresponds to the JSON property
payload. -
#source ⇒ String
Corresponds to the JSON property
source. -
#version ⇒ String
Corresponds to the JSON property
version.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2OriginalDetectIntentRequest
constructor
A new instance of GoogleCloudDialogflowV2OriginalDetectIntentRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2OriginalDetectIntentRequest
Returns a new instance of GoogleCloudDialogflowV2OriginalDetectIntentRequest.
14341 14342 14343 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14341 def initialize(**args) update!(**args) end |
Instance Attribute Details
#payload ⇒ Hash<String,Object>
Corresponds to the JSON property payload
14329 14330 14331 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14329 def payload @payload end |
#source ⇒ String
Corresponds to the JSON property source
14334 14335 14336 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14334 def source @source end |
#version ⇒ String
Corresponds to the JSON property version
14339 14340 14341 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14339 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
14346 14347 14348 14349 14350 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14346 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 |