Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySource

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

Overview

Document source settings. Supported features: SMART_REPLY, SMART_COMPOSE.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySource

Returns a new instance of GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySource.



13476
13477
13478
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13476

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

Instance Attribute Details

#documentsArray<String>

Required. Knowledge documents to query from. Format: projects//locations// knowledgeBases//documents/. Currently, only one document is supported. Corresponds to the JSON property documents

Returns:

  • (Array<String>)


13474
13475
13476
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13474

def documents
  @documents
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13481
13482
13483
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13481

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