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
- (::Array<::Google::Cloud::SecurityCenter::V1::Container>) — Pod containers associated with this finding, if any.
#containers=
def containers=(value) -> ::Array<::Google::Cloud::SecurityCenter::V1::Container>
Parameter
- value (::Array<::Google::Cloud::SecurityCenter::V1::Container>) — Pod containers associated with this finding, if any.
Returns
- (::Array<::Google::Cloud::SecurityCenter::V1::Container>) — Pod containers associated with this finding, if any.
#labels
def labels() -> ::Array<::Google::Cloud::SecurityCenter::V1::Label>
Returns
- (::Array<::Google::Cloud::SecurityCenter::V1::Label>) — Pod labels. For Kubernetes containers, these are applied to the container.
#labels=
def labels=(value) -> ::Array<::Google::Cloud::SecurityCenter::V1::Label>
Parameter
- value (::Array<::Google::Cloud::SecurityCenter::V1::Label>) — Pod labels. For Kubernetes containers, these are applied to the container.
Returns
- (::Array<::Google::Cloud::SecurityCenter::V1::Label>) — Pod labels. For Kubernetes containers, these are applied to the container.
#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.