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.



20480
20481
20482
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20480

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

Instance Attribute Details

#actionString

Corresponds to the JSON property action

Returns:

  • (String)


20453
20454
20455
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20453

def action
  @action
end

#answer_recordString

Corresponds to the JSON property answerRecord

Returns:

  • (String)


20458
20459
20460
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20458

def answer_record
  @answer_record
end

#intent_inputGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentInput

Corresponds to the JSON property intentInput



20463
20464
20465
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20463

def intent_input
  @intent_input
end

#parametersHash<String,Object>

Corresponds to the JSON property parameters

Returns:

  • (Hash<String,Object>)


20468
20469
20470
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20468

def parameters
  @parameters
end

#send_timeString

Corresponds to the JSON property sendTime

Returns:

  • (String)


20473
20474
20475
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20473

def send_time
  @send_time
end

#text_overrideGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1TextInput

Corresponds to the JSON property textOverride



20478
20479
20480
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20478

def text_override
  @text_override
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



20485
20486
20487
20488
20489
20490
20491
20492
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20485

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