Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Returns the list of all contexts in the specified session.
See: Dialogflow API Reference for dialogflow.projects.agent.sessions.contexts.list
.
Synopsis
- type ProjectsAgentSessionsContextsListResource = "v2" :> (Capture "parent" Text :> ("contexts" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] GoogleCloudDialogflowV2ListContextsResponse))))))))))
- projectsAgentSessionsContextsList :: Text -> ProjectsAgentSessionsContextsList
- data ProjectsAgentSessionsContextsList
- pasclParent :: Lens' ProjectsAgentSessionsContextsList Text
- pasclXgafv :: Lens' ProjectsAgentSessionsContextsList (Maybe Xgafv)
- pasclUploadProtocol :: Lens' ProjectsAgentSessionsContextsList (Maybe Text)
- pasclAccessToken :: Lens' ProjectsAgentSessionsContextsList (Maybe Text)
- pasclUploadType :: Lens' ProjectsAgentSessionsContextsList (Maybe Text)
- pasclPageToken :: Lens' ProjectsAgentSessionsContextsList (Maybe Text)
- pasclPageSize :: Lens' ProjectsAgentSessionsContextsList (Maybe Int32)
- pasclCallback :: Lens' ProjectsAgentSessionsContextsList (Maybe Text)
REST Resource
type ProjectsAgentSessionsContextsListResource = "v2" :> (Capture "parent" Text :> ("contexts" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] GoogleCloudDialogflowV2ListContextsResponse)))))))))) Source #
A resource alias for dialogflow.projects.agent.sessions.contexts.list
method which the
ProjectsAgentSessionsContextsList
request conforms to.
Creating a Request
projectsAgentSessionsContextsList Source #
Creates a value of ProjectsAgentSessionsContextsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsAgentSessionsContextsList Source #
Returns the list of all contexts in the specified session.
See: projectsAgentSessionsContextsList
smart constructor.
Instances
Request Lenses
pasclParent :: Lens' ProjectsAgentSessionsContextsList Text Source #
Required. The session to list all contexts from. Format: `projects//agent/sessions/`.
pasclXgafv :: Lens' ProjectsAgentSessionsContextsList (Maybe Xgafv) Source #
V1 error format.
pasclUploadProtocol :: Lens' ProjectsAgentSessionsContextsList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pasclAccessToken :: Lens' ProjectsAgentSessionsContextsList (Maybe Text) Source #
OAuth access token.
pasclUploadType :: Lens' ProjectsAgentSessionsContextsList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pasclPageToken :: Lens' ProjectsAgentSessionsContextsList (Maybe Text) Source #
Optional. The next_page_token value returned from a previous list request.
pasclPageSize :: Lens' ProjectsAgentSessionsContextsList (Maybe Int32) Source #
Optional. The maximum number of items to return in a single page. By default 100 and at most 1000.