Reference documentation and code samples for the Security Command Center V2 API class Google::Cloud::SecurityCenter::V2::Container.
Container associated with the finding.
Inherits
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — The time that the container was created.
#create_time=
def create_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — The time that the container was created.
Returns
- (::Google::Protobuf::Timestamp) — The time that the container was created.
#image_id
def image_id() -> ::String
Returns
- (::String) — Optional container image ID, if provided by the container runtime. Uniquely identifies the container image launched using a container image digest.
#image_id=
def image_id=(value) -> ::String
Parameter
- value (::String) — Optional container image ID, if provided by the container runtime. Uniquely identifies the container image launched using a container image digest.
Returns
- (::String) — Optional container image ID, if provided by the container runtime. Uniquely identifies the container image launched using a container image digest.
#labels
def labels() -> ::Array<::Google::Cloud::SecurityCenter::V2::Label>
Returns
- (::Array<::Google::Cloud::SecurityCenter::V2::Label>) — Container labels, as provided by the container runtime.
#labels=
def labels=(value) -> ::Array<::Google::Cloud::SecurityCenter::V2::Label>
Parameter
- value (::Array<::Google::Cloud::SecurityCenter::V2::Label>) — Container labels, as provided by the container runtime.
Returns
- (::Array<::Google::Cloud::SecurityCenter::V2::Label>) — Container labels, as provided by the container runtime.
#name
def name() -> ::String
Returns
- (::String) — Name of the container.
#name=
def name=(value) -> ::String
Parameter
- value (::String) — Name of the container.
Returns
- (::String) — Name of the container.
#uri
def uri() -> ::String
Returns
- (::String) — Container image URI provided when configuring a pod or container. This string can identify a container image version using mutable tags.
#uri=
def uri=(value) -> ::String
Parameter
- value (::String) — Container image URI provided when configuring a pod or container. This string can identify a container image version using mutable tags.
Returns
- (::String) — Container image URI provided when configuring a pod or container. This string can identify a container image version using mutable tags.