public sealed class ParameterDefinition : IMessage<ParameterDefinition>, IEquatable<ParameterDefinition>, IDeepCloneable<ParameterDefinition>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Channel v1 API class ParameterDefinition.
Parameter's definition. Specifies what parameter is required to use the
current Offer to purchase.
Maximum value of the parameter, if applicable. Inclusive. For example,
maximum seats when purchasing Google Workspace Business Standard.
Applicable to INT64 and DOUBLE parameter types.
Minimal value of the parameter, if applicable. Inclusive. For example,
minimal commitment when purchasing Anthos is 0.01.
Applicable to INT64 and DOUBLE parameter types.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eParameterDefinition\u003c/code\u003e class for the Cloud Channel v1 API is 2.14.0, with multiple previous versions available, ranging down to version 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eParameterDefinition\u003c/code\u003e class is used to specify the required parameters for purchasing an Offer within the Cloud Channel API, providing details about what is needed.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, allowing for various operations such as deep cloning and equality checks.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eParameterDefinition\u003c/code\u003e class includes properties like \u003ccode\u003eAllowedValues\u003c/code\u003e, \u003ccode\u003eMaxValue\u003c/code\u003e, \u003ccode\u003eMinValue\u003c/code\u003e, \u003ccode\u003eName\u003c/code\u003e, \u003ccode\u003eOptional\u003c/code\u003e, and \u003ccode\u003eParameterType\u003c/code\u003e to define the constraints and characteristics of the parameter.\u003c/p\u003e\n"],["\u003cp\u003eThe class has 2 constructors which are \u003ccode\u003eParameterDefinition()\u003c/code\u003e and \u003ccode\u003eParameterDefinition(ParameterDefinition other)\u003c/code\u003e which allows for both empty and prefilled class creation.\u003c/p\u003e\n"]]],[],null,["# Cloud Channel v1 API - Class ParameterDefinition (2.15.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.15.0 (latest)](/dotnet/docs/reference/Google.Cloud.Channel.V1/latest/Google.Cloud.Channel.V1.ParameterDefinition)\n- [2.14.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.14.0/Google.Cloud.Channel.V1.ParameterDefinition)\n- [2.13.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.13.0/Google.Cloud.Channel.V1.ParameterDefinition)\n- [2.12.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.12.0/Google.Cloud.Channel.V1.ParameterDefinition)\n- [2.11.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.11.0/Google.Cloud.Channel.V1.ParameterDefinition)\n- [2.10.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.10.0/Google.Cloud.Channel.V1.ParameterDefinition)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.9.0/Google.Cloud.Channel.V1.ParameterDefinition)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.8.0/Google.Cloud.Channel.V1.ParameterDefinition)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.7.0/Google.Cloud.Channel.V1.ParameterDefinition)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.6.0/Google.Cloud.Channel.V1.ParameterDefinition)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.5.0/Google.Cloud.Channel.V1.ParameterDefinition)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.4.0/Google.Cloud.Channel.V1.ParameterDefinition)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.3.0/Google.Cloud.Channel.V1.ParameterDefinition)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.2.0/Google.Cloud.Channel.V1.ParameterDefinition)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.1.0/Google.Cloud.Channel.V1.ParameterDefinition)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/2.0.0/Google.Cloud.Channel.V1.ParameterDefinition)\n- [1.7.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/1.7.0/Google.Cloud.Channel.V1.ParameterDefinition)\n- [1.6.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/1.6.0/Google.Cloud.Channel.V1.ParameterDefinition)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/1.5.0/Google.Cloud.Channel.V1.ParameterDefinition)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/1.4.0/Google.Cloud.Channel.V1.ParameterDefinition)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/1.3.0/Google.Cloud.Channel.V1.ParameterDefinition)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/1.2.0/Google.Cloud.Channel.V1.ParameterDefinition)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/1.1.0/Google.Cloud.Channel.V1.ParameterDefinition)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Channel.V1/1.0.0/Google.Cloud.Channel.V1.ParameterDefinition) \n\n public sealed class ParameterDefinition : IMessage\u003cParameterDefinition\u003e, IEquatable\u003cParameterDefinition\u003e, IDeepCloneable\u003cParameterDefinition\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Cloud Channel v1 API class ParameterDefinition.\n\nParameter's definition. Specifies what parameter is required to use the\ncurrent Offer to purchase. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ParameterDefinition \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ParameterDefinition](/dotnet/docs/reference/Google.Cloud.Channel.V1/latest/Google.Cloud.Channel.V1.ParameterDefinition), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ParameterDefinition](/dotnet/docs/reference/Google.Cloud.Channel.V1/latest/Google.Cloud.Channel.V1.ParameterDefinition), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ParameterDefinition](/dotnet/docs/reference/Google.Cloud.Channel.V1/latest/Google.Cloud.Channel.V1.ParameterDefinition), [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) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Channel.V1](/dotnet/docs/reference/Google.Cloud.Channel.V1/latest/Google.Cloud.Channel.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Channel.V1.dll\n\nConstructors\n------------\n\n### ParameterDefinition()\n\n public ParameterDefinition()\n\n### ParameterDefinition(ParameterDefinition)\n\n public ParameterDefinition(ParameterDefinition other)\n\nProperties\n----------\n\n### AllowedValues\n\n public RepeatedField\u003cValue\u003e AllowedValues { get; }\n\nIf not empty, parameter values must be drawn from this list.\nFor example, \\[us-west1, us-west2, ...\\]\nApplicable to STRING parameter type.\n\n### MaxValue\n\n public Value MaxValue { get; set; }\n\nMaximum value of the parameter, if applicable. Inclusive. For example,\nmaximum seats when purchasing Google Workspace Business Standard.\nApplicable to INT64 and DOUBLE parameter types.\n\n### MinValue\n\n public Value MinValue { get; set; }\n\nMinimal value of the parameter, if applicable. Inclusive. For example,\nminimal commitment when purchasing Anthos is 0.01.\nApplicable to INT64 and DOUBLE parameter types.\n\n### Name\n\n public string Name { get; set; }\n\nName of the parameter.\n\n### Optional\n\n public bool Optional { get; set; }\n\nIf set to true, parameter is optional to purchase this Offer.\n\n### ParameterType\n\n public ParameterDefinition.Types.ParameterType ParameterType { get; set; }\n\nData type of the parameter. Minimal value, Maximum value and allowed values\nwill use specified data type here."]]