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 \ ContinuousValidationEventMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
string |
setPodNamespace
The k8s namespace of the Pod.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getPod
The name of the Pod.
Returns | |
---|---|
Type | Description |
string |
setPod
The name of the Pod.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getPolicyName
The name of the policy.
Returns | |
---|---|
Type | Description |
string |
setPolicyName
The name of the policy.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getDeployTime
Deploy time of the Pod from k8s.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasDeployTime
clearDeployTime
setDeployTime
Deploy time of the Pod from k8s.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |
getEndTime
Termination time of the Pod from k8s, or nothing if still running.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasEndTime
clearEndTime
setEndTime
Termination time of the Pod from k8s, or nothing if still running.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |
getVerdict
Auditing verdict for this Pod.
Returns | |
---|---|
Type | Description |
int |
setVerdict
Auditing verdict for this Pod.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getImages
List of images with auditing details.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setImages
List of images with auditing details.
Parameter | |
---|---|
Name | Description |
var |
array<Google\Cloud\BinaryAuthorization\V1beta1\ContinuousValidationEvent\ContinuousValidationPodEvent\ImageDetails>
|
Returns | |
---|---|
Type | Description |
$this |