Google Cloud Security Command Center V1 Client - Class Container (1.17.0)

Reference documentation and code samples for the Google Cloud Security Command Center V1 Client class Container.

Container associated with the finding.

Generated from protobuf message google.cloud.securitycenter.v1.Container

Namespace

Google \ Cloud \ SecurityCenter \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Name of the container.

↳ uri string

Container image URI provided when configuring a pod or container. This string can identify a container image version using mutable tags.

↳ image_id string

Optional container image ID, if provided by the container runtime. Uniquely identifies the container image launched using a container image digest.

↳ labels array<Google\Cloud\SecurityCenter\V1\Label>

Container labels, as provided by the container runtime.

getName

Name of the container.

Returns
TypeDescription
string

setName

Name of the container.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getUri

Container image URI provided when configuring a pod or container. This string can identify a container image version using mutable tags.

Returns
TypeDescription
string

setUri

Container image URI provided when configuring a pod or container. This string can identify a container image version using mutable tags.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getImageId

Optional container image ID, if provided by the container runtime. Uniquely identifies the container image launched using a container image digest.

Returns
TypeDescription
string

setImageId

Optional container image ID, if provided by the container runtime. Uniquely identifies the container image launched using a container image digest.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getLabels

Container labels, as provided by the container runtime.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setLabels

Container labels, as provided by the container runtime.

Parameter
NameDescription
var array<Google\Cloud\SecurityCenter\V1\Label>
Returns
TypeDescription
$this