Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v3/classes.rb,
lib/google/apis/dialogflow_v3/representations.rb,
lib/google/apis/dialogflow_v3/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion

Returns a new instance of GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion.



19244
19245
19246
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 19244

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#actionGoogle::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction

Corresponds to the JSON property action



19237
19238
19239
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 19237

def action
  @action
end

#replyGoogle::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply

Corresponds to the JSON property reply



19242
19243
19244
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 19242

def reply
  @reply
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



19249
19250
19251
19252
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 19249

def update!(**args)
  @action = args[:action] if args.key?(:action)
  @reply = args[:reply] if args.key?(:reply)
end