Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest
- 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) ⇒ GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest
constructor
A new instance of GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest
Returns a new instance of GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest.
21048 21049 21050 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 21048 def initialize(**args) update!(**args) end |
Instance Attribute Details
#payload ⇒ Hash<String,Object>
Corresponds to the JSON property payload
21036 21037 21038 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 21036 def payload @payload end |
#source ⇒ String
Corresponds to the JSON property source
21041 21042 21043 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 21041 def source @source end |
#version ⇒ String
Corresponds to the JSON property version
21046 21047 21048 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 21046 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
21053 21054 21055 21056 21057 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 21053 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 |