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.models.getIamPolicy
.
Synopsis
- type ProjectsModelsGetIAMPolicyResource = "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)))))))
- projectsModelsGetIAMPolicy :: Text -> ProjectsModelsGetIAMPolicy
- data ProjectsModelsGetIAMPolicy
- pmgipXgafv :: Lens' ProjectsModelsGetIAMPolicy (Maybe Xgafv)
- pmgipUploadProtocol :: Lens' ProjectsModelsGetIAMPolicy (Maybe Text)
- pmgipAccessToken :: Lens' ProjectsModelsGetIAMPolicy (Maybe Text)
- pmgipUploadType :: Lens' ProjectsModelsGetIAMPolicy (Maybe Text)
- pmgipResource :: Lens' ProjectsModelsGetIAMPolicy Text
- pmgipCallback :: Lens' ProjectsModelsGetIAMPolicy (Maybe Text)
REST Resource
type ProjectsModelsGetIAMPolicyResource = "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.models.getIamPolicy
method which the
ProjectsModelsGetIAMPolicy
request conforms to.
Creating a Request
projectsModelsGetIAMPolicy Source #
Creates a value of ProjectsModelsGetIAMPolicy
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsModelsGetIAMPolicy 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: projectsModelsGetIAMPolicy
smart constructor.
Instances
Request Lenses
pmgipXgafv :: Lens' ProjectsModelsGetIAMPolicy (Maybe Xgafv) Source #
V1 error format.
pmgipUploadProtocol :: Lens' ProjectsModelsGetIAMPolicy (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pmgipAccessToken :: Lens' ProjectsModelsGetIAMPolicy (Maybe Text) Source #
OAuth access token.
pmgipUploadType :: Lens' ProjectsModelsGetIAMPolicy (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pmgipResource :: Lens' ProjectsModelsGetIAMPolicy Text Source #
REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.
pmgipCallback :: Lens' ProjectsModelsGetIAMPolicy (Maybe Text) Source #
JSONP