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