public sealed class UpdatePolicyRequest : IMessage<UpdatePolicyRequest>, IEquatable<UpdatePolicyRequest>, IDeepCloneable<UpdatePolicyRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Identity and Access Management (IAM) v2 API class UpdatePolicyRequest.
To prevent conflicting updates, the etag value must match the value that
is stored in IAM. If the etag values do not match, the request fails with
a 409 error code and ABORTED status.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eUpdatePolicyRequest\u003c/code\u003e class is part of the Google Cloud Identity and Access Management (IAM) v2 API, and it is used to request an update to a policy.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, indicating its capabilities for message handling, equality comparison, deep cloning, and buffered operations.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUpdatePolicyRequest\u003c/code\u003e class has a constructor and a property named \u003ccode\u003ePolicy\u003c/code\u003e, which is required for updating a policy and uses the \u003ccode\u003eetag\u003c/code\u003e value to ensure consistency.\u003c/p\u003e\n"],["\u003cp\u003eThis reference documentation is specifically for version 1.1.0, with links provided to documentation for other versions (1.0.0, 1.2.0, and 1.3.0 (latest)).\u003c/p\u003e\n"]]],[],null,[]]