Class PolicyRulesWithSubjectsPatch


  • public final class PolicyRulesWithSubjectsPatch
    extends java.lang.Object
    • Method Detail

      • nonResourceRules

        public java.util.List<NonResourcePolicyRulePatch> nonResourceRules()
        Returns:
        `nonResourceRules` is a list of NonResourcePolicyRules that identify matching requests according to their verb and the target non-resource URL.
      • resourceRules

        public java.util.List<ResourcePolicyRulePatch> resourceRules()
        Returns:
        `resourceRules` is a slice of ResourcePolicyRules that identify matching requests according to their verb and the target resource. At least one of `resourceRules` and `nonResourceRules` has to be non-empty.
      • subjects

        public java.util.List<SubjectPatch> subjects()
        Returns:
        subjects is the list of normal user, serviceaccount, or group that this rule cares about. There must be at least one member in this slice. A slice that includes both the system:authenticated and system:unauthenticated user groups matches every request. Required.