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."],[[["This document provides reference information for the `UpdatePolicyRequest` class within the Google Cloud Organization Policy v2 API, specifically version 2.3.0, and outlines how to use the class."],["`UpdatePolicyRequest` is a class used to send requests to the `UpdatePolicy` method of the `OrgPolicy` API, and implements several interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The class includes two constructors, one default and one that accepts another `UpdatePolicyRequest` object, allowing for initialization and cloning."],["The class has properties, `Policy` and `UpdateMask`, where `Policy` represents the policy that is required to be updated, and `UpdateMask` is used to specify the fields to overwrite within the policy."],["The document lists other versions of the `UpdatePolicyRequest` class, from version 1.0.0 to the latest version 2.7.0, and a link to the documentation for each is provided."]]],[]]