getKnowledgeBase function
Future<GetKnowledgeBaseResult>
getKnowledgeBase(
- GetKnowledgeBaseArgs args, {
- InvokeOptions? options,
Retrieves the specified knowledge base.
args Arguments passed to this invoke. Arguments for getKnowledgeBase.
options Invoke options controlling this call.
Implementation
Future<GetKnowledgeBaseResult> getKnowledgeBase(
GetKnowledgeBaseArgs args, {
pulumi.InvokeOptions? options,
}) async {
final deployment = pulumi.Deployment.instance;
final result = await deployment.invoke<Map<String, dynamic>>(
'google-native:dialogflow/v2:getKnowledgeBase',
args.toMap(),
options: pulumi.toDeploymentInvokeOptions(options),
);
return GetKnowledgeBaseResult.fromMap(result);
}