Cloud Security Command Center V1 API - Class Google::Cloud::SecurityCenter::V1::Kubernetes::AccessReview (v0.25.1)

Reference documentation and code samples for the Cloud Security Command Center V1 API class Google::Cloud::SecurityCenter::V1::Kubernetes::AccessReview.

Conveys information about a Kubernetes access review (e.g. kubectl auth can-i ...) that was involved in a finding.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#group

def group() -> ::String
Returns
  • (::String) — Group is the API Group of the Resource. "*" means all.

#group=

def group=(value) -> ::String
Parameter
  • value (::String) — Group is the API Group of the Resource. "*" means all.
Returns
  • (::String) — Group is the API Group of the Resource. "*" means all.

#name

def name() -> ::String
Returns
  • (::String) — Name is the name of the resource being requested. Empty means all.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Name is the name of the resource being requested. Empty means all.
Returns
  • (::String) — Name is 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) — Resource is the optional resource type requested. "*" means all.

#resource=

def resource=(value) -> ::String
Parameter
  • value (::String) — Resource is the optional resource type requested. "*" means all.
Returns
  • (::String) — Resource is the optional resource type requested. "*" means all.

#subresource

def subresource() -> ::String
Returns
  • (::String) — Subresource is the optional subresource type.

#subresource=

def subresource=(value) -> ::String
Parameter
  • value (::String) — Subresource is the optional subresource type.
Returns
  • (::String) — Subresource is the optional subresource type.

#verb

def verb() -> ::String
Returns
  • (::String) — Verb is a Kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy. "*" means all.

#verb=

def verb=(value) -> ::String
Parameter
  • value (::String) — Verb is a Kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy. "*" means all.
Returns
  • (::String) — Verb is a Kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy. "*" means all.

#version

def version() -> ::String
Returns
  • (::String) — Version is the API Version of the Resource. "*" means all.

#version=

def version=(value) -> ::String
Parameter
  • value (::String) — Version is the API Version of the Resource. "*" means all.
Returns
  • (::String) — Version is the API Version of the Resource. "*" means all.