Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.dialogflow/v3.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
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Webhook(name: string, args: WebhookArgs, opts?: CustomResourceOptions);
@overload
def Webhook(resource_name: str,
args: WebhookArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Webhook(resource_name: str,
opts: Optional[ResourceOptions] = None,
agent_id: Optional[str] = None,
display_name: Optional[str] = None,
disabled: Optional[bool] = None,
generic_web_service: Optional[GoogleCloudDialogflowCxV3WebhookGenericWebServiceArgs] = None,
location: Optional[str] = None,
name: Optional[str] = None,
project: Optional[str] = None,
service_directory: Optional[GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfigArgs] = None,
timeout: Optional[str] = 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/v3:Webhook
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- 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.
Constructor example
The following reference example uses placeholder values for all input properties.
var webhookResource = new GoogleNative.Dialogflow.V3.Webhook("webhookResource", new()
{
AgentId = "string",
DisplayName = "string",
Disabled = false,
GenericWebService = new GoogleNative.Dialogflow.V3.Inputs.GoogleCloudDialogflowCxV3WebhookGenericWebServiceArgs
{
Uri = "string",
AllowedCaCerts = new[]
{
"string",
},
HttpMethod = GoogleNative.Dialogflow.V3.GoogleCloudDialogflowCxV3WebhookGenericWebServiceHttpMethod.HttpMethodUnspecified,
ParameterMapping =
{
{ "string", "string" },
},
Password = "string",
RequestBody = "string",
RequestHeaders =
{
{ "string", "string" },
},
Username = "string",
WebhookType = GoogleNative.Dialogflow.V3.GoogleCloudDialogflowCxV3WebhookGenericWebServiceWebhookType.WebhookTypeUnspecified,
},
Location = "string",
Name = "string",
Project = "string",
ServiceDirectory = new GoogleNative.Dialogflow.V3.Inputs.GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfigArgs
{
Service = "string",
GenericWebService = new GoogleNative.Dialogflow.V3.Inputs.GoogleCloudDialogflowCxV3WebhookGenericWebServiceArgs
{
Uri = "string",
AllowedCaCerts = new[]
{
"string",
},
HttpMethod = GoogleNative.Dialogflow.V3.GoogleCloudDialogflowCxV3WebhookGenericWebServiceHttpMethod.HttpMethodUnspecified,
ParameterMapping =
{
{ "string", "string" },
},
Password = "string",
RequestBody = "string",
RequestHeaders =
{
{ "string", "string" },
},
Username = "string",
WebhookType = GoogleNative.Dialogflow.V3.GoogleCloudDialogflowCxV3WebhookGenericWebServiceWebhookType.WebhookTypeUnspecified,
},
},
Timeout = "string",
});
example, err := dialogflowv3.NewWebhook(ctx, "webhookResource", &dialogflowv3.WebhookArgs{
AgentId: pulumi.String("string"),
DisplayName: pulumi.String("string"),
Disabled: pulumi.Bool(false),
GenericWebService: &dialogflow.GoogleCloudDialogflowCxV3WebhookGenericWebServiceArgs{
Uri: pulumi.String("string"),
AllowedCaCerts: pulumi.StringArray{
pulumi.String("string"),
},
HttpMethod: dialogflowv3.GoogleCloudDialogflowCxV3WebhookGenericWebServiceHttpMethodHttpMethodUnspecified,
ParameterMapping: pulumi.StringMap{
"string": pulumi.String("string"),
},
Password: pulumi.String("string"),
RequestBody: pulumi.String("string"),
RequestHeaders: pulumi.StringMap{
"string": pulumi.String("string"),
},
Username: pulumi.String("string"),
WebhookType: dialogflowv3.GoogleCloudDialogflowCxV3WebhookGenericWebServiceWebhookTypeWebhookTypeUnspecified,
},
Location: pulumi.String("string"),
Name: pulumi.String("string"),
Project: pulumi.String("string"),
ServiceDirectory: &dialogflow.GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfigArgs{
Service: pulumi.String("string"),
GenericWebService: &dialogflow.GoogleCloudDialogflowCxV3WebhookGenericWebServiceArgs{
Uri: pulumi.String("string"),
AllowedCaCerts: pulumi.StringArray{
pulumi.String("string"),
},
HttpMethod: dialogflowv3.GoogleCloudDialogflowCxV3WebhookGenericWebServiceHttpMethodHttpMethodUnspecified,
ParameterMapping: pulumi.StringMap{
"string": pulumi.String("string"),
},
Password: pulumi.String("string"),
RequestBody: pulumi.String("string"),
RequestHeaders: pulumi.StringMap{
"string": pulumi.String("string"),
},
Username: pulumi.String("string"),
WebhookType: dialogflowv3.GoogleCloudDialogflowCxV3WebhookGenericWebServiceWebhookTypeWebhookTypeUnspecified,
},
},
Timeout: pulumi.String("string"),
})
var webhookResource = new Webhook("webhookResource", WebhookArgs.builder()
.agentId("string")
.displayName("string")
.disabled(false)
.genericWebService(GoogleCloudDialogflowCxV3WebhookGenericWebServiceArgs.builder()
.uri("string")
.allowedCaCerts("string")
.httpMethod("HTTP_METHOD_UNSPECIFIED")
.parameterMapping(Map.of("string", "string"))
.password("string")
.requestBody("string")
.requestHeaders(Map.of("string", "string"))
.username("string")
.webhookType("WEBHOOK_TYPE_UNSPECIFIED")
.build())
.location("string")
.name("string")
.project("string")
.serviceDirectory(GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfigArgs.builder()
.service("string")
.genericWebService(GoogleCloudDialogflowCxV3WebhookGenericWebServiceArgs.builder()
.uri("string")
.allowedCaCerts("string")
.httpMethod("HTTP_METHOD_UNSPECIFIED")
.parameterMapping(Map.of("string", "string"))
.password("string")
.requestBody("string")
.requestHeaders(Map.of("string", "string"))
.username("string")
.webhookType("WEBHOOK_TYPE_UNSPECIFIED")
.build())
.build())
.timeout("string")
.build());
webhook_resource = google_native.dialogflow.v3.Webhook("webhookResource",
agent_id="string",
display_name="string",
disabled=False,
generic_web_service=google_native.dialogflow.v3.GoogleCloudDialogflowCxV3WebhookGenericWebServiceArgs(
uri="string",
allowed_ca_certs=["string"],
http_method=google_native.dialogflow.v3.GoogleCloudDialogflowCxV3WebhookGenericWebServiceHttpMethod.HTTP_METHOD_UNSPECIFIED,
parameter_mapping={
"string": "string",
},
password="string",
request_body="string",
request_headers={
"string": "string",
},
username="string",
webhook_type=google_native.dialogflow.v3.GoogleCloudDialogflowCxV3WebhookGenericWebServiceWebhookType.WEBHOOK_TYPE_UNSPECIFIED,
),
location="string",
name="string",
project="string",
service_directory=google_native.dialogflow.v3.GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfigArgs(
service="string",
generic_web_service=google_native.dialogflow.v3.GoogleCloudDialogflowCxV3WebhookGenericWebServiceArgs(
uri="string",
allowed_ca_certs=["string"],
http_method=google_native.dialogflow.v3.GoogleCloudDialogflowCxV3WebhookGenericWebServiceHttpMethod.HTTP_METHOD_UNSPECIFIED,
parameter_mapping={
"string": "string",
},
password="string",
request_body="string",
request_headers={
"string": "string",
},
username="string",
webhook_type=google_native.dialogflow.v3.GoogleCloudDialogflowCxV3WebhookGenericWebServiceWebhookType.WEBHOOK_TYPE_UNSPECIFIED,
),
),
timeout="string")
const webhookResource = new google_native.dialogflow.v3.Webhook("webhookResource", {
agentId: "string",
displayName: "string",
disabled: false,
genericWebService: {
uri: "string",
allowedCaCerts: ["string"],
httpMethod: google_native.dialogflow.v3.GoogleCloudDialogflowCxV3WebhookGenericWebServiceHttpMethod.HttpMethodUnspecified,
parameterMapping: {
string: "string",
},
password: "string",
requestBody: "string",
requestHeaders: {
string: "string",
},
username: "string",
webhookType: google_native.dialogflow.v3.GoogleCloudDialogflowCxV3WebhookGenericWebServiceWebhookType.WebhookTypeUnspecified,
},
location: "string",
name: "string",
project: "string",
serviceDirectory: {
service: "string",
genericWebService: {
uri: "string",
allowedCaCerts: ["string"],
httpMethod: google_native.dialogflow.v3.GoogleCloudDialogflowCxV3WebhookGenericWebServiceHttpMethod.HttpMethodUnspecified,
parameterMapping: {
string: "string",
},
password: "string",
requestBody: "string",
requestHeaders: {
string: "string",
},
username: "string",
webhookType: google_native.dialogflow.v3.GoogleCloudDialogflowCxV3WebhookGenericWebServiceWebhookType.WebhookTypeUnspecified,
},
},
timeout: "string",
});
type: google-native:dialogflow/v3:Webhook
properties:
agentId: string
disabled: false
displayName: string
genericWebService:
allowedCaCerts:
- string
httpMethod: HTTP_METHOD_UNSPECIFIED
parameterMapping:
string: string
password: string
requestBody: string
requestHeaders:
string: string
uri: string
username: string
webhookType: WEBHOOK_TYPE_UNSPECIFIED
location: string
name: string
project: string
serviceDirectory:
genericWebService:
allowedCaCerts:
- string
httpMethod: HTTP_METHOD_UNSPECIFIED
parameterMapping:
string: string
password: string
requestBody: string
requestHeaders:
string: string
uri: string
username: string
webhookType: WEBHOOK_TYPE_UNSPECIFIED
service: string
timeout: string
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. V3. Inputs. Google Cloud Dialogflow Cx V3Webhook 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. V3. Inputs. Google Cloud Dialogflow Cx V3Webhook 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 V3Webhook 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 V3Webhook 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 V3Webhook 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 V3Webhook 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 V3Webhook 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 V3Webhook 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 V3Webhook 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 V3Webhook 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
GoogleCloudDialogflowCxV3WebhookGenericWebService, GoogleCloudDialogflowCxV3WebhookGenericWebServiceArgs
- 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. V3. Google Cloud Dialogflow Cx V3Webhook 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. V3. Google Cloud Dialogflow Cx V3Webhook 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 V3Webhook 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 V3Webhook 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 V3Webhook 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 V3Webhook 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 V3Webhook 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 V3Webhook 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 V3Webhook 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 V3Webhook 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.
GoogleCloudDialogflowCxV3WebhookGenericWebServiceHttpMethod, GoogleCloudDialogflowCxV3WebhookGenericWebServiceHttpMethodArgs
- Http
Method Unspecified - HTTP_METHOD_UNSPECIFIEDHTTP method not specified.
- Post
- POSTHTTP POST Method.
- Get
- GETHTTP GET Method.
- Head
- HEADHTTP HEAD Method.
- Put
- PUTHTTP PUT Method.
- Delete
- DELETEHTTP DELETE Method.
- Patch
- PATCHHTTP PATCH Method.
- Options
- OPTIONSHTTP OPTIONS Method.
- Google
Cloud Dialogflow Cx V3Webhook Generic Web Service Http Method Http Method Unspecified - HTTP_METHOD_UNSPECIFIEDHTTP method not specified.
- Google
Cloud Dialogflow Cx V3Webhook Generic Web Service Http Method Post - POSTHTTP POST Method.
- Google
Cloud Dialogflow Cx V3Webhook Generic Web Service Http Method Get - GETHTTP GET Method.
- Google
Cloud Dialogflow Cx V3Webhook Generic Web Service Http Method Head - HEADHTTP HEAD Method.
- Google
Cloud Dialogflow Cx V3Webhook Generic Web Service Http Method Put - PUTHTTP PUT Method.
- Google
Cloud Dialogflow Cx V3Webhook Generic Web Service Http Method Delete - DELETEHTTP DELETE Method.
- Google
Cloud Dialogflow Cx V3Webhook Generic Web Service Http Method Patch - PATCHHTTP PATCH Method.
- Google
Cloud Dialogflow Cx V3Webhook Generic Web Service Http Method Options - OPTIONSHTTP OPTIONS Method.
- Http
Method Unspecified - HTTP_METHOD_UNSPECIFIEDHTTP method not specified.
- Post
- POSTHTTP POST Method.
- Get
- GETHTTP GET Method.
- Head
- HEADHTTP HEAD Method.
- Put
- PUTHTTP PUT Method.
- Delete
- DELETEHTTP DELETE Method.
- Patch
- PATCHHTTP PATCH Method.
- Options
- OPTIONSHTTP OPTIONS Method.
- Http
Method Unspecified - HTTP_METHOD_UNSPECIFIEDHTTP method not specified.
- Post
- POSTHTTP POST Method.
- Get
- GETHTTP GET Method.
- Head
- HEADHTTP HEAD Method.
- Put
- PUTHTTP PUT Method.
- Delete
- DELETEHTTP DELETE Method.
- Patch
- PATCHHTTP PATCH Method.
- Options
- OPTIONSHTTP OPTIONS Method.
- HTTP_METHOD_UNSPECIFIED
- HTTP_METHOD_UNSPECIFIEDHTTP method not specified.
- POST
- POSTHTTP POST Method.
- GET
- GETHTTP GET Method.
- HEAD
- HEADHTTP HEAD Method.
- PUT
- PUTHTTP PUT Method.
- DELETE
- DELETEHTTP DELETE Method.
- PATCH
- PATCHHTTP PATCH Method.
- OPTIONS
- OPTIONSHTTP OPTIONS Method.
- "HTTP_METHOD_UNSPECIFIED"
- HTTP_METHOD_UNSPECIFIEDHTTP method not specified.
- "POST"
- POSTHTTP POST Method.
- "GET"
- GETHTTP GET Method.
- "HEAD"
- HEADHTTP HEAD Method.
- "PUT"
- PUTHTTP PUT Method.
- "DELETE"
- DELETEHTTP DELETE Method.
- "PATCH"
- PATCHHTTP PATCH Method.
- "OPTIONS"
- OPTIONSHTTP OPTIONS Method.
GoogleCloudDialogflowCxV3WebhookGenericWebServiceResponse, GoogleCloudDialogflowCxV3WebhookGenericWebServiceResponseArgs
- 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.
GoogleCloudDialogflowCxV3WebhookGenericWebServiceWebhookType, GoogleCloudDialogflowCxV3WebhookGenericWebServiceWebhookTypeArgs
- Webhook
Type Unspecified - WEBHOOK_TYPE_UNSPECIFIEDDefault value. This value is unused.
- Standard
- STANDARDRepresents a standard webhook.
- Flexible
- FLEXIBLERepresents a flexible webhook.
- Google
Cloud Dialogflow Cx V3Webhook Generic Web Service Webhook Type Webhook Type Unspecified - WEBHOOK_TYPE_UNSPECIFIEDDefault value. This value is unused.
- Google
Cloud Dialogflow Cx V3Webhook Generic Web Service Webhook Type Standard - STANDARDRepresents a standard webhook.
- Google
Cloud Dialogflow Cx V3Webhook Generic Web Service Webhook Type Flexible - FLEXIBLERepresents a flexible webhook.
- Webhook
Type Unspecified - WEBHOOK_TYPE_UNSPECIFIEDDefault value. This value is unused.
- Standard
- STANDARDRepresents a standard webhook.
- Flexible
- FLEXIBLERepresents a flexible webhook.
- Webhook
Type Unspecified - WEBHOOK_TYPE_UNSPECIFIEDDefault value. This value is unused.
- Standard
- STANDARDRepresents a standard webhook.
- Flexible
- FLEXIBLERepresents a flexible webhook.
- WEBHOOK_TYPE_UNSPECIFIED
- WEBHOOK_TYPE_UNSPECIFIEDDefault value. This value is unused.
- STANDARD
- STANDARDRepresents a standard webhook.
- FLEXIBLE
- FLEXIBLERepresents a flexible webhook.
- "WEBHOOK_TYPE_UNSPECIFIED"
- WEBHOOK_TYPE_UNSPECIFIEDDefault value. This value is unused.
- "STANDARD"
- STANDARDRepresents a standard webhook.
- "FLEXIBLE"
- FLEXIBLERepresents a flexible webhook.
GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig, GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfigArgs
- 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. V3. Inputs. Google Cloud Dialogflow Cx V3Webhook 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 V3Webhook 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 V3Webhook 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 V3Webhook 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 V3Webhook 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.
GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfigResponse, GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfigResponseArgs
- Generic
Web 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 ID
of 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 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 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 ID
of 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 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 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 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.