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 |
Retrieves the specified context.
See: Dialogflow API Reference for dialogflow.projects.agent.sessions.contexts.get
.
Synopsis
- type ProjectsAgentSessionsContextsGetResource = "v2" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] GoogleCloudDialogflowV2Context)))))))
- projectsAgentSessionsContextsGet :: Text -> ProjectsAgentSessionsContextsGet
- data ProjectsAgentSessionsContextsGet
- pascgXgafv :: Lens' ProjectsAgentSessionsContextsGet (Maybe Xgafv)
- pascgUploadProtocol :: Lens' ProjectsAgentSessionsContextsGet (Maybe Text)
- pascgAccessToken :: Lens' ProjectsAgentSessionsContextsGet (Maybe Text)
- pascgUploadType :: Lens' ProjectsAgentSessionsContextsGet (Maybe Text)
- pascgName :: Lens' ProjectsAgentSessionsContextsGet Text
- pascgCallback :: Lens' ProjectsAgentSessionsContextsGet (Maybe Text)
REST Resource
type ProjectsAgentSessionsContextsGetResource = "v2" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] GoogleCloudDialogflowV2Context))))))) Source #
A resource alias for dialogflow.projects.agent.sessions.contexts.get
method which the
ProjectsAgentSessionsContextsGet
request conforms to.
Creating a Request
projectsAgentSessionsContextsGet Source #
Creates a value of ProjectsAgentSessionsContextsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsAgentSessionsContextsGet Source #
Retrieves the specified context.
See: projectsAgentSessionsContextsGet
smart constructor.
Instances
Request Lenses
pascgXgafv :: Lens' ProjectsAgentSessionsContextsGet (Maybe Xgafv) Source #
V1 error format.
pascgUploadProtocol :: Lens' ProjectsAgentSessionsContextsGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pascgAccessToken :: Lens' ProjectsAgentSessionsContextsGet (Maybe Text) Source #
OAuth access token.
pascgUploadType :: Lens' ProjectsAgentSessionsContextsGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").