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][].
Implements
IMessageUpdatePolicyRequest, IEquatableUpdatePolicyRequest, IDeepCloneableUpdatePolicyRequest, IBufferMessage, IMessageNamespace
Google.Cloud.BinaryAuthorization.V1Beta1Assembly
Google.Cloud.BinaryAuthorization.V1Beta1.dll
Constructors
UpdatePolicyRequest()
public UpdatePolicyRequest()
UpdatePolicyRequest(UpdatePolicyRequest)
public UpdatePolicyRequest(UpdatePolicyRequest other)
Parameter | |
---|---|
Name | Description |
other |
UpdatePolicyRequest |
Properties
Policy
public Policy Policy { get; set; }
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
.
Property Value | |
---|---|
Type | Description |
Policy |