Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySource

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

Overview

Document source settings. Supported features: SMART_REPLY, SMART_COMPOSE.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySource

Returns a new instance of GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySource.



8844
8845
8846
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8844

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

Instance Attribute Details

#documentsArray<String>

Required. Knowledge documents to query from. Format: projects//locations// knowledgeBases//documents/. Currently, at most 5 documents are supported. Corresponds to the JSON property documents

Returns:

  • (Array<String>)


8842
8843
8844
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8842

def documents
  @documents
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8849
8850
8851
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8849

def update!(**args)
  @documents = args[:documents] if args.key?(:documents)
end