Class: Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaFieldSelectionOptions
- Inherits:
-
Object
- Object
- Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaFieldSelectionOptions
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/drivelabels_v2beta/classes.rb,
lib/google/apis/drivelabels_v2beta/representations.rb,
lib/google/apis/drivelabels_v2beta/representations.rb
Overview
Options for the selection field type.
Instance Attribute Summary collapse
-
#choices ⇒ Array<Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaFieldSelectionOptionsChoice>
The options available for this selection field.
-
#list_options ⇒ Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaFieldListOptions
Options for a multi-valued variant of an associated field type.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAppsDriveLabelsV2betaFieldSelectionOptions
constructor
A new instance of GoogleAppsDriveLabelsV2betaFieldSelectionOptions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAppsDriveLabelsV2betaFieldSelectionOptions
Returns a new instance of GoogleAppsDriveLabelsV2betaFieldSelectionOptions.
1778 1779 1780 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 1778 def initialize(**args) update!(**args) end |
Instance Attribute Details
#choices ⇒ Array<Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaFieldSelectionOptionsChoice>
The options available for this selection field. The list order is consistent,
and modified with insert_before_choice
.
Corresponds to the JSON property choices
1771 1772 1773 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 1771 def choices @choices end |
#list_options ⇒ Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaFieldListOptions
Options for a multi-valued variant of an associated field type.
Corresponds to the JSON property listOptions
1776 1777 1778 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 1776 def @list_options end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1783 1784 1785 1786 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 1783 def update!(**args) @choices = args[:choices] if args.key?(:choices) @list_options = args[:list_options] if args.key?(:list_options) end |