Updates the entitlement specified in the request. Updated fields in the entitlement need to be specified in an update mask. The changes made to an entitlement are applicable only on future grants of the entitlement. However, if new approvers are added or existing approvers are removed from the approval workflow, the changes are effective on existing grants.
The following fields are not supported for updates:
All immutable fields
Entitlement name
Resource name
Resource type
Adding an approval workflow in an entitlement which previously had no approval workflow.
Deleting the approval workflow from an entitlement.
Adding or deleting a step in the approval workflow (only one step is supported)
Note that updates are allowed on the list of approvers in an approval workflow step.
Required. The list of fields to update. A field is overwritten if, and only if, it is in the mask. Any immutable fields set in the mask are ignored by the server. Repeated fields and map fields are only allowed in the last position of a paths string and overwrite the existing values. Hence an update to a repeated field or a map should contain the entire list of values. The fields specified in the updateMask are relative to the resource and not to the request. (e.g. MaxRequestDuration; notentitlement.MaxRequestDuration) A value of '*' for this field refers to full replacement of the resource.
This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo".
Request body
The request body contains an instance of Entitlement.
Response body
If successful, the response body contains an instance of Operation.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-17 UTC."],[[["This webpage outlines the process for updating an entitlement, specifying that changes made to an entitlement are only applicable to future grants, except for modifications to the approval workflow which affect existing grants."],["The `PATCH` method is used to update the entitlement via an HTTP request, and the `entitlement.name` path parameter is used as an identifier, following gRPC Transcoding syntax."],["The `updateMask` query parameter is required to specify which fields within the entitlement should be updated, and only the fields listed within the mask are overwritten."],["Updating an entitlement involves sending a request body containing an instance of `Entitlement` and receiving a response body that includes an instance of `Operation` if successful."],["To make this update, you need to use the `https://www.googleapis.com/auth/cloud-platform` OAuth scope and have the `privilegedaccessmanager.entitlements.update` IAM permission on the targeted resource."]]],[]]