Security Command Center V2 API - Class Google::Cloud::SecurityCenter::V2::Kubernetes::Role (v0.4.1)

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

Kubernetes Role or ClusterRole.

Inherits

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#kind

def kind() -> ::Google::Cloud::SecurityCenter::V2::Kubernetes::Role::Kind

#kind=

def kind=(value) -> ::Google::Cloud::SecurityCenter::V2::Kubernetes::Role::Kind

#name

def name() -> ::String
Returns
  • (::String) — Role name.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Role name.
Returns
  • (::String) — Role name.

#ns

def ns() -> ::String
Returns
  • (::String) — Role namespace.

#ns=

def ns=(value) -> ::String
Parameter
  • value (::String) — Role namespace.
Returns
  • (::String) — Role namespace.