Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion

Returns a new instance of GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion.



20630
20631
20632
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 20630

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

Instance Attribute Details

#actionGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction

Corresponds to the JSON property action



20623
20624
20625
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 20623

def action
  @action
end

#replyGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply

Corresponds to the JSON property reply



20628
20629
20630
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 20628

def reply
  @reply
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



20635
20636
20637
20638
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 20635

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