Create
|
|||||
|
|
Creates a context.
If the specified context already exists, overrides the context
Authorization
To use this building block you will have to grant access to at least one of the following scopes:
- View and manage your data across Google Cloud Platform services
- View, manage and query your Dialogflow agents
Input
This building block consumes 5 input parameters
Name | Format | Description |
---|---|---|
parent Required |
STRING |
Required. The session to create a context for.
Format: |
lifespanCount |
INTEGER |
Optional. The number of conversational query requests after which the
context expires. If set to |
name |
STRING |
Required. The unique identifier of the context. Format:
The |
parameters |
OBJECT |
Optional. The collection of parameters associated with this context. Refer to this doc for syntax |
parameters.customKey.value Required |
ANY |
Optional. The collection of parameters associated with this context. Refer to this doc for syntax |
= Parameter name
= Format
parent STRING Required Required. The session to create a context for.
Format: |
lifespanCount INTEGER Optional. The number of conversational query requests after which the
context expires. If set to |
name STRING Required. The unique identifier of the context. Format:
The |
parameters OBJECT Optional. The collection of parameters associated with this context. Refer to this doc for syntax |
parameters.customKey.value ANY Required Optional. The collection of parameters associated with this context. Refer to this doc for syntax |
Output
This building block provides 4 output parameters
Name | Format | Description |
---|---|---|
lifespanCount |
INTEGER |
Optional. The number of conversational query requests after which the
context expires. If set to |
name |
STRING |
Required. The unique identifier of the context. Format:
The |
parameters |
OBJECT |
Optional. The collection of parameters associated with this context. Refer to this doc for syntax |
parameters.customKey.value |
ANY |
Optional. The collection of parameters associated with this context. Refer to this doc for syntax |
= Parameter name
= Format
lifespanCount INTEGER Optional. The number of conversational query requests after which the
context expires. If set to |
name STRING Required. The unique identifier of the context. Format:
The |
parameters OBJECT Optional. The collection of parameters associated with this context. Refer to this doc for syntax |
parameters.customKey.value ANY Optional. The collection of parameters associated with this context. Refer to this doc for syntax |