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

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

Kubernetes Role or ClusterRole.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#kind

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

#kind=

def kind=(value) -> ::Google::Cloud::SecurityCenter::V1::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.