Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2OriginalDetectIntentRequest
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2OriginalDetectIntentRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2beta1/classes.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb,
lib/google/apis/dialogflow_v2beta1/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.
9960 9961 9962 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 9960 def initialize(**args) update!(**args) end |
Instance Attribute Details
#payload ⇒ Hash<String,Object>
Corresponds to the JSON property payload
9948 9949 9950 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 9948 def payload @payload end |
#source ⇒ String
Corresponds to the JSON property source
9953 9954 9955 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 9953 def source @source end |
#version ⇒ String
Corresponds to the JSON property version
9958 9959 9960 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 9958 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9965 9966 9967 9968 9969 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 9965 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 |