View Source GoogleApi.CloudDeploy.V1.Model.DeployPolicyEvaluationEvent (google_api_cloud_deploy v0.13.1)
Payload proto for "clouddeploy.googleapis.com/deploypolicy_evaluation" Platform Log event that describes the deploy policy evaluation event.
Attributes
-
allowed
(type:boolean()
, default:nil
) - 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 -
deliveryPipeline
(type:String.t
, default:nil
) - The name of theDelivery Pipeline
. -
deployPolicy
(type:String.t
, default:nil
) - The name of theDeployPolicy
. -
deployPolicyUid
(type:String.t
, default:nil
) - Unique identifier of theDeployPolicy
. -
invoker
(type:String.t
, default:nil
) - What invoked the action (e.g. a user or automation). -
message
(type:String.t
, default:nil
) - Debug message for when a deploy policy event occurs. -
overrides
(type:list(String.t)
, default:nil
) - Things that could have overridden the policy verdict. Overrides together with verdict decide whether the request is allowed. -
pipelineUid
(type:String.t
, default:nil
) - Unique identifier of theDelivery Pipeline
. -
rule
(type:String.t
, default:nil
) - Rule id. -
ruleType
(type:String.t
, default:nil
) - Rule type (e.g. Restrict Rollouts). -
target
(type:String.t
, default:nil
) - The name of theTarget
. This is an optional field, as aTarget
may not always be applicable to a policy. -
targetUid
(type:String.t
, default:nil
) - Unique identifier of theTarget
. This is an optional field, as aTarget
may not always be applicable to a policy. -
verdict
(type:String.t
, default:nil
) - The policy verdict of the request.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.CloudDeploy.V1.Model.DeployPolicyEvaluationEvent{ allowed: boolean() | nil, deliveryPipeline: String.t() | nil, deployPolicy: String.t() | nil, deployPolicyUid: String.t() | nil, invoker: String.t() | nil, message: String.t() | nil, overrides: [String.t()] | nil, pipelineUid: String.t() | nil, rule: String.t() | nil, ruleType: String.t() | nil, target: String.t() | nil, targetUid: String.t() | nil, verdict: String.t() | nil }