Class OrganizationsResource.GetEffectiveOrgPolicyRequest
Gets the effective Policy on a resource. This is the result of merging Policies in the resource
hierarchy. The returned Policy will not have an etagset because it is a computed Policy across
multiple resources. Subtrees of Resource Manager resource hierarchy with 'under:' prefix will not be
expanded.
Inheritance
System.Object
OrganizationsResource.GetEffectiveOrgPolicyRequest
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.CloudResourceManager.v1
Assembly: Google.Apis.CloudResourceManager.v1.dll
Syntax
public class GetEffectiveOrgPolicyRequest : CloudResourceManagerBaseServiceRequest<OrgPolicy>, IClientServiceRequest<OrgPolicy>, IClientServiceRequest
Constructors
GetEffectiveOrgPolicyRequest(IClientService, GetEffectiveOrgPolicyRequest, String)
Constructs a new GetEffectiveOrgPolicy request.
Declaration
public GetEffectiveOrgPolicyRequest(IClientService service, GetEffectiveOrgPolicyRequest body, string resource)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| GetEffectiveOrgPolicyRequest | body | |
| System.String | resource |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudResourceManager.v1.Data.OrgPolicy>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudResourceManager.v1.Data.OrgPolicy>.MethodName
Resource
The name of the resource to start computing the effective Policy.
Declaration
[RequestParameter("resource", RequestParameterType.Path)]
public virtual string Resource { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudResourceManager.v1.Data.OrgPolicy>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| System.Object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudResourceManager.v1.Data.OrgPolicy>.GetBody()
InitParameters()
Initializes GetEffectiveOrgPolicy parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.CloudResourceManager.v1.CloudResourceManagerBaseServiceRequest<Google.Apis.CloudResourceManager.v1.Data.OrgPolicy>.InitParameters()