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 <response: google.protobuf.Empty
>
HTTP request
POST https://dialogflow.googleapis.com/v2beta1/{parent=projects/*/locations/*/agent/entityTypes/*}/entities:batchUpdate
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The name of the entity type to update or create entities in. Format: Authorization requires the following Google IAM permission on the specified resource
|
Request body
The request body contains data with the following structure:
JSON representation | |
---|---|
{
"entities": [
{
object ( |
Fields | |
---|---|
entities[] |
Required. The entities to update or create. |
languageCode |
Optional. The language of entity synonyms defined in |
updateMask |
Optional. The mask to control which fields get updated. A comma-separated list of fully qualified names of fields. Example: |
Response body
If successful, the response body contains an instance of Operation
.
Authorization Scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platform
https://www.googleapis.com/auth/dialogflow
For more information, see the Authentication Overview.