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 document provides reference information for the `UpdatePolicyRequest` class within the Google Cloud Organization Policy v2 API, specifically version 2.4.0, and also links to other available versions."],["The `UpdatePolicyRequest` class is used to send requests to the `UpdatePolicy` method and inherits from `object`, while implementing several interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["This class has two constructors, a default one and one that takes another `UpdatePolicyRequest` as a parameter, intended for creating a copy of an existing request object."],["The `UpdatePolicyRequest` class includes two key properties: `Policy`, which is the policy to be updated, and `UpdateMask`, a field mask specifying which policy fields should be overwritten."]]],[]]