Binary Authorization v1 API - Class GetPolicyRequest (2.5.0)

public sealed class GetPolicyRequest : IMessage<GetPolicyRequest>, IEquatable<GetPolicyRequest>, IDeepCloneable<GetPolicyRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Binary Authorization v1 API class GetPolicyRequest.

Request message for [BinauthzManagementService.GetPolicy][].

Inheritance

object > GetPolicyRequest

Namespace

Google.Cloud.BinaryAuthorization.V1

Assembly

Google.Cloud.BinaryAuthorization.V1.dll

Constructors

GetPolicyRequest()

public GetPolicyRequest()

GetPolicyRequest(GetPolicyRequest)

public GetPolicyRequest(GetPolicyRequest other)
Parameter
Name Description
other GetPolicyRequest

Properties

Name

public string Name { get; set; }

Required. The resource name of the [policy][google.cloud.binaryauthorization.v1.Policy] to retrieve, in the format projects/*/policy.

Property Value
Type Description
string

PolicyName

public PolicyName PolicyName { get; set; }

PolicyName-typed view over the Name resource name property.

Property Value
Type Description
PolicyName