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 session entity type.
See: Dialogflow API Reference for dialogflow.projects.agent.sessions.entityTypes.patch
.
Synopsis
- type ProjectsAgentSessionsEntityTypesPatchResource = "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] GoogleCloudDialogflowV2SessionEntityType :> Patch '[JSON] GoogleCloudDialogflowV2SessionEntityType)))))))))
- projectsAgentSessionsEntityTypesPatch :: GoogleCloudDialogflowV2SessionEntityType -> Text -> ProjectsAgentSessionsEntityTypesPatch
- data ProjectsAgentSessionsEntityTypesPatch
- paSetpXgafv :: Lens' ProjectsAgentSessionsEntityTypesPatch (Maybe Xgafv)
- paSetpUploadProtocol :: Lens' ProjectsAgentSessionsEntityTypesPatch (Maybe Text)
- paSetpUpdateMask :: Lens' ProjectsAgentSessionsEntityTypesPatch (Maybe GFieldMask)
- paSetpAccessToken :: Lens' ProjectsAgentSessionsEntityTypesPatch (Maybe Text)
- paSetpUploadType :: Lens' ProjectsAgentSessionsEntityTypesPatch (Maybe Text)
- paSetpPayload :: Lens' ProjectsAgentSessionsEntityTypesPatch GoogleCloudDialogflowV2SessionEntityType
- paSetpName :: Lens' ProjectsAgentSessionsEntityTypesPatch Text
- paSetpCallback :: Lens' ProjectsAgentSessionsEntityTypesPatch (Maybe Text)
REST Resource
type ProjectsAgentSessionsEntityTypesPatchResource = "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] GoogleCloudDialogflowV2SessionEntityType :> Patch '[JSON] GoogleCloudDialogflowV2SessionEntityType))))))))) Source #
A resource alias for dialogflow.projects.agent.sessions.entityTypes.patch
method which the
ProjectsAgentSessionsEntityTypesPatch
request conforms to.
Creating a Request
projectsAgentSessionsEntityTypesPatch Source #
Creates a value of ProjectsAgentSessionsEntityTypesPatch
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsAgentSessionsEntityTypesPatch Source #
Updates the specified session entity type.
See: projectsAgentSessionsEntityTypesPatch
smart constructor.
Instances
Request Lenses
paSetpXgafv :: Lens' ProjectsAgentSessionsEntityTypesPatch (Maybe Xgafv) Source #
V1 error format.
paSetpUploadProtocol :: Lens' ProjectsAgentSessionsEntityTypesPatch (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
paSetpUpdateMask :: Lens' ProjectsAgentSessionsEntityTypesPatch (Maybe GFieldMask) Source #
Optional. The mask to control which fields get updated.
paSetpAccessToken :: Lens' ProjectsAgentSessionsEntityTypesPatch (Maybe Text) Source #
OAuth access token.
paSetpUploadType :: Lens' ProjectsAgentSessionsEntityTypesPatch (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
paSetpPayload :: Lens' ProjectsAgentSessionsEntityTypesPatch GoogleCloudDialogflowV2SessionEntityType Source #
Multipart request metadata.
paSetpName :: Lens' ProjectsAgentSessionsEntityTypesPatch Text Source #
Required. The unique identifier of this session entity type. Format: `projects//agent/sessions//entityTypes/`. `` must be the display name of an existing entity type in the same agent that will be overridden or supplemented.