Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v2/classes.rb,
lib/google/apis/dialogflow_v2/representations.rb,
lib/google/apis/dialogflow_v2/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2SearchKnowledgeRequest

Returns a new instance of GoogleCloudDialogflowV2SearchKnowledgeRequest.



15016
15017
15018
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15016

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

Instance Attribute Details

#conversationString

Corresponds to the JSON property conversation

Returns:

  • (String)


14968
14969
14970
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14968

def conversation
  @conversation
end

#conversation_profileString

Corresponds to the JSON property conversationProfile

Returns:

  • (String)


14973
14974
14975
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14973

def conversation_profile
  @conversation_profile
end

#end_user_metadataHash<String,Object>

Corresponds to the JSON property endUserMetadata

Returns:

  • (Hash<String,Object>)


14978
14979
14980
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14978

def 
  @end_user_metadata
end

#exact_searchBoolean Also known as: exact_search?

Corresponds to the JSON property exactSearch

Returns:

  • (Boolean)


14983
14984
14985
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14983

def exact_search
  @exact_search
end

#latest_messageString

Corresponds to the JSON property latestMessage

Returns:

  • (String)


14989
14990
14991
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14989

def latest_message
  @latest_message
end

#parentString

Corresponds to the JSON property parent

Returns:

  • (String)


14994
14995
14996
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14994

def parent
  @parent
end

#queryGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2TextInput

Corresponds to the JSON property query



14999
15000
15001
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14999

def query
  @query
end

#query_sourceString

Corresponds to the JSON property querySource

Returns:

  • (String)


15004
15005
15006
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15004

def query_source
  @query_source
end

#search_configGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfig

Corresponds to the JSON property searchConfig



15009
15010
15011
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15009

def search_config
  @search_config
end

#session_idString

Corresponds to the JSON property sessionId

Returns:

  • (String)


15014
15015
15016
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15014

def session_id
  @session_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15021
15022
15023
15024
15025
15026
15027
15028
15029
15030
15031
15032
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15021

def update!(**args)
  @conversation = args[:conversation] if args.key?(:conversation)
  @conversation_profile = args[:conversation_profile] if args.key?(:conversation_profile)
  @end_user_metadata = args[:end_user_metadata] if args.key?(:end_user_metadata)
  @exact_search = args[:exact_search] if args.key?(:exact_search)
  @latest_message = args[:latest_message] if args.key?(:latest_message)
  @parent = args[:parent] if args.key?(:parent)
  @query = args[:query] if args.key?(:query)
  @query_source = args[:query_source] if args.key?(:query_source)
  @search_config = args[:search_config] if args.key?(:search_config)
  @session_id = args[:session_id] if args.key?(:session_id)
end