getKnowledgeBaseDialogflowV2beta1 function
Future<GetKnowledgeBaseDialogflowV2beta1Result>
getKnowledgeBaseDialogflowV2beta1(
- GetKnowledgeBaseDialogflowV2beta1Args args, {
- InvokeOptions? options,
Retrieves the specified knowledge base. Note: The projects.agent.knowledgeBases resource is deprecated; only use projects.knowledgeBases.
args Arguments passed to this invoke. Arguments for getKnowledgeBase.
options Invoke options controlling this call.
Implementation
Future<GetKnowledgeBaseDialogflowV2beta1Result> getKnowledgeBaseDialogflowV2beta1(
GetKnowledgeBaseDialogflowV2beta1Args args, {
pulumi.InvokeOptions? options,
}) async {
final deployment = pulumi.Deployment.instance;
final result = await deployment.invoke<Map<String, dynamic>>(
'google-native:dialogflow/v2beta1:getKnowledgeBase',
args.toMap(),
options: pulumi.toDeploymentInvokeOptions(options),
);
return GetKnowledgeBaseDialogflowV2beta1Result.fromMap(result);
}