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: Cloud Machine Learning Engine Reference for ml.projects.jobs.getIamPolicy
.
Synopsis
- type ProjectsJobsGetIAMPolicyResource = "v1" :> (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] GoogleIAMV1__Policy)))))))
- projectsJobsGetIAMPolicy :: Text -> ProjectsJobsGetIAMPolicy
- data ProjectsJobsGetIAMPolicy
- pjgipXgafv :: Lens' ProjectsJobsGetIAMPolicy (Maybe Xgafv)
- pjgipUploadProtocol :: Lens' ProjectsJobsGetIAMPolicy (Maybe Text)
- pjgipAccessToken :: Lens' ProjectsJobsGetIAMPolicy (Maybe Text)
- pjgipUploadType :: Lens' ProjectsJobsGetIAMPolicy (Maybe Text)
- pjgipResource :: Lens' ProjectsJobsGetIAMPolicy Text
- pjgipCallback :: Lens' ProjectsJobsGetIAMPolicy (Maybe Text)
REST Resource
type ProjectsJobsGetIAMPolicyResource = "v1" :> (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] GoogleIAMV1__Policy))))))) Source #
A resource alias for ml.projects.jobs.getIamPolicy
method which the
ProjectsJobsGetIAMPolicy
request conforms to.
Creating a Request
projectsJobsGetIAMPolicy Source #
Creates a value of ProjectsJobsGetIAMPolicy
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsJobsGetIAMPolicy 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: projectsJobsGetIAMPolicy
smart constructor.
Instances
Request Lenses
pjgipXgafv :: Lens' ProjectsJobsGetIAMPolicy (Maybe Xgafv) Source #
V1 error format.
pjgipUploadProtocol :: Lens' ProjectsJobsGetIAMPolicy (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pjgipAccessToken :: Lens' ProjectsJobsGetIAMPolicy (Maybe Text) Source #
OAuth access token.
pjgipUploadType :: Lens' ProjectsJobsGetIAMPolicy (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pjgipResource :: Lens' ProjectsJobsGetIAMPolicy Text Source #
REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.
pjgipCallback :: Lens' ProjectsJobsGetIAMPolicy (Maybe Text) Source #
JSONP