class Pyrite::Api::Authorization::V1::SelfSubjectAccessReviewSpec
Overview
SelfSubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set
Defined in:
versions/v1.14/api/authorization/v1/self_subject_access_review_spec.crConstructors
-
.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
SelfSubjectAccessReviewSpec is a description of the access request.
-
.new(pull : JSON::PullParser)
SelfSubjectAccessReviewSpec is a description of the access request.
- .new(*, non_resource_attributes : Api::Authorization::V1::NonResourceAttributes? = nil, resource_attributes : Api::Authorization::V1::ResourceAttributes? = nil)
Instance Method Summary
- #non_resource_attributes : Api::Authorization::V1::NonResourceAttributes?
- #non_resource_attributes=(non_resource_attributes : Api::Authorization::V1::NonResourceAttributes?)
- #resource_attributes : Api::Authorization::V1::ResourceAttributes?
- #resource_attributes=(resource_attributes : Api::Authorization::V1::ResourceAttributes?)
Constructor methods inherited from class Pyrite::Kubernetes::Spec
new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)new(pull : JSON::PullParser) new
Constructor Detail
def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
#
SelfSubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set
def self.new(pull : JSON::PullParser)
#
SelfSubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set
def self.new(*, non_resource_attributes : Api::Authorization::V1::NonResourceAttributes? = nil, resource_attributes : Api::Authorization::V1::ResourceAttributes? = nil)
#
Instance Method Detail
def non_resource_attributes=(non_resource_attributes : Api::Authorization::V1::NonResourceAttributes?)
#