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."],[[["The latest version available is 2.7.0, with previous versions ranging down to 1.0.0, all listed for the `UpdatePolicyRequest` class."],["`UpdatePolicyRequest` is a class within the Google Cloud Organization Policy v2 API, used for updating policies and serving as a request type."],["`UpdatePolicyRequest` is inherited from the base `Object` class and implements several interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The class `UpdatePolicyRequest` has two constructors, a default one and another that accepts an `UpdatePolicyRequest` object as a parameter."],["The class has two key properties, `Policy` of type `Policy`, which specifies the policy to be updated, and `UpdateMask` of type `FieldMask`, used to specify the fields to be overwritten in the policy update."]]],[]]