Cloud Channel v1 API - Class ParameterDefinition (2.9.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
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
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
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
TypeDescription
ParameterDefinitionTypesParameterType