Package com.pulumi.gcp.diagflow.inputs
Class CxFlowTransitionRouteTriggerFulfillmentArgs.Builder
- java.lang.Object
-
- com.pulumi.gcp.diagflow.inputs.CxFlowTransitionRouteTriggerFulfillmentArgs.Builder
-
- Enclosing class:
- CxFlowTransitionRouteTriggerFulfillmentArgs
public static final class CxFlowTransitionRouteTriggerFulfillmentArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(CxFlowTransitionRouteTriggerFulfillmentArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(CxFlowTransitionRouteTriggerFulfillmentArgs defaults)
-
-
Method Detail
-
messages
public CxFlowTransitionRouteTriggerFulfillmentArgs.Builder messages(@Nullable com.pulumi.core.Output<java.util.List<CxFlowTransitionRouteTriggerFulfillmentMessageArgs>> messages)
- Parameters:
messages
- The list of rich message responses to present to the user. Structure is documented below.- Returns:
- builder
-
messages
public CxFlowTransitionRouteTriggerFulfillmentArgs.Builder messages(java.util.List<CxFlowTransitionRouteTriggerFulfillmentMessageArgs> messages)
- Parameters:
messages
- The list of rich message responses to present to the user. Structure is documented below.- Returns:
- builder
-
messages
public CxFlowTransitionRouteTriggerFulfillmentArgs.Builder messages(CxFlowTransitionRouteTriggerFulfillmentMessageArgs... messages)
- Parameters:
messages
- The list of rich message responses to present to the user. Structure is documented below.- Returns:
- builder
-
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
-
tag
public CxFlowTransitionRouteTriggerFulfillmentArgs.Builder tag(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
-
build
public CxFlowTransitionRouteTriggerFulfillmentArgs build()
-
-