Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion

Returns a new instance of GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion.



16562
16563
16564
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 16562

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

Instance Attribute Details

#actionGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction

Corresponds to the JSON property action



16555
16556
16557
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 16555

def action
  @action
end

#replyGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply

Corresponds to the JSON property reply



16560
16561
16562
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 16560

def reply
  @reply
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



16567
16568
16569
16570
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 16567

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