Cloud Security Command Center V1 API - Class Google::Cloud::SecurityCenter::V1::Kubernetes::Pod (v1.1.0)

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

A Kubernetes Pod.

Inherits

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#containers

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

#containers=

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

#labels

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

#labels=

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