Class: Google::Apis::ConnectorsV1::MultipleSelectOption
- Inherits:
-
Object
- Object
- Google::Apis::ConnectorsV1::MultipleSelectOption
- 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
MultiplSelecteOption represents the single option for a config variable.
Instance Attribute Summary collapse
-
#description ⇒ String
Optional.
-
#display_name ⇒ String
Required.
-
#key ⇒ String
Required.
-
#preselected ⇒ Boolean
(also: #preselected?)
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MultipleSelectOption
constructor
A new instance of MultipleSelectOption.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MultipleSelectOption
Returns a new instance of MultipleSelectOption.
4335 4336 4337 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 4335 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
Optional. Value of the option.
Corresponds to the JSON property description
4317 4318 4319 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 4317 def description @description end |
#display_name ⇒ String
Required. Display name of the option.
Corresponds to the JSON property displayName
4322 4323 4324 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 4322 def display_name @display_name end |
#key ⇒ String
Required. Key of the option.
Corresponds to the JSON property key
4327 4328 4329 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 4327 def key @key end |
#preselected ⇒ Boolean Also known as: preselected?
Optional. Indicates if the option is preselected.
Corresponds to the JSON property preselected
4332 4333 4334 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 4332 def preselected @preselected end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4340 4341 4342 4343 4344 4345 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 4340 def update!(**args) @description = args[:description] if args.key?(:description) @display_name = args[:display_name] if args.key?(:display_name) @key = args[:key] if args.key?(:key) @preselected = args[:preselected] if args.key?(:preselected) end |