Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v3beta1/classes.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource

Returns a new instance of GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource.



17191
17192
17193
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 17191

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

Instance Attribute Details

#snippetsArray<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet>

Corresponds to the JSON property snippets



17189
17190
17191
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 17189

def snippets
  @snippets
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



17196
17197
17198
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 17196

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