Organization Policy v2 API - Class GetPolicyRequest (2.7.0)

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.

Inheritance

object > GetPolicyRequest

Namespace

Google.Cloud.OrgPolicy.V2

Assembly

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