Google Cloud Binary Authorization V1beta1 Client - Class ContinuousValidationPodEvent (0.7.0)

Reference documentation and code samples for the Google Cloud Binary Authorization V1beta1 Client class ContinuousValidationPodEvent.

An auditing event for one Pod.

Generated from protobuf message google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent

Namespace

Google \ Cloud \ BinaryAuthorization \ V1beta1 \ ContinuousValidationEvent

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ pod_namespace string

The k8s namespace of the Pod.

↳ pod string

The name of the Pod.

↳ policy_name string

The name of the policy.

↳ deploy_time Google\Protobuf\Timestamp

Deploy time of the Pod from k8s.

↳ end_time Google\Protobuf\Timestamp

Termination time of the Pod from k8s, or nothing if still running.

↳ verdict int

Auditing verdict for this Pod.

↳ images array<Google\Cloud\BinaryAuthorization\V1beta1\ContinuousValidationEvent\ContinuousValidationPodEvent\ImageDetails>

List of images with auditing details.

getPodNamespace

The k8s namespace of the Pod.

Returns
TypeDescription
string

setPodNamespace

The k8s namespace of the Pod.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPod

The name of the Pod.

Returns
TypeDescription
string

setPod

The name of the Pod.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPolicyName

The name of the policy.

Returns
TypeDescription
string

setPolicyName

The name of the policy.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDeployTime

Deploy time of the Pod from k8s.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasDeployTime

clearDeployTime

setDeployTime

Deploy time of the Pod from k8s.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getEndTime

Termination time of the Pod from k8s, or nothing if still running.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasEndTime

clearEndTime

setEndTime

Termination time of the Pod from k8s, or nothing if still running.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getVerdict

Auditing verdict for this Pod.

Returns
TypeDescription
int

setVerdict

Auditing verdict for this Pod.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getImages

List of images with auditing details.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setImages

List of images with auditing details.

Parameter
NameDescription
var array<Google\Cloud\BinaryAuthorization\V1beta1\ContinuousValidationEvent\ContinuousValidationPodEvent\ImageDetails>
Returns
TypeDescription
$this