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 |
Creates multiple new entities in the specified entity type. Operation
See: Dialogflow API Reference for dialogflow.projects.agent.entityTypes.entities.batchCreate
.
Synopsis
- type ProjectsAgentEntityTypesEntitiesBatchCreateResource = "v2" :> (Capture "parent" Text :> ("entities:batchCreate" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GoogleCloudDialogflowV2BatchCreateEntitiesRequest :> Post '[JSON] GoogleLongrunningOperation)))))))))
- projectsAgentEntityTypesEntitiesBatchCreate :: Text -> GoogleCloudDialogflowV2BatchCreateEntitiesRequest -> ProjectsAgentEntityTypesEntitiesBatchCreate
- data ProjectsAgentEntityTypesEntitiesBatchCreate
- paetebcParent :: Lens' ProjectsAgentEntityTypesEntitiesBatchCreate Text
- paetebcXgafv :: Lens' ProjectsAgentEntityTypesEntitiesBatchCreate (Maybe Xgafv)
- paetebcUploadProtocol :: Lens' ProjectsAgentEntityTypesEntitiesBatchCreate (Maybe Text)
- paetebcAccessToken :: Lens' ProjectsAgentEntityTypesEntitiesBatchCreate (Maybe Text)
- paetebcUploadType :: Lens' ProjectsAgentEntityTypesEntitiesBatchCreate (Maybe Text)
- paetebcPayload :: Lens' ProjectsAgentEntityTypesEntitiesBatchCreate GoogleCloudDialogflowV2BatchCreateEntitiesRequest
- paetebcCallback :: Lens' ProjectsAgentEntityTypesEntitiesBatchCreate (Maybe Text)
REST Resource
type ProjectsAgentEntityTypesEntitiesBatchCreateResource = "v2" :> (Capture "parent" Text :> ("entities:batchCreate" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GoogleCloudDialogflowV2BatchCreateEntitiesRequest :> Post '[JSON] GoogleLongrunningOperation))))))))) Source #
A resource alias for dialogflow.projects.agent.entityTypes.entities.batchCreate
method which the
ProjectsAgentEntityTypesEntitiesBatchCreate
request conforms to.
Creating a Request
projectsAgentEntityTypesEntitiesBatchCreate Source #
:: Text | |
-> GoogleCloudDialogflowV2BatchCreateEntitiesRequest | |
-> ProjectsAgentEntityTypesEntitiesBatchCreate |
Creates a value of ProjectsAgentEntityTypesEntitiesBatchCreate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsAgentEntityTypesEntitiesBatchCreate Source #
Creates multiple new entities in the specified entity type. Operation
See: projectsAgentEntityTypesEntitiesBatchCreate
smart constructor.
Instances
Request Lenses
paetebcParent :: Lens' ProjectsAgentEntityTypesEntitiesBatchCreate Text Source #
Required. The name of the entity type to create entities in. Format: `projects//agent/entityTypes/`.
paetebcXgafv :: Lens' ProjectsAgentEntityTypesEntitiesBatchCreate (Maybe Xgafv) Source #
V1 error format.
paetebcUploadProtocol :: Lens' ProjectsAgentEntityTypesEntitiesBatchCreate (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
paetebcAccessToken :: Lens' ProjectsAgentEntityTypesEntitiesBatchCreate (Maybe Text) Source #
OAuth access token.
paetebcUploadType :: Lens' ProjectsAgentEntityTypesEntitiesBatchCreate (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
paetebcPayload :: Lens' ProjectsAgentEntityTypesEntitiesBatchCreate GoogleCloudDialogflowV2BatchCreateEntitiesRequest Source #
Multipart request metadata.