kubernetes_asyncio.client.models.v1_subject_access_review_status module
Kubernetes
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: v1.34.3 Generated by: https://openapi-generator.tech
- class kubernetes_asyncio.client.models.v1_subject_access_review_status.V1SubjectAccessReviewStatus(allowed=None, denied=None, evaluation_error=None, reason=None, local_vars_configuration=None)
Bases:
objectNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech
Do not edit the class manually.
- property allowed
Gets the allowed of this V1SubjectAccessReviewStatus. # noqa: E501
Allowed is required. True if the action would be allowed, false otherwise. # noqa: E501
- Returns:
The allowed of this V1SubjectAccessReviewStatus. # noqa: E501
- Return type:
bool
- attribute_map = {'allowed': 'allowed', 'denied': 'denied', 'evaluation_error': 'evaluationError', 'reason': 'reason'}
- property denied
Gets the denied of this V1SubjectAccessReviewStatus. # noqa: E501
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. # noqa: E501
- Returns:
The denied of this V1SubjectAccessReviewStatus. # noqa: E501
- Return type:
bool
- property evaluation_error
Gets the evaluation_error of this V1SubjectAccessReviewStatus. # noqa: E501
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. # noqa: E501
- Returns:
The evaluation_error of this V1SubjectAccessReviewStatus. # noqa: E501
- Return type:
str
- openapi_types = {'allowed': 'bool', 'denied': 'bool', 'evaluation_error': 'str', 'reason': 'str'}
- property reason
Gets the reason of this V1SubjectAccessReviewStatus. # noqa: E501
Reason is optional. It indicates why a request was allowed or denied. # noqa: E501
- Returns:
The reason of this V1SubjectAccessReviewStatus. # noqa: E501
- Return type:
str
- to_dict(serialize=False)
Returns the model properties as a dict
- to_str()
Returns the string representation of the model