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 |
Updates/Creates multiple intents in the specified agent. Operation
See: Dialogflow API Reference for dialogflow.projects.agent.intents.batchUpdate
.
Synopsis
- type ProjectsAgentIntentsBatchUpdateResource = "v2" :> (Capture "parent" Text :> ("intents:batchUpdate" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GoogleCloudDialogflowV2BatchUpdateIntentsRequest :> Post '[JSON] GoogleLongrunningOperation)))))))))
- projectsAgentIntentsBatchUpdate :: Text -> GoogleCloudDialogflowV2BatchUpdateIntentsRequest -> ProjectsAgentIntentsBatchUpdate
- data ProjectsAgentIntentsBatchUpdate
- paibuParent :: Lens' ProjectsAgentIntentsBatchUpdate Text
- paibuXgafv :: Lens' ProjectsAgentIntentsBatchUpdate (Maybe Xgafv)
- paibuUploadProtocol :: Lens' ProjectsAgentIntentsBatchUpdate (Maybe Text)
- paibuAccessToken :: Lens' ProjectsAgentIntentsBatchUpdate (Maybe Text)
- paibuUploadType :: Lens' ProjectsAgentIntentsBatchUpdate (Maybe Text)
- paibuPayload :: Lens' ProjectsAgentIntentsBatchUpdate GoogleCloudDialogflowV2BatchUpdateIntentsRequest
- paibuCallback :: Lens' ProjectsAgentIntentsBatchUpdate (Maybe Text)
REST Resource
type ProjectsAgentIntentsBatchUpdateResource = "v2" :> (Capture "parent" Text :> ("intents:batchUpdate" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GoogleCloudDialogflowV2BatchUpdateIntentsRequest :> Post '[JSON] GoogleLongrunningOperation))))))))) Source #
A resource alias for dialogflow.projects.agent.intents.batchUpdate
method which the
ProjectsAgentIntentsBatchUpdate
request conforms to.
Creating a Request
projectsAgentIntentsBatchUpdate Source #
Creates a value of ProjectsAgentIntentsBatchUpdate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsAgentIntentsBatchUpdate Source #
Updates/Creates multiple intents in the specified agent. Operation
See: projectsAgentIntentsBatchUpdate
smart constructor.
Instances
Request Lenses
paibuParent :: Lens' ProjectsAgentIntentsBatchUpdate Text Source #
Required. The name of the agent to update or create intents in. Format: `projects//agent`.
paibuXgafv :: Lens' ProjectsAgentIntentsBatchUpdate (Maybe Xgafv) Source #
V1 error format.
paibuUploadProtocol :: Lens' ProjectsAgentIntentsBatchUpdate (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
paibuAccessToken :: Lens' ProjectsAgentIntentsBatchUpdate (Maybe Text) Source #
OAuth access token.
paibuUploadType :: Lens' ProjectsAgentIntentsBatchUpdate (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
paibuPayload :: Lens' ProjectsAgentIntentsBatchUpdate GoogleCloudDialogflowV2BatchUpdateIntentsRequest Source #
Multipart request metadata.