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