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."],[[["This document provides reference documentation for the `UpdatePolicyRequest` class within the Binary Authorization v1 API, specifically for version 2.3.0."],["`UpdatePolicyRequest` is a request message utilized by `BinauthzManagementService.UpdatePolicy` to update or create a policy."],["The class inherits from `object` and implements interfaces such as `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, providing functionalities for message handling, comparison, cloning, and buffer operations."],["The class includes two constructors, a default one and one that takes another `UpdatePolicyRequest` object as a parameter for copying, and it contains a `Policy` property of type `Policy` that is required for updating a policy."],["The latest version available is 2.5.0, and the documented class was part of the 2.3.0 version."]]],[]]