Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
google-native.dialogflow/v3.getWebhook
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
Retrieves the specified webhook.
Using getWebhook
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getWebhook(args: GetWebhookArgs, opts?: InvokeOptions): Promise<GetWebhookResult>
function getWebhookOutput(args: GetWebhookOutputArgs, opts?: InvokeOptions): Output<GetWebhookResult>def get_webhook(agent_id: Optional[str] = None,
                location: Optional[str] = None,
                project: Optional[str] = None,
                webhook_id: Optional[str] = None,
                opts: Optional[InvokeOptions] = None) -> GetWebhookResult
def get_webhook_output(agent_id: Optional[pulumi.Input[str]] = None,
                location: Optional[pulumi.Input[str]] = None,
                project: Optional[pulumi.Input[str]] = None,
                webhook_id: Optional[pulumi.Input[str]] = None,
                opts: Optional[InvokeOptions] = None) -> Output[GetWebhookResult]func LookupWebhook(ctx *Context, args *LookupWebhookArgs, opts ...InvokeOption) (*LookupWebhookResult, error)
func LookupWebhookOutput(ctx *Context, args *LookupWebhookOutputArgs, opts ...InvokeOption) LookupWebhookResultOutput> Note: This function is named LookupWebhook in the Go SDK.
public static class GetWebhook 
{
    public static Task<GetWebhookResult> InvokeAsync(GetWebhookArgs args, InvokeOptions? opts = null)
    public static Output<GetWebhookResult> Invoke(GetWebhookInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetWebhookResult> getWebhook(GetWebhookArgs args, InvokeOptions options)
public static Output<GetWebhookResult> getWebhook(GetWebhookArgs args, InvokeOptions options)
fn::invoke:
  function: google-native:dialogflow/v3:getWebhook
  arguments:
    # arguments dictionaryThe following arguments are supported:
- agent_id str
- location str
- webhook_id str
- project str
getWebhook Result
The following output properties are available:
- Disabled bool
- Indicates whether the webhook is disabled.
- DisplayName string
- The human-readable name of the webhook, unique within the agent.
- GenericWeb Pulumi.Service Google Native. Dialogflow. V3. Outputs. Google Cloud Dialogflow Cx V3Webhook Generic Web Service Response 
- Configuration for a generic web service.
- Name string
- The unique identifier of the webhook. Required for the Webhooks.UpdateWebhook method. Webhooks.CreateWebhook populates the name automatically. Format: projects//locations//agents//webhooks/.
- ServiceDirectory Pulumi.Google Native. Dialogflow. V3. Outputs. Google Cloud Dialogflow Cx V3Webhook Service Directory Config Response 
- Configuration for a Service Directory service.
- Timeout string
- Webhook execution timeout. Execution is considered failed if Dialogflow doesn't receive a response from webhook at the end of the timeout period. Defaults to 5 seconds, maximum allowed timeout is 30 seconds.
- Disabled bool
- Indicates whether the webhook is disabled.
- DisplayName string
- The human-readable name of the webhook, unique within the agent.
- GenericWeb GoogleService Cloud Dialogflow Cx V3Webhook Generic Web Service Response 
- Configuration for a generic web service.
- Name string
- The unique identifier of the webhook. Required for the Webhooks.UpdateWebhook method. Webhooks.CreateWebhook populates the name automatically. Format: projects//locations//agents//webhooks/.
- ServiceDirectory GoogleCloud Dialogflow Cx V3Webhook Service Directory Config Response 
- Configuration for a Service Directory service.
- Timeout string
- Webhook execution timeout. Execution is considered failed if Dialogflow doesn't receive a response from webhook at the end of the timeout period. Defaults to 5 seconds, maximum allowed timeout is 30 seconds.
- disabled Boolean
- Indicates whether the webhook is disabled.
- displayName String
- The human-readable name of the webhook, unique within the agent.
- genericWeb GoogleService Cloud Dialogflow Cx V3Webhook Generic Web Service Response 
- Configuration for a generic web service.
- name String
- The unique identifier of the webhook. Required for the Webhooks.UpdateWebhook method. Webhooks.CreateWebhook populates the name automatically. Format: projects//locations//agents//webhooks/.
- serviceDirectory GoogleCloud Dialogflow Cx V3Webhook Service Directory Config Response 
- Configuration for a Service Directory service.
- timeout String
- Webhook execution timeout. Execution is considered failed if Dialogflow doesn't receive a response from webhook at the end of the timeout period. Defaults to 5 seconds, maximum allowed timeout is 30 seconds.
- disabled boolean
- Indicates whether the webhook is disabled.
- displayName string
- The human-readable name of the webhook, unique within the agent.
- genericWeb GoogleService Cloud Dialogflow Cx V3Webhook Generic Web Service Response 
- Configuration for a generic web service.
- name string
- The unique identifier of the webhook. Required for the Webhooks.UpdateWebhook method. Webhooks.CreateWebhook populates the name automatically. Format: projects//locations//agents//webhooks/.
- serviceDirectory GoogleCloud Dialogflow Cx V3Webhook Service Directory Config Response 
- Configuration for a Service Directory service.
- timeout string
- Webhook execution timeout. Execution is considered failed if Dialogflow doesn't receive a response from webhook at the end of the timeout period. Defaults to 5 seconds, maximum allowed timeout is 30 seconds.
- disabled bool
- Indicates whether the webhook is disabled.
- display_name str
- The human-readable name of the webhook, unique within the agent.
- generic_web_ Googleservice Cloud Dialogflow Cx V3Webhook Generic Web Service Response 
- Configuration for a generic web service.
- name str
- The unique identifier of the webhook. Required for the Webhooks.UpdateWebhook method. Webhooks.CreateWebhook populates the name automatically. Format: projects//locations//agents//webhooks/.
- service_directory GoogleCloud Dialogflow Cx V3Webhook Service Directory Config Response 
- Configuration for a Service Directory service.
- timeout str
- Webhook execution timeout. Execution is considered failed if Dialogflow doesn't receive a response from webhook at the end of the timeout period. Defaults to 5 seconds, maximum allowed timeout is 30 seconds.
- disabled Boolean
- Indicates whether the webhook is disabled.
- displayName String
- The human-readable name of the webhook, unique within the agent.
- genericWeb Property MapService 
- Configuration for a generic web service.
- name String
- The unique identifier of the webhook. Required for the Webhooks.UpdateWebhook method. Webhooks.CreateWebhook populates the name automatically. Format: projects//locations//agents//webhooks/.
- serviceDirectory Property Map
- Configuration for a Service Directory service.
- timeout String
- Webhook execution timeout. Execution is considered failed if Dialogflow doesn't receive a response from webhook at the end of the timeout period. Defaults to 5 seconds, maximum allowed timeout is 30 seconds.
Supporting Types
GoogleCloudDialogflowCxV3WebhookGenericWebServiceResponse        
- AllowedCa List<string>Certs 
- Optional. Specifies a list of allowed custom CA certificates (in DER format) for HTTPS verification. This overrides the default SSL trust store. If this is empty or unspecified, Dialogflow will use Google's default trust store to verify certificates. N.B. Make sure the HTTPS server certificates are signed with "subject alt name". For instance a certificate can be self-signed using the following command, openssl x509 -req -days 200 -in example.com.csr \ -signkey example.com.key \ -out example.com.crt \ -extfile <(printf "\nsubjectAltName='DNS:www.example.com'")
- HttpMethod string
- Optional. HTTP method for the flexible webhook calls. Standard webhook always uses POST.
- ParameterMapping Dictionary<string, string>
- Optional. Maps the values extracted from specific fields of the flexible webhook response into session parameters. - Key: session parameter name - Value: field path in the webhook response
- Password string
- The password for HTTP Basic authentication.
- RequestBody string
- Optional. Defines a custom JSON object as request body to send to flexible webhook.
- RequestHeaders Dictionary<string, string>
- The HTTP request headers to send together with webhook requests.
- Uri string
- The webhook URI for receiving POST requests. It must use https protocol.
- Username string
- The user name for HTTP Basic authentication.
- WebhookType string
- Optional. Type of the webhook.
- AllowedCa []stringCerts 
- Optional. Specifies a list of allowed custom CA certificates (in DER format) for HTTPS verification. This overrides the default SSL trust store. If this is empty or unspecified, Dialogflow will use Google's default trust store to verify certificates. N.B. Make sure the HTTPS server certificates are signed with "subject alt name". For instance a certificate can be self-signed using the following command, openssl x509 -req -days 200 -in example.com.csr \ -signkey example.com.key \ -out example.com.crt \ -extfile <(printf "\nsubjectAltName='DNS:www.example.com'")
- HttpMethod string
- Optional. HTTP method for the flexible webhook calls. Standard webhook always uses POST.
- ParameterMapping map[string]string
- Optional. Maps the values extracted from specific fields of the flexible webhook response into session parameters. - Key: session parameter name - Value: field path in the webhook response
- Password string
- The password for HTTP Basic authentication.
- RequestBody string
- Optional. Defines a custom JSON object as request body to send to flexible webhook.
- RequestHeaders map[string]string
- The HTTP request headers to send together with webhook requests.
- Uri string
- The webhook URI for receiving POST requests. It must use https protocol.
- Username string
- The user name for HTTP Basic authentication.
- WebhookType string
- Optional. Type of the webhook.
- allowedCa List<String>Certs 
- Optional. Specifies a list of allowed custom CA certificates (in DER format) for HTTPS verification. This overrides the default SSL trust store. If this is empty or unspecified, Dialogflow will use Google's default trust store to verify certificates. N.B. Make sure the HTTPS server certificates are signed with "subject alt name". For instance a certificate can be self-signed using the following command, openssl x509 -req -days 200 -in example.com.csr \ -signkey example.com.key \ -out example.com.crt \ -extfile <(printf "\nsubjectAltName='DNS:www.example.com'")
- httpMethod String
- Optional. HTTP method for the flexible webhook calls. Standard webhook always uses POST.
- parameterMapping Map<String,String>
- Optional. Maps the values extracted from specific fields of the flexible webhook response into session parameters. - Key: session parameter name - Value: field path in the webhook response
- password String
- The password for HTTP Basic authentication.
- requestBody String
- Optional. Defines a custom JSON object as request body to send to flexible webhook.
- requestHeaders Map<String,String>
- The HTTP request headers to send together with webhook requests.
- uri String
- The webhook URI for receiving POST requests. It must use https protocol.
- username String
- The user name for HTTP Basic authentication.
- webhookType String
- Optional. Type of the webhook.
- allowedCa string[]Certs 
- Optional. Specifies a list of allowed custom CA certificates (in DER format) for HTTPS verification. This overrides the default SSL trust store. If this is empty or unspecified, Dialogflow will use Google's default trust store to verify certificates. N.B. Make sure the HTTPS server certificates are signed with "subject alt name". For instance a certificate can be self-signed using the following command, openssl x509 -req -days 200 -in example.com.csr \ -signkey example.com.key \ -out example.com.crt \ -extfile <(printf "\nsubjectAltName='DNS:www.example.com'")
- httpMethod string
- Optional. HTTP method for the flexible webhook calls. Standard webhook always uses POST.
- parameterMapping {[key: string]: string}
- Optional. Maps the values extracted from specific fields of the flexible webhook response into session parameters. - Key: session parameter name - Value: field path in the webhook response
- password string
- The password for HTTP Basic authentication.
- requestBody string
- Optional. Defines a custom JSON object as request body to send to flexible webhook.
- requestHeaders {[key: string]: string}
- The HTTP request headers to send together with webhook requests.
- uri string
- The webhook URI for receiving POST requests. It must use https protocol.
- username string
- The user name for HTTP Basic authentication.
- webhookType string
- Optional. Type of the webhook.
- allowed_ca_ Sequence[str]certs 
- Optional. Specifies a list of allowed custom CA certificates (in DER format) for HTTPS verification. This overrides the default SSL trust store. If this is empty or unspecified, Dialogflow will use Google's default trust store to verify certificates. N.B. Make sure the HTTPS server certificates are signed with "subject alt name". For instance a certificate can be self-signed using the following command, openssl x509 -req -days 200 -in example.com.csr \ -signkey example.com.key \ -out example.com.crt \ -extfile <(printf "\nsubjectAltName='DNS:www.example.com'")
- http_method str
- Optional. HTTP method for the flexible webhook calls. Standard webhook always uses POST.
- parameter_mapping Mapping[str, str]
- Optional. Maps the values extracted from specific fields of the flexible webhook response into session parameters. - Key: session parameter name - Value: field path in the webhook response
- password str
- The password for HTTP Basic authentication.
- request_body str
- Optional. Defines a custom JSON object as request body to send to flexible webhook.
- request_headers Mapping[str, str]
- The HTTP request headers to send together with webhook requests.
- uri str
- The webhook URI for receiving POST requests. It must use https protocol.
- username str
- The user name for HTTP Basic authentication.
- webhook_type str
- Optional. Type of the webhook.
- allowedCa List<String>Certs 
- Optional. Specifies a list of allowed custom CA certificates (in DER format) for HTTPS verification. This overrides the default SSL trust store. If this is empty or unspecified, Dialogflow will use Google's default trust store to verify certificates. N.B. Make sure the HTTPS server certificates are signed with "subject alt name". For instance a certificate can be self-signed using the following command, openssl x509 -req -days 200 -in example.com.csr \ -signkey example.com.key \ -out example.com.crt \ -extfile <(printf "\nsubjectAltName='DNS:www.example.com'")
- httpMethod String
- Optional. HTTP method for the flexible webhook calls. Standard webhook always uses POST.
- parameterMapping Map<String>
- Optional. Maps the values extracted from specific fields of the flexible webhook response into session parameters. - Key: session parameter name - Value: field path in the webhook response
- password String
- The password for HTTP Basic authentication.
- requestBody String
- Optional. Defines a custom JSON object as request body to send to flexible webhook.
- requestHeaders Map<String>
- The HTTP request headers to send together with webhook requests.
- uri String
- The webhook URI for receiving POST requests. It must use https protocol.
- username String
- The user name for HTTP Basic authentication.
- webhookType String
- Optional. Type of the webhook.
GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfigResponse        
- GenericWeb Pulumi.Service Google Native. Dialogflow. V3. Inputs. Google Cloud Dialogflow Cx V3Webhook Generic Web Service Response 
- Generic Service configuration of this webhook.
- Service string
- The name of Service Directory service. Format: projects//locations//namespaces//services/.Location IDof the service directory must be the same as the location of the agent.
- GenericWeb GoogleService Cloud Dialogflow Cx V3Webhook Generic Web Service Response 
- Generic Service configuration of this webhook.
- Service string
- The name of Service Directory service. Format: projects//locations//namespaces//services/.Location IDof the service directory must be the same as the location of the agent.
- genericWeb GoogleService Cloud Dialogflow Cx V3Webhook Generic Web Service Response 
- Generic Service configuration of this webhook.
- service String
- The name of Service Directory service. Format: projects//locations//namespaces//services/.Location IDof the service directory must be the same as the location of the agent.
- genericWeb GoogleService Cloud Dialogflow Cx V3Webhook Generic Web Service Response 
- Generic Service configuration of this webhook.
- service string
- The name of Service Directory service. Format: projects//locations//namespaces//services/.Location IDof the service directory must be the same as the location of the agent.
- generic_web_ Googleservice Cloud Dialogflow Cx V3Webhook Generic Web Service Response 
- Generic Service configuration of this webhook.
- service str
- The name of Service Directory service. Format: projects//locations//namespaces//services/.Location IDof the service directory must be the same as the location of the agent.
- genericWeb Property MapService 
- Generic Service configuration of this webhook.
- service String
- The name of Service Directory service. Format: projects//locations//namespaces//services/.Location IDof the service directory must be the same as the location of the agent.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi