class K8S::Api::Authorization::V1beta1::SubjectAccessReviewSpec
- K8S::Api::Authorization::V1beta1::SubjectAccessReviewSpec
- Reference
- Object
Overview
SubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set
Included Modules
- JSON::Serializable
- JSON::Serializable::Unmapped
- YAML::Serializable
- YAML::Serializable::Unmapped
Defined in:
versions/v1.16/api/authorization/v1beta1/subject_access_review_spec.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, extra : Hash(String, Array(String))? = nil, group : Array(String)? = nil, non_resource_attributes : Api::Authorization::V1beta1::NonResourceAttributes? = nil, resource_attributes : Api::Authorization::V1beta1::ResourceAttributes? = nil, uid : String? = nil, user : String? = nil)
Instance Method Summary
- #extra : Hash(String, Array(String))?
- #extra=(extra : Hash(String, Array(String))?)
- #group : Array(String)?
- #group=(group : Array(String)?)
- #non_resource_attributes : Api::Authorization::V1beta1::NonResourceAttributes?
- #non_resource_attributes=(non_resource_attributes : Api::Authorization::V1beta1::NonResourceAttributes?)
- #resource_attributes : Api::Authorization::V1beta1::ResourceAttributes?
- #resource_attributes=(resource_attributes : Api::Authorization::V1beta1::ResourceAttributes?)
- #uid : String?
- #uid=(uid : String?)
- #user : String?
- #user=(user : String?)
Constructor Detail
def self.new(*, extra : Hash(String, Array(String))? = nil, group : Array(String)? = nil, non_resource_attributes : Api::Authorization::V1beta1::NonResourceAttributes? = nil, resource_attributes : Api::Authorization::V1beta1::ResourceAttributes? = nil, uid : String? = nil, user : String? = nil)
#
Instance Method Detail
def non_resource_attributes=(non_resource_attributes : Api::Authorization::V1beta1::NonResourceAttributes?)
#
def resource_attributes=(resource_attributes : Api::Authorization::V1beta1::ResourceAttributes?)
#