WebhookDialogflowV3beta1 constructor
WebhookDialogflowV3beta1(
- String name, {
- WebhookDialogflowV3beta1Args? args,
- CustomResourceOptions? options,
Creates a new WebhookDialogflowV3beta1.
name The Pulumi resource name.
args Arguments used to configure this WebhookDialogflowV3beta1. The set of arguments for Webhook.
options Resource options controlling this resource's behavior.
Implementation
WebhookDialogflowV3beta1(
String name, {
WebhookDialogflowV3beta1Args? args,
pulumi.CustomResourceOptions? options,
}) : super(
'google-native:dialogflow/v3beta1:Webhook',
name,
pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
options ?? pulumi.CustomResourceOptions(),
) {
agentId = registerOutput<String>('agentId');
disabled = registerOutput<bool>('disabled');
displayName = registerOutput<String>('displayName');
genericWebService = registerOutput<GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceResponse>('genericWebService', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceResponse.fromMap((guardedValue as Map).cast<String, dynamic>()); });
location = registerOutput<String>('location');
this.name = registerOutput<String>('name');
project = registerOutput<String>('project');
serviceDirectory = registerOutput<GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfigResponse>('serviceDirectory', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfigResponse.fromMap((guardedValue as Map).cast<String, dynamic>()); });
timeout = registerOutput<String>('timeout');
}