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).

  • 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

      List<String> getAccessPolicyIds()
      Returns:
      the identifiers of the access policies that contributed to the effective permissions
    • getPermissions

      Returns:
      the effective permission entries (each describes a set of actions and the resources/metros/ibxs/cages and condition that scope them)