Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestionInput

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) ⇒ GoogleCloudDialogflowV2beta1SuggestionInput

Returns a new instance of GoogleCloudDialogflowV2beta1SuggestionInput.



20720
20721
20722
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20720

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

Instance Attribute Details

#actionString

Corresponds to the JSON property action

Returns:

  • (String)


20693
20694
20695
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20693

def action
  @action
end

#answer_recordString

Corresponds to the JSON property answerRecord

Returns:

  • (String)


20698
20699
20700
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20698

def answer_record
  @answer_record
end

#intent_inputGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentInput

Corresponds to the JSON property intentInput



20703
20704
20705
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20703

def intent_input
  @intent_input
end

#parametersHash<String,Object>

Corresponds to the JSON property parameters

Returns:

  • (Hash<String,Object>)


20708
20709
20710
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20708

def parameters
  @parameters
end

#send_timeString

Corresponds to the JSON property sendTime

Returns:

  • (String)


20713
20714
20715
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20713

def send_time
  @send_time
end

#text_overrideGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1TextInput

Corresponds to the JSON property textOverride



20718
20719
20720
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20718

def text_override
  @text_override
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



20725
20726
20727
20728
20729
20730
20731
20732
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20725

def update!(**args)
  @action = args[:action] if args.key?(:action)
  @answer_record = args[:answer_record] if args.key?(:answer_record)
  @intent_input = args[:intent_input] if args.key?(:intent_input)
  @parameters = args[:parameters] if args.key?(:parameters)
  @send_time = args[:send_time] if args.key?(:send_time)
  @text_override = args[:text_override] if args.key?(:text_override)
end