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 or creates multiple entities in the specified entity type. This method does not affect entities in the entity type that aren't explicitly specified in the request. Operation
See: Dialogflow API Reference for dialogflow.projects.agent.entityTypes.entities.batchUpdate
.
Synopsis
- type ProjectsAgentEntityTypesEntitiesBatchUpdateResource = "v2" :> (Capture "parent" Text :> ("entities:batchUpdate" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GoogleCloudDialogflowV2BatchUpdateEntitiesRequest :> Post '[JSON] GoogleLongrunningOperation)))))))))
- projectsAgentEntityTypesEntitiesBatchUpdate :: Text -> GoogleCloudDialogflowV2BatchUpdateEntitiesRequest -> ProjectsAgentEntityTypesEntitiesBatchUpdate
- data ProjectsAgentEntityTypesEntitiesBatchUpdate
- paetebuParent :: Lens' ProjectsAgentEntityTypesEntitiesBatchUpdate Text
- paetebuXgafv :: Lens' ProjectsAgentEntityTypesEntitiesBatchUpdate (Maybe Xgafv)
- paetebuUploadProtocol :: Lens' ProjectsAgentEntityTypesEntitiesBatchUpdate (Maybe Text)
- paetebuAccessToken :: Lens' ProjectsAgentEntityTypesEntitiesBatchUpdate (Maybe Text)
- paetebuUploadType :: Lens' ProjectsAgentEntityTypesEntitiesBatchUpdate (Maybe Text)
- paetebuPayload :: Lens' ProjectsAgentEntityTypesEntitiesBatchUpdate GoogleCloudDialogflowV2BatchUpdateEntitiesRequest
- paetebuCallback :: Lens' ProjectsAgentEntityTypesEntitiesBatchUpdate (Maybe Text)
REST Resource
type ProjectsAgentEntityTypesEntitiesBatchUpdateResource = "v2" :> (Capture "parent" Text :> ("entities:batchUpdate" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GoogleCloudDialogflowV2BatchUpdateEntitiesRequest :> Post '[JSON] GoogleLongrunningOperation))))))))) Source #
A resource alias for dialogflow.projects.agent.entityTypes.entities.batchUpdate
method which the
ProjectsAgentEntityTypesEntitiesBatchUpdate
request conforms to.
Creating a Request
projectsAgentEntityTypesEntitiesBatchUpdate Source #
:: Text | |
-> GoogleCloudDialogflowV2BatchUpdateEntitiesRequest | |
-> ProjectsAgentEntityTypesEntitiesBatchUpdate |
Creates a value of ProjectsAgentEntityTypesEntitiesBatchUpdate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsAgentEntityTypesEntitiesBatchUpdate Source #
Updates or creates multiple entities in the specified entity type. This method does not affect entities in the entity type that aren't explicitly specified in the request. Operation
See: projectsAgentEntityTypesEntitiesBatchUpdate
smart constructor.
Instances
Request Lenses
paetebuParent :: Lens' ProjectsAgentEntityTypesEntitiesBatchUpdate Text Source #
Required. The name of the entity type to update or create entities in. Format: `projects//agent/entityTypes/`.
paetebuXgafv :: Lens' ProjectsAgentEntityTypesEntitiesBatchUpdate (Maybe Xgafv) Source #
V1 error format.
paetebuUploadProtocol :: Lens' ProjectsAgentEntityTypesEntitiesBatchUpdate (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
paetebuAccessToken :: Lens' ProjectsAgentEntityTypesEntitiesBatchUpdate (Maybe Text) Source #
OAuth access token.
paetebuUploadType :: Lens' ProjectsAgentEntityTypesEntitiesBatchUpdate (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
paetebuPayload :: Lens' ProjectsAgentEntityTypesEntitiesBatchUpdate GoogleCloudDialogflowV2BatchUpdateEntitiesRequest Source #
Multipart request metadata.