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\u003eThis document provides reference information for the \u003ccode\u003eUpdatePolicyRequest\u003c/code\u003e class within the Google Cloud Identity and Access Management (IAM) v2 API, specifically version 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUpdatePolicyRequest\u003c/code\u003e class is used to send requests for updating policies, and it inherits from \u003ccode\u003eobject\u003c/code\u003e while implementing interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors, a default constructor and one that accepts another \u003ccode\u003eUpdatePolicyRequest\u003c/code\u003e object as a parameter, that can be found in the \u003ccode\u003eGoogle.Cloud.Iam.V2\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUpdatePolicyRequest\u003c/code\u003e class includes a \u003ccode\u003ePolicy\u003c/code\u003e property, which is required for updating policies and is of type \u003ccode\u003ePolicy\u003c/code\u003e, where the \u003ccode\u003eetag\u003c/code\u003e value within the policy must match the stored value to prevent conflicts.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this API is version 1.3.0, and versions 1.2.0 and 1.1.0 are also referenced here.\u003c/p\u003e\n"]]],[],null,[]]