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 details the \u003ccode\u003eUpdatePolicyRequest\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.BinaryAuthorization.V1\u003c/code\u003e namespace, specifically version 2.0.0 of the library.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUpdatePolicyRequest\u003c/code\u003e class is used as a request message for updating a policy within the \u003ccode\u003eBinauthzManagementService\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class inherits from \u003ccode\u003eObject\u003c/code\u003e and 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.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUpdatePolicyRequest\u003c/code\u003e class has a \u003ccode\u003ePolicy\u003c/code\u003e property, which is required and represents the new or updated policy to be used, overwriting the policy name field with the resource name.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation also includes details about other versions of the Google.Cloud.BinaryAuthorization.V1 library, with the latest being version 2.5.0.\u003c/p\u003e\n"]]],[],null,[]]