Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1QueryInput

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

Returns a new instance of GoogleCloudDialogflowV2beta1QueryInput.



18501
18502
18503
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18501

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

Instance Attribute Details

#audio_configGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1InputAudioConfig

Corresponds to the JSON property audioConfig



18484
18485
18486
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18484

def audio_config
  @audio_config
end

#dtmfGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1TelephonyDtmfEvents

Corresponds to the JSON property dtmf



18489
18490
18491
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18489

def dtmf
  @dtmf
end

#eventGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EventInput

Corresponds to the JSON property event



18494
18495
18496
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18494

def event
  @event
end

#textGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1TextInput

Corresponds to the JSON property text



18499
18500
18501
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18499

def text
  @text
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



18506
18507
18508
18509
18510
18511
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18506

def update!(**args)
  @audio_config = args[:audio_config] if args.key?(:audio_config)
  @dtmf = args[:dtmf] if args.key?(:dtmf)
  @event = args[:event] if args.key?(:event)
  @text = args[:text] if args.key?(:text)
end