Class NonResourcePolicyRule

    • Constructor Detail

      • NonResourcePolicyRule

        public NonResourcePolicyRule()
        No args constructor for use in serialization
      • NonResourcePolicyRule

        public NonResourcePolicyRule​(List<String> nonResourceURLs,
                                     List<String> verbs)
    • Method Detail

      • getNonResourceURLs

        public List<String> getNonResourceURLs()
        `nonResourceURLs` is a set of url prefixes that a user should have access to and may not be empty. For example:

        - "/healthz" is legal

        - "/hea*" is illegal

        - "/hea" is legal but matches nothing

        - "/hea/*" also matches nothing

        - "/healthz/*" matches all per-component health checks.

        "*" matches all non-resource urls. if it is present, it must be the only entry. Required.

      • setNonResourceURLs

        public void setNonResourceURLs​(List<String> nonResourceURLs)
        `nonResourceURLs` is a set of url prefixes that a user should have access to and may not be empty. For example:

        - "/healthz" is legal

        - "/hea*" is illegal

        - "/hea" is legal but matches nothing

        - "/hea/*" also matches nothing

        - "/healthz/*" matches all per-component health checks.

        "*" matches all non-resource urls. if it is present, it must be the only entry. Required.

      • getVerbs

        public List<String> getVerbs()
        `verbs` is a list of matching verbs and may not be empty. "*" matches all verbs. If it is present, it must be the only entry. Required.
      • setVerbs

        public void setVerbs​(List<String> verbs)
        `verbs` is a list of matching verbs and may not be empty. "*" matches all verbs. If it is present, it must be the only entry. Required.
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)