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 |
Returns the list of all entity types in the specified agent.
See: Dialogflow API Reference for dialogflow.projects.agent.entityTypes.list
.
Synopsis
- type ProjectsAgentEntityTypesListResource = "v2" :> (Capture "parent" Text :> ("entityTypes" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "languageCode" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] GoogleCloudDialogflowV2ListEntityTypesResponse)))))))))))
- projectsAgentEntityTypesList :: Text -> ProjectsAgentEntityTypesList
- data ProjectsAgentEntityTypesList
- paetlParent :: Lens' ProjectsAgentEntityTypesList Text
- paetlXgafv :: Lens' ProjectsAgentEntityTypesList (Maybe Xgafv)
- paetlLanguageCode :: Lens' ProjectsAgentEntityTypesList (Maybe Text)
- paetlUploadProtocol :: Lens' ProjectsAgentEntityTypesList (Maybe Text)
- paetlAccessToken :: Lens' ProjectsAgentEntityTypesList (Maybe Text)
- paetlUploadType :: Lens' ProjectsAgentEntityTypesList (Maybe Text)
- paetlPageToken :: Lens' ProjectsAgentEntityTypesList (Maybe Text)
- paetlPageSize :: Lens' ProjectsAgentEntityTypesList (Maybe Int32)
- paetlCallback :: Lens' ProjectsAgentEntityTypesList (Maybe Text)
REST Resource
type ProjectsAgentEntityTypesListResource = "v2" :> (Capture "parent" Text :> ("entityTypes" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "languageCode" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] GoogleCloudDialogflowV2ListEntityTypesResponse))))))))))) Source #
A resource alias for dialogflow.projects.agent.entityTypes.list
method which the
ProjectsAgentEntityTypesList
request conforms to.
Creating a Request
projectsAgentEntityTypesList Source #
Creates a value of ProjectsAgentEntityTypesList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsAgentEntityTypesList Source #
Returns the list of all entity types in the specified agent.
See: projectsAgentEntityTypesList
smart constructor.
Instances
Request Lenses
paetlParent :: Lens' ProjectsAgentEntityTypesList Text Source #
Required. The agent to list all entity types from. Format: `projects//agent`.
paetlXgafv :: Lens' ProjectsAgentEntityTypesList (Maybe Xgafv) Source #
V1 error format.
paetlLanguageCode :: Lens' ProjectsAgentEntityTypesList (Maybe Text) Source #
Optional. The language to list 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.
paetlUploadProtocol :: Lens' ProjectsAgentEntityTypesList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
paetlAccessToken :: Lens' ProjectsAgentEntityTypesList (Maybe Text) Source #
OAuth access token.
paetlUploadType :: Lens' ProjectsAgentEntityTypesList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
paetlPageToken :: Lens' ProjectsAgentEntityTypesList (Maybe Text) Source #
Optional. The next_page_token value returned from a previous list request.
paetlPageSize :: Lens' ProjectsAgentEntityTypesList (Maybe Int32) Source #
Optional. The maximum number of items to return in a single page. By default 100 and at most 1000.
paetlCallback :: Lens' ProjectsAgentEntityTypesList (Maybe Text) Source #
JSONP