Reference documentation and code samples for the Google Cloud Deploy V1 Client class DeployPolicyEvaluationEvent.
Payload proto for "clouddeploy.googleapis.com/deploypolicy_evaluation" Platform Log event that describes the deploy policy evaluation event.
Generated from protobuf message google.cloud.deploy.v1.DeployPolicyEvaluationEvent
Namespace
Google \ Cloud \ Deploy \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ message
string
Debug message for when a deploy policy event occurs.
↳ rule_type
string
Rule type (e.g. Restrict Rollouts).
↳ rule
string
Rule id.
↳ pipeline_uid
string
Unique identifier of the Delivery Pipeline
.
↳ delivery_pipeline
string
The name of the Delivery Pipeline
.
↳ target_uid
string
Unique identifier of the Target
. This is an optional field, as a Target
may not always be applicable to a policy.
↳ target
string
The name of the Target
. This is an optional field, as a Target
may not always be applicable to a policy.
↳ invoker
int
What invoked the action (e.g. a user or automation).
↳ deploy_policy
string
The name of the DeployPolicy
.
↳ deploy_policy_uid
string
Unique identifier of the DeployPolicy
.
↳ allowed
bool
Whether the request is allowed. Allowed is set as true if: (1) the request complies with the policy; or (2) the request doesn't comply with the policy but the policy was overridden; or (3) the request doesn't comply with the policy but the policy was suspended
↳ verdict
int
The policy verdict of the request.
↳ overrides
array
Things that could have overridden the policy verdict. Overrides together with verdict decide whether the request is allowed.
getMessage
Debug message for when a deploy policy event occurs.
string
setMessage
Debug message for when a deploy policy event occurs.
var
string
$this
getRuleType
Rule type (e.g. Restrict Rollouts).
string
setRuleType
Rule type (e.g. Restrict Rollouts).
var
string
$this
getRule
Rule id.
string
setRule
Rule id.
var
string
$this
getPipelineUid
Unique identifier of the Delivery Pipeline
.
string
setPipelineUid
Unique identifier of the Delivery Pipeline
.
var
string
$this
getDeliveryPipeline
The name of the Delivery Pipeline
.
string
setDeliveryPipeline
The name of the Delivery Pipeline
.
var
string
$this
getTargetUid
Unique identifier of the Target
. This is an optional field, as a Target
may not always be applicable to a policy.
string
setTargetUid
Unique identifier of the Target
. This is an optional field, as a Target
may not always be applicable to a policy.
var
string
$this
getTarget
The name of the Target
. This is an optional field, as a Target
may not
always be applicable to a policy.
string
setTarget
The name of the Target
. This is an optional field, as a Target
may not
always be applicable to a policy.
var
string
$this
getInvoker
What invoked the action (e.g. a user or automation).
int
setInvoker
What invoked the action (e.g. a user or automation).
var
int
$this
getDeployPolicy
The name of the DeployPolicy
.
string
setDeployPolicy
The name of the DeployPolicy
.
var
string
$this
getDeployPolicyUid
Unique identifier of the DeployPolicy
.
string
setDeployPolicyUid
Unique identifier of the DeployPolicy
.
var
string
$this
getAllowed
Whether the request is allowed. Allowed is set as true if: (1) the request complies with the policy; or (2) the request doesn't comply with the policy but the policy was overridden; or (3) the request doesn't comply with the policy but the policy was suspended
bool
setAllowed
Whether the request is allowed. Allowed is set as true if: (1) the request complies with the policy; or (2) the request doesn't comply with the policy but the policy was overridden; or (3) the request doesn't comply with the policy but the policy was suspended
var
bool
$this
getVerdict
The policy verdict of the request.
int
setVerdict
The policy verdict of the request.
var
int
$this
getOverrides
Things that could have overridden the policy verdict. Overrides together with verdict decide whether the request is allowed.
setOverrides
Things that could have overridden the policy verdict. Overrides together with verdict decide whether the request is allowed.
var
int[]
$this