Class: Google::Cloud::SecurityCenter::V1::Kubernetes::Object

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#containers::Array<::Google::Cloud::SecurityCenter::V1::Container>

Returns Pod containers associated with this finding, if any.

Returns:



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".

Returns:

  • (::String)

    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".

Returns:

  • (::String)

    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/.

Returns:



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/.

Returns:



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