List
|
|||||
|
|
Returns the list of all contexts in the specified session
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 3 input parameters
Name | Format | Description |
---|---|---|
parent Required |
STRING |
Required. The session to list all contexts from.
Format: |
pageToken |
STRING |
Optional. The next_page_token value returned from a previous list request |
pageSize |
INTEGER |
Optional. The maximum number of items to return in a single page. By default 100 and at most 1000 |
= Parameter name
= Format
parent STRING Required Required. The session to list all contexts from.
Format: |
pageToken STRING Optional. The next_page_token value returned from a previous list request |
pageSize INTEGER Optional. The maximum number of items to return in a single page. By default 100 and at most 1000 |
Output
This building block provides 6 output parameters
Name | Format | Description |
---|---|---|
contexts[] |
OBJECT |
Represents a context |
contexts[].lifespanCount |
INTEGER |
Optional. The number of conversational query requests after which the
context expires. If set to |
contexts[].name |
STRING |
Required. The unique identifier of the context. Format:
The |
contexts[].parameters |
OBJECT |
Optional. The collection of parameters associated with this context. Refer to this doc for syntax |
contexts[].parameters.customKey.value |
ANY |
Optional. The collection of parameters associated with this context. Refer to this doc for syntax |
nextPageToken |
STRING |
Token to retrieve the next page of results, or empty if there are no more results in the list |
= Parameter name
= Format
contexts[] OBJECT Represents a context |
contexts[].lifespanCount INTEGER Optional. The number of conversational query requests after which the
context expires. If set to |
contexts[].name STRING Required. The unique identifier of the context. Format:
The |
contexts[].parameters OBJECT Optional. The collection of parameters associated with this context. Refer to this doc for syntax |
contexts[].parameters.customKey.value ANY Optional. The collection of parameters associated with this context. Refer to this doc for syntax |
nextPageToken STRING Token to retrieve the next page of results, or empty if there are no more results in the list |