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.



11140
11141
11142
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11140

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


11138
11139
11140
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11138

def documents
  @documents
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11145
11146
11147
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11145

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