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."],[[["This document provides reference information for the `UpdatePolicyRequest` class within the Google Cloud Identity and Access Management (IAM) v2 API, specifically version 1.2.0."],["`UpdatePolicyRequest` is a request message used for updating a policy and implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The class inherits from `object` and includes properties such as `Policy`, which is a required field representing the policy to be updated, along with inherited members from `object`."],["There are two constructors available for `UpdatePolicyRequest`: a default constructor and one that takes another `UpdatePolicyRequest` instance as a parameter."],["The `Policy` property requires an `etag` value that matches the value stored in IAM to prevent conflicting updates, otherwise resulting in a `409` error."]]],[]]