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

Reference documentation and code samples for the Design Center v1 API class ApplyCondition.

Condition for applying the policy. Accepts the `criticality`
and `environment` parameters from the application template.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> ApplyCondition

## Implements

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

## 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.DesignCenter.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DesignCenter.V1/latest/Google.Cloud.DesignCenter.V1)

## Assembly

Google.Cloud.DesignCenter.V1.dll

## Constructors

### ApplyCondition()

    public ApplyCondition()

### ApplyCondition(ApplyCondition)

    public ApplyCondition(ApplyCondition other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DesignCenter.V1/latest/Google.Cloud.DesignCenter.V1.ApplyCondition` |

## Properties

### ConditionKey

    public string ConditionKey { get; set; }

Required. The key of the parameter for the condition.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### ConditionValue

    public string ConditionValue { get; set; }

Required. The value of the parameter for the condition.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |