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 |
Updates the specified context.
See: Dialogflow API Reference for dialogflow.projects.agent.sessions.contexts.patch
.
Synopsis
- type ProjectsAgentSessionsContextsPatchResource = "v2" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "updateMask" GFieldMask :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GoogleCloudDialogflowV2Context :> Patch '[JSON] GoogleCloudDialogflowV2Context)))))))))
- projectsAgentSessionsContextsPatch :: GoogleCloudDialogflowV2Context -> Text -> ProjectsAgentSessionsContextsPatch
- data ProjectsAgentSessionsContextsPatch
- pascpXgafv :: Lens' ProjectsAgentSessionsContextsPatch (Maybe Xgafv)
- pascpUploadProtocol :: Lens' ProjectsAgentSessionsContextsPatch (Maybe Text)
- pascpUpdateMask :: Lens' ProjectsAgentSessionsContextsPatch (Maybe GFieldMask)
- pascpAccessToken :: Lens' ProjectsAgentSessionsContextsPatch (Maybe Text)
- pascpUploadType :: Lens' ProjectsAgentSessionsContextsPatch (Maybe Text)
- pascpPayload :: Lens' ProjectsAgentSessionsContextsPatch GoogleCloudDialogflowV2Context
- pascpName :: Lens' ProjectsAgentSessionsContextsPatch Text
- pascpCallback :: Lens' ProjectsAgentSessionsContextsPatch (Maybe Text)
REST Resource
type ProjectsAgentSessionsContextsPatchResource = "v2" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "updateMask" GFieldMask :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GoogleCloudDialogflowV2Context :> Patch '[JSON] GoogleCloudDialogflowV2Context))))))))) Source #
A resource alias for dialogflow.projects.agent.sessions.contexts.patch
method which the
ProjectsAgentSessionsContextsPatch
request conforms to.
Creating a Request
projectsAgentSessionsContextsPatch Source #
Creates a value of ProjectsAgentSessionsContextsPatch
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsAgentSessionsContextsPatch Source #
Updates the specified context.
See: projectsAgentSessionsContextsPatch
smart constructor.
Instances
Request Lenses
pascpXgafv :: Lens' ProjectsAgentSessionsContextsPatch (Maybe Xgafv) Source #
V1 error format.
pascpUploadProtocol :: Lens' ProjectsAgentSessionsContextsPatch (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pascpUpdateMask :: Lens' ProjectsAgentSessionsContextsPatch (Maybe GFieldMask) Source #
Optional. The mask to control which fields get updated.
pascpAccessToken :: Lens' ProjectsAgentSessionsContextsPatch (Maybe Text) Source #
OAuth access token.
pascpUploadType :: Lens' ProjectsAgentSessionsContextsPatch (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pascpPayload :: Lens' ProjectsAgentSessionsContextsPatch GoogleCloudDialogflowV2Context Source #
Multipart request metadata.