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 |
Lists policies for a given enterprise.
See: Android Management API Reference for androidmanagement.enterprises.policies.list
.
Synopsis
- type EnterprisesPoliciesListResource = "v1" :> (Capture "parent" Text :> ("policies" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListPoliciesResponse))))))))))
- enterprisesPoliciesList :: Text -> EnterprisesPoliciesList
- data EnterprisesPoliciesList
- eplParent :: Lens' EnterprisesPoliciesList Text
- eplXgafv :: Lens' EnterprisesPoliciesList (Maybe Xgafv)
- eplUploadProtocol :: Lens' EnterprisesPoliciesList (Maybe Text)
- eplAccessToken :: Lens' EnterprisesPoliciesList (Maybe Text)
- eplUploadType :: Lens' EnterprisesPoliciesList (Maybe Text)
- eplPageToken :: Lens' EnterprisesPoliciesList (Maybe Text)
- eplPageSize :: Lens' EnterprisesPoliciesList (Maybe Int32)
- eplCallback :: Lens' EnterprisesPoliciesList (Maybe Text)
REST Resource
type EnterprisesPoliciesListResource = "v1" :> (Capture "parent" Text :> ("policies" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListPoliciesResponse)))))))))) Source #
A resource alias for androidmanagement.enterprises.policies.list
method which the
EnterprisesPoliciesList
request conforms to.
Creating a Request
enterprisesPoliciesList Source #
Creates a value of EnterprisesPoliciesList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data EnterprisesPoliciesList Source #
Lists policies for a given enterprise.
See: enterprisesPoliciesList
smart constructor.
Instances
Request Lenses
eplParent :: Lens' EnterprisesPoliciesList Text Source #
The name of the enterprise in the form enterprises/{enterpriseId}.
eplUploadProtocol :: Lens' EnterprisesPoliciesList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
eplAccessToken :: Lens' EnterprisesPoliciesList (Maybe Text) Source #
OAuth access token.
eplUploadType :: Lens' EnterprisesPoliciesList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
eplPageToken :: Lens' EnterprisesPoliciesList (Maybe Text) Source #
A token identifying a page of results returned by the server.
eplPageSize :: Lens' EnterprisesPoliciesList (Maybe Int32) Source #
The requested page size. The actual page size may be fixed to a min or max value.
eplCallback :: Lens' EnterprisesPoliciesList (Maybe Text) Source #
JSONP