Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 1.38 KB

File metadata and controls

29 lines (22 loc) · 1.38 KB

V1SelfSubjectAccessReviewSpec

SelfSubjectAccessReviewSpec is a description of the access request. Exactly one of resourceAttributes and nonResourceAttributes must be set

Properties

Name Type Description Notes
non_resource_attributes V1NonResourceAttributes [optional]
resource_attributes V1ResourceAttributes [optional]

Example

from kubernetes.client.models.v1_self_subject_access_review_spec import V1SelfSubjectAccessReviewSpec

# TODO update the JSON string below
json = "{}"
# create an instance of V1SelfSubjectAccessReviewSpec from a JSON string
v1_self_subject_access_review_spec_instance = V1SelfSubjectAccessReviewSpec.from_json(json)
# print the JSON string representation of the object
print(V1SelfSubjectAccessReviewSpec.to_json())

# convert the object into a dict
v1_self_subject_access_review_spec_dict = v1_self_subject_access_review_spec_instance.to_dict()
# create an instance of V1SelfSubjectAccessReviewSpec from a dict
v1_self_subject_access_review_spec_from_dict = V1SelfSubjectAccessReviewSpec.from_dict(v1_self_subject_access_review_spec_dict)

[Back to Model list] [Back to API list] [Back to README]