Package com.strongdm.api
Class Policies
java.lang.Object
com.strongdm.api.Policies
- All Implemented Interfaces:
SnapshotPolicies
Policies are the collection of one or more statements that enforce fine-grained access
control for the users of an organization.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCreate creates a new Policy.Delete removes a Policy by ID.Get reads one Policy by ID.List gets a list of Policy matching a given set of criteriaUpdate replaces all the fields of a Policy by ID.withDeadlineAfter
(long duration, TimeUnit units) This function returns a copy of the Policies service which has the given deadline set for all method calls.
-
Constructor Details
-
Policies
-
-
Method Details
-
withDeadlineAfter
This function returns a copy of the Policies service which has the given deadline set for all method calls. -
create
Create creates a new Policy.- Throws:
RpcException
-
delete
Delete removes a Policy by ID.- Throws:
RpcException
-
update
Update replaces all the fields of a Policy by ID.- Throws:
RpcException
-
get
Get reads one Policy by ID.- Specified by:
get
in interfaceSnapshotPolicies
- Throws:
RpcException
-
list
List gets a list of Policy matching a given set of criteria- Specified by:
list
in interfaceSnapshotPolicies
- Throws:
RpcException
-