public sealed class UpdatePolicyRequest : IMessage<UpdatePolicyRequest>, IEquatable<UpdatePolicyRequest>, IDeepCloneable<UpdatePolicyRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Organization Policy v2 API class UpdatePolicyRequest.
The request sent to the [UpdatePolicyRequest]
[google.cloud.orgpolicy.v2.OrgPolicy.UpdatePolicy] method.
Field mask used to specify the fields to be overwritten in the policy
by the set. The fields specified in the update_mask are relative to the
policy, not the full request.
[[["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."],[[["This document provides reference information for the `UpdatePolicyRequest` class within the Google Cloud Organization Policy v2 API, specifically version 2.6.0."],["The `UpdatePolicyRequest` class is a request sent to the `UpdatePolicy` method for updating a policy and it inherits from `object` while implementing `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The document provides access to documentation for multiple versions of the API, ranging from version 1.0.0 to the latest, version 2.7.0."],["The `UpdatePolicyRequest` class has two constructors: a default constructor and one that takes another `UpdatePolicyRequest` as a parameter."],["The `UpdatePolicyRequest` has two properties, `Policy` which is the policy to update and `UpdateMask` which specifies the fields to be overwritten in the policy."]]],[]]