Cloud Channel v1 API - Class ParameterDefinition (2.1.0)

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.

Inheritance

Object > ParameterDefinition

Namespace

Google.Cloud.Channel.V1

Assembly

Google.Cloud.Channel.V1.dll

Constructors

ParameterDefinition()

public ParameterDefinition()

ParameterDefinition(ParameterDefinition)

public ParameterDefinition(ParameterDefinition other)
Parameter
NameDescription
otherParameterDefinition

Properties

AllowedValues

public RepeatedField<Value> AllowedValues { get; }

If not empty, parameter values must be drawn from this list. For example, [us-west1, us-west2, ...] Applicable to STRING parameter type.

Property Value
TypeDescription
RepeatedField<Value>

MaxValue

public Value MaxValue { get; set; }

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.

Property Value
TypeDescription
Value

MinValue

public Value MinValue { get; set; }

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.

Property Value
TypeDescription
Value

Name

public string Name { get; set; }

Name of the parameter.

Property Value
TypeDescription
String

Optional

public bool Optional { get; set; }

If set to true, parameter is optional to purchase this Offer.

Property Value
TypeDescription
Boolean

ParameterType

public ParameterDefinition.Types.ParameterType ParameterType { get; set; }

Data type of the parameter. Minimal value, Maximum value and allowed values will use specified data type here.

Property Value
TypeDescription
ParameterDefinition.Types.ParameterType