Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3QueryInput

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

Returns a new instance of GoogleCloudDialogflowCxV3QueryInput.



1986
1987
1988
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 1986

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

Instance Attribute Details

#audioGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3AudioInput

Corresponds to the JSON property audio



1954
1955
1956
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 1954

def audio
  @audio
end

#dtmfGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3DtmfInput

Corresponds to the JSON property dtmf



1959
1960
1961
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 1959

def dtmf
  @dtmf
end

#eventGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3EventInput

Corresponds to the JSON property event



1964
1965
1966
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 1964

def event
  @event
end

#intentGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3IntentInput

Corresponds to the JSON property intent



1969
1970
1971
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 1969

def intent
  @intent
end

#language_codeString

Corresponds to the JSON property languageCode

Returns:

  • (String)


1974
1975
1976
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 1974

def language_code
  @language_code
end

#textGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3TextInput

Corresponds to the JSON property text



1979
1980
1981
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 1979

def text
  @text
end

#tool_call_resultGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ToolCallResult

Corresponds to the JSON property toolCallResult



1984
1985
1986
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 1984

def tool_call_result
  @tool_call_result
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1991
1992
1993
1994
1995
1996
1997
1998
1999
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 1991

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