Class: Google::Apis::ConnectorsV1::MultipleSelectOption

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

MultiplSelecteOption represents the single option for a config variable.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MultipleSelectOption

Returns a new instance of MultipleSelectOption.



5233
5234
5235
# File 'lib/google/apis/connectors_v1/classes.rb', line 5233

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

Instance Attribute Details

#descriptionString

Optional. Value of the option. Corresponds to the JSON property description

Returns:

  • (String)


5215
5216
5217
# File 'lib/google/apis/connectors_v1/classes.rb', line 5215

def description
  @description
end

#display_nameString

Required. Display name of the option. Corresponds to the JSON property displayName

Returns:

  • (String)


5220
5221
5222
# File 'lib/google/apis/connectors_v1/classes.rb', line 5220

def display_name
  @display_name
end

#keyString

Required. Key of the option. Corresponds to the JSON property key

Returns:

  • (String)


5225
5226
5227
# File 'lib/google/apis/connectors_v1/classes.rb', line 5225

def key
  @key
end

#preselectedBoolean Also known as: preselected?

Optional. Indicates if the option is preselected. Corresponds to the JSON property preselected

Returns:

  • (Boolean)


5230
5231
5232
# File 'lib/google/apis/connectors_v1/classes.rb', line 5230

def preselected
  @preselected
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5238
5239
5240
5241
5242
5243
# File 'lib/google/apis/connectors_v1/classes.rb', line 5238

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