kubernetes_asyncio.client.models.v1_subject_rules_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_rules_review_status.V1SubjectRulesReviewStatus(evaluation_error=None, incomplete=None, non_resource_rules=None, resource_rules=None, local_vars_configuration=None)

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

attribute_map = {'evaluation_error': 'evaluationError', 'incomplete': 'incomplete', 'non_resource_rules': 'nonResourceRules', 'resource_rules': 'resourceRules'}
property evaluation_error

Gets the evaluation_error of this V1SubjectRulesReviewStatus. # noqa: E501

EvaluationError can appear in combination with Rules. It indicates an error occurred during rule evaluation, such as an authorizer that doesn’t support rule evaluation, and that ResourceRules and/or NonResourceRules may be incomplete. # noqa: E501

Returns:

The evaluation_error of this V1SubjectRulesReviewStatus. # noqa: E501

Return type:

str

property incomplete

Gets the incomplete of this V1SubjectRulesReviewStatus. # noqa: E501

Incomplete is true when the rules returned by this call are incomplete. This is most commonly encountered when an authorizer, such as an external authorizer, doesn’t support rules evaluation. # noqa: E501

Returns:

The incomplete of this V1SubjectRulesReviewStatus. # noqa: E501

Return type:

bool

property non_resource_rules

Gets the non_resource_rules of this V1SubjectRulesReviewStatus. # noqa: E501

NonResourceRules is the list of actions the subject is allowed to perform on non-resources. The list ordering isn’t significant, may contain duplicates, and possibly be incomplete. # noqa: E501

Returns:

The non_resource_rules of this V1SubjectRulesReviewStatus. # noqa: E501

Return type:

list[V1NonResourceRule]

openapi_types = {'evaluation_error': 'str', 'incomplete': 'bool', 'non_resource_rules': 'list[V1NonResourceRule]', 'resource_rules': 'list[V1ResourceRule]'}
property resource_rules

Gets the resource_rules of this V1SubjectRulesReviewStatus. # noqa: E501

ResourceRules is the list of actions the subject is allowed to perform on resources. The list ordering isn’t significant, may contain duplicates, and possibly be incomplete. # noqa: E501

Returns:

The resource_rules of this V1SubjectRulesReviewStatus. # noqa: E501

Return type:

list[V1ResourceRule]

to_dict(serialize=False)

Returns the model properties as a dict

to_str()

Returns the string representation of the model