Class CxFlowTransitionRouteTriggerFulfillmentArgs.Builder

    • Method Detail

      • returnPartialResponses

        public CxFlowTransitionRouteTriggerFulfillmentArgs.Builder returnPartialResponses​(@Nullable
                                                                                          com.pulumi.core.Output<java.lang.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.
        Returns:
        builder
      • returnPartialResponses

        public CxFlowTransitionRouteTriggerFulfillmentArgs.Builder returnPartialResponses​(java.lang.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.
        Returns:
        builder
      • tag

        public CxFlowTransitionRouteTriggerFulfillmentArgs.Builder tag​(@Nullable
                                                                       com.pulumi.core.Output<java.lang.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.
        Returns:
        builder
      • webhook

        public CxFlowTransitionRouteTriggerFulfillmentArgs.Builder webhook​(@Nullable
                                                                           com.pulumi.core.Output<java.lang.String> webhook)
        Parameters:
        webhook - The webhook to call. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/webhooks/<Webhook ID>.
        Returns:
        builder
      • webhook

        public CxFlowTransitionRouteTriggerFulfillmentArgs.Builder webhook​(java.lang.String webhook)
        Parameters:
        webhook - The webhook to call. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/webhooks/<Webhook ID>.
        Returns:
        builder