config/crds/resources/apiextensions.k8s.io_v1_customresourcedefinition_dialogflowcxpages.dialogflowcx.cnrm.cloud.google.com.yaml (1,096 lines of code) (raw):
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
cnrm.cloud.google.com/version: 0.0.0-dev
creationTimestamp: null
labels:
cnrm.cloud.google.com/managed-by-kcc: "true"
cnrm.cloud.google.com/stability-level: alpha
cnrm.cloud.google.com/system: "true"
cnrm.cloud.google.com/tf2crd: "true"
name: dialogflowcxpages.dialogflowcx.cnrm.cloud.google.com
spec:
group: dialogflowcx.cnrm.cloud.google.com
names:
categories:
- gcp
kind: DialogflowCXPage
plural: dialogflowcxpages
shortNames:
- gcpdialogflowcxpage
- gcpdialogflowcxpages
singular: dialogflowcxpage
preserveUnknownFields: false
scope: Namespaced
versions:
- additionalPrinterColumns:
- jsonPath: .metadata.creationTimestamp
name: Age
type: date
- description: When 'True', the most recent reconcile of the resource succeeded
jsonPath: .status.conditions[?(@.type=='Ready')].status
name: Ready
type: string
- description: The reason for the value in 'Ready'
jsonPath: .status.conditions[?(@.type=='Ready')].reason
name: Status
type: string
- description: The last transition time for the value in 'Status'
jsonPath: .status.conditions[?(@.type=='Ready')].lastTransitionTime
name: Status Age
type: date
name: v1alpha1
schema:
openAPIV3Schema:
properties:
apiVersion:
description: 'apiVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources'
type: string
kind:
description: 'kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
type: string
metadata:
type: object
spec:
properties:
displayName:
description: The human-readable name of the page, unique within the
agent.
type: string
entryFulfillment:
description: The fulfillment to call when the session is entering
the page.
properties:
conditionalCases:
description: Conditional cases for this fulfillment.
items:
properties:
cases:
description: |-
A JSON encoded list of cascading if-else conditions. Cases are mutually exclusive. The first one with a matching condition is selected, all the rest ignored.
See [Case](https://cloud.google.com/dialogflow/cx/docs/reference/rest/v3/Fulfillment#case) for the schema.
type: string
type: object
type: array
messages:
description: The list of rich message responses to present to
the user.
items:
properties:
channel:
description: The channel which the response is associated
with. Clients can specify the channel via QueryParameters.channel,
and only associated channel response will be returned.
type: string
conversationSuccess:
description: |-
Indicates that the conversation succeeded, i.e., the bot handled the issue that the customer talked to it about.
Dialogflow only uses this to determine which conversations should be counted as successful and doesn't process the metadata in this message in any way. Note that Dialogflow also considers conversations that get to the conversation end page as successful even if they don't return ConversationSuccess.
You may set this, for example:
* In the entryFulfillment of a Page if entering the page indicates that the conversation succeeded.
* In a webhook response when you determine that you handled the customer issue.
properties:
metadata:
description: Custom metadata. Dialogflow doesn't impose
any structure on this.
type: string
type: object
liveAgentHandoff:
description: |-
Indicates that the conversation should be handed off to a live agent.
Dialogflow only uses this to determine which conversations were handed off to a human agent for measurement purposes. What else to do with this signal is up to you and your handoff procedures.
You may set this, for example:
* In the entryFulfillment of a Page if entering the page indicates something went extremely wrong in the conversation.
* In a webhook response when you determine that the customer issue can only be handled by a human.
properties:
metadata:
description: Custom metadata. Dialogflow doesn't impose
any structure on this.
type: string
type: object
outputAudioText:
description: A text or ssml response that is preferentially
used for TTS output audio synthesis, as described in the
comment on the ResponseMessage message.
properties:
allowPlaybackInterruption:
description: Whether the playback of this message can
be interrupted by the end user's speech and the client
can then starts the next Dialogflow request.
type: boolean
ssml:
description: The SSML text to be synthesized. For more
information, see SSML.
type: string
text:
description: The raw text to be synthesized.
type: string
type: object
payload:
description: A custom, platform-specific payload.
type: string
playAudio:
description: Specifies an audio clip to be played by the
client as part of the response.
properties:
allowPlaybackInterruption:
description: Whether the playback of this message can
be interrupted by the end user's speech and the client
can then starts the next Dialogflow request.
type: boolean
audioUri:
description: URI of the audio clip. Dialogflow does
not impose any validation on this value. It is specific
to the client that reads it.
type: string
required:
- audioUri
type: object
telephonyTransferCall:
description: Represents the signal that telles the client
to transfer the phone call connected to the agent to a
third-party endpoint.
properties:
phoneNumber:
description: Transfer the call to a phone number in
E.164 format.
type: string
required:
- phoneNumber
type: object
text:
description: The text response message.
properties:
allowPlaybackInterruption:
description: Whether the playback of this message can
be interrupted by the end user's speech and the client
can then starts the next Dialogflow request.
type: boolean
text:
description: A collection of text responses.
items:
type: string
type: array
type: object
type: object
type: array
returnPartialResponses:
description: '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.'
type: boolean
setParameterActions:
description: Set parameter values before executing the webhook.
items:
properties:
parameter:
description: Display name of the parameter.
type: string
value:
description: The new JSON-encoded value of the parameter.
A null value clears the parameter.
type: string
type: object
type: array
tag:
description: The tag used by the webhook to identify which fulfillment
is being called. This field is required if webhook is specified.
type: string
webhook:
description: 'The webhook to call. Format: projects/<Project ID>/locations/<Location
ID>/agents/<Agent ID>/webhooks/<Webhook ID>.'
type: string
type: object
eventHandlers:
description: Handlers associated with the page to handle events such
as webhook errors, no match or no input.
items:
properties:
event:
description: The name of the event to handle.
type: string
name:
description: The unique identifier of this event handler.
type: string
targetFlow:
description: |-
The target flow to transition to.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>.
type: string
targetPage:
description: |-
The target page to transition to.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page ID>.
type: string
triggerFulfillment:
description: The fulfillment to call when the event occurs.
Handling webhook errors with a fulfillment enabled with webhook
could cause infinite loop. It is invalid to specify such fulfillment
for a handler handling webhooks.
properties:
conditionalCases:
description: Conditional cases for this fulfillment.
items:
properties:
cases:
description: |-
A JSON encoded list of cascading if-else conditions. Cases are mutually exclusive. The first one with a matching condition is selected, all the rest ignored.
See [Case](https://cloud.google.com/dialogflow/cx/docs/reference/rest/v3/Fulfillment#case) for the schema.
type: string
type: object
type: array
messages:
description: The list of rich message responses to present
to the user.
items:
properties:
channel:
description: The channel which the response is associated
with. Clients can specify the channel via QueryParameters.channel,
and only associated channel response will be returned.
type: string
conversationSuccess:
description: |-
Indicates that the conversation succeeded, i.e., the bot handled the issue that the customer talked to it about.
Dialogflow only uses this to determine which conversations should be counted as successful and doesn't process the metadata in this message in any way. Note that Dialogflow also considers conversations that get to the conversation end page as successful even if they don't return ConversationSuccess.
You may set this, for example:
* In the entryFulfillment of a Page if entering the page indicates that the conversation succeeded.
* In a webhook response when you determine that you handled the customer issue.
properties:
metadata:
description: Custom metadata. Dialogflow doesn't
impose any structure on this.
type: string
type: object
liveAgentHandoff:
description: |-
Indicates that the conversation should be handed off to a live agent.
Dialogflow only uses this to determine which conversations were handed off to a human agent for measurement purposes. What else to do with this signal is up to you and your handoff procedures.
You may set this, for example:
* In the entryFulfillment of a Page if entering the page indicates something went extremely wrong in the conversation.
* In a webhook response when you determine that the customer issue can only be handled by a human.
properties:
metadata:
description: Custom metadata. Dialogflow doesn't
impose any structure on this.
type: string
type: object
outputAudioText:
description: A text or ssml response that is preferentially
used for TTS output audio synthesis, as described
in the comment on the ResponseMessage message.
properties:
allowPlaybackInterruption:
description: Whether the playback of this message
can be interrupted by the end user's speech
and the client can then starts the next Dialogflow
request.
type: boolean
ssml:
description: The SSML text to be synthesized.
For more information, see SSML.
type: string
text:
description: The raw text to be synthesized.
type: string
type: object
payload:
description: A custom, platform-specific payload.
type: string
playAudio:
description: Specifies an audio clip to be played
by the client as part of the response.
properties:
allowPlaybackInterruption:
description: Whether the playback of this message
can be interrupted by the end user's speech
and the client can then starts the next Dialogflow
request.
type: boolean
audioUri:
description: URI of the audio clip. Dialogflow
does not impose any validation on this value.
It is specific to the client that reads it.
type: string
required:
- audioUri
type: object
telephonyTransferCall:
description: Represents the signal that telles the
client to transfer the phone call connected to the
agent to a third-party endpoint.
properties:
phoneNumber:
description: Transfer the call to a phone number
in E.164 format.
type: string
required:
- phoneNumber
type: object
text:
description: The text response message.
properties:
allowPlaybackInterruption:
description: Whether the playback of this message
can be interrupted by the end user's speech
and the client can then starts the next Dialogflow
request.
type: boolean
text:
description: A collection of text responses.
items:
type: string
type: array
type: object
type: object
type: array
returnPartialResponses:
description: '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.'
type: boolean
setParameterActions:
description: Set parameter values before executing the webhook.
items:
properties:
parameter:
description: Display name of the parameter.
type: string
value:
description: The new JSON-encoded value of the parameter.
A null value clears the parameter.
type: string
type: object
type: array
tag:
description: The tag used by the webhook to identify which
fulfillment is being called. This field is required if
webhook is specified.
type: string
webhook:
description: 'The webhook to call. Format: projects/<Project
ID>/locations/<Location ID>/agents/<Agent ID>/webhooks/<Webhook
ID>.'
type: string
type: object
type: object
type: array
form:
description: The form associated with the page, used for collecting
parameters relevant to the page.
properties:
parameters:
description: Parameters to collect from the user.
items:
properties:
defaultValue:
description: The default value of an optional parameter.
If the parameter is required, the default value will be
ignored.
type: string
displayName:
description: The human-readable name of the parameter, unique
within the form.
type: string
entityType:
description: |-
The entity type of the parameter.
Format: projects/-/locations/-/agents/-/entityTypes/<System Entity Type ID> for system entity types (for example, projects/-/locations/-/agents/-/entityTypes/sys.date), or projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/entityTypes/<Entity Type ID> for developer entity types.
type: string
fillBehavior:
description: Defines fill behavior for the parameter.
properties:
initialPromptFulfillment:
description: The fulfillment to provide the initial
prompt that the agent can present to the user in order
to fill the parameter.
properties:
conditionalCases:
description: Conditional cases for this fulfillment.
items:
properties:
cases:
description: |-
A JSON encoded list of cascading if-else conditions. Cases are mutually exclusive. The first one with a matching condition is selected, all the rest ignored.
See [Case](https://cloud.google.com/dialogflow/cx/docs/reference/rest/v3/Fulfillment#case) for the schema.
type: string
type: object
type: array
messages:
description: The list of rich message responses
to present to the user.
items:
properties:
channel:
description: The channel which the response
is associated with. Clients can specify
the channel via QueryParameters.channel,
and only associated channel response will
be returned.
type: string
conversationSuccess:
description: |-
Indicates that the conversation succeeded, i.e., the bot handled the issue that the customer talked to it about.
Dialogflow only uses this to determine which conversations should be counted as successful and doesn't process the metadata in this message in any way. Note that Dialogflow also considers conversations that get to the conversation end page as successful even if they don't return ConversationSuccess.
You may set this, for example:
* In the entryFulfillment of a Page if entering the page indicates that the conversation succeeded.
* In a webhook response when you determine that you handled the customer issue.
properties:
metadata:
description: Custom metadata. Dialogflow
doesn't impose any structure on this.
type: string
type: object
liveAgentHandoff:
description: |-
Indicates that the conversation should be handed off to a live agent.
Dialogflow only uses this to determine which conversations were handed off to a human agent for measurement purposes. What else to do with this signal is up to you and your handoff procedures.
You may set this, for example:
* In the entryFulfillment of a Page if entering the page indicates something went extremely wrong in the conversation.
* In a webhook response when you determine that the customer issue can only be handled by a human.
properties:
metadata:
description: Custom metadata. Dialogflow
doesn't impose any structure on this.
type: string
type: object
outputAudioText:
description: A text or ssml response that
is preferentially used for TTS output audio
synthesis, as described in the comment on
the ResponseMessage message.
properties:
allowPlaybackInterruption:
description: Whether the playback of this
message can be interrupted by the end
user's speech and the client can then
starts the next Dialogflow request.
type: boolean
ssml:
description: The SSML text to be synthesized.
For more information, see SSML.
type: string
text:
description: The raw text to be synthesized.
type: string
type: object
payload:
description: A custom, platform-specific payload.
type: string
playAudio:
description: Specifies an audio clip to be
played by the client as part of the response.
properties:
allowPlaybackInterruption:
description: Whether the playback of this
message can be interrupted by the end
user's speech and the client can then
starts the next Dialogflow request.
type: boolean
audioUri:
description: URI of the audio clip. Dialogflow
does not impose any validation on this
value. It is specific to the client
that reads it.
type: string
required:
- audioUri
type: object
telephonyTransferCall:
description: Represents the signal that telles
the client to transfer the phone call connected
to the agent to a third-party endpoint.
properties:
phoneNumber:
description: Transfer the call to a phone
number in E.164 format.
type: string
required:
- phoneNumber
type: object
text:
description: The text response message.
properties:
allowPlaybackInterruption:
description: Whether the playback of this
message can be interrupted by the end
user's speech and the client can then
starts the next Dialogflow request.
type: boolean
text:
description: A collection of text responses.
items:
type: string
type: array
type: object
type: object
type: array
returnPartialResponses:
description: '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.'
type: boolean
setParameterActions:
description: Set parameter values before executing
the webhook.
items:
properties:
parameter:
description: Display name of the parameter.
type: string
value:
description: The new JSON-encoded value of
the parameter. A null value clears the parameter.
type: string
type: object
type: array
tag:
description: The tag used by the webhook to identify
which fulfillment is being called. This field
is required if webhook is specified.
type: string
webhook:
description: 'The webhook to call. Format: projects/<Project
ID>/locations/<Location ID>/agents/<Agent ID>/webhooks/<Webhook
ID>.'
type: string
type: object
repromptEventHandlers:
description: |-
The handlers for parameter-level events, used to provide reprompt for the parameter or transition to a different page/flow. The supported events are:
* sys.no-match-<N>, where N can be from 1 to 6
* sys.no-match-default
* sys.no-input-<N>, where N can be from 1 to 6
* sys.no-input-default
* sys.invalid-parameter
[initialPromptFulfillment][initialPromptFulfillment] provides the first prompt for the parameter.
If the user's response does not fill the parameter, a no-match/no-input event will be triggered, and the fulfillment associated with the sys.no-match-1/sys.no-input-1 handler (if defined) will be called to provide a prompt. The sys.no-match-2/sys.no-input-2 handler (if defined) will respond to the next no-match/no-input event, and so on.
A sys.no-match-default or sys.no-input-default handler will be used to handle all following no-match/no-input events after all numbered no-match/no-input handlers for the parameter are consumed.
A sys.invalid-parameter handler can be defined to handle the case where the parameter values have been invalidated by webhook. For example, if the user's response fill the parameter, however the parameter was invalidated by webhook, the fulfillment associated with the sys.invalid-parameter handler (if defined) will be called to provide a prompt.
If the event handler for the corresponding event can't be found on the parameter, initialPromptFulfillment will be re-prompted.
items:
properties:
event:
description: The name of the event to handle.
type: string
name:
description: The unique identifier of this event
handler.
type: string
targetFlow:
description: |-
The target flow to transition to.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>.
type: string
targetPage:
description: |-
The target page to transition to.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page ID>.
type: string
triggerFulfillment:
description: The fulfillment to call when the
event occurs. Handling webhook errors with a
fulfillment enabled with webhook could cause
infinite loop. It is invalid to specify such
fulfillment for a handler handling webhooks.
properties:
conditionalCases:
description: Conditional cases for this fulfillment.
items:
properties:
cases:
description: |-
A JSON encoded list of cascading if-else conditions. Cases are mutually exclusive. The first one with a matching condition is selected, all the rest ignored.
See [Case](https://cloud.google.com/dialogflow/cx/docs/reference/rest/v3/Fulfillment#case) for the schema.
type: string
type: object
type: array
messages:
description: The list of rich message responses
to present to the user.
items:
properties:
channel:
description: The channel which the response
is associated with. Clients can specify
the channel via QueryParameters.channel,
and only associated channel response
will be returned.
type: string
conversationSuccess:
description: |-
Indicates that the conversation succeeded, i.e., the bot handled the issue that the customer talked to it about.
Dialogflow only uses this to determine which conversations should be counted as successful and doesn't process the metadata in this message in any way. Note that Dialogflow also considers conversations that get to the conversation end page as successful even if they don't return ConversationSuccess.
You may set this, for example:
* In the entryFulfillment of a Page if entering the page indicates that the conversation succeeded.
* In a webhook response when you determine that you handled the customer issue.
properties:
metadata:
description: Custom metadata. Dialogflow
doesn't impose any structure on
this.
type: string
type: object
liveAgentHandoff:
description: |-
Indicates that the conversation should be handed off to a live agent.
Dialogflow only uses this to determine which conversations were handed off to a human agent for measurement purposes. What else to do with this signal is up to you and your handoff procedures.
You may set this, for example:
* In the entryFulfillment of a Page if entering the page indicates something went extremely wrong in the conversation.
* In a webhook response when you determine that the customer issue can only be handled by a human.
properties:
metadata:
description: Custom metadata. Dialogflow
doesn't impose any structure on
this.
type: string
type: object
outputAudioText:
description: A text or ssml response
that is preferentially used for TTS
output audio synthesis, as described
in the comment on the ResponseMessage
message.
properties:
allowPlaybackInterruption:
description: Whether the playback
of this message can be interrupted
by the end user's speech and the
client can then starts the next
Dialogflow request.
type: boolean
ssml:
description: The SSML text to be
synthesized. For more information,
see SSML.
type: string
text:
description: The raw text to be
synthesized.
type: string
type: object
payload:
description: A custom, platform-specific
payload.
type: string
playAudio:
description: Specifies an audio clip
to be played by the client as part
of the response.
properties:
allowPlaybackInterruption:
description: Whether the playback
of this message can be interrupted
by the end user's speech and the
client can then starts the next
Dialogflow request.
type: boolean
audioUri:
description: URI of the audio clip.
Dialogflow does not impose any
validation on this value. It is
specific to the client that reads
it.
type: string
required:
- audioUri
type: object
telephonyTransferCall:
description: Represents the signal that
telles the client to transfer the
phone call connected to the agent
to a third-party endpoint.
properties:
phoneNumber:
description: Transfer the call to
a phone number in E.164 format.
type: string
required:
- phoneNumber
type: object
text:
description: The text response message.
properties:
allowPlaybackInterruption:
description: Whether the playback
of this message can be interrupted
by the end user's speech and the
client can then starts the next
Dialogflow request.
type: boolean
text:
description: A collection of text
responses.
items:
type: string
type: array
type: object
type: object
type: array
returnPartialResponses:
description: '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.'
type: boolean
setParameterActions:
description: Set parameter values before executing
the webhook.
items:
properties:
parameter:
description: Display name of the parameter.
type: string
value:
description: The new JSON-encoded value
of the parameter. A null value clears
the parameter.
type: string
type: object
type: array
tag:
description: The tag used by the webhook to
identify which fulfillment is being called.
This field is required if webhook is specified.
type: string
webhook:
description: 'The webhook to call. Format:
projects/<Project ID>/locations/<Location
ID>/agents/<Agent ID>/webhooks/<Webhook
ID>.'
type: string
type: object
type: object
type: array
type: object
isList:
description: Indicates whether the parameter represents
a list of values.
type: boolean
redact:
description: |-
Indicates whether the parameter content should be redacted in log.
If redaction is enabled, the parameter content will be replaced by parameter name during logging. Note: the parameter content is subject to redaction if either parameter level redaction or entity type level redaction is enabled.
type: boolean
required:
description: |-
Indicates whether the parameter is required. Optional parameters will not trigger prompts; however, they are filled if the user specifies them.
Required parameters must be filled before form filling concludes.
type: boolean
type: object
type: array
type: object
languageCode:
description: |-
Immutable. The language of the following fields in page:
Page.entry_fulfillment.messages
Page.entry_fulfillment.conditional_cases
Page.event_handlers.trigger_fulfillment.messages
Page.event_handlers.trigger_fulfillment.conditional_cases
Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages
Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases
Page.form.parameters.fill_behavior.reprompt_event_handlers.messages
Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases
Page.transition_routes.trigger_fulfillment.messages
Page.transition_routes.trigger_fulfillment.conditional_cases
If not specified, the agent's default language is used. Many languages are supported. Note: languages must be enabled in the agent before they can be used.
type: string
parent:
description: |-
Immutable. The flow to create a page for.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>.
type: string
resourceID:
description: Immutable. Optional. The service-generated name of the
resource. Used for acquisition only. Leave unset to create a new
resource.
type: string
transitionRouteGroups:
description: |-
Ordered list of TransitionRouteGroups associated with the page. Transition route groups must be unique within a page.
If multiple transition routes within a page scope refer to the same intent, then the precedence order is: page's transition route -> page's transition route group -> flow's transition routes.
If multiple transition route groups within a page contain the same intent, then the first group in the ordered list takes precedence.
Format:projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/transitionRouteGroups/<TransitionRouteGroup ID>.
items:
type: string
type: array
transitionRoutes:
description: |-
A list of transitions for the transition rules of this page. They route the conversation to another page in the same flow, or another flow.
When we are in a certain page, the TransitionRoutes are evalauted in the following order:
TransitionRoutes defined in the page with intent specified.
TransitionRoutes defined in the transition route groups with intent specified.
TransitionRoutes defined in flow with intent specified.
TransitionRoutes defined in the transition route groups with intent specified.
TransitionRoutes defined in the page with only condition specified.
TransitionRoutes defined in the transition route groups with only condition specified.
items:
properties:
condition:
description: |-
The condition to evaluate against form parameters or session parameters.
At least one of intent or condition must be specified. When both intent and condition are specified, the transition can only happen when both are fulfilled.
type: string
intent:
description: |-
The unique identifier of an Intent.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/intents/<Intent ID>. Indicates that the transition can only happen when the given intent is matched. At least one of intent or condition must be specified. When both intent and condition are specified, the transition can only happen when both are fulfilled.
type: string
name:
description: The unique identifier of this transition route.
type: string
targetFlow:
description: |-
The target flow to transition to.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>.
type: string
targetPage:
description: |-
The target page to transition to.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page ID>.
type: string
triggerFulfillment:
description: The fulfillment to call when the condition is satisfied.
At least one of triggerFulfillment and target must be specified.
When both are defined, triggerFulfillment is executed first.
properties:
conditionalCases:
description: Conditional cases for this fulfillment.
items:
properties:
cases:
description: |-
A JSON encoded list of cascading if-else conditions. Cases are mutually exclusive. The first one with a matching condition is selected, all the rest ignored.
See [Case](https://cloud.google.com/dialogflow/cx/docs/reference/rest/v3/Fulfillment#case) for the schema.
type: string
type: object
type: array
messages:
description: The list of rich message responses to present
to the user.
items:
properties:
channel:
description: The channel which the response is associated
with. Clients can specify the channel via QueryParameters.channel,
and only associated channel response will be returned.
type: string
conversationSuccess:
description: |-
Indicates that the conversation succeeded, i.e., the bot handled the issue that the customer talked to it about.
Dialogflow only uses this to determine which conversations should be counted as successful and doesn't process the metadata in this message in any way. Note that Dialogflow also considers conversations that get to the conversation end page as successful even if they don't return ConversationSuccess.
You may set this, for example:
* In the entryFulfillment of a Page if entering the page indicates that the conversation succeeded.
* In a webhook response when you determine that you handled the customer issue.
properties:
metadata:
description: Custom metadata. Dialogflow doesn't
impose any structure on this.
type: string
type: object
liveAgentHandoff:
description: |-
Indicates that the conversation should be handed off to a live agent.
Dialogflow only uses this to determine which conversations were handed off to a human agent for measurement purposes. What else to do with this signal is up to you and your handoff procedures.
You may set this, for example:
* In the entryFulfillment of a Page if entering the page indicates something went extremely wrong in the conversation.
* In a webhook response when you determine that the customer issue can only be handled by a human.
properties:
metadata:
description: Custom metadata. Dialogflow doesn't
impose any structure on this.
type: string
type: object
outputAudioText:
description: A text or ssml response that is preferentially
used for TTS output audio synthesis, as described
in the comment on the ResponseMessage message.
properties:
allowPlaybackInterruption:
description: Whether the playback of this message
can be interrupted by the end user's speech
and the client can then starts the next Dialogflow
request.
type: boolean
ssml:
description: The SSML text to be synthesized.
For more information, see SSML.
type: string
text:
description: The raw text to be synthesized.
type: string
type: object
payload:
description: A custom, platform-specific payload.
type: string
playAudio:
description: Specifies an audio clip to be played
by the client as part of the response.
properties:
allowPlaybackInterruption:
description: Whether the playback of this message
can be interrupted by the end user's speech
and the client can then starts the next Dialogflow
request.
type: boolean
audioUri:
description: URI of the audio clip. Dialogflow
does not impose any validation on this value.
It is specific to the client that reads it.
type: string
required:
- audioUri
type: object
telephonyTransferCall:
description: Represents the signal that telles the
client to transfer the phone call connected to the
agent to a third-party endpoint.
properties:
phoneNumber:
description: Transfer the call to a phone number
in E.164 format.
type: string
required:
- phoneNumber
type: object
text:
description: The text response message.
properties:
allowPlaybackInterruption:
description: Whether the playback of this message
can be interrupted by the end user's speech
and the client can then starts the next Dialogflow
request.
type: boolean
text:
description: A collection of text responses.
items:
type: string
type: array
type: object
type: object
type: array
returnPartialResponses:
description: '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.'
type: boolean
setParameterActions:
description: Set parameter values before executing the webhook.
items:
properties:
parameter:
description: Display name of the parameter.
type: string
value:
description: The new JSON-encoded value of the parameter.
A null value clears the parameter.
type: string
type: object
type: array
tag:
description: The tag used by the webhook to identify which
fulfillment is being called. This field is required if
webhook is specified.
type: string
webhook:
description: 'The webhook to call. Format: projects/<Project
ID>/locations/<Location ID>/agents/<Agent ID>/webhooks/<Webhook
ID>.'
type: string
type: object
type: object
type: array
required:
- displayName
type: object
status:
properties:
conditions:
description: Conditions represent the latest available observation
of the resource's current state.
items:
properties:
lastTransitionTime:
description: Last time the condition transitioned from one status
to another.
type: string
message:
description: Human-readable message indicating details about
last transition.
type: string
reason:
description: Unique, one-word, CamelCase reason for the condition's
last transition.
type: string
status:
description: Status is the status of the condition. Can be True,
False, Unknown.
type: string
type:
description: Type is the type of the condition.
type: string
type: object
type: array
name:
description: |-
The unique identifier of the page.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page ID>.
type: string
observedGeneration:
description: ObservedGeneration is the generation of the resource
that was most recently observed by the Config Connector controller.
If this is equal to metadata.generation, then that means that the
current reported status reflects the most recent desired state of
the resource.
type: integer
type: object
required:
- spec
type: object
served: true
storage: true
subresources:
status: {}
status:
acceptedNames:
kind: ""
plural: ""
conditions: []
storedVersions: []