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"]],[["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 webpage provides documentation for the `UpdatePolicyRequest` class within the `Google.Cloud.BinaryAuthorization.V1` namespace, used for updating policies via the BinauthzManagementService."],["The 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 `UpdatePolicyRequest` class."],["The `UpdatePolicyRequest` class implements multiple interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and inherits from the base `Object` class."],["The class has two constructors, one default and another that accepts another `UpdatePolicyRequest` object as a parameter for copying, and includes a required `Policy` property."],["The `UpdatePolicyRequest` class has a policy property, where the service will overwrite the `policy name` field with the resource name in the request URL, in the format `projects/*/policy`."]]],[]]