@@ -1637,6 +1637,8 @@ def update_entity(self,
16371637 new_metadata : dict = None ,
16381638 new_fuzzy_match : bool = None ,
16391639 new_values : List ['CreateValue' ] = None ,
1640+ append : bool = None ,
1641+ include_audit : bool = None ,
16401642 ** kwargs ) -> 'DetailedResponse' :
16411643 """
16421644 Update entity.
@@ -1662,6 +1664,17 @@ def update_entity(self,
16621664 the entity.
16631665 :param List[CreateValue] new_values: (optional) An array of objects
16641666 describing the entity values.
1667+ :param bool append: (optional) Whether the new data is to be appended to
1668+ the existing data in the entity. If **append**=`false`, elements included
1669+ in the new data completely replace the corresponding existing elements,
1670+ including all subelements. For example, if the new data for the entity
1671+ includes **values** and **append**=`false`, all existing values for the
1672+ entity are discarded and replaced with the new values.
1673+ If **append**=`true`, existing elements are preserved, and the new elements
1674+ are added. If any elements in the new data collide with existing elements,
1675+ the update request fails.
1676+ :param bool include_audit: (optional) Whether to include the audit
1677+ properties (`created` and `updated` timestamps) in the response.
16651678 :param dict headers: A `dict` containing the request headers
16661679 :return: A `DetailedResponse` containing the result, headers and HTTP status code.
16671680 :rtype: DetailedResponse
@@ -1682,7 +1695,11 @@ def update_entity(self,
16821695 operation_id = 'update_entity' )
16831696 headers .update (sdk_headers )
16841697
1685- params = {'version' : self .version }
1698+ params = {
1699+ 'version' : self .version ,
1700+ 'append' : append ,
1701+ 'include_audit' : include_audit
1702+ }
16861703
16871704 data = {
16881705 'entity' : new_entity ,
0 commit comments