Updates a revision of an existing Posture. If the posture revision that you update is currently deployed, then a new revision of the posture is created. To prevent concurrent updates from overwriting each other, always follow the read-modify-write pattern when you update a posture: 1. Call GetPosture to get the current version of the posture. 2. Update the fields in the posture as needed. 3. Call UpdatePosture to update the posture. Ensure that your request includes the etag value from the GetPosture response. Important: If you omit the etag when you call UpdatePosture, then the updated posture unconditionally overwrites the existing posture.
Path parameters
Required. Identifier. The name of the posture, in the format organizations/{organization}/locations/global/postures/{posture_id}.
Query parameters
Required. The revision ID of the posture to update. If the posture revision that you update is currently deployed, then a new revision of the posture is created.
Required. The fields in the Posture to update. You can update only the following fields: * Posture.description * Posture.policy_sets * Posture.state
Request body
Response
Successful response