public sealed class GetPolicyRequest : IMessage<GetPolicyRequest>, IEquatable<GetPolicyRequest>, IDeepCloneable<GetPolicyRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Organization Policy v2 API class GetPolicyRequest.
The request sent to the [GetPolicy] [google.cloud.orgpolicy.v2.OrgPolicy.GetPolicy] method.
Implements
IMessageGetPolicyRequest, IEquatableGetPolicyRequest, IDeepCloneableGetPolicyRequest, IBufferMessage, IMessageNamespace
Google.Cloud.OrgPolicy.V2Assembly
Google.Cloud.OrgPolicy.V2.dll
Constructors
GetPolicyRequest()
public GetPolicyRequest()
GetPolicyRequest(GetPolicyRequest)
public GetPolicyRequest(GetPolicyRequest other)
Parameter | |
---|---|
Name | Description |
other | GetPolicyRequest |
Properties
Name
public string Name { get; set; }
Required. Resource name of the policy. See [Policy][google.cloud.orgpolicy.v2.Policy] for naming requirements.
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 |