public sealed class ParameterDefinition : IMessage<ParameterDefinition>, IEquatable<ParameterDefinition>, IDeepCloneable<ParameterDefinition>, IBufferMessage, IMessage
Parameter's definition. Specifies what parameter is required to use the current Offer to purchase.
Implements
Google.Protobuf.IMessage<ParameterDefinition>, IEquatable<ParameterDefinition>, Google.Protobuf.IDeepCloneable<ParameterDefinition>, Google.Protobuf.IBufferMessage, Google.Protobuf.IMessageNamespace
Google.Cloud.Channel.V1Assembly
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 |
Google.Protobuf.Collections.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 | |
---|---|
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 |
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 | |
---|---|
Type | Description |
ParameterDefinition.Types.ParameterType |