Class: Google::Apis::ConnectorsV1::MultipleSelectConfig
- Inherits:
-
Object
- Object
- Google::Apis::ConnectorsV1::MultipleSelectConfig
- 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
-
#allow_custom_values ⇒ Boolean
(also: #allow_custom_values?)
Optional.
-
#multiple_select_options ⇒ Array<Google::Apis::ConnectorsV1::MultipleSelectOption>
Required.
-
#value_separator ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MultipleSelectConfig
constructor
A new instance of MultipleSelectConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MultipleSelectConfig
Returns a new instance of MultipleSelectConfig.
3855 3856 3857 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 3855 def initialize(**args) update!(**args) end |
Instance Attribute Details
#allow_custom_values ⇒ Boolean Also known as: allow_custom_values?
Optional. Allow custom values.
Corresponds to the JSON property allowCustomValues
3842 3843 3844 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 3842 def allow_custom_values @allow_custom_values end |
#multiple_select_options ⇒ Array<Google::Apis::ConnectorsV1::MultipleSelectOption>
Required. Multiple select options.
Corresponds to the JSON property multipleSelectOptions
3848 3849 3850 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 3848 def @multiple_select_options end |
#value_separator ⇒ String
Required. Value separator.
Corresponds to the JSON property valueSeparator
3853 3854 3855 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 3853 def value_separator @value_separator end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3860 3861 3862 3863 3864 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 3860 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 |