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"]],[["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 2025-03-21 UTC."],[[["The `UpdatePolicyRequest` class is part of the Google Cloud Identity and Access Management (IAM) v2 API, serving as a request message for updating a policy."],["This class implements multiple interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, providing functionalities such as deep cloning and protocol buffer message handling."],["The `UpdatePolicyRequest` class inherits from the `object` class and contains constructors to create new instances, either empty or by copying from another `UpdatePolicyRequest`."],["The class has a `Policy` property which is required for the update, and it ensures data integrity by checking the `etag` value to avoid conflicting updates, failing with a `409` error if they don't match."],["The latest version of the `UpdatePolicyRequest` can be found at version `1.3.0` of the documentation, with older versions available going back to `1.0.0`."]]],[]]