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