Class DialogflowCxPageEntryFulfillment.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • conditionalCases

        @Stability(Stable)
        public DialogflowCxPageEntryFulfillment.Builder conditionalCases​(com.hashicorp.cdktf.IResolvable conditionalCases)
        Parameters:
        conditionalCases - conditional_cases block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_page#conditional_cases DialogflowCxPage#conditional_cases}
        Returns:
        this
      • returnPartialResponses

        @Stability(Stable)
        public DialogflowCxPageEntryFulfillment.Builder returnPartialResponses​(Boolean returnPartialResponses)
        Parameters:
        returnPartialResponses - Whether Dialogflow should return currently queued fulfillment response messages in streaming APIs. If a webhook is specified, it happens before Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API. Responses are still queued and returned once in non-streaming API. 2) The flag can be enabled in any fulfillment but only the first 3 partial responses will be returned. You may only want to apply it to fulfillments that have slow webhooks. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_page#return_partial_responses DialogflowCxPage#return_partial_responses}
        Returns:
        this
      • returnPartialResponses

        @Stability(Stable)
        public DialogflowCxPageEntryFulfillment.Builder returnPartialResponses​(com.hashicorp.cdktf.IResolvable returnPartialResponses)
        Parameters:
        returnPartialResponses - Whether Dialogflow should return currently queued fulfillment response messages in streaming APIs. If a webhook is specified, it happens before Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API. Responses are still queued and returned once in non-streaming API. 2) The flag can be enabled in any fulfillment but only the first 3 partial responses will be returned. You may only want to apply it to fulfillments that have slow webhooks. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_page#return_partial_responses DialogflowCxPage#return_partial_responses}
        Returns:
        this
      • setParameterActions

        @Stability(Stable)
        public DialogflowCxPageEntryFulfillment.Builder setParameterActions​(com.hashicorp.cdktf.IResolvable setParameterActions)
        Parameters:
        setParameterActions - set_parameter_actions block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_page#set_parameter_actions DialogflowCxPage#set_parameter_actions}
        Returns:
        this
      • tag

        @Stability(Stable)
        public DialogflowCxPageEntryFulfillment.Builder tag​(String tag)
        Parameters:
        tag - The tag used by the webhook to identify which fulfillment is being called. This field is required if webhook is specified. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_page#tag DialogflowCxPage#tag}
        Returns:
        this