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 intent.
See: Dialogflow API Reference for dialogflow.projects.agent.intents.get
.
Synopsis
- type ProjectsAgentIntentsGetResource = "v2" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "languageCode" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "intentView" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] GoogleCloudDialogflowV2Intent)))))))))
- projectsAgentIntentsGet :: Text -> ProjectsAgentIntentsGet
- data ProjectsAgentIntentsGet
- paigXgafv :: Lens' ProjectsAgentIntentsGet (Maybe Xgafv)
- paigLanguageCode :: Lens' ProjectsAgentIntentsGet (Maybe Text)
- paigUploadProtocol :: Lens' ProjectsAgentIntentsGet (Maybe Text)
- paigAccessToken :: Lens' ProjectsAgentIntentsGet (Maybe Text)
- paigUploadType :: Lens' ProjectsAgentIntentsGet (Maybe Text)
- paigIntentView :: Lens' ProjectsAgentIntentsGet (Maybe Text)
- paigName :: Lens' ProjectsAgentIntentsGet Text
- paigCallback :: Lens' ProjectsAgentIntentsGet (Maybe Text)
REST Resource
type ProjectsAgentIntentsGetResource = "v2" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "languageCode" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "intentView" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] GoogleCloudDialogflowV2Intent))))))))) Source #
A resource alias for dialogflow.projects.agent.intents.get
method which the
ProjectsAgentIntentsGet
request conforms to.
Creating a Request
projectsAgentIntentsGet Source #
Creates a value of ProjectsAgentIntentsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsAgentIntentsGet Source #
Retrieves the specified intent.
See: projectsAgentIntentsGet
smart constructor.
Instances
Request Lenses
paigLanguageCode :: Lens' ProjectsAgentIntentsGet (Maybe Text) Source #
Optional. The language to retrieve 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.
paigUploadProtocol :: Lens' ProjectsAgentIntentsGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
paigAccessToken :: Lens' ProjectsAgentIntentsGet (Maybe Text) Source #
OAuth access token.
paigUploadType :: Lens' ProjectsAgentIntentsGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
paigIntentView :: Lens' ProjectsAgentIntentsGet (Maybe Text) Source #
Optional. The resource view to apply to the returned intent.
paigName :: Lens' ProjectsAgentIntentsGet Text Source #
Required. The name of the intent. Format: `projects//agent/intents/`.
paigCallback :: Lens' ProjectsAgentIntentsGet (Maybe Text) Source #
JSONP