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 intents in the specified agent.
See: Dialogflow API Reference for dialogflow.projects.agent.intents.list
.
Synopsis
- type ProjectsAgentIntentsListResource = "v2" :> (Capture "parent" Text :> ("intents" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "languageCode" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "intentView" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] GoogleCloudDialogflowV2ListIntentsResponse))))))))))))
- projectsAgentIntentsList :: Text -> ProjectsAgentIntentsList
- data ProjectsAgentIntentsList
- pailParent :: Lens' ProjectsAgentIntentsList Text
- pailXgafv :: Lens' ProjectsAgentIntentsList (Maybe Xgafv)
- pailLanguageCode :: Lens' ProjectsAgentIntentsList (Maybe Text)
- pailUploadProtocol :: Lens' ProjectsAgentIntentsList (Maybe Text)
- pailAccessToken :: Lens' ProjectsAgentIntentsList (Maybe Text)
- pailUploadType :: Lens' ProjectsAgentIntentsList (Maybe Text)
- pailIntentView :: Lens' ProjectsAgentIntentsList (Maybe Text)
- pailPageToken :: Lens' ProjectsAgentIntentsList (Maybe Text)
- pailPageSize :: Lens' ProjectsAgentIntentsList (Maybe Int32)
- pailCallback :: Lens' ProjectsAgentIntentsList (Maybe Text)
REST Resource
type ProjectsAgentIntentsListResource = "v2" :> (Capture "parent" Text :> ("intents" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "languageCode" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "intentView" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] GoogleCloudDialogflowV2ListIntentsResponse)))))))))))) Source #
A resource alias for dialogflow.projects.agent.intents.list
method which the
ProjectsAgentIntentsList
request conforms to.
Creating a Request
projectsAgentIntentsList Source #
Creates a value of ProjectsAgentIntentsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsAgentIntentsList Source #
Returns the list of all intents in the specified agent.
See: projectsAgentIntentsList
smart constructor.
Instances
Request Lenses
pailParent :: Lens' ProjectsAgentIntentsList Text Source #
Required. The agent to list all intents from. Format: `projects//agent`.
pailLanguageCode :: Lens' ProjectsAgentIntentsList (Maybe Text) Source #
Optional. The language to list training phrases, parameters and rich messages 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.
pailUploadProtocol :: Lens' ProjectsAgentIntentsList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pailAccessToken :: Lens' ProjectsAgentIntentsList (Maybe Text) Source #
OAuth access token.
pailUploadType :: Lens' ProjectsAgentIntentsList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pailIntentView :: Lens' ProjectsAgentIntentsList (Maybe Text) Source #
Optional. The resource view to apply to the returned intent.
pailPageToken :: Lens' ProjectsAgentIntentsList (Maybe Text) Source #
Optional. The next_page_token value returned from a previous list request.
pailPageSize :: Lens' ProjectsAgentIntentsList (Maybe Int32) Source #
Optional. The maximum number of items to return in a single page. By default 100 and at most 1000.
pailCallback :: Lens' ProjectsAgentIntentsList (Maybe Text) Source #
JSONP