Google Cloud Security Command Center V1 Client - Class Container (1.16.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
Name
Description
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.

Returns
Type
Description
string

setName

Container name.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getUri

Container image URI provided when configuring a pod/container.

May identify a container image version using mutable tags.

Returns
Type
Description
string

setUri

Container image URI provided when configuring a pod/container.

May identify a container image version using mutable tags.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getImageId

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

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

Returns
Type
Description
string

setImageId

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

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

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getLabels

Container labels, as provided by the container runtime.

Returns
Type
Description

setLabels

Container labels, as provided by the container runtime.

Parameter
Name
Description
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: