class Google::Apis::DataflowV1b3::ParameterMetadata

Metadata for a specific parameter.

Attributes

custom_metadata[RW]

Optional. Additional metadata for describing this parameter. Corresponds to the JSON property `customMetadata` @return [Hash<String,String>]

help_text[RW]

Required. The help text to display for the parameter. Corresponds to the JSON property `helpText` @return [String]

is_optional[RW]

Optional. Whether the parameter is optional. Defaults to false. Corresponds to the JSON property `isOptional` @return [Boolean]

is_optional?[RW]

Optional. Whether the parameter is optional. Defaults to false. Corresponds to the JSON property `isOptional` @return [Boolean]

label[RW]

Required. The label to display for the parameter. Corresponds to the JSON property `label` @return [String]

name[RW]

Required. The name of the parameter. Corresponds to the JSON property `name` @return [String]

param_type[RW]

Optional. The type of the parameter. Used for selecting input picker. Corresponds to the JSON property `paramType` @return [String]

regexes[RW]

Optional. Regexes that the parameter must match. Corresponds to the JSON property `regexes` @return [Array<String>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dataflow_v1b3/classes.rb, line 3331
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dataflow_v1b3/classes.rb, line 3336
def update!(**args)
  @custom_metadata = args[:custom_metadata] if args.key?(:custom_metadata)
  @help_text = args[:help_text] if args.key?(:help_text)
  @is_optional = args[:is_optional] if args.key?(:is_optional)
  @label = args[:label] if args.key?(:label)
  @name = args[:name] if args.key?(:name)
  @param_type = args[:param_type] if args.key?(:param_type)
  @regexes = args[:regexes] if args.key?(:regexes)
end