Class ProjectsResource.PoliciesResource.GetEffectivePolicyRequest
Gets the effective policy on a resource. This is the result of merging policies in the resource
hierarchy and evaluating conditions. The returned policy will not have an etag
or condition
set
because it is an evaluated policy across multiple resources. Subtrees of Resource Manager resource
hierarchy with 'under:' prefix will not be expanded.
Inheritance
ProjectsResource.PoliciesResource.GetEffectivePolicyRequest
Inherited Members
Namespace: Google.Apis.OrgPolicyAPI.v2
Assembly: Google.Apis.OrgPolicyAPI.v2.dll
Syntax
public class ProjectsResource.PoliciesResource.GetEffectivePolicyRequest : OrgPolicyAPIBaseServiceRequest<GoogleCloudOrgpolicyV2Policy>, IClientServiceRequest<GoogleCloudOrgpolicyV2Policy>, IClientServiceRequest
Constructors
GetEffectivePolicyRequest(IClientService, string)
Constructs a new GetEffectivePolicy request.
Declaration
public GetEffectivePolicyRequest(IClientService service, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Name
Required. The effective policy to compute. See Policy for naming requirements.
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
InitParameters()
Initializes GetEffectivePolicy parameter list.
Declaration
protected override void InitParameters()