ParameterMetadataResponse constructor

const ParameterMetadataResponse({
  1. required Input<Map<String, String>> customMetadata,
  2. required Input<String> defaultValue,
  3. required Input<List<ParameterMetadataEnumOptionResponse>> enumOptions,
  4. required Input<String> groupName,
  5. required Input<String> helpText,
  6. required Input<bool> isOptional,
  7. required Input<String> label,
  8. required Input<String> name,
  9. required Input<String> paramType,
  10. required Input<String> parentName,
  11. required Input<List<String>> parentTriggerValues,
  12. required Input<List<String>> regexes,
})

Creates a new ParameterMetadataResponse. customMetadata Optional. Additional metadata for describing this parameter. defaultValue Optional. The default values will pre-populate the parameter with the given value from the proto. If default_value is left empty, the parameter will be populated with a default of the relevant type, e.g. false for a boolean. enumOptions Optional. The options shown when ENUM ParameterType is specified. groupName Optional. Specifies a group name for this parameter to be rendered under. Group header text will be rendered exactly as specified in this field. Only considered when parent_name is NOT provided. helpText The help text to display for the parameter. isOptional Optional. Whether the parameter is optional. Defaults to false. label The label to display for the parameter. name The name of the parameter. paramType Optional. The type of the parameter. Used for selecting input picker. parentName Optional. Specifies the name of the parent parameter. Used in conjunction with 'parent_trigger_values' to make this parameter conditional (will only be rendered conditionally). Should be mappable to a ParameterMetadata.name field. parentTriggerValues Optional. The value(s) of the 'parent_name' parameter which will trigger this parameter to be shown. If left empty, ANY non-empty value in parent_name will trigger this parameter to be shown. Only considered when this parameter is conditional (when 'parent_name' has been provided). regexes Optional. Regexes that the parameter must match.

Implementation

const ParameterMetadataResponse({
  required this.customMetadata,
  required this.defaultValue,
  required this.enumOptions,
  required this.groupName,
  required this.helpText,
  required this.isOptional,
  required this.label,
  required this.name,
  required this.paramType,
  required this.parentName,
  required this.parentTriggerValues,
  required this.regexes,
});