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

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Container name.

↳ uri string

Container image URI provided when configuring a pod/container. May identify a container image version using mutable tags.

↳ image_id string

Optional container image id, when 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

Container name.

Generated from protobuf field string name = 1;

Returns
TypeDescription
string

setName

Container name.

Generated from protobuf field string name = 1;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getUri

Container image URI provided when configuring a pod/container.

May identify a container image version using mutable tags.

Generated from protobuf field string uri = 2;

Returns
TypeDescription
string

setUri

Container image URI provided when configuring a pod/container.

May identify a container image version using mutable tags.

Generated from protobuf field string uri = 2;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getImageId

Optional container image id, when provided by the container runtime.

Uniquely identifies the container image launched using a container image digest.

Generated from protobuf field string image_id = 3;

Returns
TypeDescription
string

setImageId

Optional container image id, when provided by the container runtime.

Uniquely identifies the container image launched using a container image digest.

Generated from protobuf field string image_id = 3;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getLabels

Container labels, as provided by the container runtime.

Generated from protobuf field repeated .google.cloud.securitycenter.v1.Label labels = 4;

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setLabels

Container labels, as provided by the container runtime.

Generated from protobuf field repeated .google.cloud.securitycenter.v1.Label labels = 4;

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