Show / Hide Table of Contents

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
object
ClientServiceRequest
ClientServiceRequest<LintPolicyResponse>
IamBaseServiceRequest<LintPolicyResponse>
IamPoliciesResource.LintPolicyRequest
Implements
IClientServiceRequest<LintPolicyResponse>
IClientServiceRequest
Inherited Members
IamBaseServiceRequest<LintPolicyResponse>.Xgafv
IamBaseServiceRequest<LintPolicyResponse>.AccessToken
IamBaseServiceRequest<LintPolicyResponse>.Alt
IamBaseServiceRequest<LintPolicyResponse>.Callback
IamBaseServiceRequest<LintPolicyResponse>.Fields
IamBaseServiceRequest<LintPolicyResponse>.Key
IamBaseServiceRequest<LintPolicyResponse>.OauthToken
IamBaseServiceRequest<LintPolicyResponse>.PrettyPrint
IamBaseServiceRequest<LintPolicyResponse>.QuotaUser
IamBaseServiceRequest<LintPolicyResponse>.UploadType
IamBaseServiceRequest<LintPolicyResponse>.UploadProtocol
ClientServiceRequest<LintPolicyResponse>.Execute()
ClientServiceRequest<LintPolicyResponse>.ExecuteAsStream()
ClientServiceRequest<LintPolicyResponse>.ExecuteAsync()
ClientServiceRequest<LintPolicyResponse>.ExecuteAsync(CancellationToken)
ClientServiceRequest<LintPolicyResponse>.ExecuteAsStreamAsync()
ClientServiceRequest<LintPolicyResponse>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<LintPolicyResponse>.CreateRequest(bool?)
ClientServiceRequest<LintPolicyResponse>.GenerateRequestUri()
ClientServiceRequest<LintPolicyResponse>.GetDefaultETagAction(string)
ClientServiceRequest<LintPolicyResponse>.ETagAction
ClientServiceRequest<LintPolicyResponse>.ModifyRequest
ClientServiceRequest<LintPolicyResponse>.ValidateParameters
ClientServiceRequest<LintPolicyResponse>.ApiVersion
ClientServiceRequest<LintPolicyResponse>.RequestParameters
ClientServiceRequest<LintPolicyResponse>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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
ClientServiceRequest<LintPolicyResponse>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<LintPolicyResponse>.MethodName

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<LintPolicyResponse>.RestPath

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
object
Overrides
ClientServiceRequest<LintPolicyResponse>.GetBody()

InitParameters()

Initializes LintPolicy parameter list.

Declaration
protected override void InitParameters()
Overrides
IamBaseServiceRequest<LintPolicyResponse>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX