public sealed class GetPolicyRequest : IMessage<GetPolicyRequest>, IEquatable<GetPolicyRequest>, IDeepCloneable<GetPolicyRequest>, IBufferMessage, IMessageReference documentation and code samples for the Binary Authorization v1 API class GetPolicyRequest.
Request message for [BinauthzManagementServiceV1.GetPolicy][google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1.GetPolicy].
Implements
IMessageGetPolicyRequest, IEquatableGetPolicyRequest, IDeepCloneableGetPolicyRequest, IBufferMessage, IMessageNamespace
Google.Cloud.BinaryAuthorization.V1Assembly
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 |
|