3.7.0 (latest) 3.6.0 3.5.0 3.4.0 3.3.0 3.2.0 3.1.0 3.0.0 2.19.0 2.18.0 2.17.0 2.16.0 2.15.0 2.14.0 2.13.0 2.12.0 2.11.0 2.10.0 2.9.0 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.1.0 1.0.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](https://learn.microsoft.com/dotnet/api/system.object) \> DeployPolicyEvaluationEvent

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[DeployPolicyEvaluationEvent](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.DeployPolicyEvaluationEvent.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[DeployPolicyEvaluationEvent](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.DeployPolicyEvaluationEvent.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[DeployPolicyEvaluationEvent](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.DeployPolicyEvaluationEvent.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Deploy.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Deploy.V1/latest/Google.Cloud.Deploy.V1.md.txt)

## 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` |   |