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 session entity type.
See: Dialogflow API Reference for dialogflow.projects.agent.sessions.entityTypes.get
.
Synopsis
- type ProjectsAgentSessionsEntityTypesGetResource = "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] GoogleCloudDialogflowV2SessionEntityType)))))))
- projectsAgentSessionsEntityTypesGet :: Text -> ProjectsAgentSessionsEntityTypesGet
- data ProjectsAgentSessionsEntityTypesGet
- paSetgXgafv :: Lens' ProjectsAgentSessionsEntityTypesGet (Maybe Xgafv)
- paSetgUploadProtocol :: Lens' ProjectsAgentSessionsEntityTypesGet (Maybe Text)
- paSetgAccessToken :: Lens' ProjectsAgentSessionsEntityTypesGet (Maybe Text)
- paSetgUploadType :: Lens' ProjectsAgentSessionsEntityTypesGet (Maybe Text)
- paSetgName :: Lens' ProjectsAgentSessionsEntityTypesGet Text
- paSetgCallback :: Lens' ProjectsAgentSessionsEntityTypesGet (Maybe Text)
REST Resource
type ProjectsAgentSessionsEntityTypesGetResource = "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] GoogleCloudDialogflowV2SessionEntityType))))))) Source #
A resource alias for dialogflow.projects.agent.sessions.entityTypes.get
method which the
ProjectsAgentSessionsEntityTypesGet
request conforms to.
Creating a Request
projectsAgentSessionsEntityTypesGet Source #
Creates a value of ProjectsAgentSessionsEntityTypesGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsAgentSessionsEntityTypesGet Source #
Retrieves the specified session entity type.
See: projectsAgentSessionsEntityTypesGet
smart constructor.
Instances
Request Lenses
paSetgXgafv :: Lens' ProjectsAgentSessionsEntityTypesGet (Maybe Xgafv) Source #
V1 error format.
paSetgUploadProtocol :: Lens' ProjectsAgentSessionsEntityTypesGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
paSetgAccessToken :: Lens' ProjectsAgentSessionsEntityTypesGet (Maybe Text) Source #
OAuth access token.
paSetgUploadType :: Lens' ProjectsAgentSessionsEntityTypesGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
paSetgName :: Lens' ProjectsAgentSessionsEntityTypesGet Text Source #
Required. The name of the session entity type. Format: `projects//agent/sessions//entityTypes/`.