Reference documentation and code samples for the Security Command Center V2 API class Google::Cloud::SecurityCenter::V2::Kubernetes::AccessReview.
Conveys information about a Kubernetes access review (such as one returned
by a kubectl auth
can-i
command) that was involved in a finding.
Inherits
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#group
def group() -> ::String
Returns
- (::String) — The API group of the resource. "*" means all.
#group=
def group=(value) -> ::String
Parameter
- value (::String) — The API group of the resource. "*" means all.
Returns
- (::String) — The API group of the resource. "*" means all.
#name
def name() -> ::String
Returns
- (::String) — The name of the resource being requested. Empty means all.
#name=
def name=(value) -> ::String
Parameter
- value (::String) — The name of the resource being requested. Empty means all.
Returns
- (::String) — The name of the resource being requested. Empty means all.
#ns
def ns() -> ::String
Returns
- (::String) — Namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces. Both are represented by "" (empty).
#ns=
def ns=(value) -> ::String
Parameter
- value (::String) — Namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces. Both are represented by "" (empty).
Returns
- (::String) — Namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces. Both are represented by "" (empty).
#resource
def resource() -> ::String
Returns
- (::String) — The optional resource type requested. "*" means all.
#resource=
def resource=(value) -> ::String
Parameter
- value (::String) — The optional resource type requested. "*" means all.
Returns
- (::String) — The optional resource type requested. "*" means all.
#subresource
def subresource() -> ::String
Returns
- (::String) — The optional subresource type.
#subresource=
def subresource=(value) -> ::String
Parameter
- value (::String) — The optional subresource type.
Returns
- (::String) — The optional subresource type.
#verb
def verb() -> ::String
Returns
- (::String) — A Kubernetes resource API verb, like get, list, watch, create, update, delete, proxy. "*" means all.
#verb=
def verb=(value) -> ::String
Parameter
- value (::String) — A Kubernetes resource API verb, like get, list, watch, create, update, delete, proxy. "*" means all.
Returns
- (::String) — A Kubernetes resource API verb, like get, list, watch, create, update, delete, proxy. "*" means all.
#version
def version() -> ::String
Returns
- (::String) — The API version of the resource. "*" means all.
#version=
def version=(value) -> ::String
Parameter
- value (::String) — The API version of the resource. "*" means all.
Returns
- (::String) — The API version of the resource. "*" means all.