Interface V1beta1Authorization.SubjectAccessReviewStatusOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
V1beta1Authorization.SubjectAccessReviewStatus, V1beta1Authorization.SubjectAccessReviewStatus.Builder
Enclosing class:
V1beta1Authorization

public static interface V1beta1Authorization.SubjectAccessReviewStatusOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Allowed is required.
    boolean
    Denied is optional.
    EvaluationError is an indication that some error occurred during the authorization check.
    com.google.protobuf.ByteString
    EvaluationError is an indication that some error occurred during the authorization check.
    Reason is optional.
    com.google.protobuf.ByteString
    Reason is optional.
    boolean
    Allowed is required.
    boolean
    Denied is optional.
    boolean
    EvaluationError is an indication that some error occurred during the authorization check.
    boolean
    Reason is optional.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • hasAllowed

      boolean hasAllowed()
       Allowed is required. True if the action would be allowed, false otherwise.
       
      optional bool allowed = 1;
    • getAllowed

      boolean getAllowed()
       Allowed is required. True if the action would be allowed, false otherwise.
       
      optional bool allowed = 1;
    • hasDenied

      boolean hasDenied()
       Denied is optional. True if the action would be denied, otherwise
       false. If both allowed is false and denied is false, then the
       authorizer has no opinion on whether to authorize the action. Denied
       may not be true if Allowed is true.
       +optional
       
      optional bool denied = 4;
    • getDenied

      boolean getDenied()
       Denied is optional. True if the action would be denied, otherwise
       false. If both allowed is false and denied is false, then the
       authorizer has no opinion on whether to authorize the action. Denied
       may not be true if Allowed is true.
       +optional
       
      optional bool denied = 4;
    • hasReason

      boolean hasReason()
       Reason is optional.  It indicates why a request was allowed or denied.
       +optional
       
      optional string reason = 2;
    • getReason

      String getReason()
       Reason is optional.  It indicates why a request was allowed or denied.
       +optional
       
      optional string reason = 2;
    • getReasonBytes

      com.google.protobuf.ByteString getReasonBytes()
       Reason is optional.  It indicates why a request was allowed or denied.
       +optional
       
      optional string reason = 2;
    • hasEvaluationError

      boolean hasEvaluationError()
       EvaluationError is an indication that some error occurred during the authorization check.
       It is entirely possible to get an error and be able to continue determine authorization status in spite of it.
       For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.
       +optional
       
      optional string evaluationError = 3;
    • getEvaluationError

      String getEvaluationError()
       EvaluationError is an indication that some error occurred during the authorization check.
       It is entirely possible to get an error and be able to continue determine authorization status in spite of it.
       For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.
       +optional
       
      optional string evaluationError = 3;
    • getEvaluationErrorBytes

      com.google.protobuf.ByteString getEvaluationErrorBytes()
       EvaluationError is an indication that some error occurred during the authorization check.
       It is entirely possible to get an error and be able to continue determine authorization status in spite of it.
       For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.
       +optional
       
      optional string evaluationError = 3;