Binary Authorization v1 API - Class UpdatePolicyRequest (2.1.0)

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][].

Inheritance

Object > UpdatePolicyRequest

Namespace

Google.Cloud.BinaryAuthorization.V1

Assembly

Google.Cloud.BinaryAuthorization.V1.dll

Constructors

UpdatePolicyRequest()

public UpdatePolicyRequest()

UpdatePolicyRequest(UpdatePolicyRequest)

public UpdatePolicyRequest(UpdatePolicyRequest other)
Parameter
NameDescription
otherUpdatePolicyRequest

Properties

Policy

public Policy Policy { get; set; }

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.

Property Value
TypeDescription
Policy