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"]],[["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."],[[["The latest version of the `UpdatePolicyRequest` class is 2.7.0, accessible via a direct link provided in the content."],["This class is part of the Organization Policy v2 API within the `Google.Cloud.OrgPolicy.V2` namespace, specifically in the `Google.Cloud.OrgPolicy.V2.dll` assembly."],["The `UpdatePolicyRequest` class is used to send update requests to the `UpdatePolicy` method, implementing interfaces such as `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The `UpdatePolicyRequest` class has two constructors: a default constructor and another that accepts another `UpdatePolicyRequest` object as a parameter, and includes two properties, one for `Policy` to update, and another for `UpdateMask` for which fields to be updated."],["There are 11 different versions of `UpdatePolicyRequest` available, starting from 1.0.0 up to the latest version 2.7.0."]]],[]]