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

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

A Kubernetes Pod.

Inherits

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#containers

def containers() -> ::Array<::Google::Cloud::SecurityCenter::V2::Container>
Returns

#containers=

def containers=(value) -> ::Array<::Google::Cloud::SecurityCenter::V2::Container>
Parameter
Returns

#labels

def labels() -> ::Array<::Google::Cloud::SecurityCenter::V2::Label>
Returns

#labels=

def labels=(value) -> ::Array<::Google::Cloud::SecurityCenter::V2::Label>
Parameter
Returns

#name

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

#name=

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

#ns

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

#ns=

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