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.



17209
17210
17211
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 17209

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

Instance Attribute Details

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

Corresponds to the JSON property snippets



17207
17208
17209
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 17207

def snippets
  @snippets
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



17214
17215
17216
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 17214

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