Class: Google::Cloud::SecurityCenter::V1::Kubernetes::Object
- Inherits:
-
Object
- Object
- Google::Cloud::SecurityCenter::V1::Kubernetes::Object
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/securitycenter/v1/kubernetes.rb
Overview
Kubernetes object related to the finding, uniquely identified by GKNN. Used if the object Kind is not one of Pod, Node, NodePool, Binding, or AccessReview.
Instance Attribute Summary collapse
-
#containers ⇒ ::Array<::Google::Cloud::SecurityCenter::V1::Container>
Pod containers associated with this finding, if any.
-
#group ⇒ ::String
Kubernetes object group, such as "policy.k8s.io/v1".
-
#kind ⇒ ::String
Kubernetes object kind, such as "Namespace".
-
#name ⇒ ::String
Kubernetes object name.
-
#ns ⇒ ::String
Kubernetes object namespace.
Instance Attribute Details
#containers ⇒ ::Array<::Google::Cloud::SecurityCenter::V1::Container>
Returns Pod containers associated with this finding, if any.
233 234 235 236 |
# File 'proto_docs/google/cloud/securitycenter/v1/kubernetes.rb', line 233 class Object include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#group ⇒ ::String
Returns Kubernetes object group, such as "policy.k8s.io/v1".
233 234 235 236 |
# File 'proto_docs/google/cloud/securitycenter/v1/kubernetes.rb', line 233 class Object include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#kind ⇒ ::String
Returns Kubernetes object kind, such as "Namespace".
233 234 235 236 |
# File 'proto_docs/google/cloud/securitycenter/v1/kubernetes.rb', line 233 class Object include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#name ⇒ ::String
Returns Kubernetes object name. For details see https://kubernetes.io/docs/concepts/overview/working-with-objects/names/.
233 234 235 236 |
# File 'proto_docs/google/cloud/securitycenter/v1/kubernetes.rb', line 233 class Object include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#ns ⇒ ::String
Returns Kubernetes object namespace. Must be a valid DNS label. Named "ns" to avoid collision with C++ namespace keyword. For details see https://kubernetes.io/docs/tasks/administer-cluster/namespaces/.
233 234 235 236 |
# File 'proto_docs/google/cloud/securitycenter/v1/kubernetes.rb', line 233 class Object include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |