| 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 |
Network.Google.Resource.BinaryAuthorization.Projects.Attestors.GetIAMPolicy
Description
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.attestors.getIamPolicy.
Synopsis
- type ProjectsAttestorsGetIAMPolicyResource = "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)))))))
- projectsAttestorsGetIAMPolicy :: Text -> ProjectsAttestorsGetIAMPolicy
- data ProjectsAttestorsGetIAMPolicy
- pagipXgafv :: Lens' ProjectsAttestorsGetIAMPolicy (Maybe Xgafv)
- pagipUploadProtocol :: Lens' ProjectsAttestorsGetIAMPolicy (Maybe Text)
- pagipAccessToken :: Lens' ProjectsAttestorsGetIAMPolicy (Maybe Text)
- pagipUploadType :: Lens' ProjectsAttestorsGetIAMPolicy (Maybe Text)
- pagipResource :: Lens' ProjectsAttestorsGetIAMPolicy Text
- pagipCallback :: Lens' ProjectsAttestorsGetIAMPolicy (Maybe Text)
REST Resource
type ProjectsAttestorsGetIAMPolicyResource = "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.attestors.getIamPolicy method which the
ProjectsAttestorsGetIAMPolicy request conforms to.
Creating a Request
projectsAttestorsGetIAMPolicy Source #
Arguments
| :: Text | |
| -> ProjectsAttestorsGetIAMPolicy |
Creates a value of ProjectsAttestorsGetIAMPolicy with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsAttestorsGetIAMPolicy 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: projectsAttestorsGetIAMPolicy smart constructor.
Instances
Request Lenses
pagipXgafv :: Lens' ProjectsAttestorsGetIAMPolicy (Maybe Xgafv) Source #
V1 error format.
pagipUploadProtocol :: Lens' ProjectsAttestorsGetIAMPolicy (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pagipAccessToken :: Lens' ProjectsAttestorsGetIAMPolicy (Maybe Text) Source #
OAuth access token.
pagipUploadType :: Lens' ProjectsAttestorsGetIAMPolicy (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pagipResource :: Lens' ProjectsAttestorsGetIAMPolicy Text Source #
REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.
pagipCallback :: Lens' ProjectsAttestorsGetIAMPolicy (Maybe Text) Source #
JSONP