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.



14345
14346
14347
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14345

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


14343
14344
14345
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14343

def documents
  @documents
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14350
14351
14352
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14350

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