public interface PolicyService extends RestService
| Modifier and Type | Method and Description |
|---|---|
Policy |
create(Policy policy)
Create a policy
|
Policy |
create(String blob,
String type,
String projectId,
String userId)
Create a policy
|
ActionResponse |
delete(String policyId)
Delete a policy
|
Policy |
get(String policyId)
Get detailed information on a policy by id
|
List<? extends Policy> |
list() |
Policy |
update(Policy policy)
Update a policy
|
Policy create(Policy policy)
policy - the policyPolicy create(String blob, String type, String projectId, String userId)
blob - the policy rule itself as a serialized blobtype - the MIME media type of the serialized policy blobprojectId - the uuid for the associated projectuserId - the id of the user who owns the policyPolicy get(String policyId)
policyId - the policy idPolicy update(Policy policy)
policy - the policy set to updateActionResponse delete(String policyId)
policyId - the policy idCopyright © 2017. All rights reserved.