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

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

The specification of a parameter that can be configured on a cloud control
or a framework.

## Inheritance

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

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ParameterSpec](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DesignCenter.V1/latest/Google.Cloud.DesignCenter.V1.ParameterSpec), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ParameterSpec](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DesignCenter.V1/latest/Google.Cloud.DesignCenter.V1.ParameterSpec), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ParameterSpec](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DesignCenter.V1/latest/Google.Cloud.DesignCenter.V1.ParameterSpec), [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

### ParameterSpec()

    public ParameterSpec()

### ParameterSpec(ParameterSpec)

    public ParameterSpec(ParameterSpec other)

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

## Properties

### DefaultValue

    public Value DefaultValue { get; set; }

Optional. The default value of the parameter, used when the user does not
provide one.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Value.html` |   |

### Description

    public string Description { get; set; }

Optional. The parameter description.

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

### DisplayName

    public string DisplayName { get; set; }

Optional. The parameter display name, which is a user friendly name used
for UI.

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

### Key

    public string Key { get; set; }

Required. The key of the parameter, matching
\[Parameter.key\]\[google.cloud.designcenter.v1.Parameter.key\] of the
value supplied for it.

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

### Required

    public bool Required { get; set; }

Optional. Whether a value must be provided for the parameter.

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

### SubParameterSpecs

    public RepeatedField<ParameterSpec> SubParameterSpecs { get; }

Optional. The specifications of the sub-parameters. Only set when
`value_type` is `ONEOF`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DesignCenter.V1/latest/Google.Cloud.DesignCenter.V1.ParameterSpec` |   |

### ValueType

    public ParameterSpec.Types.ValueType ValueType { get; set; }

Optional. The type of value that the parameter accepts.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DesignCenter.V1/latest/Google.Cloud.DesignCenter.V1.ParameterSpechttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DesignCenter.V1/latest/Google.Cloud.DesignCenter.V1.ParameterSpec.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DesignCenter.V1/latest/Google.Cloud.DesignCenter.V1.ParameterSpec.Types.ValueType` |   |