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-04-01 UTC."],[[["This document provides reference information for the `UpdatePolicyRequest` class within the Google Cloud Identity and Access Management (IAM) v2 API, specifically version 1.0.0."],["The `UpdatePolicyRequest` class is used to send requests for updating policies, and it inherits from `object` while implementing interfaces such as `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The class has two constructors, a default constructor and one that accepts another `UpdatePolicyRequest` object as a parameter, that can be found in the `Google.Cloud.Iam.V2` namespace."],["The `UpdatePolicyRequest` class includes a `Policy` property, which is required for updating policies and is of type `Policy`, where the `etag` value within the policy must match the stored value to prevent conflicts."],["The latest version of this API is version 1.3.0, and versions 1.2.0 and 1.1.0 are also referenced here."]]],[]]