public sealed class UpdatePolicyRequest : IMessage<UpdatePolicyRequest>, IEquatable<UpdatePolicyRequest>, IDeepCloneable<UpdatePolicyRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Binary Authorization v1beta1 API class UpdatePolicyRequest.
Request message for [BinauthzManagementService.UpdatePolicy][].
Required. A new or updated [policy][google.cloud.binaryauthorization.v1beta1.Policy] value. The service will
overwrite the [policy name][google.cloud.binaryauthorization.v1beta1.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 document provides reference information for the `UpdatePolicyRequest` class within the Google Cloud Binary Authorization v1beta1 API."],["`UpdatePolicyRequest` is a request message used for the `BinauthzManagementService.UpdatePolicy` function."],["The class implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, enabling functionalities like message handling, equality comparison, deep cloning, and buffered operations."],["The `UpdatePolicyRequest` class has a `Policy` property of type `Policy` which is required and specifies the new or updated policy value, which will replace the existing policy name."],["There are three versions documented for this class: version 2.0.0-beta08 (latest), 2.0.0-beta07, and 1.0.0-beta05, with the most current iteration being the one listed first."]]],[]]