Reference documentation and code samples for the Google Cloud Security Command Center V1 Client class 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.
Generated from protobuf message google.cloud.securitycenter.v1.Kubernetes.AccessReview
Namespace
Google \ Cloud \ SecurityCenter \ V1 \ KubernetesMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ group
string
The API group of the resource. "*" means all.
↳ ns
string
Namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces. Both are represented by "" (empty).
↳ name
string
The name of the resource being requested. Empty means all.
↳ resource
string
The optional resource type requested. "*" means all.
↳ subresource
string
The optional subresource type.
↳ verb
string
A Kubernetes resource API verb, like get, list, watch, create, update, delete, proxy. "*" means all.
↳ version
string
The API version of the resource. "*" means all.
getGroup
The API group of the resource. "*" means all.
string
setGroup
The API group of the resource. "*" means all.
var
string
$this
getNs
Namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces. Both are represented by "" (empty).
string
setNs
Namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces. Both are represented by "" (empty).
var
string
$this
getName
The name of the resource being requested. Empty means all.
string
setName
The name of the resource being requested. Empty means all.
var
string
$this
getResource
The optional resource type requested. "*" means all.
string
setResource
The optional resource type requested. "*" means all.
var
string
$this
getSubresource
The optional subresource type.
string
setSubresource
The optional subresource type.
var
string
$this
getVerb
A Kubernetes resource API verb, like get, list, watch, create, update, delete, proxy. "*" means all.
string
setVerb
A Kubernetes resource API verb, like get, list, watch, create, update, delete, proxy. "*" means all.
var
string
$this
getVersion
The API version of the resource. "*" means all.
string
setVersion
The API version of the resource. "*" means all.
var
string
$this