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 |
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
See: Binary Authorization API Reference for binaryauthorization.projects.policy.getIamPolicy
.
Synopsis
- type ProjectsPolicyGetIAMPolicyResource = "v1beta1" :> (CaptureMode "resource" "getIamPolicy" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] IAMPolicy)))))))
- projectsPolicyGetIAMPolicy :: Text -> ProjectsPolicyGetIAMPolicy
- data ProjectsPolicyGetIAMPolicy
- ppgipXgafv :: Lens' ProjectsPolicyGetIAMPolicy (Maybe Xgafv)
- ppgipUploadProtocol :: Lens' ProjectsPolicyGetIAMPolicy (Maybe Text)
- ppgipAccessToken :: Lens' ProjectsPolicyGetIAMPolicy (Maybe Text)
- ppgipUploadType :: Lens' ProjectsPolicyGetIAMPolicy (Maybe Text)
- ppgipResource :: Lens' ProjectsPolicyGetIAMPolicy Text
- ppgipCallback :: Lens' ProjectsPolicyGetIAMPolicy (Maybe Text)
REST Resource
type ProjectsPolicyGetIAMPolicyResource = "v1beta1" :> (CaptureMode "resource" "getIamPolicy" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] IAMPolicy))))))) Source #
A resource alias for binaryauthorization.projects.policy.getIamPolicy
method which the
ProjectsPolicyGetIAMPolicy
request conforms to.
Creating a Request
projectsPolicyGetIAMPolicy Source #
Creates a value of ProjectsPolicyGetIAMPolicy
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsPolicyGetIAMPolicy Source #
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
See: projectsPolicyGetIAMPolicy
smart constructor.
Instances
Request Lenses
ppgipXgafv :: Lens' ProjectsPolicyGetIAMPolicy (Maybe Xgafv) Source #
V1 error format.
ppgipUploadProtocol :: Lens' ProjectsPolicyGetIAMPolicy (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
ppgipAccessToken :: Lens' ProjectsPolicyGetIAMPolicy (Maybe Text) Source #
OAuth access token.
ppgipUploadType :: Lens' ProjectsPolicyGetIAMPolicy (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
ppgipResource :: Lens' ProjectsPolicyGetIAMPolicy Text Source #
REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.
ppgipCallback :: Lens' ProjectsPolicyGetIAMPolicy (Maybe Text) Source #
JSONP