Update Character

Update updates an existing Character resource.

This RPC accepts an UpdateCharacterRequest containing the updated character data and an update mask to specify which fields should be modified. The updated Character is then returned.

HTTP Mapping: PATCH “/v1/conversation/characters/{character.name=characters/*}”

Path parameters

characterstringRequired
The character id.

Query parameters

updateMaskstringOptionalformat: "field-mask"

update_mask specifies the fields to update in the Character.

Request

This endpoint expects an object.
displayNamestringRequired

display_name is the human-readable name for the Character.

namestringOptional

name is the unique resource identifier for the Character. It follows the format “characters/{character}”.

descriptionstringOptional
description provides a brief overview of the Character's purpose.

Response

OK
displayNamestring

display_name is the human-readable name for the Character.

namestring

name is the unique resource identifier for the Character. It follows the format “characters/{character}”.

descriptionstring
description provides a brief overview of the Character's purpose.
versionslist of objectsRead-only
version is the current version of the Character.

Errors

400
Bad Request Error