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

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.Webhook

Explore with Pulumi AI

google-native logo

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

    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[GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceArgs] = None,
                location: Optional[str] = None,
                name: Optional[str] = None,
                project: Optional[str] = None,
                service_directory: Optional[GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfigArgs] = 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/v3beta1: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 google_nativeWebhookResource = new GoogleNative.Dialogflow.V3Beta1.Webhook("google-nativeWebhookResource", new()
    {
        AgentId = "string",
        DisplayName = "string",
        Disabled = false,
        GenericWebService = new GoogleNative.Dialogflow.V3Beta1.Inputs.GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceArgs
        {
            Uri = "string",
            AllowedCaCerts = new[]
            {
                "string",
            },
            HttpMethod = GoogleNative.Dialogflow.V3Beta1.GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceHttpMethod.HttpMethodUnspecified,
            ParameterMapping = 
            {
                { "string", "string" },
            },
            Password = "string",
            RequestBody = "string",
            RequestHeaders = 
            {
                { "string", "string" },
            },
            Username = "string",
            WebhookType = GoogleNative.Dialogflow.V3Beta1.GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceWebhookType.WebhookTypeUnspecified,
        },
        Location = "string",
        Name = "string",
        Project = "string",
        ServiceDirectory = new GoogleNative.Dialogflow.V3Beta1.Inputs.GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfigArgs
        {
            Service = "string",
            GenericWebService = new GoogleNative.Dialogflow.V3Beta1.Inputs.GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceArgs
            {
                Uri = "string",
                AllowedCaCerts = new[]
                {
                    "string",
                },
                HttpMethod = GoogleNative.Dialogflow.V3Beta1.GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceHttpMethod.HttpMethodUnspecified,
                ParameterMapping = 
                {
                    { "string", "string" },
                },
                Password = "string",
                RequestBody = "string",
                RequestHeaders = 
                {
                    { "string", "string" },
                },
                Username = "string",
                WebhookType = GoogleNative.Dialogflow.V3Beta1.GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceWebhookType.WebhookTypeUnspecified,
            },
        },
        Timeout = "string",
    });
    
    example, err := dialogflowv3beta1.NewWebhook(ctx, "google-nativeWebhookResource", &dialogflowv3beta1.WebhookArgs{
    	AgentId:     pulumi.String("string"),
    	DisplayName: pulumi.String("string"),
    	Disabled:    pulumi.Bool(false),
    	GenericWebService: &dialogflow.GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceArgs{
    		Uri: pulumi.String("string"),
    		AllowedCaCerts: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		HttpMethod: dialogflowv3beta1.GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceHttpMethodHttpMethodUnspecified,
    		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: dialogflowv3beta1.GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceWebhookTypeWebhookTypeUnspecified,
    	},
    	Location: pulumi.String("string"),
    	Name:     pulumi.String("string"),
    	Project:  pulumi.String("string"),
    	ServiceDirectory: &dialogflow.GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfigArgs{
    		Service: pulumi.String("string"),
    		GenericWebService: &dialogflow.GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceArgs{
    			Uri: pulumi.String("string"),
    			AllowedCaCerts: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			HttpMethod: dialogflowv3beta1.GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceHttpMethodHttpMethodUnspecified,
    			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: dialogflowv3beta1.GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceWebhookTypeWebhookTypeUnspecified,
    		},
    	},
    	Timeout: pulumi.String("string"),
    })
    
    var google_nativeWebhookResource = new Webhook("google-nativeWebhookResource", WebhookArgs.builder()
        .agentId("string")
        .displayName("string")
        .disabled(false)
        .genericWebService(GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceArgs.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(GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfigArgs.builder()
            .service("string")
            .genericWebService(GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceArgs.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());
    
    google_native_webhook_resource = google_native.dialogflow.v3beta1.Webhook("google-nativeWebhookResource",
        agent_id="string",
        display_name="string",
        disabled=False,
        generic_web_service={
            "uri": "string",
            "allowed_ca_certs": ["string"],
            "http_method": google_native.dialogflow.v3beta1.GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceHttpMethod.HTTP_METHOD_UNSPECIFIED,
            "parameter_mapping": {
                "string": "string",
            },
            "password": "string",
            "request_body": "string",
            "request_headers": {
                "string": "string",
            },
            "username": "string",
            "webhook_type": google_native.dialogflow.v3beta1.GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceWebhookType.WEBHOOK_TYPE_UNSPECIFIED,
        },
        location="string",
        name="string",
        project="string",
        service_directory={
            "service": "string",
            "generic_web_service": {
                "uri": "string",
                "allowed_ca_certs": ["string"],
                "http_method": google_native.dialogflow.v3beta1.GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceHttpMethod.HTTP_METHOD_UNSPECIFIED,
                "parameter_mapping": {
                    "string": "string",
                },
                "password": "string",
                "request_body": "string",
                "request_headers": {
                    "string": "string",
                },
                "username": "string",
                "webhook_type": google_native.dialogflow.v3beta1.GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceWebhookType.WEBHOOK_TYPE_UNSPECIFIED,
            },
        },
        timeout="string")
    
    const google_nativeWebhookResource = new google_native.dialogflow.v3beta1.Webhook("google-nativeWebhookResource", {
        agentId: "string",
        displayName: "string",
        disabled: false,
        genericWebService: {
            uri: "string",
            allowedCaCerts: ["string"],
            httpMethod: google_native.dialogflow.v3beta1.GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceHttpMethod.HttpMethodUnspecified,
            parameterMapping: {
                string: "string",
            },
            password: "string",
            requestBody: "string",
            requestHeaders: {
                string: "string",
            },
            username: "string",
            webhookType: google_native.dialogflow.v3beta1.GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceWebhookType.WebhookTypeUnspecified,
        },
        location: "string",
        name: "string",
        project: "string",
        serviceDirectory: {
            service: "string",
            genericWebService: {
                uri: "string",
                allowedCaCerts: ["string"],
                httpMethod: google_native.dialogflow.v3beta1.GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceHttpMethod.HttpMethodUnspecified,
                parameterMapping: {
                    string: "string",
                },
                password: "string",
                requestBody: "string",
                requestHeaders: {
                    string: "string",
                },
                username: "string",
                webhookType: google_native.dialogflow.v3beta1.GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceWebhookType.WebhookTypeUnspecified,
            },
        },
        timeout: "string",
    });
    
    type: google-native:dialogflow/v3beta1: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

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Webhook resource accepts the following input properties:

    AgentId string
    DisplayName string
    The human-readable name of the webhook, unique within the agent.
    Disabled bool
    Indicates whether the webhook is disabled.
    GenericWebService Pulumi.GoogleNative.Dialogflow.V3Beta1.Inputs.GoogleCloudDialogflowCxV3beta1WebhookGenericWebService
    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
    ServiceDirectory Pulumi.GoogleNative.Dialogflow.V3Beta1.Inputs.GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig
    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.
    AgentId string
    DisplayName string
    The human-readable name of the webhook, unique within the agent.
    Disabled bool
    Indicates whether the webhook is disabled.
    GenericWebService GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceArgs
    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
    ServiceDirectory GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfigArgs
    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.
    agentId String
    displayName String
    The human-readable name of the webhook, unique within the agent.
    disabled Boolean
    Indicates whether the webhook is disabled.
    genericWebService GoogleCloudDialogflowCxV3beta1WebhookGenericWebService
    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
    serviceDirectory GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig
    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.
    agentId string
    displayName string
    The human-readable name of the webhook, unique within the agent.
    disabled boolean
    Indicates whether the webhook is disabled.
    genericWebService GoogleCloudDialogflowCxV3beta1WebhookGenericWebService
    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
    serviceDirectory GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig
    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_service GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceArgs
    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 GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfigArgs
    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.
    agentId String
    displayName String
    The human-readable name of the webhook, unique within the agent.
    disabled Boolean
    Indicates whether the webhook is disabled.
    genericWebService Property Map
    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
    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.

    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.
    AllowedCaCerts 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 Pulumi.GoogleNative.Dialogflow.V3Beta1.GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceHttpMethod
    Optional. HTTP method for the flexible webhook calls. Standard webhook always uses POST.
    ParameterMapping Dictionary<string, string>
    Optional. Maps the values extracted from specific fields of the flexible webhook response into session parameters. - Key: session parameter name - Value: field path in the webhook response
    Password string
    The password for HTTP Basic authentication.
    RequestBody string
    Optional. Defines a custom JSON object as request body to send to flexible webhook.
    RequestHeaders Dictionary<string, string>
    The HTTP request headers to send together with webhook requests.
    Username string
    The user name for HTTP Basic authentication.
    WebhookType Pulumi.GoogleNative.Dialogflow.V3Beta1.GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceWebhookType
    Optional. Type of the webhook.
    Uri string
    The webhook URI for receiving POST requests. It must use https protocol.
    AllowedCaCerts []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 GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceHttpMethod
    Optional. HTTP method for the flexible webhook calls. Standard webhook always uses POST.
    ParameterMapping map[string]string
    Optional. Maps the values extracted from specific fields of the flexible webhook response into session parameters. - Key: session parameter name - Value: field path in the webhook response
    Password string
    The password for HTTP Basic authentication.
    RequestBody string
    Optional. Defines a custom JSON object as request body to send to flexible webhook.
    RequestHeaders map[string]string
    The HTTP request headers to send together with webhook requests.
    Username string
    The user name for HTTP Basic authentication.
    WebhookType GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceWebhookType
    Optional. Type of the webhook.
    uri String
    The webhook URI for receiving POST requests. It must use https protocol.
    allowedCaCerts 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 GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceHttpMethod
    Optional. HTTP method for the flexible webhook calls. Standard webhook always uses POST.
    parameterMapping Map<String,String>
    Optional. Maps the values extracted from specific fields of the flexible webhook response into session parameters. - Key: session parameter name - Value: field path in the webhook response
    password String
    The password for HTTP Basic authentication.
    requestBody String
    Optional. Defines a custom JSON object as request body to send to flexible webhook.
    requestHeaders Map<String,String>
    The HTTP request headers to send together with webhook requests.
    username String
    The user name for HTTP Basic authentication.
    webhookType GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceWebhookType
    Optional. Type of the webhook.
    uri string
    The webhook URI for receiving POST requests. It must use https protocol.
    allowedCaCerts 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 GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceHttpMethod
    Optional. HTTP method for the flexible webhook calls. Standard webhook always uses POST.
    parameterMapping {[key: string]: string}
    Optional. Maps the values extracted from specific fields of the flexible webhook response into session parameters. - Key: session parameter name - Value: field path in the webhook response
    password string
    The password for HTTP Basic authentication.
    requestBody string
    Optional. Defines a custom JSON object as request body to send to flexible webhook.
    requestHeaders {[key: string]: string}
    The HTTP request headers to send together with webhook requests.
    username string
    The user name for HTTP Basic authentication.
    webhookType GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceWebhookType
    Optional. Type of the webhook.
    uri str
    The webhook URI for receiving POST requests. It must use https protocol.
    allowed_ca_certs 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 GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceHttpMethod
    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 GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceWebhookType
    Optional. Type of the webhook.
    uri String
    The webhook URI for receiving POST requests. It must use https protocol.
    allowedCaCerts 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 "HTTP_METHOD_UNSPECIFIED" | "POST" | "GET" | "HEAD" | "PUT" | "DELETE" | "PATCH" | "OPTIONS"
    Optional. HTTP method for the flexible webhook calls. Standard webhook always uses POST.
    parameterMapping Map<String>
    Optional. Maps the values extracted from specific fields of the flexible webhook response into session parameters. - Key: session parameter name - Value: field path in the webhook response
    password String
    The password for HTTP Basic authentication.
    requestBody String
    Optional. Defines a custom JSON object as request body to send to flexible webhook.
    requestHeaders Map<String>
    The HTTP request headers to send together with webhook requests.
    username String
    The user name for HTTP Basic authentication.
    webhookType "WEBHOOK_TYPE_UNSPECIFIED" | "STANDARD" | "FLEXIBLE"
    Optional. Type of the webhook.

    GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceHttpMethod, GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceHttpMethodArgs

    HttpMethodUnspecified
    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.
    GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceHttpMethodHttpMethodUnspecified
    HTTP_METHOD_UNSPECIFIEDHTTP method not specified.
    GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceHttpMethodPost
    POSTHTTP POST Method.
    GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceHttpMethodGet
    GETHTTP GET Method.
    GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceHttpMethodHead
    HEADHTTP HEAD Method.
    GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceHttpMethodPut
    PUTHTTP PUT Method.
    GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceHttpMethodDelete
    DELETEHTTP DELETE Method.
    GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceHttpMethodPatch
    PATCHHTTP PATCH Method.
    GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceHttpMethodOptions
    OPTIONSHTTP OPTIONS Method.
    HttpMethodUnspecified
    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.
    HttpMethodUnspecified
    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.

    GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceResponse, GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceResponseArgs

    AllowedCaCerts 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 string
    Optional. HTTP method for the flexible webhook calls. Standard webhook always uses POST.
    ParameterMapping Dictionary<string, string>
    Optional. Maps the values extracted from specific fields of the flexible webhook response into session parameters. - Key: session parameter name - Value: field path in the webhook response
    Password string
    The password for HTTP Basic authentication.
    RequestBody string
    Optional. Defines a custom JSON object as request body to send to flexible webhook.
    RequestHeaders Dictionary<string, string>
    The HTTP request headers to send together with webhook requests.
    Uri string
    The webhook URI for receiving POST requests. It must use https protocol.
    Username string
    The user name for HTTP Basic authentication.
    WebhookType string
    Optional. Type of the webhook.
    AllowedCaCerts []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 string
    Optional. HTTP method for the flexible webhook calls. Standard webhook always uses POST.
    ParameterMapping map[string]string
    Optional. Maps the values extracted from specific fields of the flexible webhook response into session parameters. - Key: session parameter name - Value: field path in the webhook response
    Password string
    The password for HTTP Basic authentication.
    RequestBody string
    Optional. Defines a custom JSON object as request body to send to flexible webhook.
    RequestHeaders map[string]string
    The HTTP request headers to send together with webhook requests.
    Uri string
    The webhook URI for receiving POST requests. It must use https protocol.
    Username string
    The user name for HTTP Basic authentication.
    WebhookType string
    Optional. Type of the webhook.
    allowedCaCerts 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 String
    Optional. HTTP method for the flexible webhook calls. Standard webhook always uses POST.
    parameterMapping Map<String,String>
    Optional. Maps the values extracted from specific fields of the flexible webhook response into session parameters. - Key: session parameter name - Value: field path in the webhook response
    password String
    The password for HTTP Basic authentication.
    requestBody String
    Optional. Defines a custom JSON object as request body to send to flexible webhook.
    requestHeaders Map<String,String>
    The HTTP request headers to send together with webhook requests.
    uri String
    The webhook URI for receiving POST requests. It must use https protocol.
    username String
    The user name for HTTP Basic authentication.
    webhookType String
    Optional. Type of the webhook.
    allowedCaCerts 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 string
    Optional. HTTP method for the flexible webhook calls. Standard webhook always uses POST.
    parameterMapping {[key: string]: string}
    Optional. Maps the values extracted from specific fields of the flexible webhook response into session parameters. - Key: session parameter name - Value: field path in the webhook response
    password string
    The password for HTTP Basic authentication.
    requestBody string
    Optional. Defines a custom JSON object as request body to send to flexible webhook.
    requestHeaders {[key: string]: string}
    The HTTP request headers to send together with webhook requests.
    uri string
    The webhook URI for receiving POST requests. It must use https protocol.
    username string
    The user name for HTTP Basic authentication.
    webhookType string
    Optional. Type of the webhook.
    allowed_ca_certs 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 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.
    allowedCaCerts 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 String
    Optional. HTTP method for the flexible webhook calls. Standard webhook always uses POST.
    parameterMapping Map<String>
    Optional. Maps the values extracted from specific fields of the flexible webhook response into session parameters. - Key: session parameter name - Value: field path in the webhook response
    password String
    The password for HTTP Basic authentication.
    requestBody String
    Optional. Defines a custom JSON object as request body to send to flexible webhook.
    requestHeaders Map<String>
    The HTTP request headers to send together with webhook requests.
    uri String
    The webhook URI for receiving POST requests. It must use https protocol.
    username String
    The user name for HTTP Basic authentication.
    webhookType String
    Optional. Type of the webhook.

    GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceWebhookType, GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceWebhookTypeArgs

    WebhookTypeUnspecified
    WEBHOOK_TYPE_UNSPECIFIEDDefault value. This value is unused.
    Standard
    STANDARDRepresents a standard webhook.
    Flexible
    FLEXIBLERepresents a flexible webhook.
    GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceWebhookTypeWebhookTypeUnspecified
    WEBHOOK_TYPE_UNSPECIFIEDDefault value. This value is unused.
    GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceWebhookTypeStandard
    STANDARDRepresents a standard webhook.
    GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceWebhookTypeFlexible
    FLEXIBLERepresents a flexible webhook.
    WebhookTypeUnspecified
    WEBHOOK_TYPE_UNSPECIFIEDDefault value. This value is unused.
    Standard
    STANDARDRepresents a standard webhook.
    Flexible
    FLEXIBLERepresents a flexible webhook.
    WebhookTypeUnspecified
    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.

    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.
    GenericWebService Pulumi.GoogleNative.Dialogflow.V3Beta1.Inputs.GoogleCloudDialogflowCxV3beta1WebhookGenericWebService
    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.
    GenericWebService GoogleCloudDialogflowCxV3beta1WebhookGenericWebService
    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.
    genericWebService GoogleCloudDialogflowCxV3beta1WebhookGenericWebService
    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.
    genericWebService GoogleCloudDialogflowCxV3beta1WebhookGenericWebService
    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_service GoogleCloudDialogflowCxV3beta1WebhookGenericWebService
    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.
    genericWebService Property Map
    Generic Service configuration of this webhook.

    GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfigResponse, GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfigResponseArgs

    GenericWebService Pulumi.GoogleNative.Dialogflow.V3Beta1.Inputs.GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceResponse
    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.
    GenericWebService GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceResponse
    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.
    genericWebService GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceResponse
    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.
    genericWebService GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceResponse
    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_service GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceResponse
    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.
    genericWebService Property Map
    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-native logo

    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