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.



11412
11413
11414
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11412

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


11410
11411
11412
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11410

def documents
  @documents
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11417
11418
11419
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11417

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