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 session entity types in the specified session.
See: Dialogflow API Reference for dialogflow.projects.agent.sessions.entityTypes.list
.
Synopsis
- type ProjectsAgentSessionsEntityTypesListResource = "v2" :> (Capture "parent" Text :> ("entityTypes" :> (QueryParam "$.xgafv" Xgafv :> (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] GoogleCloudDialogflowV2ListSessionEntityTypesResponse))))))))))
- projectsAgentSessionsEntityTypesList :: Text -> ProjectsAgentSessionsEntityTypesList
- data ProjectsAgentSessionsEntityTypesList
- paSetlParent :: Lens' ProjectsAgentSessionsEntityTypesList Text
- paSetlXgafv :: Lens' ProjectsAgentSessionsEntityTypesList (Maybe Xgafv)
- paSetlUploadProtocol :: Lens' ProjectsAgentSessionsEntityTypesList (Maybe Text)
- paSetlAccessToken :: Lens' ProjectsAgentSessionsEntityTypesList (Maybe Text)
- paSetlUploadType :: Lens' ProjectsAgentSessionsEntityTypesList (Maybe Text)
- paSetlPageToken :: Lens' ProjectsAgentSessionsEntityTypesList (Maybe Text)
- paSetlPageSize :: Lens' ProjectsAgentSessionsEntityTypesList (Maybe Int32)
- paSetlCallback :: Lens' ProjectsAgentSessionsEntityTypesList (Maybe Text)
REST Resource
type ProjectsAgentSessionsEntityTypesListResource = "v2" :> (Capture "parent" Text :> ("entityTypes" :> (QueryParam "$.xgafv" Xgafv :> (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] GoogleCloudDialogflowV2ListSessionEntityTypesResponse)))))))))) Source #
A resource alias for dialogflow.projects.agent.sessions.entityTypes.list
method which the
ProjectsAgentSessionsEntityTypesList
request conforms to.
Creating a Request
projectsAgentSessionsEntityTypesList Source #
Creates a value of ProjectsAgentSessionsEntityTypesList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsAgentSessionsEntityTypesList Source #
Returns the list of all session entity types in the specified session.
See: projectsAgentSessionsEntityTypesList
smart constructor.
Instances
Request Lenses
paSetlParent :: Lens' ProjectsAgentSessionsEntityTypesList Text Source #
Required. The session to list all session entity types from. Format: `projects//agent/sessions/`.
paSetlXgafv :: Lens' ProjectsAgentSessionsEntityTypesList (Maybe Xgafv) Source #
V1 error format.
paSetlUploadProtocol :: Lens' ProjectsAgentSessionsEntityTypesList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
paSetlAccessToken :: Lens' ProjectsAgentSessionsEntityTypesList (Maybe Text) Source #
OAuth access token.
paSetlUploadType :: Lens' ProjectsAgentSessionsEntityTypesList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
paSetlPageToken :: Lens' ProjectsAgentSessionsEntityTypesList (Maybe Text) Source #
Optional. The next_page_token value returned from a previous list request.
paSetlPageSize :: Lens' ProjectsAgentSessionsEntityTypesList (Maybe Int32) Source #
Optional. The maximum number of items to return in a single page. By default 100 and at most 1000.