Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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
- 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))))))))
- iamPoliciesLintPolicy :: LintPolicyRequest -> IAMPoliciesLintPolicy
- data IAMPoliciesLintPolicy
- iplpXgafv :: Lens' IAMPoliciesLintPolicy (Maybe Xgafv)
- iplpUploadProtocol :: Lens' IAMPoliciesLintPolicy (Maybe Text)
- iplpAccessToken :: Lens' IAMPoliciesLintPolicy (Maybe Text)
- iplpUploadType :: Lens' IAMPoliciesLintPolicy (Maybe Text)
- iplpPayload :: Lens' IAMPoliciesLintPolicy LintPolicyRequest
- iplpCallback :: Lens' IAMPoliciesLintPolicy (Maybe Text)
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
Request Lenses
iplpUploadProtocol :: Lens' IAMPoliciesLintPolicy (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
iplpAccessToken :: Lens' IAMPoliciesLintPolicy (Maybe Text) Source #
OAuth access token.
iplpUploadType :: Lens' IAMPoliciesLintPolicy (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
iplpPayload :: Lens' IAMPoliciesLintPolicy LintPolicyRequest Source #
Multipart request metadata.
iplpCallback :: Lens' IAMPoliciesLintPolicy (Maybe Text) Source #
JSONP