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 entity type.
See: Dialogflow API Reference for dialogflow.projects.agent.entityTypes.get
.
Synopsis
- type ProjectsAgentEntityTypesGetResource = "v2" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "languageCode" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] GoogleCloudDialogflowV2EntityType))))))))
- projectsAgentEntityTypesGet :: Text -> ProjectsAgentEntityTypesGet
- data ProjectsAgentEntityTypesGet
- paetgXgafv :: Lens' ProjectsAgentEntityTypesGet (Maybe Xgafv)
- paetgLanguageCode :: Lens' ProjectsAgentEntityTypesGet (Maybe Text)
- paetgUploadProtocol :: Lens' ProjectsAgentEntityTypesGet (Maybe Text)
- paetgAccessToken :: Lens' ProjectsAgentEntityTypesGet (Maybe Text)
- paetgUploadType :: Lens' ProjectsAgentEntityTypesGet (Maybe Text)
- paetgName :: Lens' ProjectsAgentEntityTypesGet Text
- paetgCallback :: Lens' ProjectsAgentEntityTypesGet (Maybe Text)
REST Resource
type ProjectsAgentEntityTypesGetResource = "v2" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "languageCode" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] GoogleCloudDialogflowV2EntityType)))))))) Source #
A resource alias for dialogflow.projects.agent.entityTypes.get
method which the
ProjectsAgentEntityTypesGet
request conforms to.
Creating a Request
projectsAgentEntityTypesGet Source #
Creates a value of ProjectsAgentEntityTypesGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsAgentEntityTypesGet Source #
Retrieves the specified entity type.
See: projectsAgentEntityTypesGet
smart constructor.
Instances
Request Lenses
paetgXgafv :: Lens' ProjectsAgentEntityTypesGet (Maybe Xgafv) Source #
V1 error format.
paetgLanguageCode :: Lens' ProjectsAgentEntityTypesGet (Maybe Text) Source #
Optional. The language to retrieve entity synonyms for. If not specified, the agent's default language is used. More than a dozen languages are supported. Note: languages must be enabled in the agent, before they can be used.
paetgUploadProtocol :: Lens' ProjectsAgentEntityTypesGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
paetgAccessToken :: Lens' ProjectsAgentEntityTypesGet (Maybe Text) Source #
OAuth access token.
paetgUploadType :: Lens' ProjectsAgentEntityTypesGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
paetgName :: Lens' ProjectsAgentEntityTypesGet Text Source #
Required. The name of the entity type. Format: `projects//agent/entityTypes/`.
paetgCallback :: Lens' ProjectsAgentEntityTypesGet (Maybe Text) Source #
JSONP