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 details the `UpdatePolicyRequest` class within the `Google.Cloud.BinaryAuthorization.V1` namespace, specifically version 2.0.0 of the library."],["The `UpdatePolicyRequest` class is used as a request message for updating a policy within the `BinauthzManagementService`."],["The class inherits from `Object` and implements multiple interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The `UpdatePolicyRequest` class has a `Policy` property, which is required and represents the new or updated policy to be used, overwriting the policy name field with the resource name."],["The documentation also includes details about other versions of the Google.Cloud.BinaryAuthorization.V1 library, with the latest being version 2.5.0."]]],[]]