Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.dialogflow/v3beta1.Webhook
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Creates a webhook in the specified agent.
Create Webhook Resource
new Webhook(name: string, args: WebhookArgs, opts?: CustomResourceOptions);
@overload
def Webhook(resource_name: str,
opts: Optional[ResourceOptions] = None,
agent_id: Optional[str] = None,
disabled: Optional[bool] = None,
display_name: Optional[str] = None,
generic_web_service: Optional[GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceArgs] = None,
location: Optional[str] = None,
name: Optional[str] = None,
project: Optional[str] = None,
service_directory: Optional[GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfigArgs] = None,
timeout: Optional[str] = None)
@overload
def Webhook(resource_name: str,
args: WebhookArgs,
opts: Optional[ResourceOptions] = None)
func NewWebhook(ctx *Context, name string, args WebhookArgs, opts ...ResourceOption) (*Webhook, error)
public Webhook(string name, WebhookArgs args, CustomResourceOptions? opts = null)
public Webhook(String name, WebhookArgs args)
public Webhook(String name, WebhookArgs args, CustomResourceOptions options)
type: google-native:dialogflow/v3beta1:Webhook
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WebhookArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args WebhookArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args WebhookArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WebhookArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args WebhookArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Webhook Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Webhook resource accepts the following input properties:
- Agent
Id string - Display
Name string The human-readable name of the webhook, unique within the agent.
- Disabled bool
Indicates whether the webhook is disabled.
- Generic
Web Pulumi.Service Google Native. Dialogflow. V3Beta1. Inputs. Google Cloud Dialogflow Cx V3beta1Webhook Generic Web Service Configuration for a generic web service.
- Location string
- 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/
.- Project string
- Service
Directory Pulumi.Google Native. Dialogflow. V3Beta1. Inputs. Google Cloud Dialogflow Cx V3beta1Webhook Service Directory Config 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.
- Agent
Id string - Display
Name string The human-readable name of the webhook, unique within the agent.
- Disabled bool
Indicates whether the webhook is disabled.
- Generic
Web GoogleService Cloud Dialogflow Cx V3beta1Webhook Generic Web Service Args Configuration for a generic web service.
- Location string
- 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/
.- Project string
- Service
Directory GoogleCloud Dialogflow Cx V3beta1Webhook Service Directory Config Args 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.
- agent
Id String - display
Name String The human-readable name of the webhook, unique within the agent.
- disabled Boolean
Indicates whether the webhook is disabled.
- generic
Web GoogleService Cloud Dialogflow Cx V3beta1Webhook Generic Web Service Configuration for a generic web service.
- location String
- 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/
.- project String
- service
Directory GoogleCloud Dialogflow Cx V3beta1Webhook Service Directory Config 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.
- agent
Id string - display
Name string The human-readable name of the webhook, unique within the agent.
- disabled boolean
Indicates whether the webhook is disabled.
- generic
Web GoogleService Cloud Dialogflow Cx V3beta1Webhook Generic Web Service Configuration for a generic web service.
- location string
- 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/
.- project string
- service
Directory GoogleCloud Dialogflow Cx V3beta1Webhook Service Directory Config 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.
- agent_
id str - display_
name str The human-readable name of the webhook, unique within the agent.
- disabled bool
Indicates whether the webhook is disabled.
- generic_
web_ Googleservice Cloud Dialogflow Cx V3beta1Webhook Generic Web Service Args Configuration for a generic web service.
- location str
- 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/
.- project str
- service_
directory GoogleCloud Dialogflow Cx V3beta1Webhook Service Directory Config Args 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.
- agent
Id String - display
Name String The human-readable name of the webhook, unique within the agent.
- disabled Boolean
Indicates whether the webhook is disabled.
- generic
Web Property MapService Configuration for a generic web service.
- location String
- 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/
.- project String
- service
Directory 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.
Outputs
All input properties are implicitly available as output properties. Additionally, the Webhook resource produces the following output properties:
- Id string
The provider-assigned unique ID for this managed resource.
- Id string
The provider-assigned unique ID for this managed resource.
- id String
The provider-assigned unique ID for this managed resource.
- id string
The provider-assigned unique ID for this managed resource.
- id str
The provider-assigned unique ID for this managed resource.
- id String
The provider-assigned unique ID for this managed resource.
Supporting Types
GoogleCloudDialogflowCxV3beta1WebhookGenericWebService, GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceArgs
- Uri string
The webhook URI for receiving POST requests. It must use https protocol.
- Allowed
Ca 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'")
- Http
Method Pulumi.Google Native. Dialogflow. V3Beta1. Google Cloud Dialogflow Cx V3beta1Webhook Generic Web Service Http Method Optional. HTTP method for the flexible webhook calls. Standard webhook always uses POST.
- Parameter
Mapping 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.
- Request
Body string Optional. Defines a custom JSON object as request body to send to flexible webhook.
- Request
Headers Dictionary<string, string> The HTTP request headers to send together with webhook requests.
- Username string
The user name for HTTP Basic authentication.
- Webhook
Type Pulumi.Google Native. Dialogflow. V3Beta1. Google Cloud Dialogflow Cx V3beta1Webhook Generic Web Service Webhook Type Optional. Type of the webhook.
- Uri string
The webhook URI for receiving POST requests. It must use https protocol.
- Allowed
Ca []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'")
- Http
Method GoogleCloud Dialogflow Cx V3beta1Webhook Generic Web Service Http Method Optional. HTTP method for the flexible webhook calls. Standard webhook always uses POST.
- Parameter
Mapping 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.
- Request
Body string Optional. Defines a custom JSON object as request body to send to flexible webhook.
- Request
Headers map[string]string The HTTP request headers to send together with webhook requests.
- Username string
The user name for HTTP Basic authentication.
- Webhook
Type GoogleCloud Dialogflow Cx V3beta1Webhook Generic Web Service Webhook Type Optional. Type of the webhook.
- uri String
The webhook URI for receiving POST requests. It must use https protocol.
- allowed
Ca 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'")
- http
Method GoogleCloud Dialogflow Cx V3beta1Webhook Generic Web Service Http Method Optional. HTTP method for the flexible webhook calls. Standard webhook always uses POST.
- parameter
Mapping 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.
- request
Body String Optional. Defines a custom JSON object as request body to send to flexible webhook.
- request
Headers Map<String,String> The HTTP request headers to send together with webhook requests.
- username String
The user name for HTTP Basic authentication.
- webhook
Type GoogleCloud Dialogflow Cx V3beta1Webhook Generic Web Service Webhook Type Optional. Type of the webhook.
- uri string
The webhook URI for receiving POST requests. It must use https protocol.
- allowed
Ca 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'")
- http
Method GoogleCloud Dialogflow Cx V3beta1Webhook Generic Web Service Http Method Optional. HTTP method for the flexible webhook calls. Standard webhook always uses POST.
- parameter
Mapping {[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.
- request
Body string Optional. Defines a custom JSON object as request body to send to flexible webhook.
- request
Headers {[key: string]: string} The HTTP request headers to send together with webhook requests.
- username string
The user name for HTTP Basic authentication.
- webhook
Type GoogleCloud Dialogflow Cx V3beta1Webhook Generic Web Service Webhook Type Optional. Type of the webhook.
- uri str
The webhook URI for receiving POST requests. It must use https protocol.
- 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 GoogleCloud Dialogflow Cx V3beta1Webhook Generic Web Service Http Method 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.
- username str
The user name for HTTP Basic authentication.
- webhook_
type GoogleCloud Dialogflow Cx V3beta1Webhook Generic Web Service Webhook Type Optional. Type of the webhook.
- uri String
The webhook URI for receiving POST requests. It must use https protocol.
- allowed
Ca 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'")
- http
Method "HTTP_METHOD_UNSPECIFIED" | "POST" | "GET" | "HEAD" | "PUT" | "DELETE" | "PATCH" | "OPTIONS" Optional. HTTP method for the flexible webhook calls. Standard webhook always uses POST.
- parameter
Mapping 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.
- request
Body String Optional. Defines a custom JSON object as request body to send to flexible webhook.
- request
Headers Map<String> The HTTP request headers to send together with webhook requests.
- username String
The user name for HTTP Basic authentication.
- webhook
Type "WEBHOOK_TYPE_UNSPECIFIED" | "STANDARD" | "FLEXIBLE" Optional. Type of the webhook.
GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceHttpMethod, GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceHttpMethodArgs
- Http
Method Unspecified - HTTP_METHOD_UNSPECIFIED
HTTP method not specified.
- Post
- POST
HTTP POST Method.
- Get
- GET
HTTP GET Method.
- Head
- HEAD
HTTP HEAD Method.
- Put
- PUT
HTTP PUT Method.
- Delete
- DELETE
HTTP DELETE Method.
- Patch
- PATCH
HTTP PATCH Method.
- Options
- OPTIONS
HTTP OPTIONS Method.
- Google
Cloud Dialogflow Cx V3beta1Webhook Generic Web Service Http Method Http Method Unspecified - HTTP_METHOD_UNSPECIFIED
HTTP method not specified.
- Google
Cloud Dialogflow Cx V3beta1Webhook Generic Web Service Http Method Post - POST
HTTP POST Method.
- Google
Cloud Dialogflow Cx V3beta1Webhook Generic Web Service Http Method Get - GET
HTTP GET Method.
- Google
Cloud Dialogflow Cx V3beta1Webhook Generic Web Service Http Method Head - HEAD
HTTP HEAD Method.
- Google
Cloud Dialogflow Cx V3beta1Webhook Generic Web Service Http Method Put - PUT
HTTP PUT Method.
- Google
Cloud Dialogflow Cx V3beta1Webhook Generic Web Service Http Method Delete - DELETE
HTTP DELETE Method.
- Google
Cloud Dialogflow Cx V3beta1Webhook Generic Web Service Http Method Patch - PATCH
HTTP PATCH Method.
- Google
Cloud Dialogflow Cx V3beta1Webhook Generic Web Service Http Method Options - OPTIONS
HTTP OPTIONS Method.
- Http
Method Unspecified - HTTP_METHOD_UNSPECIFIED
HTTP method not specified.
- Post
- POST
HTTP POST Method.
- Get
- GET
HTTP GET Method.
- Head
- HEAD
HTTP HEAD Method.
- Put
- PUT
HTTP PUT Method.
- Delete
- DELETE
HTTP DELETE Method.
- Patch
- PATCH
HTTP PATCH Method.
- Options
- OPTIONS
HTTP OPTIONS Method.
- Http
Method Unspecified - HTTP_METHOD_UNSPECIFIED
HTTP method not specified.
- Post
- POST
HTTP POST Method.
- Get
- GET
HTTP GET Method.
- Head
- HEAD
HTTP HEAD Method.
- Put
- PUT
HTTP PUT Method.
- Delete
- DELETE
HTTP DELETE Method.
- Patch
- PATCH
HTTP PATCH Method.
- Options
- OPTIONS
HTTP OPTIONS Method.
- HTTP_METHOD_UNSPECIFIED
- HTTP_METHOD_UNSPECIFIED
HTTP method not specified.
- POST
- POST
HTTP POST Method.
- GET
- GET
HTTP GET Method.
- HEAD
- HEAD
HTTP HEAD Method.
- PUT
- PUT
HTTP PUT Method.
- DELETE
- DELETE
HTTP DELETE Method.
- PATCH
- PATCH
HTTP PATCH Method.
- OPTIONS
- OPTIONS
HTTP OPTIONS Method.
- "HTTP_METHOD_UNSPECIFIED"
- HTTP_METHOD_UNSPECIFIED
HTTP method not specified.
- "POST"
- POST
HTTP POST Method.
- "GET"
- GET
HTTP GET Method.
- "HEAD"
- HEAD
HTTP HEAD Method.
- "PUT"
- PUT
HTTP PUT Method.
- "DELETE"
- DELETE
HTTP DELETE Method.
- "PATCH"
- PATCH
HTTP PATCH Method.
- "OPTIONS"
- OPTIONS
HTTP OPTIONS Method.
GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceResponse, GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceResponseArgs
- Allowed
Ca 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'")
- Http
Method string Optional. HTTP method for the flexible webhook calls. Standard webhook always uses POST.
- Parameter
Mapping 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.
- Request
Body string Optional. Defines a custom JSON object as request body to send to flexible webhook.
- Request
Headers 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.
- Webhook
Type string Optional. Type of the webhook.
- Allowed
Ca []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'")
- Http
Method string Optional. HTTP method for the flexible webhook calls. Standard webhook always uses POST.
- Parameter
Mapping 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.
- Request
Body string Optional. Defines a custom JSON object as request body to send to flexible webhook.
- Request
Headers 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.
- Webhook
Type string Optional. Type of the webhook.
- allowed
Ca 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'")
- http
Method String Optional. HTTP method for the flexible webhook calls. Standard webhook always uses POST.
- parameter
Mapping 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.
- request
Body String Optional. Defines a custom JSON object as request body to send to flexible webhook.
- request
Headers 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.
- webhook
Type String Optional. Type of the webhook.
- allowed
Ca 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'")
- http
Method string Optional. HTTP method for the flexible webhook calls. Standard webhook always uses POST.
- parameter
Mapping {[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.
- request
Body string Optional. Defines a custom JSON object as request body to send to flexible webhook.
- request
Headers {[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.
- webhook
Type 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.
- allowed
Ca 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'")
- http
Method String Optional. HTTP method for the flexible webhook calls. Standard webhook always uses POST.
- parameter
Mapping 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.
- request
Body String Optional. Defines a custom JSON object as request body to send to flexible webhook.
- request
Headers 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.
- webhook
Type String Optional. Type of the webhook.
GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceWebhookType, GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceWebhookTypeArgs
- Webhook
Type Unspecified - WEBHOOK_TYPE_UNSPECIFIED
Default value. This value is unused.
- Standard
- STANDARD
Represents a standard webhook.
- Flexible
- FLEXIBLE
Represents a flexible webhook.
- Google
Cloud Dialogflow Cx V3beta1Webhook Generic Web Service Webhook Type Webhook Type Unspecified - WEBHOOK_TYPE_UNSPECIFIED
Default value. This value is unused.
- Google
Cloud Dialogflow Cx V3beta1Webhook Generic Web Service Webhook Type Standard - STANDARD
Represents a standard webhook.
- Google
Cloud Dialogflow Cx V3beta1Webhook Generic Web Service Webhook Type Flexible - FLEXIBLE
Represents a flexible webhook.
- Webhook
Type Unspecified - WEBHOOK_TYPE_UNSPECIFIED
Default value. This value is unused.
- Standard
- STANDARD
Represents a standard webhook.
- Flexible
- FLEXIBLE
Represents a flexible webhook.
- Webhook
Type Unspecified - WEBHOOK_TYPE_UNSPECIFIED
Default value. This value is unused.
- Standard
- STANDARD
Represents a standard webhook.
- Flexible
- FLEXIBLE
Represents a flexible webhook.
- WEBHOOK_TYPE_UNSPECIFIED
- WEBHOOK_TYPE_UNSPECIFIED
Default value. This value is unused.
- STANDARD
- STANDARD
Represents a standard webhook.
- FLEXIBLE
- FLEXIBLE
Represents a flexible webhook.
- "WEBHOOK_TYPE_UNSPECIFIED"
- WEBHOOK_TYPE_UNSPECIFIED
Default value. This value is unused.
- "STANDARD"
- STANDARD
Represents a standard webhook.
- "FLEXIBLE"
- FLEXIBLE
Represents a flexible webhook.
GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig, GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfigArgs
- Service 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 Pulumi.Service Google Native. Dialogflow. V3Beta1. Inputs. Google Cloud Dialogflow Cx V3beta1Webhook Generic Web Service Generic Service configuration of this webhook.
- Service 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 GoogleService Cloud Dialogflow Cx V3beta1Webhook Generic Web Service Generic Service configuration of this webhook.
- service 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 GoogleService Cloud Dialogflow Cx V3beta1Webhook Generic Web Service Generic Service configuration of this webhook.
- service 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 GoogleService Cloud Dialogflow Cx V3beta1Webhook Generic Web Service Generic Service configuration of this webhook.
- service 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.- generic_
web_ Googleservice Cloud Dialogflow Cx V3beta1Webhook Generic Web Service Generic Service configuration of this webhook.
- service 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 Property MapService Generic Service configuration of this webhook.
GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfigResponse, GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfigResponseArgs
- Generic
Web Pulumi.Service Google Native. Dialogflow. V3Beta1. Inputs. Google Cloud Dialogflow Cx V3beta1Webhook Generic Web Service Response Generic Service configuration of this webhook.
- Service 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 GoogleService Cloud Dialogflow Cx V3beta1Webhook Generic Web Service Response Generic Service configuration of this webhook.
- Service 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 GoogleService Cloud Dialogflow Cx V3beta1Webhook Generic Web Service Response Generic Service configuration of this webhook.
- service 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 GoogleService Cloud Dialogflow Cx V3beta1Webhook Generic Web Service Response Generic Service configuration of this webhook.
- service 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_ Googleservice Cloud Dialogflow Cx V3beta1Webhook Generic Web Service Response Generic Service configuration of this webhook.
- service 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.
- generic
Web Property MapService Generic Service configuration of this webhook.
- service 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.