Class IamPoliciesResource.LintPolicyRequest
Lints, or validates, an IAM policy. Currently checks the google.iam.v1.Binding.condition field, which
contains a condition expression for a role binding. Successful calls to this method always return an HTTP
200 OK status code, even if the linter detects an issue in the IAM policy.
Inheritance
IamPoliciesResource.LintPolicyRequest
Inherited Members
Namespace: Google.Apis.Iam.v1
Assembly: Google.Apis.Iam.v1.dll
Syntax
public class IamPoliciesResource.LintPolicyRequest : IamBaseServiceRequest<LintPolicyResponse>, IClientServiceRequest<LintPolicyResponse>, IClientServiceRequest
Constructors
LintPolicyRequest(IClientService, LintPolicyRequest)
Constructs a new LintPolicy request.
Declaration
public LintPolicyRequest(IClientService service, LintPolicyRequest body)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| LintPolicyRequest | body |
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
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 LintPolicy parameter list.
Declaration
protected override void InitParameters()