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 a policy.
See: Android Management API Reference for androidmanagement.enterprises.policies.get
.
Synopsis
- type EnterprisesPoliciesGetResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Policy)))))))
- enterprisesPoliciesGet :: Text -> EnterprisesPoliciesGet
- data EnterprisesPoliciesGet
- epgXgafv :: Lens' EnterprisesPoliciesGet (Maybe Xgafv)
- epgUploadProtocol :: Lens' EnterprisesPoliciesGet (Maybe Text)
- epgAccessToken :: Lens' EnterprisesPoliciesGet (Maybe Text)
- epgUploadType :: Lens' EnterprisesPoliciesGet (Maybe Text)
- epgName :: Lens' EnterprisesPoliciesGet Text
- epgCallback :: Lens' EnterprisesPoliciesGet (Maybe Text)
REST Resource
type EnterprisesPoliciesGetResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Policy))))))) Source #
A resource alias for androidmanagement.enterprises.policies.get
method which the
EnterprisesPoliciesGet
request conforms to.
Creating a Request
enterprisesPoliciesGet Source #
Creates a value of EnterprisesPoliciesGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data EnterprisesPoliciesGet Source #
Gets a policy.
See: enterprisesPoliciesGet
smart constructor.
Instances
Request Lenses
epgUploadProtocol :: Lens' EnterprisesPoliciesGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
epgAccessToken :: Lens' EnterprisesPoliciesGet (Maybe Text) Source #
OAuth access token.
epgUploadType :: Lens' EnterprisesPoliciesGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
epgName :: Lens' EnterprisesPoliciesGet Text Source #
The name of the policy in the form enterprises/{enterpriseId}/policies/{policyId}.
epgCallback :: Lens' EnterprisesPoliciesGet (Maybe Text) Source #
JSONP