1. Packages
  2. Google Cloud Native
  3. API Docs
  4. dialogflow
  5. dialogflow/v3beta1
  6. getWebhook

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/v3beta1.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>
Copy
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]
Copy
func LookupWebhook(ctx *Context, args *LookupWebhookArgs, opts ...InvokeOption) (*LookupWebhookResult, error)
func LookupWebhookOutput(ctx *Context, args *LookupWebhookOutputArgs, opts ...InvokeOption) LookupWebhookResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetWebhookResult> getWebhook(GetWebhookArgs args, InvokeOptions options)
public static Output<GetWebhookResult> getWebhook(GetWebhookArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: google-native:dialogflow/v3beta1:getWebhook
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

AgentId This property is required. string
Location This property is required. string
WebhookId This property is required. string
Project string
AgentId This property is required. string
Location This property is required. string
WebhookId This property is required. string
Project string
agentId This property is required. String
location This property is required. String
webhookId This property is required. String
project String
agentId This property is required. string
location This property is required. string
webhookId This property is required. string
project string
agent_id This property is required. str
location This property is required. str
webhook_id This property is required. str
project str
agentId This property is required. String
location This property is required. String
webhookId This property is required. String
project String

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.
GenericWebService Pulumi.GoogleNative.Dialogflow.V3Beta1.Outputs.GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceResponse
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.GoogleNative.Dialogflow.V3Beta1.Outputs.GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfigResponse
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.
GenericWebService GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceResponse
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 GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfigResponse
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.
genericWebService GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceResponse
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 GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfigResponse
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.
genericWebService GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceResponse
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 GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfigResponse
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_service GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceResponse
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 GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfigResponse
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.
genericWebService Property Map
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

GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceResponse

AllowedCaCerts This property is required. List<string>
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 This property is required. string
Optional. HTTP method for the flexible webhook calls. Standard webhook always uses POST.
ParameterMapping This property is required. 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 This property is required. string
The password for HTTP Basic authentication.
RequestBody This property is required. string
Optional. Defines a custom JSON object as request body to send to flexible webhook.
RequestHeaders This property is required. Dictionary<string, string>
The HTTP request headers to send together with webhook requests.
Uri This property is required. string
The webhook URI for receiving POST requests. It must use https protocol.
Username This property is required. string
The user name for HTTP Basic authentication.
WebhookType This property is required. string
Optional. Type of the webhook.
AllowedCaCerts This property is required. []string
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 This property is required. string
Optional. HTTP method for the flexible webhook calls. Standard webhook always uses POST.
ParameterMapping This property is required. 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 This property is required. string
The password for HTTP Basic authentication.
RequestBody This property is required. string
Optional. Defines a custom JSON object as request body to send to flexible webhook.
RequestHeaders This property is required. map[string]string
The HTTP request headers to send together with webhook requests.
Uri This property is required. string
The webhook URI for receiving POST requests. It must use https protocol.
Username This property is required. string
The user name for HTTP Basic authentication.
WebhookType This property is required. string
Optional. Type of the webhook.
allowedCaCerts This property is required. List<String>
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 This property is required. String
Optional. HTTP method for the flexible webhook calls. Standard webhook always uses POST.
parameterMapping This property is required. 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 This property is required. String
The password for HTTP Basic authentication.
requestBody This property is required. String
Optional. Defines a custom JSON object as request body to send to flexible webhook.
requestHeaders This property is required. Map<String,String>
The HTTP request headers to send together with webhook requests.
uri This property is required. String
The webhook URI for receiving POST requests. It must use https protocol.
username This property is required. String
The user name for HTTP Basic authentication.
webhookType This property is required. String
Optional. Type of the webhook.
allowedCaCerts This property is required. string[]
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 This property is required. string
Optional. HTTP method for the flexible webhook calls. Standard webhook always uses POST.
parameterMapping This property is required. {[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 This property is required. string
The password for HTTP Basic authentication.
requestBody This property is required. string
Optional. Defines a custom JSON object as request body to send to flexible webhook.
requestHeaders This property is required. {[key: string]: string}
The HTTP request headers to send together with webhook requests.
uri This property is required. string
The webhook URI for receiving POST requests. It must use https protocol.
username This property is required. string
The user name for HTTP Basic authentication.
webhookType This property is required. string
Optional. Type of the webhook.
allowed_ca_certs This property is required. Sequence[str]
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 This property is required. str
Optional. HTTP method for the flexible webhook calls. Standard webhook always uses POST.
parameter_mapping This property is required. 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 This property is required. str
The password for HTTP Basic authentication.
request_body This property is required. str
Optional. Defines a custom JSON object as request body to send to flexible webhook.
request_headers This property is required. Mapping[str, str]
The HTTP request headers to send together with webhook requests.
uri This property is required. str
The webhook URI for receiving POST requests. It must use https protocol.
username This property is required. str
The user name for HTTP Basic authentication.
webhook_type This property is required. str
Optional. Type of the webhook.
allowedCaCerts This property is required. List<String>
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 This property is required. String
Optional. HTTP method for the flexible webhook calls. Standard webhook always uses POST.
parameterMapping This property is required. 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 This property is required. String
The password for HTTP Basic authentication.
requestBody This property is required. String
Optional. Defines a custom JSON object as request body to send to flexible webhook.
requestHeaders This property is required. Map<String>
The HTTP request headers to send together with webhook requests.
uri This property is required. String
The webhook URI for receiving POST requests. It must use https protocol.
username This property is required. String
The user name for HTTP Basic authentication.
webhookType This property is required. String
Optional. Type of the webhook.

GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfigResponse

GenericWebService This property is required. Pulumi.GoogleNative.Dialogflow.V3Beta1.Inputs.GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceResponse
Generic Service configuration of this webhook.
Service This property is required. string
The name of Service Directory service. Format: projects//locations//namespaces//services/. Location ID of the service directory must be the same as the location of the agent.
GenericWebService This property is required. GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceResponse
Generic Service configuration of this webhook.
Service This property is required. string
The name of Service Directory service. Format: projects//locations//namespaces//services/. Location ID of the service directory must be the same as the location of the agent.
genericWebService This property is required. GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceResponse
Generic Service configuration of this webhook.
service This property is required. String
The name of Service Directory service. Format: projects//locations//namespaces//services/. Location ID of the service directory must be the same as the location of the agent.
genericWebService This property is required. GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceResponse
Generic Service configuration of this webhook.
service This property is required. string
The name of Service Directory service. Format: projects//locations//namespaces//services/. Location ID of the service directory must be the same as the location of the agent.
generic_web_service This property is required. GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceResponse
Generic Service configuration of this webhook.
service This property is required. str
The name of Service Directory service. Format: projects//locations//namespaces//services/. Location ID of the service directory must be the same as the location of the agent.
genericWebService This property is required. Property Map
Generic Service configuration of this webhook.
service This property is required. String
The name of Service Directory service. Format: projects//locations//namespaces//services/. Location ID of 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