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
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#kind
def kind() -> ::Google::Cloud::SecurityCenter::V1::Kubernetes::Role::Kind
Returns
- (::Google::Cloud::SecurityCenter::V1::Kubernetes::Role::Kind) — Role type.
#kind=
def kind=(value) -> ::Google::Cloud::SecurityCenter::V1::Kubernetes::Role::Kind
Parameter
- value (::Google::Cloud::SecurityCenter::V1::Kubernetes::Role::Kind) — Role type.
Returns
- (::Google::Cloud::SecurityCenter::V1::Kubernetes::Role::Kind) — Role type.
#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.