public sealed class UpdatePolicyRequest : IMessage<UpdatePolicyRequest>, IEquatable<UpdatePolicyRequest>, IDeepCloneable<UpdatePolicyRequest>, IBufferMessage, IMessage
Request message for [BinauthzManagementService.UpdatePolicy][].
Required. A new or updated [policy][google.cloud.binaryauthorization.v1.Policy] value. The service will
overwrite the [policy name][google.cloud.binaryauthorization.v1.Policy.name] field with the resource name in
the request URL, in the format projects/*/policy.
[[["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."],[[["\u003cp\u003eThis webpage provides documentation for the \u003ccode\u003eUpdatePolicyRequest\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.BinaryAuthorization.V1\u003c/code\u003e namespace, used for updating policies via the BinauthzManagementService.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available is 2.5.0, and documentation is provided for all versions ranging from 1.0.0 to 2.5.0 of the \u003ccode\u003eUpdatePolicyRequest\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUpdatePolicyRequest\u003c/code\u003e class implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from the base \u003ccode\u003eObject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors, one default and another that accepts another \u003ccode\u003eUpdatePolicyRequest\u003c/code\u003e object as a parameter for copying, and includes a required \u003ccode\u003ePolicy\u003c/code\u003e property.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUpdatePolicyRequest\u003c/code\u003e class has a policy property, where the service will overwrite the \u003ccode\u003epolicy name\u003c/code\u003e field with the resource name in the request URL, in the format \u003ccode\u003eprojects/*/policy\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]