Kubernetes::SelfSubjectAccessReviewSpec
Inherits YAML::Serializable < JSON::Serializable < Kubernetes::Serializable < Struct < Value < Object
SelfSubjectAccessReviewSpec is a description of the access request. Exactly one of resourceAttributes and nonResourceAttributes must be set
Constructors
new(pull : ::JSON::PullParser)
new(*, __pull_for_json_serializable pull : ::JSON::PullParser)
new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
Instance methods
non_resource_attributes
nonResourceAttributes describes information for a non-resource access request
non_resource_attributes=(non_resource_attributes : NonResourceAttributes | Nil)
nonResourceAttributes describes information for a non-resource access request
resource_attributes=(resource_attributes : ResourceAttributes | Nil)
resourceAttributes describes information for a resource access request
Macros
field(name, type = nil, **options, &block)
Helper macro for defining fields with automatic camelCase conversion