Google Cloud Deploy v1 API - Class DeployPolicyEvaluationEvent (3.1.0)

public sealed class DeployPolicyEvaluationEvent : IMessage<DeployPolicyEvaluationEvent>, IEquatable<DeployPolicyEvaluationEvent>, IDeepCloneable<DeployPolicyEvaluationEvent>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Deploy v1 API class DeployPolicyEvaluationEvent.

Payload proto for "clouddeploy.googleapis.com/deploypolicy_evaluation" Platform Log event that describes the deploy policy evaluation event.

Inheritance

object > DeployPolicyEvaluationEvent

Namespace

Google.Cloud.Deploy.V1

Assembly

Google.Cloud.Deploy.V1.dll

Constructors

DeployPolicyEvaluationEvent()

public DeployPolicyEvaluationEvent()

DeployPolicyEvaluationEvent(DeployPolicyEvaluationEvent)

public DeployPolicyEvaluationEvent(DeployPolicyEvaluationEvent other)
Parameter
Name Description
other DeployPolicyEvaluationEvent

Properties

Allowed

public bool Allowed { get; set; }

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

Property Value
Type Description
bool

DeliveryPipeline

public string DeliveryPipeline { get; set; }

The name of the Delivery Pipeline.

Property Value
Type Description
string

DeployPolicy

public string DeployPolicy { get; set; }

The name of the DeployPolicy.

Property Value
Type Description
string

DeployPolicyUid

public string DeployPolicyUid { get; set; }

Unique identifier of the DeployPolicy.

Property Value
Type Description
string

Invoker

public DeployPolicy.Types.Invoker Invoker { get; set; }

What invoked the action (e.g. a user or automation).

Property Value
Type Description
DeployPolicyTypesInvoker

Message

public string Message { get; set; }

Debug message for when a deploy policy event occurs.

Property Value
Type Description
string

Overrides

public RepeatedField<DeployPolicyEvaluationEvent.Types.PolicyVerdictOverride> Overrides { get; }

Things that could have overridden the policy verdict. Overrides together with verdict decide whether the request is allowed.

Property Value
Type Description
RepeatedFieldDeployPolicyEvaluationEventTypesPolicyVerdictOverride

PipelineUid

public string PipelineUid { get; set; }

Unique identifier of the Delivery Pipeline.

Property Value
Type Description
string

Rule

public string Rule { get; set; }

Rule id.

Property Value
Type Description
string

RuleType

public string RuleType { get; set; }

Rule type (e.g. Restrict Rollouts).

Property Value
Type Description
string

Target

public string Target { get; set; }

The name of the Target. This is an optional field, as a Target may not always be applicable to a policy.

Property Value
Type Description
string

TargetUid

public string TargetUid { get; set; }

Unique identifier of the Target. This is an optional field, as a Target may not always be applicable to a policy.

Property Value
Type Description
string

Verdict

public DeployPolicyEvaluationEvent.Types.PolicyVerdict Verdict { get; set; }

The policy verdict of the request.

Property Value
Type Description
DeployPolicyEvaluationEventTypesPolicyVerdict