Interface EffectivePermissions
- All Known Implementing Classes:
EffectivePermissionsJson
public interface EffectivePermissions
The effective (resolved) permissions for a principal within a project and service, as
returned by the IAM effective-permissions operation.
This is a read-only response view (spec schema EffectivePermissions).
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceA single effective-permission entry: the caller may perform any of theEffectivePermissions.Permission.getActions()on the referenced resources (or any except those referenced), optionally gated by a CedarEffectivePermissions.Permission.getCondition()expression.static interfaceAnanyOfselector that is either an inclusion set (the listed values) or an exclusion set ({except: [...]}). -
Method Summary
Modifier and TypeMethodDescription
-
Method Details
-
getPrincipalId
String getPrincipalId()- Returns:
- the principal the permissions are resolved for
-
getProjectId
String getProjectId()- Returns:
- the project the permissions are resolved within
-
getServiceId
String getServiceId()- Returns:
- the service the permissions are resolved for
-
getAccessPolicyIds
-
getPermissions
List<EffectivePermissions.Permission> getPermissions()- Returns:
- the effective permission entries (each describes a set of actions and the resources/metros/ibxs/cages and condition that scope them)
-