Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion
- 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
-
#action ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction
Corresponds to the JSON property
action. -
#reply ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply
Corresponds to the JSON property
reply.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion
constructor
A new instance of GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion
Returns a new instance of GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion.
19958 19959 19960 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 19958 def initialize(**args) update!(**args) end |
Instance Attribute Details
#action ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction
Corresponds to the JSON property action
19951 19952 19953 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 19951 def action @action end |
#reply ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply
Corresponds to the JSON property reply
19956 19957 19958 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 19956 def reply @reply end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
19963 19964 19965 19966 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 19963 def update!(**args) @action = args[:action] if args.key?(:action) @reply = args[:reply] if args.key?(:reply) end |