gogol-iam-0.4.0: Google Identity and Access Management (IAM) SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.IAM.IAMPolicies.LintPolicy

Contents

Description

Lints a Cloud IAM policy object or its sub fields. Currently supports google.iam.v1.Policy, google.iam.v1.Binding and google.iam.v1.Binding.condition. Each lint operation consists of multiple lint validation units. Validation units have the following properties: - Each unit inspects the input object in regard to a particular linting aspect and issues a google.iam.admin.v1.LintResult disclosing the result. - Domain of discourse of each unit can be either google.iam.v1.Policy, google.iam.v1.Binding, or google.iam.v1.Binding.condition depending on the purpose of the validation. - A unit may require additional data (like the list of all possible enumerable values of a particular attribute used in the policy instance) which shall be provided by the caller. Refer to the comments of google.iam.admin.v1.LintPolicyRequest.context for more details. The set of applicable validation units is determined by the Cloud IAM server and is not configurable. Regardless of any lint issues or their severities, successful calls to `lintPolicy` return an HTTP 200 OK status code.

See: Identity and Access Management (IAM) API Reference for iam.iamPolicies.lintPolicy.

Synopsis

REST Resource

type IAMPoliciesLintPolicyResource = "v1" :> ("iamPolicies:lintPolicy" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] LintPolicyRequest :> Post '[JSON] LintPolicyResponse)))))))) Source #

A resource alias for iam.iamPolicies.lintPolicy method which the IAMPoliciesLintPolicy request conforms to.

Creating a Request

iamPoliciesLintPolicy Source #

Creates a value of IAMPoliciesLintPolicy with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data IAMPoliciesLintPolicy Source #

Lints a Cloud IAM policy object or its sub fields. Currently supports google.iam.v1.Policy, google.iam.v1.Binding and google.iam.v1.Binding.condition. Each lint operation consists of multiple lint validation units. Validation units have the following properties: - Each unit inspects the input object in regard to a particular linting aspect and issues a google.iam.admin.v1.LintResult disclosing the result. - Domain of discourse of each unit can be either google.iam.v1.Policy, google.iam.v1.Binding, or google.iam.v1.Binding.condition depending on the purpose of the validation. - A unit may require additional data (like the list of all possible enumerable values of a particular attribute used in the policy instance) which shall be provided by the caller. Refer to the comments of google.iam.admin.v1.LintPolicyRequest.context for more details. The set of applicable validation units is determined by the Cloud IAM server and is not configurable. Regardless of any lint issues or their severities, successful calls to `lintPolicy` return an HTTP 200 OK status code.

See: iamPoliciesLintPolicy smart constructor.

Instances
Eq IAMPoliciesLintPolicy Source # 
Instance details

Defined in Network.Google.Resource.IAM.IAMPolicies.LintPolicy

Data IAMPoliciesLintPolicy Source # 
Instance details

Defined in Network.Google.Resource.IAM.IAMPolicies.LintPolicy

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> IAMPoliciesLintPolicy -> c IAMPoliciesLintPolicy #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c IAMPoliciesLintPolicy #

toConstr :: IAMPoliciesLintPolicy -> Constr #

dataTypeOf :: IAMPoliciesLintPolicy -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c IAMPoliciesLintPolicy) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c IAMPoliciesLintPolicy) #

gmapT :: (forall b. Data b => b -> b) -> IAMPoliciesLintPolicy -> IAMPoliciesLintPolicy #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> IAMPoliciesLintPolicy -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> IAMPoliciesLintPolicy -> r #

gmapQ :: (forall d. Data d => d -> u) -> IAMPoliciesLintPolicy -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> IAMPoliciesLintPolicy -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> IAMPoliciesLintPolicy -> m IAMPoliciesLintPolicy #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> IAMPoliciesLintPolicy -> m IAMPoliciesLintPolicy #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> IAMPoliciesLintPolicy -> m IAMPoliciesLintPolicy #

Show IAMPoliciesLintPolicy Source # 
Instance details

Defined in Network.Google.Resource.IAM.IAMPolicies.LintPolicy

Generic IAMPoliciesLintPolicy Source # 
Instance details

Defined in Network.Google.Resource.IAM.IAMPolicies.LintPolicy

Associated Types

type Rep IAMPoliciesLintPolicy :: Type -> Type #

GoogleRequest IAMPoliciesLintPolicy Source # 
Instance details

Defined in Network.Google.Resource.IAM.IAMPolicies.LintPolicy

type Rep IAMPoliciesLintPolicy Source # 
Instance details

Defined in Network.Google.Resource.IAM.IAMPolicies.LintPolicy

type Rep IAMPoliciesLintPolicy = D1 (MetaData "IAMPoliciesLintPolicy" "Network.Google.Resource.IAM.IAMPolicies.LintPolicy" "gogol-iam-0.4.0-IBWwIZHvdU38fPF72JMuUn" False) (C1 (MetaCons "IAMPoliciesLintPolicy'" PrefixI True) ((S1 (MetaSel (Just "_iplpXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_iplpUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_iplpAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_iplpUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_iplpPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 LintPolicyRequest) :*: S1 (MetaSel (Just "_iplpCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes IAMPoliciesLintPolicy Source # 
Instance details

Defined in Network.Google.Resource.IAM.IAMPolicies.LintPolicy

type Scopes IAMPoliciesLintPolicy = "https://www.googleapis.com/auth/cloud-platform" ': ([] :: [Symbol])
type Rs IAMPoliciesLintPolicy Source # 
Instance details

Defined in Network.Google.Resource.IAM.IAMPolicies.LintPolicy

Request Lenses

iplpUploadProtocol :: Lens' IAMPoliciesLintPolicy (Maybe Text) Source #

Upload protocol for media (e.g. "raw", "multipart").

iplpUploadType :: Lens' IAMPoliciesLintPolicy (Maybe Text) Source #

Legacy upload protocol for media (e.g. "media", "multipart").