Class: Google::Apis::ConnectorsV1::MultipleSelectConfig

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/connectors_v1/classes.rb,
lib/google/apis/connectors_v1/representations.rb,
lib/google/apis/connectors_v1/representations.rb

Overview

MultipleSelectConfig represents the multiple options for a config variable.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MultipleSelectConfig

Returns a new instance of MultipleSelectConfig.



4298
4299
4300
# File 'lib/google/apis/connectors_v1/classes.rb', line 4298

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#allow_custom_valuesBoolean Also known as: allow_custom_values?

Optional. Allow custom values. Corresponds to the JSON property allowCustomValues

Returns:

  • (Boolean)


4284
4285
4286
# File 'lib/google/apis/connectors_v1/classes.rb', line 4284

def allow_custom_values
  @allow_custom_values
end

#multiple_select_optionsArray<Google::Apis::ConnectorsV1::MultipleSelectOption>

Required. Multiple select options. Corresponds to the JSON property multipleSelectOptions



4290
4291
4292
# File 'lib/google/apis/connectors_v1/classes.rb', line 4290

def multiple_select_options
  @multiple_select_options
end

#value_separatorString

Required. Value separator. Only "," can be used for OAuth auth code flow scope field. Corresponds to the JSON property valueSeparator

Returns:

  • (String)


4296
4297
4298
# File 'lib/google/apis/connectors_v1/classes.rb', line 4296

def value_separator
  @value_separator
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4303
4304
4305
4306
4307
# File 'lib/google/apis/connectors_v1/classes.rb', line 4303

def update!(**args)
  @allow_custom_values = args[:allow_custom_values] if args.key?(:allow_custom_values)
  @multiple_select_options = args[:multiple_select_options] if args.key?(:multiple_select_options)
  @value_separator = args[:value_separator] if args.key?(:value_separator)
end