Class ProjectsResource.ClearOrgPolicyRequest
Clears a Policy
from a resource.
Inheritance
ProjectsResource.ClearOrgPolicyRequest
Inherited Members
Namespace: Google.Apis.CloudResourceManager .v1
Assembly: Google.Apis.CloudResourceManager.v1.dll
Syntax
public class ProjectsResource.ClearOrgPolicyRequest : CloudResourceManagerBaseServiceRequest<Empty>, IClientServiceRequest<Empty>, IClientServiceRequest
Constructors
ClearOrgPolicyRequest(IClientService, ClearOrgPolicyRequest, string)
Constructs a new ClearOrgPolicy request.
Declaration
public ClearOrgPolicyRequest(IClientService service, ClearOrgPolicyRequest body, string resource)
Parameters
Type | Name | Description |
---|---|---|
IClient |
service | |
Clear |
body | |
string | resource |
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
Resource
Name of the resource for the Policy
to clear.
Declaration
[RequestParameter("resource", RequestParameterType.Path)]
public virtual string Resource { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes ClearOrgPolicy parameter list.
Declaration
protected override void InitParameters()