public sealed class UpdatePolicyRequest : IMessage<UpdatePolicyRequest>, IEquatable<UpdatePolicyRequest>, IDeepCloneable<UpdatePolicyRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Binary Authorization v1 API class UpdatePolicyRequest.
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."],[[["The latest version of the `UpdatePolicyRequest` is 2.5.0, with multiple earlier versions available, including 2.4.0, 2.3.0, 2.2.0, 2.1.0, 2.0.0, and 1.0.0."],["`UpdatePolicyRequest` is a request message used for updating a policy via `BinauthzManagementService.UpdatePolicy`, inheriting from `Object` and implementing multiple interfaces like `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The class `UpdatePolicyRequest` is part of the `Google.Cloud.BinaryAuthorization.V1` namespace and is found in the `Google.Cloud.BinaryAuthorization.V1.dll` assembly."],["It includes two constructors, one default and another that takes an existing `UpdatePolicyRequest` object, enabling the creation of new instances or copies of existing ones."],["The `Policy` property allows setting or getting a `Policy` object, where the policy name will be overwritten by the service with the resource name from the request URL."]]],[]]