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