Cloud Channel v1 API - Class ParameterDefinition (2.12.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
Name Description
other ParameterDefinition

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
Type Description
RepeatedFieldValue

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
Type Description
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
Type Description
Value

Name

public string Name { get; set; }

Name of the parameter.

Property Value
Type Description
string

Optional

public bool Optional { get; set; }

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

Property Value
Type Description
bool

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
Type Description
ParameterDefinitionTypesParameterType